15.1 Maxwell’s demon and Landauer’s principle 285
and is given by the formula E = (3/2)k
B
T , where E is the average kinetic energy of
the gas molecules (k
B
= Boltzmann’s constant). Both temperature and energy represent
macroscopic measures, as individual molecules don’t have a “temperature” and have
different velocities of their own, some moving slower and some moving faster. As the
figure shows, an imaginary, witty but not malicious creature (later dubbed “Maxwell’s
demon”) guards a trapdoor, which allows individual molecules to pass from A to B or
the reverse, without friction or inertia. The demon checks out the molecules’ velocities
and allows only the faster ones (E
> E) to pass from A to B, and only the slower ones
(E
< E) to pass from B to A. After a while, most of the fast molecules are found in B,
while most of the slow ones are in A. As a result, the gas temperature in A (T
)islower
than that in B (T
), with T
< T < T
.
The simultaneous heating of part B and cooling of part A, which is accomplished by
the demon without deploying energy or work, is in contradiction to the second law of
thermodynamic. This second law stipulates, in its simplest formulation, that: “Heat does
not flow spontaneously from a cold to a hot body of matter.” Since heat is a measure
of the average kinetic energy of the gas, it has a natural tendency to diffuse from hot to
cold bodies, and not the reverse. Another formulation of the second law is that: “In an
isolated system, entropy as a measure of disorder or randomness can only increase.” Let
us have a closer look at this entropy notion. In Appendix A, we have seen that a system
of particles that can be randomly distributed in W arrangement possibilities into a set
of distinct boxes, called “microstates,” is characterized by an entropy H. This entropy
represents the infinite limit, normalized to the number of particles, of the quantity log W .
Hence, the greater W or H , the more randomly distributed the system, which justifies
the notion of entropy as a physical measure of disorder. By separating and ordering the
gas molecules into two distinct families (slow and fast), the demon decreases the global
randomness of the system, since there is a smaller number of microstate arrangements W
for each of the initial molecules, the system’s entropy log W is, thus, decreased, which is
indeed in contradiction to the second law because the demon apparently did not perform
any work.
At the time, the conclusion reached by Maxwell to solve this paradox was that the
second principle only applies to large numbers of particles as a statistical law, i.e., to
be used with certain confidence at a macroscopic, rather than at a microscopic level.
In the first place, Maxwell’s paradox was never intended to challenge the second law.
Yet, it kept puzzling scientists for generations with many unsolved issues. In 1929, for
instance, L. Szil
´
ard observed that in order to measure molecular velocities, the demon
should spend some kind of energy, such as that of photons from a flashlight, to spot the
slow or fast molecules, and then decide from the observation whether or not to open the
trapdoor. Each of such measurements and the generation of photons would then increase
the system’s entropy, which should balance out the other effect of entropy decrease.
In 1951, L. Brillouin observed that in order to distinguish molecules by use of light
photons, the photon energy would have to supersede that of the ambient electromagnetic
radiation, thus bringing a quantum of heat k
B
T into the system. To move the trapdoor,
the “demon” must also be material. Thus, some form of heat transfer should occur during
the process, resulting in the heating of both the demon and the gas, canceling the cooling