Solved thermodynamics exercise

Compression under constant external pressure

Exercise 8 · Lesson 4The First Law of Thermodynamics

  • pressure work
  • constant external pressure
  • compression
  • expansion
  • free expansion

Statement

A gas is compressed from a volume VAV_A to a volume VB<VAV_B<V_A under a constant external pressure P0P_0.

  1. Calculate the work received by the gas.
  2. The gas returns from VBV_B to VAV_A against the same external pressure P0P_0. Calculate the work received and compare it with the compression work.
  3. Repeat the expansion from VBV_B to VAV_A when the gas expands into a vacuum. Interpret the three signs obtained.

Hint

Hint
Use W=PextdVW=-\int P_{\mathrm{ext}}\,\mathrm{d}V. The external pressure must be integrated, including when the transformation is not quasi-static.

Detailed solution

Solution
Question 1. The external pressure is constant, so

WAB=P0(VBVA)=P0(VAVB)>0.W_{A\to B}=-P_0(V_B-V_A)=P_0(V_A-V_B)>0.

The gas receives work during compression.

Question 2. For the return path,

WBA=P0(VAVB)<0.W_{B\to A}=-P_0(V_A-V_B)<0.

The two works are opposites because the transformations are carried out against the same constant external pressure.

Question 3. In a vacuum, Pext=0P_{\mathrm{ext}}=0, so

WBAvide=0.W_{B\to A}^{\mathrm{vide}}=0.

Thus, expansion does not automatically imply negative work: an external force must actually be displaced.