Laws of Thermodynamics, Entropy and Heat Engines
CSIR NET thermodynamics: zeroth to third laws, work in processes, Carnot and Otto cycles, entropy changes, Clausius inequality, third-law consequences.
- 21 min
On this page · 15 sections
Prerequisites
- Partial derivatives, exact and inexact differentials, and line integrals. If they feel rusty, the calculus parts of Mathematical Sciences cover them.
- The ideal-gas equation \( PV = nRT \) and the meaning of a heat capacity.
- Laws of Thermodynamics, State and Path Functions in Chemical Sciences covers the same laws with a chemist’s sign conventions; read it if you also sit chemistry papers.
The Hook: The Engine That Cannot Be Built
Systems, States and Processes
A thermodynamic system is described by a few macroscopic state variables (\( P, V, T, N, U, S, \ldots \)). A state function depends only on the current equilibrium state; its change between two states is path-independent and its differential is exact. Heat \( Q \) and work \( W \) are not state functions: they describe energy transfer along a path, so their small amounts are written \( \delta Q \), \( \delta W \) (inexact differentials).
| Process | Defining condition | Key relation for an ideal gas |
|---|---|---|
| Isothermal | \( T \) constant | \( PV \) constant, \( \Delta U = 0 \) |
| Isobaric | \( P \) constant | \( W = P\Delta V \), \( Q = nC_p\Delta T \) |
| Isochoric | \( V \) constant | \( W = 0 \), \( Q = nC_v\Delta T \) |
| Adiabatic (reversible) | \( \delta Q = 0 \), quasi-static | \( PV^\gamma \), \( TV^{\gamma - 1} \), \( P^{1-\gamma}T^\gamma \) constant |
| Free expansion | \( Q = 0 \), \( W = 0 \), irreversible | \( \Delta U = 0 \Rightarrow \Delta T = 0 \) |
A quasi-static process passes through a continuous sequence of equilibrium states. A reversible process is quasi-static with no dissipation, so it can be retraced exactly with the surroundings restored. Every real process is irreversible; reversible ones are the idealisation that makes calculation possible.
Zeroth Law: Temperature
Thermal equilibrium is therefore an equivalence relation, and its classes are labelled by a single number, the temperature. A thermometer is just system C. The ideal-gas thermometer defines \( T \propto \lim_{P\to0}(PV) \); the second law later supplies a substance-independent thermodynamic temperature that agrees with it.
First Law: Energy Conservation
With work done by the system counted positive (the physics convention),
$$\boxed{dU = \delta Q - \delta W, \qquad \delta W = P\,dV \text{ (quasi-static)}}$$\( U \) is a state function: no cycle can produce work without an equal intake of heat, so a perpetual motion machine of the first kind is impossible. (Chemistry texts often count work done on the system as positive and write \( \Delta U = q + w \); the physics is identical, only the sign of \( W \) differs.)
Work in standard processes (ideal gas, \( n \) moles)
| Process | Work done by gas | Heat absorbed |
|---|---|---|
| Isothermal at \( T \), \( V_1 \to V_2 \) | \( nRT\ln(V_2/V_1) \) | same as \( W \) |
| Isobaric | \( P(V_2 - V_1) = nR\Delta T \) | \( nC_p\Delta T \) |
| Isochoric | 0 | \( nC_v\Delta T \) |
| Reversible adiabatic | \( \dfrac{P_1V_1 - P_2V_2}{\gamma - 1} = nC_v(T_1 - T_2) \) | 0 |
| Polytropic \( PV^k \) const | \( \dfrac{P_1V_1 - P_2V_2}{k - 1} \) | \( nC_v\Delta T + W \) |
Heat capacities
$$C_v = \left(\frac{\partial U}{\partial T}\right)_V, \qquad C_p = \left(\frac{\partial H}{\partial T}\right)_P, \qquad H = U + PV$$For an ideal gas \( U \) depends on \( T \) only, so \( C_p - C_v = nR \) (Mayer’s relation) and \( \gamma = C_p/C_v \). Per mole: monatomic \( C_v = \tfrac{3}{2}R \), \( \gamma = 5/3 \); rigid diatomic \( C_v = \tfrac{5}{2}R \), \( \gamma = 7/5 \). The general relation for any substance, \( C_p - C_v = TV\alpha^2/\kappa_T \), is derived from Maxwell relations in Thermodynamic Potentials, Maxwell Relations and Phase Equilibria.
Second Law: Direction of Processes
Two equivalent classical statements:
Violating either lets you violate the other: a perfect engine driving an ordinary refrigerator is a perfect refrigerator, and a perfect refrigerator feeding an ordinary engine is a perfect engine. A machine that violates the second law is a perpetual motion machine of the second kind.
Carnot cycle and Carnot’s theorem
A Carnot engine runs between two reservoirs at \( T_h \) and \( T_c \) using two reversible isotherms and two reversible adiabats. For any working substance,
$$\boxed{\eta_{\text{Carnot}} = \frac{W}{Q_h} = 1 - \frac{Q_c}{Q_h} = 1 - \frac{T_c}{T_h}}$$Carnot’s theorem: no engine working between two given reservoirs is more efficient than a reversible one, and all reversible engines between the same two reservoirs have the same efficiency. This universality is what defines the thermodynamic temperature scale: \( Q_c/Q_h = T_c/T_h \) for any reversible engine.
| Device | Figure of merit | Carnot (reversible) limit |
|---|---|---|
| Engine | \( \eta = W/Q_h \) | \( 1 - T_c/T_h \) |
| Refrigerator | \( \text{COP} = Q_c/W \) | \( T_c/(T_h - T_c) \) |
| Heat pump | \( \text{COP} = Q_h/W \) | \( T_h/(T_h - T_c) \) |
A heat pump’s COP is always one more than that of the same machine used as a refrigerator, because \( Q_h = Q_c + W \). Both blow up as \( T_h \to T_c \), and the refrigerator COP falls to zero as \( T_c \to 0 \): cooling gets ever harder near absolute zero.
Other cycles worth knowing
| Cycle | Strokes | Efficiency (ideal gas) |
|---|---|---|
| Carnot | 2 isotherms + 2 adiabats | \( 1 - T_c/T_h \) |
| Otto (petrol engine model) | 2 adiabats + 2 isochores | \( 1 - r^{1-\gamma} \), \( r = V_{\max}/V_{\min} \) |
| Stirling (with ideal regenerator) | 2 isotherms + 2 isochores | \( 1 - T_c/T_h \) |
For \( r = 8 \) and \( \gamma = 1.4 \), the Otto efficiency is \( 1 - 8^{-0.4} \approx 0.565 \). The Otto cycle’s highest and lowest temperatures occur at single points, so it is always less efficient than a Carnot engine between those extremes.
Entropy
Clausius inequality
For any cycle exchanging heat \( \delta Q \) with reservoirs at temperature \( T \),
$$\boxed{\oint\frac{\delta Q}{T} \leq 0}$$with equality for a reversible cycle. Equality for every reversible cycle means \( \delta Q_{\text{rev}}/T \) is an exact differential, which defines a state function, the entropy:
$$\boxed{dS = \frac{\delta Q_{\text{rev}}}{T}}$$Applying the inequality to a cycle made of an irreversible leg from A to B and a reversible return gives
$$\boxed{dS \geq \frac{\delta Q}{T}}$$For an isolated system \( \delta Q = 0 \), so \( \Delta S \geq 0 \): the entropy of an isolated system never decreases, and it is maximum at equilibrium. \( 1/T \) is the integrating factor that turns the inexact \( \delta Q_{\text{rev}} \) into an exact differential.
The fundamental relation
Combining the first law with \( \delta Q_{\text{rev}} = T\,dS \):
$$\boxed{dU = T\,dS - P\,dV + \mu\,dN}$$This holds between any two neighbouring equilibrium states, whether the actual process connecting them was reversible or not, because every term is a state function. It is the starting point for all the potentials on the next page.
Computing entropy changes
Entropy is a state function, so for an irreversible process invent a reversible path between the same end states and integrate \( \delta Q_{\text{rev}}/T \) along it.
| Change | \( \Delta S \) |
|---|---|
| Heating at constant \( P \) (constant \( c \)) | \( mc\ln(T_2/T_1) \) |
| Phase change at \( T \) with latent heat \( L \) | \( L/T \) |
| Ideal gas, any process | \( nC_v\ln\dfrac{T_2}{T_1} + nR\ln\dfrac{V_2}{V_1} = nC_p\ln\dfrac{T_2}{T_1} - nR\ln\dfrac{P_2}{P_1} \) |
| Free expansion \( V \to 2V \) | \( nR\ln2 \) (gas); surroundings 0 |
| Reservoir at \( T_r \) receiving heat \( Q \) | \( Q/T_r \) |
| Mixing different ideal gases at same \( T, P \) | \( -nR\sum_ix_i\ln x_i \) |
Temperature–entropy diagrams
On a \( T \)–\( S \) diagram the area under a reversible path is the heat absorbed, \( Q = \int T\,dS \), and the area enclosed by a cycle is the net work. A Carnot cycle is a rectangle. Reading efficiency off a \( T \)–\( S \) diagram is a favourite Part C shortcut: efficiency = enclosed area divided by the area under the heat-absorbing legs.
Third Law: Absolute Zero
Statistically, \( S = k_B\ln\Omega \) with \( \Omega \to g_0 \) (ground-state degeneracy) at \( T = 0 \), so \( S \to k_B\ln g_0 \), which is negligible per particle unless \( g_0 \) grows exponentially with \( N \). Glasses and orientationally disordered crystals trapped out of equilibrium keep a residual entropy; the third law applies only to true equilibrium states.
Consequences that Part C turns into statements:
| As \( T \to 0 \) | Reason |
|---|---|
| \( C_v, C_p \to 0 \) | \( S = \int_0^T (C/T')\,dT' \) must stay finite |
| Thermal expansion \( \alpha \to 0 \) | \( \left(\partial V/\partial T\right)_P = -\left(\partial S/\partial P\right)_T \to 0 \) |
| \( (\partial P/\partial T)_V \to 0 \) | \( = (\partial S/\partial V)_T \to 0 \) |
| Slope of a coexistence curve \( dP/dT \to 0 \) | Clausius–Clapeyron with \( \Delta S \to 0 \) |
| Absolute zero cannot be reached in a finite number of steps | unattainability statement |
| The classical ideal gas fails | its \( C_v = \tfrac{3}{2}R \) and \( S \propto \ln T \to -\infty \) violate the law; quantum statistics restores it |
Memory Tricks
Don’t Confuse
| This | vs | That |
|---|---|---|
| \( \Delta S_{\text{system}} \) can be negative | \( \Delta S_{\text{system}} + \Delta S_{\text{surroundings}} \geq 0 \) always | |
| Free expansion: \( Q = 0 \) but \( \Delta S = nR\ln(V_2/V_1) > 0 \) | Reversible adiabatic: \( Q = 0 \) and \( \Delta S = 0 \) | |
| Adiabatic means no heat exchange | Isentropic means constant entropy (adiabatic and reversible) | |
| Physics sign: \( dU = \delta Q - P\,dV \) | Chemistry sign: \( dU = \delta q + \delta w \), \( \delta w = -P_{\text{ext}}dV \) | |
| \( C_p - C_v = nR \) (ideal gas only) | \( C_p - C_v = TV\alpha^2/\kappa_T \) (any substance) | |
| Kelvin–Planck forbids complete conversion in a cycle | One isothermal expansion of an ideal gas does convert heat fully to work (not a cycle) | |
| Carnot COP of a refrigerator \( T_c/(T_h - T_c) \) can exceed 1 | Engine efficiency is always below 1 |
Common Mistakes
Practice
All questions below are original practice questions written for this page. They are not from any CSIR NET paper. Take \( R = 8.314 \) J mol\( ^{-1} \) K\( ^{-1} \).
Level 1: Foundation
- What is the maximum efficiency of an engine working between 500 K and 300 K?
- One mole of an ideal gas expands freely into vacuum, doubling its volume. What is the entropy change of the gas?
- Which law of thermodynamics implies that \( C_v \to 0 \) as \( T \to 0 \)?
Answers
- 0.40. \( 1 - 300/500 \).
- \( R\ln2 \approx 5.76 \) J K\( ^{-1} \). Temperature is unchanged (\( \Delta U = 0 \)), so use a reversible isotherm between the same end states. The surroundings are untouched, so this is also the entropy change of the universe.
- The third law. \( S(T) = \int_0^T C(T')/T'\,dT' \) is finite only if \( C \to 0 \).
Level 2: Part B Style
Practice Q1. One kilogram of water (specific heat 4186 J kg\( ^{-1} \) K\( ^{-1} \)) at 293.15 K is placed in contact with a large reservoir at 353.15 K and comes to equilibrium. The entropy change of the universe is closest to:
(a) 0 (b) 68 J K\( ^{-1} \) (c) 711 J K\( ^{-1} \) (d) 779 J K\( ^{-1} \)
Answer: (b) 68 J/K
Water: \( mc\ln(353.15/293.15) = 4186\ln1.2047 \approx +779.5 \) J K\( ^{-1} \).
Reservoir: loses \( Q = mc\Delta T = 4186\times60 = 251160 \) J at 353.15 K: \( -251160/353.15 \approx -711.2 \) J K\( ^{-1} \).
Total \( \approx +68.3 \) J K\( ^{-1} \). (d) is the water alone, (c) the magnitude of the reservoir change. The total is positive, as it must be for a spontaneous process.
Practice Q2. Two identical blocks, each of heat capacity \( C = 1000 \) J K\( ^{-1} \), are at 400 K and 100 K. A reversible engine operates between them until they reach a common temperature. The work delivered is:
(a) 0 (b) 50 kJ (c) 100 kJ (d) 150 kJ
Answer: (c) 100 kJ
Reversible operation means total \( \Delta S = 0 \): \( T_f = \sqrt{400\times100} = 200 \) K. Energy given up: \( C(400 - 200) - C(200 - 100) = 200 - 100 = 100 \) kJ. Equivalently \( W = C(T_1 + T_2 - 2\sqrt{T_1T_2}) = 1000(500 - 400) = 100 \) kJ.
With direct contact the final temperature would be 250 K and no work would be delivered, which is why (a) is a tempting but wrong choice.
Practice Q3. An ideal refrigerator keeps a cold space at 270 K while rejecting heat to a room at 300 K. The minimum work needed to remove 900 J from the cold space is:
(a) 10 J (b) 90 J (c) 100 J (d) 900 J
Answer: (c) 100 J
Carnot COP \( = T_c/(T_h - T_c) = 270/30 = 9 \). \( W = Q_c/\text{COP} = 900/9 = 100 \) J. (b) uses the heat-pump COP \( T_h/(T_h - T_c) = 10 \) on the wrong heat.
Practice Q4. A reversible cycle is a rectangle on the \( T \)–\( S \) plane between \( T = 300 \) K and \( 600 \) K and between entropies \( S_1 \) and \( S_2 \). A second reversible cycle is the right triangle with vertices \( (S_1, 300) \), \( (S_2, 600) \) and \( (S_2, 300) \), run as an engine in that order: up the hypotenuse, down the vertical leg, back along \( T = 300 \) K. Their efficiencies are, respectively:
(a) 0.50 and 0.50 (b) 0.50 and \( 1/3 \) (c) 0.50 and 0.25 (d) \( 1/3 \) and \( 1/3 \)
Answer: (b) 0.50 and 1/3
Let \( \Delta S = S_2 - S_1 \). The rectangle is a Carnot cycle: \( 1 - 300/600 = 0.50 \).
Triangle: heat absorbed = area under the hypotenuse (entropy increasing) \( = \Delta S\times\tfrac{300 + 600}{2} = 450\Delta S \). The vertical leg has \( dS = 0 \): no heat. Along \( T = 300 \) K the gas rejects \( 300\Delta S \). Work = enclosed area \( = 450\Delta S - 300\Delta S = 150\Delta S \). Efficiency \( = 150/450 = 1/3 \).
The triangle uses the same extreme temperatures but absorbs heat over a range of temperatures below 600 K, so it must do worse than Carnot. (c) divides the work by the rectangle’s heat intake, \( 600\Delta S \).
Level 3: Part C Style
Practice Q5. One mole of a monatomic ideal gas initially at 300 K and 1 atm expands adiabatically against a constant external pressure of 0.5 atm until it reaches equilibrium. The final temperature and the entropy change of the gas are:
(a) 227 K, 0 (b) 240 K, \( +1.12 \) J K\( ^{-1} \) (c) 240 K, 0 (d) 300 K, \( +5.76 \) J K\( ^{-1} \)
Answer: (b) 240 K, +1.12 J/K
No heat, so \( \Delta U = -P_{\text{ext}}(V_2 - V_1) \). With \( P_{\text{ext}} = P_2 = 0.5 \) atm, \( P_{\text{ext}}V_2 = RT_2 \) and \( P_{\text{ext}}V_1 = \tfrac{1}{2}RT_1 \):
$$\tfrac{3}{2}R(T_2 - T_1) = -R\left(T_2 - \tfrac{1}{2}T_1\right) \Rightarrow \tfrac{5}{2}T_2 = 2T_1 \Rightarrow T_2 = 0.8T_1 = 240\ \text{K}$$\( \Delta S = C_p\ln\frac{T_2}{T_1} - R\ln\frac{P_2}{P_1} = \tfrac{5}{2}R\ln0.8 + R\ln2 = R(-0.558 + 0.693) = 0.135R \approx 1.12 \) J K\( ^{-1} \).
(a) is the reversible adiabat (\( 300\times0.5^{0.4} \approx 227 \) K), wrongly applied to an irreversible process; (d) is an isothermal answer.
Practice Q6. An inventor claims an engine that, in each cycle, takes 1000 J from a reservoir at 600 K, rejects 450 J to a reservoir at 300 K, and also rejects some heat to a third reservoir at 400 K. Consider:
- If the engine delivers 500 J of work per cycle, the first law requires it to reject 50 J at 400 K.
- With 500 J of work, the entropy change of the three reservoirs per cycle is negative, so the claim violates the second law.
- Whatever heat \( Q_3 \geq 0 \) it rejects at 400 K, the maximum possible work per cycle is 550 J minus \( Q_3 \), and the second law allows any \( Q_3 \geq 0 \).
- With \( Q_3 = 50 \) J, the efficiency \( 0.50 \) equals the Carnot efficiency between 600 K and 300 K, so the claim is allowed only if the engine is reversible.
Which are correct?
(a) 1 and 2 only (b) 1 and 4 only (c) 1, 2 and 3 only (d) 2 and 4 only
Answer: (a) 1 and 2 only
Energy: \( 1000 = 500 + 450 + Q_3 \Rightarrow Q_3 = 50 \) J. True.
Reservoir entropy per cycle (the engine itself returns to its state): \( -1000/600 + 450/300 + 50/400 = -1.667 + 1.500 + 0.125 = -0.042 \) J K\( ^{-1} \) \( < 0 \). The claim violates the second law. True.
The second law needs \( -1000/600 + 450/300 + Q_3/400 \geq 0 \), i.e. \( Q_3 \geq 66.7 \) J. So not every \( Q_3 \geq 0 \) is allowed. False.
Rejecting heat at an intermediate 400 K is worse than at 300 K, so the Carnot bound between 600 K and 300 K is not the relevant test; the entropy count in statement 2 already rules the claim out. False.
Practice Q7. Consider the following statements about the low-temperature limit of equilibrium systems:
- The isobaric thermal expansion coefficient of a solid tends to zero as \( T \to 0 \).
- The slope \( dP/dT \) of the melting curve of a substance that remains liquid down to \( T \to 0 \) under pressure tends to zero.
- A classical ideal gas, with \( S = nC_v\ln T + \ldots \), is consistent with the third law.
- A refrigerator’s ideal coefficient of performance tends to zero as its cold temperature tends to zero.
Which are correct?
(a) 1 and 3 only (b) 1, 2 and 4 only (c) 2 and 3 only (d) 1, 2, 3 and 4
Answer: (b) 1, 2 and 4 only
Maxwell relation \( (\partial V/\partial T)_P = -(\partial S/\partial P)_T \), and the third law makes isothermal entropy differences vanish at \( T = 0 \). True.
Clausius–Clapeyron, \( dP/dT = \Delta S/\Delta V \), with \( \Delta S \to 0 \). True. (Liquid helium is the real example.)
\( S \to -\infty \) as \( T \to 0 \) and \( C_v \) stays at \( \tfrac{3}{2}R \): a violation, cured only by quantum statistics. False.
\( \text{COP} = T_c/(T_h - T_c) \to 0 \) as \( T_c \to 0 \). True.
Quick Revision Table
| Idea | Formula or fact |
|---|---|
| First law (physics sign) | \( dU = \delta Q - P\,dV \) |
| Isothermal work | \( nRT\ln(V_2/V_1) \) |
| Reversible adiabat | \( PV^\gamma \), \( TV^{\gamma-1} \) constant; \( W = nC_v(T_1 - T_2) \) |
| Mayer | \( C_p - C_v = nR \) |
| Carnot | \( \eta = 1 - T_c/T_h \); COP fridge \( T_c/(T_h - T_c) \); heat pump \( T_h/(T_h - T_c) \) |
| Otto | \( \eta = 1 - r^{1-\gamma} \) |
| Clausius | \( \oint \delta Q/T \leq 0 \); \( dS \geq \delta Q/T \) |
| Fundamental relation | \( dU = T\,dS - P\,dV + \mu\,dN \) |
| Ideal-gas \( \Delta S \) | \( nC_v\ln(T_2/T_1) + nR\ln(V_2/V_1) \) |
| Two bodies, contact | \( T_f = (T_1 + T_2)/2 \), \( \Delta S = C\ln\frac{(T_1+T_2)^2}{4T_1T_2} \) |
| Two bodies, reversible engine | \( T_f = \sqrt{T_1T_2} \), \( W_{\max} = C(\sqrt{T_1} - \sqrt{T_2})^2 \) |
| Third law | \( S \to \) constant (zero for a non-degenerate ground state); \( C, \alpha \to 0 \) |
Key Takeaways
What’s Next
- Thermodynamic Potentials, Maxwell Relations and Phase Equilibria: Legendre transforms of \( dU = T\,dS - P\,dV \), the four Maxwell relations, chemical potential and phase coexistence.
- Phase Space, Microstates and the Microcanonical Ensemble: where \( S = k_B\ln\Omega \) gives entropy a microscopic meaning.
- Thermodynamics and Statistical Physics (Core) overview: the learning path and how the paper asks this unit.
- Chemical Thermodynamics in Chemical Sciences, for the same laws applied to reactions and solutions.