Chemistry‹›⌂ 0:00 studied

Module 5 · 8 min read · Free chapter

Second law, entropy as a state function, reversible and irreversible changes

What are you preparing for? We show the practice and previous year questions of your exam.

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, qh=nRThln⁡V2V1q_h = nRT_h\ln\dfrac{V_2}{V_1} and qc=−nRTcln⁡V3V4q_c = -nRT_c\ln\dfrac{V_3}{V_4}, and the adiabats force V2V1=V3V4\dfrac{V_2}{V_1} = \dfrac{V_3}{V_4}. So

η=−wqh=1−TcTh,qhTh+qcTc=0\eta = \frac{-w}{q_h} = 1 - \frac{T_c}{T_h}, \qquad \frac{q_h}{T_h} + \frac{q_c}{T_c} = 0

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 qrevT\dfrac{q_{rev}}{T} adds up to zero round the Carnot cycle. Any reversible cycle can be split into many tiny Carnot cycles, so ∮δqrevT=0\oint \dfrac{\delta q_{rev}}{T} = 0 in general. A quantity whose cyclic integral is zero is a state function, so we define entropy:

dS=δqrevTdS = \frac{\delta q_{rev}}{T}

For an irreversible change the actual heat is smaller than the reversible heat for the same change, which gives the Clausius inequality dS≥δqTdS \geq \dfrac{\delta q}{T}. 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 1−3005001 - \dfrac{300}{500} = 0.40, so at most 400 J can be obtained. The claimed 45% efficiency is impossible. Check with entropy: the hot reservoir loses 1000500\dfrac{1000}{500} = 2.00 J K⁻¹, the cold one gains 550300\dfrac{550}{300} = 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 wmax=Q(1−423.15673.15)w_{max} = Q\left(1 - \dfrac{423.15}{673.15}\right) = 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 δqrevT\dfrac{\delta q_{rev}}{T}. 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, ΔSuniv=ΔSsys+ΔSsurr\Delta S_{univ} = \Delta S_{sys} + \Delta S_{surr}. The surroundings are a huge reservoir, so whatever heat they receive is received reversibly: ΔSsurr=−qsysT\Delta S_{surr} = -\dfrac{q_{sys}}{T}. 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 = 74.618.02\dfrac{74.6}{18.02} = 4.14, so q = 4.14 × 6010 = 24.9 kJ. ΔS_sys = 24 890273.15\dfrac{24\,890}{273.15} = +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, (∂G∂T)p=−S\left(\dfrac{\partial G}{\partial T}\right)_p = -S, 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 dS=δq(1TA−1TB)dS = \delta q\left(\dfrac{1}{T_A} - \dfrac{1}{T_B}\right). 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. ΔS=15ln⁡350300+15ln⁡350400\Delta S = 15\ln\dfrac{350}{300} + 15\ln\dfrac{350}{400} = 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 ΔmixS=−nR∑xiln⁡xi\Delta_{mix}S = -nR\sum x_i\ln x_i. 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: S=kln⁡WS = k\ln W, 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).

  1. Draw a Carnot cycle on a p-V diagram and write q_h, q_c for the isotherms.
  2. Use TVγ−1TV^{\gamma - 1} = constant on the adiabats to show V2V1=V3V4\dfrac{V_2}{V_1} = \dfrac{V_3}{V_4}.
  3. Conclude qhTh+qcTc=0\dfrac{q_h}{T_h} + \dfrac{q_c}{T_c} = 0.
  4. Split any reversible cycle into many small Carnot cycles: ∮δqrevT=0\oint \dfrac{\delta q_{rev}}{T} = 0.
  5. A zero cyclic integral means an exact differential, so S, defined by dS=δqrevTdS = \dfrac{\delta q_{rev}}{T}, 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: η=1−TcTh\eta = 1 - \dfrac{T_c}{T_h} (kelvin), the upper limit for any engine.
  • dS=δqrevTdS = \dfrac{\delta q_{rev}}{T}; S is a state function; Clausius: dS≥δqTdS \geq \dfrac{\delta q}{T}.
  • ΔS_univ > 0 spontaneous, = 0 equilibrium; ΔSsurr=−qsysT\Delta S_{surr} = -\dfrac{q_{sys}}{T}.
  • 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.
  • S=kln⁡WS = k\ln W; perfect crystal at 0 K has W = 1.

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. State the Kelvin-Planck and Clausius statements of the second law. Why does a refrigerator not violate the Clausius statement?

    Show answer points
    • Kelvin-Planck: no cyclic engine converts heat from one reservoir wholly into work
    • Clausius: heat does not flow unaided from cold to hot
    • Refrigerator moves heat cold to hot only with work input
    • The two statements are equivalent
  2. An engine is claimed to take 1000 J from a reservoir at 500 K, deliver 450 J of work and reject heat at 300 K. Is the claim feasible? Support with the Carnot efficiency and with entropy.

    Show answer points
    • η_Carnot = 1 − 300/500 = 0.40
    • Maximum work 400 J < 450 J claimed
    • Entropy: hot loses 2.00 J/K, cold gains 550/300 = 1.83 J/K
    • ΔS_univ < 0, so claim impossible
  3. A steam turbine has intake at 400 °C and exhaust at 150 °C. What is the maximum work for heat input Q, and when is it achieved?

    Show answer points
    • Use kelvin: 673.15 K and 423.15 K
    • w_max = Q(1 − 423.15/673.15) = 0.371 Q
    • Only for a reversible Carnot cycle
    • Heat exchanged at constant T, no friction or turbulence
  4. Using the Carnot cycle, show that entropy is a state function. State the Clausius inequality and deduce what happens to the entropy of an isolated system.

    Show answer points
    • Carnot: q_h/T_h + q_c/T_c = 0 (V₂/V₁ = V₃/V₄ from adiabats)
    • Any reversible cycle = many Carnot cycles: ∮δq_rev/T = 0
    • Exact differential: S state function, dS = δq_rev/T
    • dS ≥ δq/T; isolated δq = 0 so dS ≥ 0
  5. A 74.6 g ice cube melts in the sea at 0 °C and 1 atm (ΔH_fus = 6.01 kJ mol⁻¹). Calculate ΔS_sys, ΔS_surr and ΔS_univ and comment.

    Show answer points
    • n = 4.14 mol; q = 24.9 kJ
    • ΔS_sys = 24 890/273.15 = +91.1 J/K
    • ΔS_surr = −91.1 J/K
    • ΔS_univ = 0: equilibrium (reversible) at 0 °C
  6. Hot tea in a cup cools at constant pressure to room temperature. Give the signs of ΔH and ΔG of the tea with reasons. Is the process spontaneous, and which criterion should be used?

    Show answer points
    • Heat lost at constant p: ΔH < 0
    • (∂G/∂T)_p = −S, dT < 0, so ΔG > 0 for the tea
    • ΔG < 0 test valid only at constant T and p
    • Spontaneous because ΔS_tea + ΔS_room > 0
  7. Calculate ΔS when 1 mol of ice at −10 °C is converted to water at 25 °C at 1 atm (C_p,m ice 37.6, water 75.3 J K⁻¹ mol⁻¹; ΔH_fus 6.01 kJ mol⁻¹).

    Show answer points
    • Ice 263.15 → 273.15 K: 37.6 ln(273.15/263.15) = 1.40 J/K
    • Fusion: 6010/273.15 = 22.0 J/K
    • Water 273.15 → 298.15 K: 75.3 ln(298.15/273.15) = 6.60 J/K
    • Total ≈ 30.0 J K⁻¹
  8. State Trouton's rule. Why do water and ethanol show larger entropies of vaporisation than benzene?

    Show answer points
    • ΔS_vap = ΔH_vap/T_b ≈ 85-88 J K⁻¹ mol⁻¹
    • Holds for non-polar, non-associated liquids
    • H-bonding orders the liquid, lowering its entropy
    • So the gain on vaporisation is larger (water ≈ 109)
  9. Show that two phases in contact are in thermal equilibrium only if their temperatures are equal. Two metal blocks (C = 15 J K⁻¹ each) at 300 K and 400 K reach equilibrium in isolation: find T_f and ΔS.

    Show answer points
    • dS = δq(1/T_A − 1/T_B) for heat δq from B to A
    • Maximum S at equilibrium: dS = 0 needs T_A = T_B
    • T_f = 350 K
    • ΔS = 15 ln(350/300) + 15 ln(350/400) = +0.31 J/K
  10. Write Boltzmann's formula for entropy and use it to explain why the entropy of an ideal gas rises on isothermal expansion.

    Show answer points
    • S = k ln W, W = number of microstates
    • More volume: more positional microstates
    • W ∝ V^N, so ΔS = Nk ln(V₂/V₁) = nR ln(V₂/V₁)
    • Agrees with the thermodynamic result

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

More in this module: Thermodynamics

Official sources

Facts in this chapter were checked against these official sources.

  1. NIOS Senior Secondary Chemistry (313), Lesson 10: Spontaneity of chemical reactions
  2. LibreTexts Chemistry, Physical and Theoretical Chemistry: Clausius inequality, entropy of mixing and the Boltzmann formula