
Thermal unit · institution-dependent · Interactive lesson
Entropy and the entropy statement of the second law
Carnot left a ratio, QH/TH = QC/TC, and Clausius saw an integral in disguise. Follow that integral round a cycle: it vanishes for every reversible loop and goes negative for every real one, and from that sign comes the most general form of the second law, a quantity you can compute and that never falls.
UPIII-07.08 · Lesson 8 of 9 in this unit. Position is not a completion score.Thermal unit · institution-dependent. Many departments teach thermal physics separately or within Physics II. Check whether your university includes this numbered unit in Physics III.
Build the model
A loop integral that vanishes is what makes entropy a property of the state.
The key idea
Entropy is the state function whose change between two equilibrium states is ∫dQᵣₑᵥ/T along any reversible path joining them, and the second law says the entropy of a system plus its surroundings never decreases.
Example. A reversible engine taking 1000 J at 600 K and rejecting 500 J at 300 K has ∮dQ/T = 1000/600 − 500/300 = 0; a real one rejecting 700 J has −0.67 J K⁻¹, and the universe gains 0.67 J K⁻¹ every cycle.
The complete physical model and assumptions
The first law lets a process run either way; the second law picks the direction, and entropy is the quantity that says how far in that direction it went. The model begins with a bookkeeping fact about heat. For a reversible cycle between two reservoirs, Carnot's ratio QC/QH = TC/TH says the heats do not cancel but the heats-over-temperatures do; slicing any reversible cycle into Carnot strips extends that to ∮dQᵣₑᵥ/T = 0. A loop integral that vanishes for every loop means the open integral from state 1 to state 2 cannot depend on the path, and a path-independent integral defines a function of the state: entropy, S₂ − S₁ = ∫dQᵣₑᵥ/T. Irreversible cycles do worse than Carnot, so for them ∮dQ/T < 0; closing an arbitrary process with a reversible return converts that into ΔSsys + ΔSₛᵤᵣᵣ ≥ 0, the entropy statement of the second law, which forbids the reverse of every real process without conserving anything. Boltzmann's S = k ln W then says why: things go the way of overwhelmingly more microstates. Two limits mark where the model stops. dQ/T needs a temperature, so it is silent about the interior of a system that has none while it lurches between equilibria, which is why every calculation still runs along a reversible surrogate path; and the law is statistical, so for a handful of molecules the forbidden direction does happen, just rarely.
1Carnot's ratio is an integral in disguise
The Carnot topic gave ηC = 1 − TC/TH for a reversible engine, which is the statement QC/QH = TC/TH, or QH/TH = QC/TC. Now fix one sign convention and keep it: heat counts positive when it enters the working substance. The engine receives +QH at TH and −QC at TC, and the ratio becomes a sum: QH/TH + (−QC)/TC = 0. Put numbers in. An engine taking 1000 J at 600 K and rejecting 500 J at 300 K has 1000/600 − 500/300 = 1.667 − 1.667 = 0. Notice what did not cancel: the heats themselves sum to +500 J, the work delivered. Dividing each heat by the temperature at which it flowed is what makes the terms cancel. That is the seed of everything here: for a reversible two-reservoir cycle, the sum of Q/T round the loop vanishes. The rest of the topic is the generalisation of that one sentence to any cycle, and then to any process.
2Stack Carnot strips and the loop integral vanishes
A general reversible cycle exchanges heat at continuously varying temperatures, so the sum becomes an integral, ∮dQ/T, with T the temperature at which dQ enters. Slice the cycle with a family of closely spaced adiabats. Between two neighbouring adiabats the upper and lower arcs of the cycle are short enough to replace by isotherms, so each strip is a small Carnot cycle and contributes dQH/TH − dQC/TC = 0. The interior adiabats are traversed once in each direction by neighbouring strips and cancel, leaving only the original boundary. Summing the strips: ∮dQᵣₑᵥ/T = 0 for every reversible cycle. Now take two reversible paths A and B from state 1 to state 2. A forwards and B backwards form a reversible loop, so ∫A dQ/T − ∫B dQ/T = 0. The integral is the same along A, along B, and along every other reversible route: it depends only on the end states. A path-independent integral defines a function of state, and this one is named entropy: S₂ − S₁ = ∫₁² dQᵣₑᵥ/T. Heat is not a state function; heat divided by the temperature at which it flows, summed along a reversible path, is.
3Two paths, two heats, one entropy change
Test the claim on a case you can integrate. One mole of a monatomic ideal gas (CV = 3R/2 = 12.47 J mol⁻¹ K⁻¹) goes from (300 K, 10 L) to (600 K, 20 L). Path A: heat it at constant volume, Q = nCVΔT = 12.47 × 300 = 3741 J, then expand it isothermally at 600 K, Q = nRT ln 2 = 8.314 × 600 × 0.6931 = 3458 J; total 7199 J. Path B: expand isothermally at 300 K first, Q = 8.314 × 300 × 0.6931 = 1729 J, then heat at constant volume, 3741 J; total 5470 J. The heats differ by 1.7 kJ, as heat may, since the work differs. Now divide before summing. The isochoric leg contributes ∫nCV dT/T = nCV ln 2 = 8.64 J K⁻¹ on either path. The isothermal leg contributes Q/T = 3458/600 = 5.76 J K⁻¹ on A and 1729/300 = 5.76 J K⁻¹ on B: the heat was doubled by doubling T, and T divides it straight back out. Both paths give 8.64 + 5.76 = 14.4 J K⁻¹. Written generally, ΔS = nCV ln(T₂/T₁) + nR ln(V₂/V₁), a formula with nothing in it but the end states.
4Real cycles: the Clausius inequality
A real engine between the same reservoirs has η < ηC, so it rejects more heat than the reversible one: QC/TC > QH/TH, and the loop sum goes negative. Take 1000 J from 600 K with η = 0.30: W = 300 J, QC = 700 J, and ∮dQ/T = 1000/600 − 700/300 = 1.667 − 2.333 = −0.667 J K⁻¹. This is the Clausius inequality, ∮dQ/T ≤ 0, and the T in it is the temperature of the reservoir supplying or receiving dQ, because during an irreversible step the substance itself may have no single temperature to quote. Read the sign as a test. A cycle with ∮dQ/T > 0 would reject less heat than Carnot allows and beat ηC, which the Kelvin statement of the previous topic forbids; equality marks the reversible cycle; the more negative the value, the more the cycle wastes. Its magnitude is the entropy the cycle hands to the reservoirs on balance: the hot one lost 1.667 J K⁻¹, the cold one gained 2.333 J K⁻¹, and 0.667 J K⁻¹ appeared from nowhere.
5From the inequality to a law that conserves nothing
Let a system go from 1 to 2 by any process at all, then bring it back reversibly. The loop obeys Clausius: ∫₁² dQ/T (actual path) + ∫₂¹ dQᵣₑᵥ/T ≤ 0. The second integral is S₁ − S₂, so ∫₁² dQ/T ≤ S₂ − S₁: along an irreversible path the heat-over-temperature integral underestimates the entropy change. Each dQ came from a reservoir at that same T, whose entropy fell by dQ/T, so the surroundings changed by exactly −∫dQ/T ≥ −ΔSsys. Rearranged: ΔSsys + ΔSₛᵤᵣᵣ ≥ 0. That is the entropy statement of the second law, and for an isolated system, where dQ = 0, it collapses to ΔS ≥ 0. Try it on conduction. Let 1000 J leak from 600 K to 300 K through a rod: ΔSᵤₙᵢᵥ = 1000/300 − 1000/600 = +1.667 J K⁻¹. The reverse leak would give −1.667 J K⁻¹ and never happens. Nothing was destroyed and nothing was conserved; energy was, entropy was created. That is why this is a directional constraint and not a conservation law: it sorts processes into allowed and forbidden, and it does so with an inequality, not an equals sign.
6Boltzmann's count, and the surrogate path you still need
Boltzmann read the same quantity as S = k ln W, with W the number of microstates that look like the given macrostate. Logarithms turn a product of counts into a sum of entropies, which is why S is extensive. Test it on a free expansion: N molecules of ideal gas at fixed T double their volume into a vacuum. Each molecule has twice as many places to be, so W₂/W₁ = 2N and ΔS = k ln 2N = Nk ln 2 = nR ln 2, which is 5.76 J K⁻¹ per mole. That is exactly what ∫dQᵣₑᵥ/T gives along a reversible isothermal expansion between the same end states, nR ln(V₂/V₁). The actual expansion, though, had Q = 0: along the real path ∫dQ/T = 0, and 0 < 5.76 J K⁻¹ is the Clausius inequality once more. So the recipe stands: to compute ΔS you invent a reversible path with the same end states, because dQ/T has no meaning inside an irreversible lurch. Counting also shows what forbidden means. The chance of finding a mole back in its original half is 2(−N) = 10(−1.8 × 10²³): not impossible, merely unobservable, and for ten molecules, 1 in 1024, it happens all the time.
Key equations
Read the units, assumptions and limits before substituting.
Clausius inequality
∮ dQ/T ≤ 0, with equality for a reversible cycle
A sign test for any proposed cycle: a positive value would be an engine beating Carnot, and the second law forbids it.
dQ in J, counted positive into the working substance; T in K is the reservoir temperature at which it is exchangedEntropy as a state function
S₂ − S₁ = ∫₁² dQᵣₑᵥ/T
Follows from the vanishing reversible loop integral: two reversible paths joined into a loop must integrate to zero.
S in J K⁻¹; the integral runs along any reversible path from state 1 to state 2 and gives the same value for all of themThe entropy statement
ΔSᵤₙᵢᵥ = ΔSsys + ΔSₛᵤᵣᵣ ≥ 0
Turns a which-direction question into an inequality you can evaluate: the process that would make ΔSᵤₙᵢᵥ negative is the one that never happens.
each term in J K⁻¹; equality only for a reversible process; an isolated system has ΔSₛᵤᵣᵣ = 0Reservoir entropy change
ΔSᵣₑₛ = Q/Tᵣₑₛ
The one entropy change that needs no surrogate path: a reservoir exchanges heat at a single temperature however irreversible the rest of the process is.
Q in J is the heat entering the reservoir, negative if it leaves; Tᵣₑₛ in K stays fixed by definitionBoltzmann's count
S = k ln W
Makes S additive when W is multiplicative, and gives ΔS = k ln(W₂/W₁): a ratio of counts reproduces a heat-over-temperature integral.
k = 1.381 × 10⁻²³ J K⁻¹; W is the number of microstates compatible with the macrostate, dimensionlessIdeal gas entropy change
ΔS = nCV ln(T₂/T₁) + nR ln(V₂/V₁)
The state-function claim made explicit: only end states appear, so it serves every process between them, reversible or not.
n in mol; CV in J mol⁻¹ K⁻¹; R = 8.314 J mol⁻¹ K⁻¹; both ratios dimensionless, T absoluteInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Slide the efficiency fraction to 1 and the cold bar sinks onto the dashed line: the Clausius integral reads zero, the mark of a reversible cycle. Slide it to 0 and the engine is a copper bar conducting 1000 J downhill, generating the most entropy it can. Then lower TH and watch the hot bar climb.
Live results
- CLAUSIUS ∮dQ/T
- -0.67 J K⁻¹
- ΔS OF UNIVERSE PER CYCLE
- 0.67 J K⁻¹
- EFFICIENCY η
- 0.300
- WORK PER CYCLE
- 300 J
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Hot reservoir TH: 600 K; Cold reservoir TC: 300 K; η as a fraction of Carnot ηC: 0.60
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
No heat, so no entropy change. A first-year reflex turns dS = dQᵣₑᵥ/T into ΔS = Q/T for whatever happened, and concludes that an adiabatic free expansion, with Q = 0, leaves S unchanged. It does not: a mole doubling its volume gains nR ln 2 = 5.76 J K⁻¹, whether you compute it along a reversible isothermal surrogate or by counting 2N microstates. The formula only integrates along a reversible path, and the Clausius inequality says that along the real one ∫dQ/T is merely a lower bound, here 0. Only a reversible adiabatic process is isentropic. The twin mistake runs the other way: reading ΔS ≥ 0 as a rule for the system alone. A refrigerator's interior loses entropy every cycle and a cooling cup of coffee loses entropy all evening; the law binds system plus surroundings, and the surroundings gain more than the system loses.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A reversible engine runs between reservoirs at 560 K and 280 K and takes in 840 J per cycle. (a) Find the heat it rejects and show that ∮dQ/T vanishes. (b) A real engine with the same intake and reservoirs rejects 525 J per cycle. Evaluate its Clausius integral and the entropy it generates per cycle.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 4 steps revealed.
- Reversible, so QC/QH = TC/TH: QC = 840 J × 280/560 = 420 J, and W = 840 − 420 = 420 J, the Carnot efficiency of 0.50.
- Sum Q/T round the loop with heat into the working substance positive: 840/560 − 420/280 = 1.500 − 1.500 = 0 J K⁻¹. The reversible loop integral vanishes, as it must.
- Real engine: QC = 525 J, W = 315 J, η = 315/840 = 0.375 < 0.50. Clausius integral: 840/560 − 525/280 = 1.500 − 1.875 = −0.375 J K⁻¹, negative as the inequality demands.
- Reservoir ledger: the hot one loses 1.500 J K⁻¹, the cold one gains 1.875 J K⁻¹, and the working substance is back where it started (ΔS = 0). ΔSᵤₙᵢᵥ = +0.375 J K⁻¹ per cycle, the negative of the Clausius integral.
Answer. (a) QC = 420 J and ∮dQ/T = 0. (b) ∮dQ/T = −0.375 J K⁻¹, so 0.375 J K⁻¹ of entropy is generated each cycle.
MediumExample 2
Two moles of a diatomic ideal gas (CV = 5R/2) go from (280 K, 8.0 L) to (420 K, 24 L) by two reversible routes. Route A: isochoric heating, then isothermal expansion. Route B: isothermal expansion, then isochoric heating. Find the heat absorbed on each route and ∫dQᵣₑᵥ/T on each, and say what the comparison establishes.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- CV = 2.5 × 8.314 = 20.785 J mol⁻¹ K⁻¹. The isochoric leg spans 140 K on either route: QV = nCVΔT = 2 × 20.785 × 140 = 5820 J, and its entropy integral is ∫nCV dT/T = nCV ln(420/280) = 41.57 × 0.4055 = 16.86 J K⁻¹.
- Route A's isothermal leg is at 420 K with V tripling: Q = nRT ln 3 = 2 × 8.314 × 420 × 1.0986 = 7672 J, and at constant T the integral is Q/T = 7672/420 = 18.27 J K⁻¹, which is nR ln 3.
- Route B's isothermal leg is at 280 K: Q = 2 × 8.314 × 280 × 1.0986 = 5115 J, and Q/T = 5115/280 = 18.27 J K⁻¹, the same nR ln 3, because dividing by T undoes the factor T in nRT ln 3.
- Heats: route A absorbs 5820 + 7672 = 13 492 J, route B absorbs 5115 + 5820 = 10 935 J. They differ by 2.56 kJ, which is nR × 140 K × ln 3, the extra work the gas does by expanding along the hotter isotherm.
- Entropy integrals: route A gives 16.86 + 18.27 = 35.1 J K⁻¹, route B gives 18.27 + 16.86 = 35.1 J K⁻¹. Identical, and equal to nCV ln(T₂/T₁) + nR ln(V₂/V₁), a function of the end states alone.
Answer. QA = 1.35 × 10⁴ J and QB = 1.09 × 10⁴ J, but ∫dQᵣₑᵥ/T = 35.1 J K⁻¹ on both routes: heat depends on the path, the entropy change does not.
HardExample 3
0.50 mol of argon at 300 K fills an insulated 4.0 L vessel. A valve opens to an evacuated, insulated 6.0 L vessel and the gas spreads through both. (a) Explain why ∫dQ/T along the actual path is 0 yet ΔS is not, and find ΔS with a reversible surrogate. (b) Recover the number from S = k ln W. (c) Find ΔSᵤₙᵢᵥ and the probability of finding all the gas back in the first 4.0 L.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- Free expansion: Q = 0 through the insulation and W = 0 because the gas pushes on nothing, so ΔU = 0 and an ideal gas keeps T = 300 K. Along the actual path ∫dQ/T = 0, but the path is irreversible, so Clausius makes this only a lower bound on ΔS, not its value.
- Surrogate: a reversible isothermal expansion at 300 K from 4.0 L to 10.0 L joins the same end states. Along it dQᵣₑᵥ = p dV = nRT dV/V, so ΔS = nR ln(V₂/V₁) = 0.50 × 8.314 × ln 2.5 = 4.157 × 0.9163 = 3.81 J K⁻¹.
- Counting: each atom's number of available positions is proportional to V, so with N = 0.50 × 6.022 × 10²³ = 3.01 × 10²³ atoms, W₂/W₁ = (V₂/V₁)N and ΔS = k ln(W₂/W₁) = Nk ln 2.5 = 3.01 × 10²³ × 1.381 × 10⁻²³ × 0.9163 = 3.81 J K⁻¹. The same number, from a count instead of a heat.
- Surroundings: no heat crossed the insulation, so ΔSₛᵤᵣᵣ = 0 and ΔSᵤₙᵢᵥ = +3.81 J K⁻¹, positive as the entropy statement requires. The entropy was created inside the vessels, not carried in.
- Reverse: the fraction of microstates with every atom in the first 4.0 L is (V₁/V₂)N = 0.4(3.01 × 10²³) = 10(3.01 × 10²³ × log₁₀ 0.4) = 10(−1.2 × 10²³), which is e(−ΔS/k). Not forbidden, merely unobservable.
Answer. ΔS = +3.81 J K⁻¹ by surrogate and by counting; ΔSᵤₙᵢᵥ = +3.81 J K⁻¹; P(all back in 4.0 L) = 0.4N ≈ 10(−1.2 × 10²³).
Quick check
Select an answer and explain it before checking.
Review & continue
Entropy is the state function whose change between two equilibrium states is ∫dQᵣₑᵥ/T along any reversible path joining them, and the second law says the entropy of a system plus its surroundings never decreases.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.
Optional supporting lessons
These chapter resources can help with earlier ideas; they are not additional required Physics III completion tasks.