The Carnot cycle consists of two isothermal and two adiabatic processes:
- \( P \rightarrow Q \): Isothermal expansion at \( T_1 \)\
- \( Q \rightarrow R \): Adiabatic expansion\
- \( R \rightarrow S \): Isothermal compression at \( T_2 \)\
- \( S \rightarrow P \): Adiabatic compression
The total work done in the Carnot cycle is the net work done during the two isothermal processes, because no work is done in the adiabatic processes in terms of heat exchange:
- Work done during isothermal expansion:
\[
W_1 = \mu R T_1 \log\left( \frac{V_2}{V_1} \right)
\]
- Work done during isothermal compression:
\[
W_2 = \mu R T_2 \log\left( \frac{V_3}{V_4} \right)
\]
Total work done:
\[
W = W_1 - W_2 = \mu R T_1 \log\left( \frac{V_2}{V_1} \right) - \mu R T_2 \log\left( \frac{V_3}{V_4} \right)
\]