Solved thermodynamics exercise

Compression in contact with one reservoir: reversible or sudden

Exercise 28 · Lesson 6 — The Second Law of Thermodynamics

  • single-reservoir compression
  • isothermal
  • work
  • entropy produced
  • thermal reservoir

Statement

A diathermal cylinder contains moles of ideal gas at . It is in contact with a thermal reservoir at . A frictionless piston allows the gas to be compressed to pressure , with . Compare a reversible compression with a compression obtained by suddenly imposing the constant external pressure .

  1. Determine the final equilibrium pressure, temperature and volume for each compression. Is the final state the same?
  2. Calculate the gas's entropy change for each compression.
  3. Calculate and in the reversible case and establish the entropy balances for the gas and the reservoir.
  4. Calculate and for the sudden compression.
  5. Establish the entropy balances for the gas and the reservoir in the sudden case. Calculate the entropy produced in the combined gas–reservoir system and show that . Verify that .

Hint

Hint
In both cases, . For the sudden compression, ; for the reversible compression, integrate .

Detailed solution

Solution
Question 1. During the reversible compression, the gas remains in thermal equilibrium with the reservoir: its temperature is throughout the process. Its pressure increases gradually from to . In the final state,

where the initial equation of state has been used.

For the sudden compression, the external pressure is set to . At final mechanical equilibrium, the gas pressure equals this external pressure: . Final thermal equilibrium with the reservoir requires . The equation of state then gives

Both processes therefore lead to the same final state .

Question 2. Entropy is a state function: its change depends only on the initial and final states, which are identical in both experiments. For the ideal gas,

Thus . This decrease in the gas's entropy does not determine the entropy produced: exchanges with the reservoir must also be included.

Question 3. During the reversible compression, . The work received is

The gas returns to its initial temperature, so . The first law gives . The reservoir receives the opposite heat at temperature :

The entropy received by the gas is , so . The reservoir receives entropy , equal to its entropy change: it too produces no entropy. Adding gives : no entropy is produced in the combined system.

Question 4. The sudden compression takes place under constant external pressure . The work received is therefore

Again , so .

Question 5. The reservoir receives , hence

The entropy balance for the gas is

For the ideal reservoir, the entropy received is , equal to its change: it produces no entropy. The combined gas–reservoir system receives no heat from any other body; the work received from outside carries no entropy. Its entropy increase is therefore produced internally:

Set . Then and for . The function increases from zero, so . Moreover,

Since in both cases, the additional work is rejected as heat to the reservoir. This is the cost of irreversibility.