entropy example 2
From Scholarpedia
| Tomasz Downarowicz (2007), Scholarpedia, 2(11):3901. | revision #25682 [link to/cite this article] | |||||||||||||||||||
Consider a physical system consisting of an ideal gas enclosed in a cylindrical container of volume 1.
The equilibrium state
is the state of maximal entropy. This is clearly the state where both pressure and temperature are
constant (say,
and
, respectively) throughout the container. Any other state can be achieved only with help from outside.
Suppose one places a piston at position
in the cylinder
(see Figure 1; thermodynamically, this is still the state
) and then slowly moves
the piston to the center of the cylinder (position
), allowing heat to flow between the cylinder and
its environment. Assume the temperature outside is held at
, which stabilizes the temperature inside the cylinder at
during the entire time the piston is moving. Let
be the final state (see Figure 2). It is important that the states
and
have the same total energy inside the system; it is just distributed differently on the two sides of the piston. Indeed, if in the state
, the piston is removed perpendicularly to the forces (upwards), which does not use nor return any work, then the system immediately returns to the state
. Although it seems that work
has been delivered to the system, the equivalent amount of heat was emitted into the environment. The potential energy
of the piston is precisely the energy that was made available to do work by lowering the entropy, and not by adding
any energy.
To compute the jump of entropy one needs to examine what exactly happens during the passage.
The force acting on the piston at position
is proportional to the difference between the pressures:
Thus, the work done while moving the piston equals:
The function
is negative and assumes its minimal value
at
(see Figure 3).
Thus the above work
is positive and represents the amount of energy delivered to the system from outside.
During the process the compressed gas on the right emits heat, while the expanded gas on the
left absorbs heat. By conservation of energy (applied to the enhanced system including
the outside world), the gas in the two compartments will emit heat to the environment equivalent to the
delivered work
. Since the process is isothermal (the temperature is constant all the time), the
change in entropy between states
and
of the gas is simply
times
, i.e.,
- (1)
Clearly
is negative. This confirms what was already expected, that the outside intervention has lowered
the entropy of the gas.
This example illustrates very clearly Boltzmann's interpretation of entropy. Assume that there are
particles of the gas independently wandering inside the container.
For each particle the probability of falling in the left or right half of the container is
. The system can thus be modeled by a series of
independent
coin tossings with a particle falling in the left or right half interpreted as heads and tails,
respectively. The state
of the gas occurs spontaneously if there are
heads and
tails. By elementary combinatorics formulas the probability of
finding a system in state A equals
By Stirling's formula (
for large
), the logarithm of
equals approximately
which is indeed proportional to the drop
of entropy between the states
and
(see (1) above).
