Skip to main content

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.
Starting model: Calculating entropy changesTemperature against accumulated entropy for 0.70 kg of ice at 0 °C warmed to 330 K. The flat step is the melt at 273.15 K, worth 856 J K⁻¹; the rising curve is the liquid heating, worth 554 J K⁻¹, and it bends because mc ln(T₂/T₁) pays less for every extra degree as T climbs.T / K273330ΔS / J K⁻¹melt m Lf / T = 856 J K⁻¹heat m c ln(Tf/T) = 554 J K⁻¹total 1410 J K⁻¹
Start with a picture. Change the model in the lab below.

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.

1

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.

2

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 K

Heating 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 gas

Phase 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 enters

Ideal 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 exchange

Entropy 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 process
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

0.70 kg
0.4 to 1 kg; steps of 0.05.
330 K
285 to 370 K; steps of 1.

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.

Interactive Physics II modelTemperature against accumulated entropy for 0.70 kg of ice at 0 °C warmed to 330 K. The flat step is the melt at 273.15 K, worth 856 J K⁻¹; the rising curve is the liquid heating, worth 554 J K⁻¹, and it bends because mc ln(T₂/T₁) pays less for every extra degree as T climbs.T / K273330ΔS / J K⁻¹melt m Lf / T = 856 J K⁻¹heat m c ln(Tf/T) = 554 J K⁻¹total 1410 J K⁻¹
Temperature against accumulated entropy for 0.70 kg of ice at 0 °C warmed to 330 K. The flat step is the melt at 273.15 K, worth 856 J K⁻¹; the rising curve is the liquid heating, worth 554 J K⁻¹, and it bends because mc ln(T₂/T₁) pays less for every extra degree as T climbs.

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

Baseline 0.70; choose 0.4 to 1, in steps of 0.05.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

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.

5

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.

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.

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.

6

Quick check

Select an answer and explain it before checking.

An ideal gas sits in one half of a rigid, thermally insulated container; the other half is evacuated. The partition is punctured and the gas expands freely to fill both halves, doubling its volume. No heat crosses the boundary and the gas does no work on anything. What are the entropy changes of the gas and of the universe?
7

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.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.