Solved thermodynamics exercise

Two gases separated by an internal partition

Exercise 44 · Lesson 8 — Direction of Evolution, Equilibrium and Stability

  • second law
  • maximum entropy
  • isolated system
  • diathermal partition
  • movable partition
  • thermal equilibrium
  • mechanical equilibrium

Statement

A rigid vessel isolated from its surroundings contains two monatomic ideal gases separated by an internal partition that is initially fixed, impermeable and adiabatic. Compartment 1 contains moles at temperature ; compartment 2 contains moles at temperature . Both compartments initially have the same volume . The partition's energy and heat capacity are negligible; when released, it moves without friction or any additional force. The experiments in questions 3 and 5 each start from the initial state. Define .

  1. Sketch the vessel. Label the gases, the internal partition, the amounts of substance, and the initial temperatures, volumes and pressures. While the partition remains fixed, impermeable and adiabatic, is a temperature or pressure difference enough to cause a change?
  2. Express both initial pressures algebraically in terms of .
  3. The partition becomes diathermal but remains fixed and impermeable. Use the first and second laws to justify the thermal-equilibrium condition, then determine the final temperature and pressures.
  4. Calculate the energy exchanged between the gases and identify its form. Establish the entropy balance for the combined system and verify that the entropy produced is positive.
  5. In a second experiment, the partition becomes diathermal and movable. Examine the stationarity of the isolated system's entropy to justify the thermal- and mechanical-equilibrium conditions. Determine the final temperature, pressure and volumes, then establish the entropy balance. Compare with the fixed-partition case.

Hint

Hint
The combined system is isolated: its internal energy is conserved and its entropy is maximal at equilibrium. For an ideal gas,

Detailed solution

Solution

Figure
Figure 1

Question 1. The diagram shows a rigid vessel of total volume divided by a partition. On the left: ; on the right: . The outer walls are adiabatic. With a fixed, impermeable, adiabatic internal partition, no exchange is allowed: each gas retains its state even if the temperatures and pressures differ. The partition's support sustains the pressure difference.

Question 2 — Algebraic calculation. The ideal-gas equation gives

Question 3 — Fixed diathermal partition. During a small energy transfer with , the volumes remain constant: for each gas, . Adding gives

The temperatures in this variation refer to the state being considered. Factoring gives

At equilibrium, entropy is maximal; the coefficient of must therefore vanish, requiring . Conservation of energy gives

Dividing the energy balance by gives

Then and , so

Because the partition is fixed, mechanical equilibrium between the gases is not required: their final pressures may differ.

Question 4 — Entropy balance. Gas 2 receives energy entirely as heat,

Gas 1 receives the opposite heat: , whereas . The partition is fixed, so . The combined system is isolated, so and . Since the volumes are constant,

Gas 1 loses entropy and gas 2 gains it. Their sum is

This entropy production reflects spontaneous heat transfer between gases initially at different temperatures. To verify the sign without numerical values, combine the logarithms:

Question 5 — Movable diathermal partition. With and ,

The partition independently allows energy and volume to be redistributed. Stationarity must therefore hold for every and every : both coefficients vanish. The first requires ; the second then gives , or . Conservation of energy again gives . At common pressure and temperature, volumes are proportional to amounts of substance. Since their sum is ,

Thus and .

The common pressure is . Hence

The internal-energy changes are the same as for the fixed partition, but energy is now exchanged as both heat and work. The entropy balance contains the same temperature terms as in question 4, with additional volume terms:

Adding gives

The increase compared with the fixed-partition case is

Allowing the partition to move therefore increases the final entropy accessible to the system.