Question 1. The heat capacity is molar: for
n moles, the total heat capacity is
ncV(T). Since
U depends only on
T,
dU=ncV(T)dT=n(A+BT)dT.
Integrate from Tref to T, using τ as the integration variable:
U(T)−Uref=n∫TrefT(A+Bτ)dτ=n[Aτ+2Bτ2]TrefT=nA(T−Tref)+2nB(T2−Tref2).
Adding Uref gives U(T). When calculating ΔU=U(Tf)−U(Ti), the reference terms cancel:
ΔU=nA(Tf−Ti)+2nB(Tf2−Ti2).
We cannot write ΔU=ncV(Tf)(Tf−Ti): the heat capacity varies during heating and must remain inside the integral.
Question 2. During the locally reversible process, the work received is
δW=−PdV. The first law gives
dU=δQrev−PdV,δQrev=dU+PdV.
Replace dU by the previous result and P by nRT/V:
δQrev=n(A+BT)dT+VnRTdV.
Local reversibility allows us to write dS=δQrev/T. Dividing each term by T gives
dS=n(TA+B)dT+VnRdV.
Question 3. Choose a reversible path from (Ti,Vi) to (Tf,Vi) at constant volume, followed by a path from (Tf,Vi) to (Tf,Vf) at constant temperature. In the first step, dV=0; in the second, dT=0. Adding the two entropy changes gives
ΔS=n∫TiTf(TA+B)dT+nR∫ViVfVdV=nA[lnT]TiTf+nB[T]TiTf+nR[lnV]ViVf=nA(lnTf−lnTi)+nB(Tf−Ti)+nR(lnVf−lnVi).
Using lna−lnb=ln(a/b), we obtain
ΔS=nAlnTiTf+nB(Tf−Ti)+nRlnViVf.
Entropy is a state function: its change depends only on the initial and final states. The reversible path is used to calculate this change, but the result also applies to an actual irreversible process between the same states.
Question 4. The volume is constant: the gas receives no work. The first law and question 1 therefore give
Qgas=ΔU=nA(Tf−Ti)+2nB(Tf2−Ti2).
The combined gas—reservoir system is isolated, so ΔUgas+ΔUth=0. With no work exchanged, this implies Qth=−Qgas. For the gas, Vf=Vi makes the volume term from question 3 vanish:
ΔSgas=nAlnTiTf+nB(Tf−Ti).
The reservoir remains at Tf, hence
ΔSth=TfQth=−TfQgas.
The isolated combined system exchanges no entropy with the rest of the universe: the entropy produced is the sum of the two changes,
Si=ΔSgas+ΔSth=nAlnTiTf+nB(Tf−Ti)−TfnA(Tf−Ti)−2TfnB(Tf2−Ti2).
To determine the sign, return to the integral expressions for the two terms:
ΔSgas=n∫TiTfTA+BTdT,TfQgas=n∫TiTfTfA+BTdT.
The limits are identical, so the integrands can be subtracted:
Si=n∫TiTf(A+BT)(T1−Tf1)dT>0.
Indeed, A+BT>0 and 1/T−1/Tf>0 for Ti≤T<Tf. The integral is therefore strictly positive when Tf>Ti: heating by contact with this reservoir is irreversible.