
Optional extension · Interactive lesson
Calculating entropy changes
Entropy has a formula, but the formula only works along a reversible path — and almost nothing real is reversible. The skill taught here is to take a messy process, replace it with a tidy one that ends in the same state, and integrate dQ/T along that instead.
UPII-E3.09 · Lesson 9 of 9 in this extension. Position is not a completion score.Optional extension. Use this unnumbered support sequence where your university’s syllabus or prerequisite needs require it. It is not an additional numbered unit. Optional work is not a required completion gate.
Build the model
Entropy is a state function, so you may integrate along a path the system never took.
The key idea
The entropy change between two equilibrium states is the integral of dQ/T along any reversible path joining them — a number fixed by the two states alone, not by the process that actually happened.
Example. Melting 0.250 kg of ice at 273.15 K absorbs 8.35 × 10⁴ J, so the ice gains 8.35 × 10⁴ J ÷ 273.15 K = 306 J K⁻¹ — the same figure whether it melts slowly on a hotplate or fast in a bucket of warm water.
The complete physical model and assumptions
Entropy is defined by a differential, dS = dQᵣₑᵥ/T, and the subscript carries the whole difficulty: only heat delivered reversibly counts, along a path on which the system is never more than infinitesimally out of equilibrium. Almost no real process qualifies. What rescues the calculation is that S is a function of state, so ΔS between two equilibrium states does not care how the system actually travelled between them. You are therefore free to discard the real path — a stirred liquid, a gas bursting into a vacuum, two bodies slammed into thermal contact — and invent any convenient reversible path with the same two endpoints, then integrate along that. Three model paths cover most of first-year thermodynamics: heating at roughly constant heat capacity gives a logarithm, mc ln(T₂/T₁); a phase change at fixed temperature gives mL/T; and an ideal gas gives n CV ln(T₂/T₁) + nR ln(V₂/V₁). The surroundings are usually simpler still, because a reservoir holds one temperature and contributes Q/T. Where the method stops is worth naming: it returns changes and never absolute entropies; it needs both endpoints to be genuine equilibrium states, so it says nothing about the middle of an explosion; and it quietly assumes c and CV hold steady across the interval, which fails near a transition and at low temperature.
1Swap the real path for a reversible one
Entropy is defined along a reversible path, and real processes are not reversible, so the first move in any calculation is to stop looking at what actually happened. Because S is a function of state, ΔS depends only on the initial and final equilibrium states. Drop a 350 K block into 290 K water: the real process is violent and irreversible, but the block still ends at a definite equilibrium temperature, and you may pretend it reached that temperature by being walked down through a continuous series of baths, each infinitesimally cooler than the last. That imagined path is reversible, dQᵣₑᵥ/T is legal along it, and the integral it returns is the true ΔS of the block. Keep the discipline in this order: name the two end states first, then choose the most convenient reversible path joining them. The path may be one the system could never actually follow.
2Heating integrates c dT/T and returns a logarithm
Heat a mass m whose specific heat capacity c is effectively constant. On a reversible path the heat delivered between T and T + dT is dQᵣₑᵥ = mc dT, so dS = mc dT/T and ΔS = mc ln(T₂/T₁). The logarithm is not decoration. Take 0.500 kg of water from 293.15 K to 353.15 K: the heat is Q = 0.500 × 4186 × 60.0 = 1.256 × 10⁵ J, but ΔS = 2093 × ln(353.15/293.15) = 2093 × 0.1862 = 390 J K⁻¹ — not Q/T₁ = 428 J K⁻¹, and not Q/T₂ = 356 J K⁻¹. Dividing the whole heat by any one temperature fails because T moves while the heat is being delivered. Only when the interval is narrow enough that T barely shifts does Q/T become a fair approximation, and the two wrong answers above bracket the right one.
3A phase change is the integral with T outside
At a transition the temperature stands still while heat pours in, which makes the integral trivial: T comes out of ∫dQᵣₑᵥ/T and ΔS = Q/Tₜᵣ = ± mL/Tₜᵣ. Melting 1.00 kg of ice at 273.15 K needs Lf = 3.34 × 10⁵ J kg⁻¹, so ΔS = 3.34 × 10⁵ ÷ 273.15 = +1.22 × 10³ J K⁻¹; freezing the same kilogram at the same temperature gives −1.22 × 10³ J K⁻¹, the sign following the heat. These terms are large and they are easy to drop. Warming that kilogram of ice from 263 K to 273 K with cice = 2100 J kg⁻¹ K⁻¹ contributes only 2100 × ln(273/263) = 78 J K⁻¹, while the melt that follows contributes about sixteen times as much. Any calculation that crosses a transition must be cut into stages and the stages added.
4Ideal gas: one temperature log plus one volume log
For n moles of ideal gas the first law along a reversible path gives dQᵣₑᵥ = dU + p dV = n CV dT + nRT dV/V. Divide through by T and the temperatures separate cleanly: dS = n CV dT/T + nR dV/V, so ΔS = n CV ln(T₂/T₁) + nR ln(V₂/V₁). Two independent logs, one per state variable, and either may vanish. An isothermal change leaves only nR ln(V₂/V₁); a constant-volume change leaves only n CV ln(T₂/T₁); and a reversible adiabatic change, on which TV(γ−1) stays constant, makes the two terms cancel exactly, which is why it is called isentropic. For 2.00 mol of a diatomic gas, CV = 5R/2 = 20.79 J mol⁻¹ K⁻¹, going from 300 K and 0.0200 m³ to 450 K and 0.0500 m³: ΔS = 2.00 × 20.79 × ln 1.50 + 2.00 × 8.314 × ln 2.50 = 16.86 + 15.24 = 32.1 J K⁻¹.
5The surroundings keep their own ledger
The system is only half of the account. A reservoir — a room, the sea, a thermostat bath — is by definition so large that the exchange leaves its temperature untouched, so its own path is already reversible and its entropy change is just Q/Tᵣₑₛ, with Q signed as the reservoir receives it. That is what makes irreversibility visible in numbers. Let 1.00 kJ conduct straight down a metal bar from a 600 K furnace into a 300 K room. The furnace loses 1000/600 = 1.67 J K⁻¹, the room gains 1000/300 = 3.33 J K⁻¹, and the bar ends in the state it started in and contributes nothing. The total is +1.67 J K⁻¹, positive for one reason only: the same energy was divided by a smaller temperature on arrival. Reversibility is the limit Tₕ → Tc, where the total tends to zero.
6Free expansion: no heat, and entropy still rises
The sharpest test of the method is a gas expanding freely into an evacuated, insulated chamber. No heat crosses the boundary and the gas pushes on nothing, so Q = 0, W = 0 and ΔU = 0, which for an ideal gas fixes T₂ = T₁. Integrating dQ/T along what actually happened returns zero, and that answer is wrong, because the gas was nowhere near equilibrium and the definition never applied. Take the legal route: the endpoints are (T, V₁) and (T, V₂), and a reversible isothermal expansion joins those same two states, so ΔS = nR ln(V₂/V₁). For 1.00 mol doubling its volume that is 8.314 × ln 2 = 5.76 J K⁻¹. The surroundings received no heat and no work, so ΔSₛᵤᵣᵣ = 0 and the universe gains the whole 5.76 J K⁻¹ — worth, against 290 K surroundings, 290 × 5.76 = 1.67 kJ of work that the expansion threw away.
Key equations
Read the units, assumptions and limits before substituting.
Definition of an entropy change
ΔS = S₂ − S₁ = ∫ dQᵣₑᵥ/T, taken along a reversible path from state 1 to state 2
Only heat delivered reversibly counts, yet the answer belongs to the two end states and to nothing in between.
ΔS in J K⁻¹, Q in J, T the absolute temperature in KHeating at constant heat capacity
ΔS = ∫ mc dT/T from T₁ to T₂ = mc ln(T₂/T₁)
The T underneath turns the heat integral into a logarithm, so equal degrees buy less entropy as T climbs.
m in kg, c in J kg⁻¹ K⁻¹, T₁ and T₂ in K; swap mc for n CV or n Cₚ for a gasPhase change at a fixed temperature
ΔS = ± mL/Tₜᵣ
T is constant, so it leaves the integral and one division finishes the stage.
L the latent heat in J kg⁻¹, Tₜᵣ the transition temperature in K; + when heat entersIdeal gas between any two states
ΔS = n CV ln(T₂/T₁) + n R ln(V₂/V₁)
One temperature log and one volume log, independent of each other; either may be zero.
n in mol, CV in J mol⁻¹ K⁻¹, R = 8.314 J mol⁻¹ K⁻¹, V in m³A reservoir's own entropy change
ΔSᵣₑₛ = Q/Tᵣₑₛ
A reservoir never changes temperature, so its real path is already the reversible one.
Q in J, signed as the reservoir receives it; Tᵣₑₛ in K and unmoved by the exchangeEntropy balance for the universe
ΔSₜₒₜ = ΔSsys + ΔSₛᵤᵣᵣ ≥ 0
The system's entropy may fall, so the audit is finished only once the surroundings are added.
both terms in J K⁻¹; equality holds only for a reversible processInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Drag the final temperature from 285 K to 370 K and watch the liquid branch steepen as it climbs, because each extra degree costs less entropy than the one before — the melt step alone still outweighs the whole of the heating until Tf passes about 366 K. Changing the mass stretches the whole picture sideways without altering its shape.
Live results
- MELT ΔS
- 856 J K⁻¹
- HEATING ΔS
- 554 J K⁻¹
- TOTAL ΔS
- 1410 J K⁻¹
- HEAT SUPPLIED Q
- 400382 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. Mass of ice m: 0.70 kg; Final temperature Tf: 330 K
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The error is reaching for the real Q over some single T when the process is irreversible. Students write “the box is insulated, so Q = 0, so ΔS = 0” for a free expansion, or divide the whole of mcΔT by the starting temperature when heating water. Both misuse a definition that was only ever stated for a reversible path. An adiabatic process guarantees ΔS = 0 only when it is also reversible; an irreversible adiabatic process has Q = 0 and ΔS > 0, with no contradiction, because the heat that did not flow is not the quantity in the integral. The repair never changes: fix the two end states, invent a reversible path between them, integrate along that one, and then bill the surroundings separately using their real heat and their own fixed temperature.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A 0.250 kg block of ice at 0.00 °C is left in a large room held at 25.0 °C, and melts completely into water at 0.00 °C. The room is big enough that its temperature does not budge. Take Lf = 3.34 × 10⁵ J kg⁻¹. Find the entropy change of the ice, of the room, and of the two together.
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.
- Heat absorbed by the ice: Q = m Lf = 0.250 kg × 3.34 × 10⁵ J kg⁻¹ = 8.35 × 10⁴ J.
- The ice sits at a fixed 273.15 K throughout, so T leaves the integral: ΔSice = +Q/T = 8.35 × 10⁴ ÷ 273.15 = +305.7 J K⁻¹.
- The room is a reservoir at 298.15 K that gives up that same 8.35 × 10⁴ J: ΔSᵣₒₒₘ = −8.35 × 10⁴ ÷ 298.15 = −280.1 J K⁻¹.
- Add them: ΔSₜₒₜ = 305.7 − 280.1 = +25.6 J K⁻¹. Keep four figures in the two large terms, because the total is a small difference between them and rounding early would destroy it.
- The sign is the physics: the same energy divided by the lower temperature gains more than it loses, which is what an irreversible transfer always looks like.
Answer. ΔSice = +305.7 J K⁻¹, ΔSᵣₒₒₘ = −280.1 J K⁻¹, ΔSₜₒₜ = +25.6 J K⁻¹.
MediumExample 2
0.500 mol of an ideal gas is compressed isothermally and reversibly at 310 K from 12.0 L to 4.00 L, sitting all the while in a bath held at 310 K. Take R = 8.314 J mol⁻¹ K⁻¹. Find the entropy change of the gas, of the bath, and of the two together.
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.
- The temperature is fixed, so the temperature log dies and only the volume term of ΔS = n CV ln(T₂/T₁) + nR ln(V₂/V₁) survives.
- ΔSgas = nR ln(V₂/V₁) = 0.500 × 8.314 × ln(4.00/12.0) = 4.157 × (−1.0986) = −4.57 J K⁻¹. The system's entropy falls, which is allowed because the system is not isolated.
- The path is reversible and T is constant, so Q = T ΔSgas = 310 × (−4.567) = −1.416 × 10³ J. The gas expels 1416 J, which is also the work done on it, since ΔU = 0.
- The bath takes in that 1416 J without changing temperature: ΔSbath = +1416 ÷ 310 = +4.57 J K⁻¹.
- Total: ΔSₜₒₜ = −4.57 + 4.57 = 0. Reversible is exactly the case where the books balance; ram the piston in quickly instead and the bath would collect more than 1416 J, tipping the total positive.
Answer. ΔSgas = −4.57 J K⁻¹, ΔSbath = +4.57 J K⁻¹, ΔSₜₒₜ = 0 J K⁻¹ — the reversible limit.
HardExample 3
0.300 kg of water at 80.0 °C is poured into 0.500 kg of water at 15.0 °C in a well-insulated flask. Take c = 4186 J kg⁻¹ K⁻¹ and assume the flask absorbs nothing. Find the final temperature, the entropy change of each portion and of the whole flask, then value the opportunity lost, given surroundings at 288.15 K.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- Energy conservation fixes the final temperature: mₕ(Tₕ − Tf) = mc(Tf − Tc), so Tf = (0.300 × 353.15 + 0.500 × 288.15)/0.800 = 250.02/0.800 = 312.53 K, which is 39.4 °C.
- Each portion needs its own reversible heating path, so apply ΔS = mc ln(Tf/Tᵢ) to each separately. One combined mcΔT divided by one temperature is not a legal shortcut.
- Hot portion: ΔSₕ = 0.300 × 4186 × ln(312.53/353.15) = 1255.8 × (−0.12221) = −153.5 J K⁻¹.
- Cold portion: ΔSc = 0.500 × 4186 × ln(312.53/288.15) = 2093 × 0.081203 = +170.0 J K⁻¹. The cold water gains more than the hot water loses, because it received the 5.10 × 10⁴ J at lower temperatures.
- Total: ΔSₜₒₜ = −153.5 + 170.0 = +16.5 J K⁻¹, positive although the flask exchanged nothing with the outside — irreversibility is internal here.
- Value it: an engine run between the two portions could have delivered about T₀ ΔSₜₒₜ = 288.15 × 16.49 = 4.75 × 10³ J of work. Pouring threw that away.
Answer. Tf = 312.5 K (39.4 °C); ΔSₕₒₜ = −153.5 J K⁻¹, ΔScold = +170.0 J K⁻¹, ΔSₜₒₜ = +16.5 J K⁻¹, worth 4.75 kJ of lost work.
Quick check
Select an answer and explain it before checking.
Review & continue
The entropy change between two equilibrium states is the integral of dQ/T along any reversible path joining them — a number fixed by the two states alone, not by the process that actually happened.
- 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 II completion tasks.