Module 5 · 8 min read · Free chapter
Second law, entropy as a state function, reversible and irreversible changes
Start from zero: the direction of change
Hot tea cools to room temperature; cold tea never warms itself up by drawing heat from the room. Perfume spreads through a room; it never gathers back into the bottle. Both reverse processes would obey the first law, because energy would still be conserved, yet they never happen.
Something besides energy decides the direction of natural change. That quantity is entropy. The second law says that in any natural change the total entropy of the universe increases.
This chapter states the second law, shows why the Carnot engine sets a hard limit on efficiency, defines entropy and proves it is a state function, and shows how to calculate entropy changes and use them to judge spontaneity.
Statements of the second law
A spontaneous change happens by itself once started, without continuous outside help. Spontaneous does not mean fast: diamond turning into graphite is spontaneous but immeasurably slow. A reversible change is an idealised one that passes through equilibrium states and can be turned back by an infinitesimal change in conditions; every real change is irreversible.
The second law has two classic statements, which are equivalent:
- Kelvin-Planck: no engine working in a cycle can take heat from a single reservoir and convert all of it into work. Some heat must always be rejected to a colder sink.
- Clausius: heat cannot flow by itself from a colder body to a hotter one. A refrigerator does this only because work is supplied.
If either statement could be broken, the other could be broken too. For example, a perfect engine driving a refrigerator would move heat from cold to hot with no net work.
The Carnot cycle and entropy as a state function
The Carnot cycle runs an ideal gas reversibly through four steps: isothermal expansion at T_h (absorbing q_h), adiabatic expansion cooling it to T_c, isothermal compression at T_c (rejecting q_c), and adiabatic compression back to T_h. For the two isotherms, and , and the adiabats force . So
Carnot's theorem: no engine working between the same two temperatures can beat a reversible engine, and all reversible engines have the same efficiency, whatever the working substance. Efficiency rises with a hotter source or a colder sink, and reaches 1 only if T_c = 0 K.
Entropy. The second equation says that adds up to zero round the Carnot cycle. Any reversible cycle can be split into many tiny Carnot cycles, so in general. A quantity whose cyclic integral is zero is a state function, so we define entropy:
For an irreversible change the actual heat is smaller than the reversible heat for the same change, which gives the Clausius inequality . For an isolated system δq = 0, so dS ≥ 0: the entropy of an isolated system never decreases.
Worked example 1 (UPSC 2020). An engine claims to produce 450 J of work for every 1000 J taken from a reservoir at 500 K, rejecting heat at 300 K. The Carnot limit is = 0.40, so at most 400 J can be obtained. The claimed 45% efficiency is impossible. Check with entropy: the hot reservoir loses = 2.00 J K⁻¹, the cold one gains = 1.83 J K⁻¹, so the universe would lose entropy.
Worked example 2 (UPSC 2025). A steam turbine takes in steam at 400 °C and exhausts at 150 °C. The maximum work is = 0.371 Q. It is reached only by a reversible (Carnot) cycle, with heat taken in and rejected at constant temperatures and no friction or turbulence.
Calculating entropy changes and judging spontaneity
To find ΔS for any change, invent a reversible path between the same two states and add up . Because S is a state function, the answer holds for the real, irreversible path too.
| Change | ΔS |
|---|---|
| Ideal gas, isothermal | nR ln(V₂/V₁) = nR ln(p₁/p₂) |
| Heating at constant p | C_p ln(T₂/T₁) |
| Heating at constant V | C_V ln(T₂/T₁) |
| Phase change at T_trs | ΔH_trs ÷ T_trs |
Gases have far more entropy than liquids, and liquids more than solids, so reactions that produce gas usually have ΔS > 0. Trouton's rule says ΔS_vap ≈ 85 to 88 J K⁻¹ mol⁻¹ for many non-polar liquids; water (109) and ethanol exceed it because hydrogen bonding orders the liquid.
Spontaneity. For the universe, . The surroundings are a huge reservoir, so whatever heat they receive is received reversibly: . A change is spontaneous if ΔS_univ > 0, at equilibrium if ΔS_univ = 0, and impossible as written if ΔS_univ < 0.
Worked example 3 (UPSC 2022). A 74.6 g ice cube melts in the sea at 0 °C and 1 atm (ΔH_fus = 6.01 kJ mol⁻¹). Moles = = 4.14, so q = 4.14 × 6010 = 24.9 kJ. ΔS_sys = = +91.1 J K⁻¹; the sea gives the same heat at 0 °C, so ΔS_surr = −91.1 J K⁻¹ and ΔS_univ = 0. Melting at exactly 0 °C is an equilibrium (reversible) process; in warmer sea water ΔS_univ would be positive.
Worked example 4 (UPSC 2017). Hot tea cools at constant pressure to room temperature. It loses heat at constant p, so ΔH < 0. Its Gibbs energy rises: at constant p, , so cooling (dT < 0) gives ΔG > 0 for the tea. This does not mean the process is non-spontaneous: ΔG < 0 is a test only for changes at constant T and p. Here the right test is ΔS_univ = ΔS_tea + ΔS_room > 0.
Thermal equilibrium, mixing and the molecular meaning of entropy
Why heat flows from hot to cold (UPSC 2018). Let two bodies A and B, isolated together, exchange a small heat δq from B to A. Then . If T_B > T_A this is positive, so the flow happens. At equilibrium S is a maximum, so dS = 0 for any small δq, which needs T_A = T_B. Two phases are in thermal equilibrium only when their temperatures are equal.
Worked example 5 (UPSC 2026). Two identical metal blocks with C = 15 J K⁻¹ each, at 300 K and 400 K, touch in isolation. The final temperature is 350 K. = 2.312 − 2.003 = +0.31 J K⁻¹. The cold block gains more entropy than the hot block loses, so the total rises.
Mixing. When ideal gases at the same T and p mix, each expands into the full volume, so . Every x_i is less than 1, so the result is always positive, and mixing is always spontaneous for ideal gases (Δ_mixH = 0).
Molecular view. Boltzmann related entropy to the number of microscopic arrangements W that look the same from outside: , with k = 1.381 × 10⁻²³ J K⁻¹. A gas filling a larger volume has more possible positions, so W and S rise. A perfect crystal at 0 K has only one arrangement, W = 1, so S = 0, which leads to the third law (Criteria of equilibrium, ΔG° and the equilibrium constant; the Nernst heat theorem and the third law).
Mains lens: how UPSC asks this
The second law is asked every year, mostly as short numericals with a reasoning tail. Recent examples: two blocks reaching equilibrium (2026); a steam turbine's maximum work (2025); an ice cube in the sea (2022); an engine claim between 300 and 500 K (2020); thermal equilibrium of two phases (2018); the signs of ΔH and ΔG for cooling tea (2017).
Expect:
- Numericals (5 to 10 marks): Carnot efficiency, ΔS for heating, phase change, expansion, mixing; ΔS_univ.
- Proofs (10 marks): entropy is a state function; equal temperatures at thermal equilibrium; Carnot efficiency.
- Reasoning (5 marks): which criterion applies (ΔS_univ in general, ΔG only at constant T and p).
Model answer plan: "Show that entropy is a state function" (10 marks).
- Draw a Carnot cycle on a p-V diagram and write q_h, q_c for the isotherms.
- Use = constant on the adiabats to show .
- Conclude .
- Split any reversible cycle into many small Carnot cycles: .
- A zero cyclic integral means an exact differential, so S, defined by , is a state function.
Quick revision
- Kelvin-Planck: no full conversion of heat to work in a cycle. Clausius: no unaided heat flow cold to hot.
- Carnot: (kelvin), the upper limit for any engine.
- ; S is a state function; Clausius: .
- ΔS_univ > 0 spontaneous, = 0 equilibrium; .
- Isothermal gas nR ln(V₂/V₁); heating C ln(T₂/T₁); phase change ΔH ÷ T; Trouton ≈ 85-88.
- Thermal equilibrium needs equal T; Δ_mixS = −nR Σx ln x > 0.
- ; perfect crystal at 0 K has W = 1.