Solved thermodynamics exercise
Adiabatic piston: mechanical equilibrium without thermal equilibrium
Exercise 23 · Lesson 6 — The Second Law of Thermodynamics
- 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.
- Draw the boundaries of the systems “gas 2” and “two gases + resistor”. What form of energy crosses the boundary of the second system?
- Determine , , then and . Does the adiabatic partition require ?
- Calculate the energy changes of both gases and the electrical work received .
- Calculate , and the entropy produced in “two gases + resistor”. Why does slow heating not make the entire experiment reversible?
- After the current is switched off, the piston is made diathermal while remaining movable. Determine the new equilibrium and the additional entropy produced.
Hint
Detailed solution
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. 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. 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. 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. 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 . 