Solved thermodynamics exercise

Adiabatic piston: mechanical equilibrium without thermal equilibrium

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

  • movable piston
  • adiabatic partition
  • electrical resistor
  • mechanical equilibrium
  • entropy produced

Statement

A rigid, thermally insulated horizontal cylinder is divided into two compartments by an impermeable, adiabatic, frictionless movable piston with negligible energy. Each compartment contains moles of ideal gas with constant molar heat capacity , where , initially at . A resistor in compartment 1 is powered from outside. Heating is slow enough to maintain mechanical equilibrium and make the compression of gas 2 reversible, until , . The current is then switched off. Neglect the resistor's heat capacity.

  1. Draw the boundaries of the systems “gas 2” and “two gases + resistor”. What form of energy crosses the boundary of the second system?
  2. Determine , , then and . Does the adiabatic partition require ?
  3. Calculate the energy changes of both gases and the electrical work received .
  4. Calculate , and the entropy produced in “two gases + resistor”. Why does slow heating not make the entire experiment reversible?
  5. After the current is switched off, the piston is made diathermal while remaining movable. Determine the new equilibrium and the additional entropy produced.

Hint

Hint
Apply the adiabatic relation to gas 2 only. The total volume is . For the system including the resistor, and energy enters as electrical work. Use the ideal-gas entropy formula.

Detailed solution

Solution

Figure
Figure 1

Question 1. The diagram shows the resistor in compartment 1, the insulated piston and electrical wires crossing the outer boundary. Gas 2 receives mechanical work through the piston and no heat. For “two gases + resistor”, no external heat is exchanged and the outer walls are rigid: only electrical work enters. Work exchanged across the piston is internal to this combined system.

Question 2. Gas 2 undergoes reversible adiabatic compression, so . With ,

Set . The equation of state at the initial and final states gives

The total volume is and the piston imposes the same pressure in compartments 1 and 2:

Since and , , hence and . The partition allows work but no direct heat transfer. After the current is switched off, this state is a mechanical equilibrium subject to the adiabatic constraint in the adopted macroscopic model.

Question 3. For each gas, and . Substituting the calculated temperatures gives

The energy stored in the resistor is negligible. The first law applied to the combined system therefore gives

For gas 2, , so the work done by the piston is . Since the piston stores no energy, its work on gas 1 is . These two work contributions cancel in the combined system's balance.

Question 4. For gas 2, the entropy formula gives

because . This recovers the isentropic nature of reversible compression. For gas 1,

We have and , so the logarithm's argument exceeds 1: . The combined system receives no entropy from outside: electrical work carries none. Thus . Joule heating produces entropy even when heating is slow. The adiabatic relation therefore does not apply to gas 1.

Question 5. Once the current is switched off, the combined system is isolated. The now diathermal, movable partition allows final temperatures and pressures to become equal. Since both gases contain the same , gives . Conservation of energy requires

Dividing by and substituting the temperatures gives

hence and . For the entropy changes during this new process,

Their sum is the additional entropy produced, since the combined system is isolated:

For , , so its logarithm is negative. The minus sign makes .