Question 1. During the reversible compression, the gas remains in thermal equilibrium with the reservoir: its temperature is
T0 throughout the process. Its pressure increases gradually from
P0 to
P1=xP0. In the final state,
Pf,rev=xP0,Tf,rev=T0,Vf,rev=xP0nRT0=xV0,
where the initial equation of state nRT0=P0V0 has been used.
For the sudden compression, the external pressure is set to
P1. At final mechanical equilibrium, the gas pressure equals this external pressure:
Pf,irr=P1=xP0. Final thermal equilibrium with the reservoir requires
Tf,irr=T0. The equation of state then gives
Vf,irr=Pf,irrnRTf,irr=xP0nRT0=xV0.
Both processes therefore lead to the same final state (Pf,Tf,Vf)=(xP0,T0,V0/x).
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,
ΔSgas=ncVlnT0Tf+nRlnV0Vf=ncVln1+nRlnx1=−nRlnx.
Thus ΔSgas,rev=ΔSgas,irr=−nRlnx<0. 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,
Pext=P=nRT0/V. The work received is
Wrev=−∫V0V0/xVnRT0dV=−nRT0[lnV]V0V0/x=−nRT0ln(1/x)=nRT0lnx>0.
The gas returns to its initial temperature, so ΔU=ncV(T0−T0)=0. The first law ΔU=Q+W gives Qrev=−Wrev. The reservoir receives the opposite heat at temperature T0:
ΔSth,rev=T0−Qrev=nRlnx.
The entropy received by the gas is Se,rev=Qrev/T0=−nRlnx, so Si,rev=ΔSgas−Se,rev=0. The reservoir receives entropy Se,th=−Qrev/T0, equal to its entropy change: it too produces no entropy. Adding gives ΔSgas+ΔSth,rev=0: no entropy is produced in the combined system.
Question 4. The sudden compression takes place under constant external pressure
P1. The work received is therefore
Wirr=−P1(Vf−V0)=−xP0(xV0−V0)=P0V0(x−1)=nRT0(x−1)>0.
Again ΔU=0, so Qirr=−nRT0(x−1).
Question 5. The reservoir receives
−Qirr, hence
ΔSth,irr=T0−Qirr=nR(x−1).
The entropy balance for the gas is
ΔSgas=T0Qirr+Si,Si=−nRlnx+nR(x−1).
For the ideal reservoir, the entropy received is −Qirr/T0, 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:
Si=ΔSgas+ΔSth,irr=−nRlnx+nR(x−1).
Set f(x)=x−1−lnx. Then f(1)=0 and f′(x)=1−1/x=(x−1)/x>0 for x>1. The function increases from zero, so Si=nRf(x)>0. Moreover,
Wirr−Wrev=nRT0(x−1)−nRT0lnx=T0Si.
Since Q=−W in both cases, the additional work is rejected as heat to the reservoir. This is the cost of irreversibility.