Physics · Book 3 · Bachelor Year 1

University Physics — Year 1

University Physics — Year 1 · Bachelor Year 1

23The Second Law: Entropy

Drop a hot spoon into a cup of cold water: the spoon cools, the water warms, and the two end at one temperature. The first law would allow the reverse just as well — the water cooling further while the spoon heated up, energy conserved to the joule — yet it never happens. A film run backward is instantly recognizable; the molecules obey laws that have no arrow, and the world has one. The second law of thermodynamics names the quantity that tells the two directions apart: entropy, which a closed system can only create, never destroy. This chapter states the law, computes entropy for the systems of this volume, shows how it measures irreversibility, and gives it, at the end, its meaning in terms of counting.

An ice cube melting in hot coffee: heat flows one way only, and the entropy created measures how far from reversible the mixing is.
An ice cube melting in hot coffee: heat flows one way only, and the entropy created measures how far from reversible the mixing is.

23.1 The second law

Theorem 23.1 (Second law of thermodynamics)

Every closed system possesses an extensive state function, the entropy SS (J/K\mathrm{J}/\mathrm{K}), such that in any transformation

ΔS=Sexch+Screated,Sexch=δQText,Screated0,\Delta S = S_{\mathrm{exch}} + S_{\mathrm{created}}, \qquad S_{\mathrm{exch}} = \int\frac{\delta Q}{T_{\mathrm{ext}}}, \qquad S_{\mathrm{created}} \geq 0 ,

where δQ\delta Q is the heat received from the surroundings at the temperature TextT_{\mathrm{ext}} of the place where it enters, and Screated=0S_{\mathrm{created}} = 0 if and only if the transformation is reversible. An isolated system (δQ=0\delta Q = 0) can only see its entropy grow, and its equilibrium is the state of maximum entropy.

Proof. Admitted at this level.

Remark 23.2 (Reading the law)

Unlike energy, entropy is not conserved: it is exchanged with heat (and only with heat — work carries no entropy) and created by every irreversible process: friction, heat flowing across a temperature difference, a gas rushing into a vacuum, mixing. The created term is the measure of irreversibility, and a transformation is possible only if it is non-negative. “Reversible” is an idealization — quasi-static, frictionless, heat exchanged across vanishing temperature gaps — that real processes approach but never reach.

The entropy balance: heat brings entropy Q/T_ ext across the boundary, work brings none, and irreversible processes inside create some — never destroy it.
The entropy balance: heat brings entropy δQ/Text\delta Q/T_{\mathrm{ext}} across the boundary, work brings none, and irreversible processes inside create some — never destroy it.

Proposition 23.3 (Fundamental identity; entropy of the perfect gas and of condensed phases)

For a closed system of fixed composition, along any reversible path, δQrev=T ⁣dS\delta Q_{\mathrm{rev}} = T\,\dd S and δWrev=P ⁣dV\delta W_{\mathrm{rev}} = -P\,\dd V, so

 ⁣dU=T ⁣dSP ⁣dV,\dd U = T\,\dd S - P\,\dd V ,

a relation between state functions that holds for any infinitesimal change. Consequently, for nn moles of perfect gas,

S(T,V)=nCV,mlnT+nRlnV+const,S(T,P)=nCP,mlnTnRlnP+const,S(T, V) = nC_{V,m}\ln T + nR\ln V + \text{const}, \qquad S(T, P) = nC_{P,m}\ln T - nR\ln P + \text{const},

and for a condensed phase of heat capacity CC, S(T)=ClnT+constS(T) = C\ln T + \text{const}.

Proof. Reversible: Text=TT_{\mathrm{ext}} = T and Screated=0S_{\mathrm{created}} = 0 give  ⁣dS=δQ/T\dd S = \delta Q/T; the first law then gives the identity, which no longer refers to a path. Perfect gas:  ⁣dS=( ⁣dU+P ⁣dV)/T=nCV,m ⁣dT/T+nR ⁣dV/V\dd S = (\dd U + P\,\dd V)/T = nC_{V,m}\dd T/T + nR\,\dd V/V; integrate; use PV=nRTPV = nRT for the other form. Condensed phase:  ⁣dV=0\dd V = 0,  ⁣dS=C ⁣dT/T\dd S = C\,\dd T/T.

Example 23.4 (Reading the formulas)

An adiabatic reversible transformation is isentropic: S(T,V)S(T, V) constant gives TCV,mVRT^{C_{V,m}}V^R constant, i.e. TVγ1TV^{\gamma - 1} constant — Laplace’s law again. Doubling the volume of a mole of gas at constant temperature raises its entropy by Rln2=5.8J/KR\ln2 = 5.8\,\mathrm{J}/\mathrm{K}, whether done reversibly (the entropy comes in as heat from the bath) or by a Joule expansion into vacuum (no heat: the same 5.8J/K5.8\,\mathrm{J}/\mathrm{K} are then created). The state function does not care how it got there; the balance does.

23.2 Entropy balances

Proposition 23.5 (Heat exchanged with a thermostat)

A system receiving the heat QQ from a thermostat at T0T_0 (whatever happens inside) has Sexch=Q/T0S_{\mathrm{exch}} = Q/T_0, and the thermostat’s own entropy changes by Q/T0-Q/T_0: a thermostat exchanges entropy reversibly.

Proof. Text=T0T_{\mathrm{ext}} = T_0 is constant; the thermostat’s internal state changes infinitesimally, so its own creation is negligible.

Example 23.6 (A hot body in a cold lake)

An iron block (m=1.0kgm = 1.0\,\mathrm{kg}, c=450J/(kgK)c = 450\,\mathrm{J}/(\mathrm{kg}\,\mathrm{K})) at T1=373KT_1 = 373\,\mathrm{K} dropped into a lake at T0=293KT_0 = 293\,\mathrm{K}: it ends at T0T_0, with ΔSblock=mcln(T0/T1)=109J/K\Delta S_{\text{block}} = mc\ln(T_0/T_1) = -109\,\mathrm{J}/\mathrm{K} and Q=mc(T0T1)=36kJQ = mc(T_0 - T_1) = -36\,\mathrm{kJ} given to the lake, so Sexch=Q/T0=123J/KS_{\mathrm{exch}} = Q/T_0 = -123\,\mathrm{J}/\mathrm{K} and Screated=109+123=+14J/KS_{\mathrm{created}} = -109 + 123 = +14\,\mathrm{J}/\mathrm{K}. The block’s entropy fell, the lake’s rose by more: the process is irreversible, and the number measures by how much.

Proposition 23.7 (Two consequences)

  1. (Clausius) Heat does not flow spontaneously from a cold body to a hotter one: a quantity Q>0Q > 0 passing from ThT_h to Tc<ThT_c < T_h creates S=Q(1/Tc1/Th)>0S = Q(1/T_c - 1/T_h) > 0; the reverse would destroy entropy.
  2. (Kelvin) No cyclic machine can produce work from a single thermostat: over a cycle ΔS=0=Q/T0+Screated\Delta S = 0 = Q/T_0 + S_{\mathrm{created}} forces Q0Q \leq 0, hence W=Q0W = -Q \geq 0 — the machine can only receive work and reject heat.

Proof. Both are the balance applied to the system “the two thermostats” or “the machine over a cycle”, with SS a state function so that ΔS=0\Delta S = 0 over a cycle.

Definition 23.8 (Entropy diagram)

In the (S,T)(S, T) plane a reversible transformation is a curve, and the heat received is the area under it: Qrev=T ⁣dSQ_{\mathrm{rev}} = \int T\,\dd S. A reversible isotherm is horizontal, an isentropic (reversible adiabatic) vertical; a reversible cycle encloses an area equal to the heat received and hence, by the first law, to the work delivered (Chapter 24).

Left: in the entropy diagram a reversible cycle of two isotherms and two isentropics receives T_h S at the hot temperature, rejects T_c S at the cold one, and delivers the difference as work — the Carnot cycle of the next chapter. Right: entropy created when two equal bodies at T_1 and T_2 are put in contact: zero only for T_1 = T_2, positive otherwise. Left: in the entropy diagram a reversible cycle of two isotherms and two isentropics receives T_h S at the hot temperature, rejects T_c S at the cold one, and delivers the difference as work — the Carnot cycle of the next chapter. Right: entropy created when two equal bodies at T_1 and T_2 are put in contact: zero only for T_1 = T_2, positive otherwise.
Left: in the entropy diagram a reversible cycle of two isotherms and two isentropics receives ThΔST_h\Delta S at the hot temperature, rejects TcΔST_c\Delta S at the cold one, and delivers the difference as work — the Carnot cycle of the next chapter. Right: entropy created when two equal bodies at T1T_1 and T2T_2 are put in contact: zero only for T1=T2T_1 = T_2, positive otherwise.

Method 23.9 (Making an entropy balance)

  1. Compute ΔS\Delta S of the system from the state functions (Proposition 23.3): initial and final states only.
  2. Compute SexchS_{\mathrm{exch}} from the heat actually received and the temperature of the source: Qi/Ti\sum Q_i/T_i for thermostats, δQ/Text\int\delta Q/T_{\mathrm{ext}} otherwise.
  3. Deduce Screated=ΔSSexchS_{\mathrm{created}} = \Delta S - S_{\mathrm{exch}}; it must be 0\geq 0 — if not, the transformation is impossible (or an error was made); =0= 0 for a reversible one.

Example 23.10 (Mixing hot and cold)

Two equal masses mm of water at T1T_1 and T2T_2 mixed in a thermos end at (T1+T2)/2(T_1 + T_2)/2 (first law); ΔS=mc[lnTfT1+lnTfT2]=mcln(T1+T2)24T1T20\Delta S = mc[\ln\frac{T_f}{T_1} + \ln\frac{T_f}{T_2}] = mc\ln\frac{(T_1 + T_2)^2}{4T_1T_2} \geq 0 (arithmetic mean above geometric mean), with no exchange: all created. For 1kg1\,\mathrm{kg} at 300K300\,\mathrm{K} and 400K400\,\mathrm{K}: 86J/K86\,\mathrm{J}/\mathrm{K}. The weekend problem shows that by mixing them reversibly — through an ideal engine — one would instead recover work and end at T1T2\sqrt{T_1T_2}.

23.3 What entropy counts

Proposition 23.11 (Boltzmann’s formula)

A macroscopic state (given UU, VV, NN) can be realized by a number Ω\Omega of microscopic configurations (microstates). Its entropy is

S=kBlnΩ.S = k_B\ln\Omega .

An isolated system evolves toward the macroscopic state that has, by far, the most microstates: the growth of entropy is the march toward the overwhelmingly probable.

Proof. Admitted at this level.

Example 23.12 (Why the gas never comes back)

NN molecules free to be in either half of a box: 2N2^N arrangements, all equally likely; only one has them all on the left. Letting a gas confined to one half expand multiplies Ω\Omega by 2N2^N, so ΔS=NkBln2=nRln2\Delta S = Nk_B\ln2 = nR\ln2 — exactly the Joule-expansion result above, now with a meaning: the molecules have 2N2^N times more ways to be. The chance of their spontaneous return is 2N2^{-N}: one in a thousand for ten molecules, one in 103010^{30} for a hundred, and for a mole a number with 102310^{23} zeros. The second law is not a prohibition; it is a probability so lopsided that it has never once been caught failing.

Twenty molecules in a box: the number of arrangements with k of them in the left half. The even split is realized 184756 ways, the all-left state once. With 1023 molecules the peak becomes a spike of relative width 10-11: the uniform gas is not a law, it is the only thing one could ever observe.
Twenty molecules in a box: the number of arrangements with kk of them in the left half. The even split is realized 184756184756 ways, the all-left state once. With 102310^{23} molecules the peak becomes a spike of relative width 101110^{-11}: the uniform gas is not a law, it is the only thing one could ever observe.

23.4 Exercises

Exercise 23.1

Entropy change of 1.0kg1.0\,\mathrm{kg} of ice melting at 0C0{}^{\circ}\mathrm{C} (Lf=334kJ/kgL_f = 334\,\mathrm{kJ}/\mathrm{kg}), and of 1.0kg1.0\,\mathrm{kg} of water boiling at 100C100{}^{\circ}\mathrm{C} (Lv=2260kJ/kgL_v = 2260\,\mathrm{kJ}/\mathrm{kg}). Why is the second so much larger?

Solution

Solution of Exercise 23.1.

ΔS=mL/T\Delta S = mL/T: melting 334000/273=1.22kJ/K334000/273 = 1.22\,\mathrm{kJ}/\mathrm{K}; boiling 2260000/373=6.06kJ/K2260000/ 373 = 6.06\,\mathrm{kJ}/\mathrm{K}. Vaporization frees the molecules from each other entirely — far more microscopic disorder, and far more heat per kelvin.

Exercise 23.2

Entropy change of 1.0kg1.0\,\mathrm{kg} of water heated from 2020\, to 80C80{}^{\circ}\mathrm{C}. Does it depend on how the heating is done?

Solution

Solution of Exercise 23.2.

ΔS=mcln(T2/T1)=4180ln(353/293)=0.78kJ/K\Delta S = mc\ln(T_2/T_1) = 4180\ln(353/293) = 0.78\,\mathrm{kJ}/\mathrm{K} — a state function: independent of the method (the entropy created is not).

Exercise 23.3

One mole of perfect gas doubles its volume at constant temperature. ΔS\Delta S; entropy exchanged and created if the expansion is reversible; if it is a Joule expansion into vacuum.

Solution

Solution of Exercise 23.3.

ΔS=nRln2=5.8J/K\Delta S = nR\ln2 = 5.8\,\mathrm{J}/\mathrm{K}. Reversible isothermal: Q=nRTln2Q = nRT\ln2 from the bath at TT, Sexch=nRln2S_{\mathrm{exch}} = nR\ln2, created 00. Joule: Q=0Q = 0, Sexch=0S_{\mathrm{exch}} = 0, created 5.8J/K5.8\,\mathrm{J}/\mathrm{K}.

Exercise 23.4

Show from S(T,V)S(T, V) that a reversible adiabatic transformation of a perfect gas obeys TVγ1=TV^{\gamma - 1} = const. What is the entropy change in a sudden adiabatic compression (Exercise 22.11)? Compute it for that exercise’s numbers.

Solution

Solution of Exercise 23.4.

S=nCV,mlnT+nRlnVS = nC_{V,m}\ln T + nR\ln V constant: TCV,mVRT^{C_{V,m}}V^R constant, i.e. TVR/CV,m=TVγ1TV^{R/C_{V,m}} = TV^{\gamma - 1} constant. Sudden compression: Q=0Q = 0, so Sexch=0S_{\mathrm{exch}} = 0 and ΔS=Screated\Delta S = S_{\mathrm{created}}; with TT: 300643300 \to 643 K, VV: 24.910.724.9 \to 10.7 L: ΔS=20.8ln(643/300)+8.314ln(10.7/24.9)=15.97.0=+8.9J/K\Delta S = 20.8\ln(643/300) + 8.314\ln(10.7/ 24.9) = 15.9 - 7.0 = +8.9\,\mathrm{J}/\mathrm{K} created.

Exercise 23.5 ★★

A 1.0kg1.0\,\mathrm{kg} iron block (c=450J/(kgK)c = 450\,\mathrm{J}/(\mathrm{kg}\,\mathrm{K})) at 100C100{}^{\circ}\mathrm{C} is dropped into a lake at 20C20{}^{\circ}\mathrm{C}. Entropy change of the block, of the lake, of the universe.

Solution

Solution of Exercise 23.5.

Block: 450ln(293/373)=109J/K450\ln(293/373) = -109\,\mathrm{J}/\mathrm{K}; lake: +36000/293=+123J/K+36000/293 = +123\,\mathrm{J}/\mathrm{K}; universe: +14J/K+14\,\mathrm{J}/\mathrm{K}.

Exercise 23.6 ★★

Two 1.0kg1.0\,\mathrm{kg} masses of water at 300K300\,\mathrm{K} and 400K400\,\mathrm{K} are mixed adiabatically. Final temperature, entropy created. Show in general that the created entropy mcln[(T1+T2)2/4T1T2]mc\ln[(T_1 + T_2)^2/4T_1T_2] is non-negative.

Solution

Solution of Exercise 23.6.

Tf=350KT_f = 350\,\mathrm{K}; S=4180[ln(350/400)+ln(350/300)]=4180×0.0206=86J/KS = 4180[\ln(350/400) + \ln(350/300)] = 4180 \times 0.0206 = 86\,\mathrm{J}/\mathrm{K}, all created. (T1+T2)24T1T2=(T1T2)20(T_1 + T_2)^2 - 4T_1T_2 = (T_1 - T_2)^2 \geq 0, so the logarithm’s argument is 1\geq 1.

Exercise 23.7 ★★

A 1.0kJ1.0\,\mathrm{kJ} heat leak crosses a wall from a room at 300K300\,\mathrm{K} to the outside at 280K280\,\mathrm{K}. Entropy created. Same heat from a 1000K1000\,\mathrm{K} furnace to the room: compare, and comment on where the “loss” is greatest.

Solution

Solution of Exercise 23.7.

S=Q(1/Tc1/Th)S = Q(1/T_c - 1/T_h): 1000(1/2801/300)=0.24J/K1000(1/280 - 1/300) = 0.24\,\mathrm{J}/\mathrm{K}; furnace to room: 1000(1/3001/1000)=2.3J/K1000(1/300 - 1/1000) = 2.3\,\mathrm{J}/\mathrm{K}, ten times more: the larger the temperature gap a heat flow crosses, the more irreversible — the furnace-to-room drop is where the high-grade energy is squandered.

Exercise 23.8 ★★

Prove Kelvin’s statement from the entropy balance of a machine running a cycle in contact with one thermostat. Why does a ship’s engine not simply extract heat from the sea?

Solution

Solution of Exercise 23.8.

Cycle: ΔS=0=Q/T0+Screated\Delta S = 0 = Q/T_0 + S_{\mathrm{created}} with Screated0S_{\mathrm{created}} \geq 0, so Q0Q \leq 0 and W=Q0W = -Q \geq 0: the machine cannot deliver work. The sea is a single thermostat: its heat cannot be turned into work without a colder body to dump entropy into.

Exercise 23.9 ★★

One mole of nitrogen and one mole of oxygen, at the same TT and PP, separated by a wall in a box of total volume 2V2V, are allowed to mix. Entropy change (treat each gas as expanding into the whole box). Is it created or exchanged? What if both sides held nitrogen?

Solution

Solution of Exercise 23.9.

Each gas expands from VV to 2V2V at constant TT: ΔS=2×Rln2=11.5J/K\Delta S = 2 \times R\ln2 = 11.5\,\mathrm{J}/\mathrm{K}, created (no heat exchanged, the box is isolated). Two halves of nitrogen: removing the wall changes nothing macroscopic — ΔS=0\Delta S = 0 (Gibbs’s paradox: identical molecules are not “mixed”).

Exercise 23.10 ★★★

A 100W100\,\mathrm{W} bulb burns for one hour; all its energy ends up as heat in a room at 293K293\,\mathrm{K}. Entropy created. Where, physically, was it created?

Solution

Solution of Exercise 23.10.

Q=3.6×105JQ = 3.6 \times 10^{5}\,\mathrm{J} into the room at 293K293\,\mathrm{K}: S=1230J/KS = 1230\,\mathrm{J}/\mathrm{K} created — in the filament (electrical work turned into heat) and in the flow of that heat from the hot filament to the cool room; the electrical work itself carried no entropy.

Exercise 23.11 ★★★

A body of heat capacity CC at T1T_1 is cooled to T0<T1T_0 < T_1 (a) by direct contact with a thermostat at T0T_0, (b) in two steps through an intermediate thermostat at T1T0\sqrt{T_1T_0}, (c) through a continuum of thermostats. Entropy created in each case; conclude on what “reversible cooling” would require.

Solution

Solution of Exercise 23.11.

ΔSbody=Cln(T0/T1)\Delta S_{\text{body}} = C\ln(T_0/T_1) in every case. (a) exchanged C(T0T1)/T0C(T_0 - T_1)/T_0: created C[T1/T01ln(T1/T0)]C[T_1/T_0 - 1 - \ln(T_1/T_0)]. (b) two steps with ratio r=T1/T0r = \sqrt{T_1/T_0} each: created 2C[r1lnr]2C[r - 1 - \ln r], smaller (for T1/T0=2T_1/T_0 = 2: 0.193C0.193C against 0.307C0.307C). (c) infinitely many steps: each creates C[(1+ϵ)1ln(1+ϵ)]Cϵ2/2C[(1 + \epsilon) - 1 - \ln(1 + \epsilon)] \approx C\epsilon^2/2, summing to zero as ϵ0\epsilon \to 0: reversible cooling needs a thermostat at every intermediate temperature — heat must never cross a finite gap.

Exercise 23.12 ★★★

Probability that NN molecules all sit in the left half of a box, for N=10N = 10, 100100, 102210^{22} (express the last as a power of ten). Show that ΔS=kBln(2N)\Delta S = k_B\ln(2^N) equals nRln2nR\ln2 and comment on the words “irreversible” and “impossible”.

Solution

Solution of Exercise 23.12.

210=1032^{-10} = 10^{-3}; 2100=8×10312^{-100} = 8 \times 10^{-31}; 21022=103×10212^{-10^{22}} = 10^{-3\times10^{21}}. kBln2N=NkBln2=nRln2k_B\ln2^N = Nk_B\ln2 = nR\ln2. “Impossible” strictly means probability zero; here it is 103×102110^{-3\times10^{21}} — not zero, but a number so small that no difference can ever be observed: irreversibility is statistics at the scale of 102310^{23}.

23.5 Problem: The cup of coffee and the arrow of time

Problem 23.1

Weekend problem — a cooling cup, a mixed bath, a refrigerator and a box of molecules: four entropy balances, and what the created entropy would have been worth in work

Water: c=4180J/(kgK)c = 4180\,\mathrm{J}/(\mathrm{kg}\,\mathrm{K}); room (a thermostat): T0=293KT_0 = 293\,\mathrm{K}; R=8.314J/(molK)R = 8.314\,\mathrm{J}/(\mathrm{mol}\,\mathrm{K}), kB=1.38×1023J/Kk_B = 1.38 \times 10^{-23}\,\mathrm{J}/\mathrm{K}.

Part I — The cooling cup. A cup of 0.25kg0.25\,\mathrm{kg} of coffee at T1=363KT_1 = 363\,\mathrm{K} cools to room temperature.

  1. Heat given to the room, and the room’s entropy change.
  2. Entropy change of the coffee.
  3. Entropy created; check its sign.
  4. The cup is drunk when it reaches 330K330\,\mathrm{K}: entropy created up to that moment.
  5. Show that for any T1>T0T_1 > T_0, Screated=mc[T1/T01ln(T1/T0)]0S_{\mathrm{created}} = mc[T_1/T_0 - 1 - \ln(T_1/T_0)] \geq 0 (study f(x)=x1lnxf(x) = x - 1 - \ln x).
  6. The coffee cools faster if stirred or blown upon: does that change the created entropy? Why or why not?

Part II — Mixing, badly and well. Two 1.0kg1.0\,\mathrm{kg} masses of water at T1=400KT_1 = 400\,\mathrm{K} and T2=300KT_2 = 300\,\mathrm{K}, in a thermos.

  1. Direct mixing: final temperature TfT_f and entropy created.
  2. Instead, an ideal engine takes heat from the hot water, rejects heat to the cold one and delivers work, until both are at the same temperature TfT_f'; the whole process is reversible. Write the entropy balance and show that Tf=T1T2T_f' = \sqrt{T_1T_2}.
  3. Compute TfT_f' and the work delivered (first law on the two waters).
  4. Check the reversible scheme’s entropy balance numerically: the entropy lost by the hot water equals that gained by the cold.
  5. Compare the work with T0×ScreatedT_0 \times S_{\mathrm{created}} of question 6 (take the room as the reference temperature here, T0T2T_0 \approx T_2): what does the created entropy of the careless mixing measure?
  6. Why does no kitchen recover that work?

Part III — The refrigerator. A refrigerator keeps its interior at Tc=278KT_c = 278\,\mathrm{K} in the room at T0T_0; heat leaks into it at 40W40\,\mathrm{W}, which the machine pumps back out.

  1. Over one second, write the entropy balance of the machine (a cyclic device): entropy received from the cold interior, given to the room, created inside.
  2. Deduce the minimum work per second (the electric power) needed, and the corresponding maximal coefficient of performance Qc/WQ_c/W.
  3. Express that bound in terms of TcT_c and T0T_0 alone, and evaluate it for a freezer at Tc=255KT_c = 255\,\mathrm{K}.
  4. A real refrigerator of this size draws about 15W15\,\mathrm{W}: entropy created per second.
  5. Left open, the refrigerator’s door lets heat in at 200W200\,\mathrm{W}: minimum power now, and why an open refrigerator warms a room.
  6. What would the second law say about a refrigerator that needed no electricity at all?

Part IV — Counting. A box is divided in two equal halves by a wall; NN molecules of a perfect gas are on the left. The wall is removed.

  1. Number of microstates before and after (each molecule may be in either half), and ΔS\Delta S by Boltzmann’s formula.
  2. Check against ΔS=nRln2\Delta S = nR\ln2 from the thermodynamic formula for a Joule expansion.
  3. For N=50N = 50, probability of finding all molecules back on the left at a random instant; for one mole, the order of magnitude of that probability as a power of ten.
  4. How many yes/no questions (bits) specify which half each of the NN molecules is in? Compare with ΔS/(kBln2)\Delta S/(k_B\ln2).
  5. Entropy exchanged and created in the Joule expansion; why is it the textbook example of irreversibility?
  6. The same gas is compressed back reversibly and isothermally to the left half: work received, heat given to the room, entropy exchanged; what must be supplied to undo the free expansion?
  7. Summarize in three lines: what the second law conserves (nothing), what it forbids, and what created entropy costs.
Solution

Solution of Problem 23.1.

1. Q=mc(T0T1)=0.25×4180×(70)=73kJQ = mc(T_0 - T_1) = 0.25 \times 4180 \times (-70) = -73\,\mathrm{kJ} for the coffee: the room gains 73kJ73\,\mathrm{kJ}, ΔSroom=73150/293=+250J/K\Delta S_{\text{room}} = 73150/293 = +250\,\mathrm{J}/\mathrm{K}.

2. mcln(T0/T1)=1045ln(293/363)=224J/Kmc\ln(T_0/T_1) = 1045\ln(293/363) = -224\,\mathrm{J}/\mathrm{K}.

3. Screated=224(250)=+26J/K>0S_{\mathrm{created}} = -224 - (-250) = +26\,\mathrm{J}/\mathrm{K} > 0.

4. ΔS=1045ln(330/363)=99.6J/K\Delta S = 1045\ln(330/363) = -99.6\,\mathrm{J}/\mathrm{K}; Q=1045×(33)=34.5kJQ = 1045 \times (-33) = -34.5\,\mathrm{kJ}, Sexch=117.7J/KS_{\mathrm{exch}} = -117.7\,\mathrm{J}/\mathrm{K}: created 18J/K18\,\mathrm{J}/\mathrm{K} so far — most of the irreversibility happens while the coffee is hottest.

5. ΔSQ/T0=mc[ln(T0/T1)(T0T1)/T0]=mc[x1lnx]\Delta S - Q/T_0 = mc[\ln(T_0/T_1) - (T_0 - T_1)/T_0] = mc[x - 1 - \ln x] with x=T1/T0x = T_1/T_0; f(x)=11/xf'(x) = 1 - 1/x vanishes at x=1x = 1 where f=0f = 0, and f=1/x2>0f'' = 1/x^2 > 0: minimum 00.

6. No: initial and final states are the same, the heat is the same, the room is the same thermostat — the created entropy is fixed by the states, not by the speed.

7. Tf=350KT_f = 350\,\mathrm{K}; created 4180ln(3502/120000)=86J/K4180\ln(350^2/120000) = 86\,\mathrm{J}/\mathrm{K}.

8. Reversible: total entropy conserved: mcln(Tf/T1)+mcln(Tf/T2)=0mc\ln(T_f'/T_1) + mc\ln(T_f'/ T_2) = 0, so Tf2=T1T2T_f'^2 = T_1T_2.

9. Tf=120000=346.4KT_f' = \sqrt{120000} = 346.4\,\mathrm{K}; the waters lose mc[(T1Tf)+(T2Tf)]=4180×(53.646.4)=30kJmc[(T_1 - T_f') + (T_2 - T_f')] = 4180 \times (53.6 - 46.4) = 30\,\mathrm{kJ}, delivered as work.

10. Hot: 4180ln(346.4/400)=601J/K4180\ln(346.4/400) = -601\,\mathrm{J}/\mathrm{K}; cold: 4180ln(346.4/300)=+601J/K4180\ln(346.4/ 300) = +601\,\mathrm{J}/\mathrm{K}: sum zero, as reversibility demands.

11. T0Screated=300×86=26kJT_0S_{\mathrm{created}} = 300 \times 86 = 26\,\mathrm{kJ}, close to the 30kJ30\,\mathrm{kJ} recoverable: the created entropy, times the reference temperature, is the work that the irreversible path threw away.

12. It would need an engine working between two lukewarm waters whose temperatures keep changing — a few tens of kilojoules for a large machine: not worth it, but the second law says the work was there.

13. Received from the interior Qc/Tc=40/278=0.144W/KQ_c/T_c = 40/278 = 0.144\,\mathrm{W}/\mathrm{K}; given to the room Q0/T0=(40+W)/293Q_0/T_0 = (40 + W)/293; balance over a cycle: 0=0.144(40+W)/293+Sc0 = 0.144 - (40 + W)/293 + S_c.

14. Sc0S_c \geq 0: (40+W)/2930.144(40 + W)/293 \geq 0.144, W42.240=2.2WW \geq 42.2 - 40 = 2.2\,\mathrm{W}; COP 40/2.2=18\leq 40/2.2 = 18 (=Tc/(T0Tc)= T_c/(T_0 - T_c)).

15. COPmax=Tc/(T0Tc)\mathrm{COP}_{\max} = T_c/(T_0 - T_c): for a freezer 255/38=6.7255/38 = 6.7 — the colder the box, the dearer each joule removed.

16. With W=15W = 15: Sc=(55/293)0.144=0.044W/KS_c = (55/293) - 0.144 = 0.044\,\mathrm{W}/\mathrm{K} created every second.

17. W200×15/278=10.8WW \geq 200 \times 15/278 = 10.8\,\mathrm{W}; the machine dumps 200W200\,\mathrm{W} plus its own work into the room while the interior stays cold: the room’s net gain is WW — an open refrigerator is a heater.

18. W=0W = 0 would give Sc=Qc(1/T01/Tc)<0S_c = Q_c(1/T_0 - 1/T_c) < 0: forbidden — Clausius’s statement.

19. Before: 11 (all left); after: 2N2^N; ΔS=kBln2N=NkBln2\Delta S = k_B\ln2^N = Nk_B\ln2.

20. NkB=nRNk_B = nR: ΔS=nRln2\Delta S = nR\ln2, the Joule-expansion result.

21. One bit per molecule: NN bits; and ΔS/(kBln2)=N\Delta S/(k_B\ln2) = N — entropy counts the information one would need to pin the molecules down.

22. 250=9×10162^{-50} = 9 \times 10^{-16}; for a mole 26×1023=101.8×10232^{-6\times10^{23}} = 10^{-1.8\times10^{23}}.

23. No heat (Q=0Q = 0): exchanged 00, created nRln2nR\ln2 — the purest case: no work, no heat, only the spreading of the gas.

24. W=nRTln2W = nRT\ln2 received, Q=nRTln2Q = -nRT\ln2 given to the room, Sexch=nRln2S_{\mathrm{exch}} = -nR\ln2 (the gas’s entropy returns to its initial value, reversibly): undoing the free expansion costs the work nRTln2nRT\ln2 and dumps nRln2nR\ln2 of entropy into the room — the universe keeps the nRln2nR\ln2 created once and for all.

25. Entropy is conserved in nothing real — only in the idealized reversible limit; the law forbids every process that would destroy it (heat uphill, work from one thermostat, unmixing for free); and every bit created is work lost, T0ScreatedT_0S_{\mathrm{created}} of it.

Terms defined in this chapter

See all 393 terms in the glossary