Solution (source code)

= Solution

A <Carnot cycle> consists of two reversible isothermal branches joined by two reversible adiabatic branches. Let the hot isothermal expansion run from volume $V_a$ to $V_b$, and the cold isothermal compression from $V_c$ to $V_d$. For $n$ moles of an <ideal gas>, their absorbed and rejected <heat> magnitudes are
$$
Q_h=nRT_1\ln(V_b/V_a),\qquad Q_c=nRT_2\ln(V_c/V_d).
$$
On a reversible ideal-gas adiabat, $TV^{\gamma-1}$ is constant. Applying this to the two joining branches gives $V_b/V_a=V_c/V_d$. Therefore
$$
\frac{Q_c}{Q_h}=\frac{T_2}{T_1},\qquad \boxed{\eta_C=\frac{Q_h-Q_c}{Q_h}=1-\frac{T_2}{T_1}.}
$$
The result is independent of the gas's heat-capacity ratio. This derivation presumes the usual constant-heat-capacity ideal-gas model; more generally the equal entropy changes on the two isotherms give the same heat ratio without that restriction.

To establish the upper bound, suppose an engine were more efficient between these same two reservoirs. Use its output <work> to drive a reversed <Carnot cycle>, scaled so that the work magnitudes match. For fixed work $W$, the hypothetical engine would take $W/\eta$ from the hot bath, whereas the reversed <Carnot cycle> would return $W/\eta_C>W/\eta$ to it. The combined device would transfer <heat> from the cold bath to the hot bath without any net external <work>. That contradicts the <Clausius statement of the second law>. Hence \b[no such two-reservoir engine can exceed $1-T_2/T_1$].

For the triangular cycle, call the three successive vertices $A,B,C$, and measure <energies> in units of $p_0V_0$. For one mole of a monatomic <ideal gas>, $U=3pV/2$, and positive <work> done by the gas is $W=\int p\,dV$. The net values on the three complete branches are
$$
\begin{array}{c|rrr}
\text{branch}&\Delta U/(p_0V_0)&W/(p_0V_0)&Q_{\rm net}/(p_0V_0)\\\hline
A\to B&3/2&0&3/2\\
B\to C&0&3/2&3/2\\
C\to A&-3/2&-1&-5/2
\end{array}
$$
Thus the net <work> is \b[$W_{\rm cycle}=p_0V_0/2$], equal to the triangle's enclosed area.

There is a small but important distinction between the net heat on a branch and its total positive <heat input to a cycle>. On the sloping branch put $x=V/V_0$, so $p/p_0=3-x$, with $1\leq x\leq2$. Then
$$
\frac{U}{p_0V_0}=\frac32x(3-x),\qquad \frac{\delta Q}{p_0V_0}=\left(\frac{15}{2}-4x\right)dx.
$$
There is a <heat-flow reversal along a thermodynamic path> at $x=15/8$. The first part absorbs heat; the final part rejects it. Integrating the two signed contributions separately gives
$$
\frac{Q_{BC,+}}{p_0V_0}=\int_1^{15/8}\left(\frac{15}{2}-4x\right)dx=\frac{49}{32},\qquad \frac{Q_{BC,-}}{p_0V_0}=\int_{15/8}^2\left(\frac{15}{2}-4x\right)dx=-\frac1{32}.
$$
The true total absorbed and rejected <heats> and <thermal efficiency> are therefore
$$
\boxed{Q_{\rm in}=\frac{97}{32}p_0V_0,\qquad Q_{\rm out}=\frac{81}{32}p_0V_0,\qquad\eta=\frac{W_{\rm cycle}}{Q_{\rm in}}=\frac{16}{97}\simeq0.16495.}
$$
For clarity, the positive heat input on $A\to B$ is $3p_0V_0/2$, on $B\to C$ it is $49p_0V_0/32$, and on $C\to A$ it is zero. Using just the positive net heats of the complete branches would give $Q_{\rm in}=3p_0V_0$ and $\eta=1/6$; that shortcut misses the short heat-rejection interval on $B\to C$.

\Image[/past-exam-of-the-physics-b-course-of-the-university-of-cambridge/2016/paper-2-triangular-cycle.png]
{title=Original pressure-volume cycle with the interior temperature maximum and the late reversal of heat flow}

Finally, put $T_0=p_0V_0/R$. The minimum <temperature> is $T_0$ at $A$. Along $B\to C$,
$$
T/T_0=x(3-x),
$$
which has its maximum $9/4$ at $x=3/2$, not at either endpoint. Thus the corresponding two-reservoir <Carnot efficiency> is
$$
\boxed{\eta_{C,\rm extremes}=1-\frac{T_{\min}}{T_{\max}}=1-\frac49=\frac59\simeq0.556.}
$$
The triangular cycle receives heat at a range of temperatures below $T_{\max}$ and rejects it at temperatures above $T_{\min}$. It therefore makes less <work> per unit input <heat> than a <Carnot cycle> using only those extrema. The geometric path alone does not prove irreversibility: it could in principle exchange heat reversibly with a continuum of matched-temperature reservoirs, while still having this lower efficiency. Restricting it to only the two extreme-temperature reservoirs would introduce additional irreversible heat transfers.