Educerie

This whole subtopic is higher level. Nothing in it is on an SL paper.

Educerie · IB Diploma · Physics

IB Physics B.4 · HL only

Thermodynamics

How can the energy stored in and transferred by a system be analysed, and what decides the direction in which the system will evolve?

What you will learn

  • HL Understand the first law, Q = ΔU + W, with work done by the gas taken as positive.
  • HL Know the four gas processes, including adiabatic changes with PV^(5/3) constant, and how each appears on a P-V diagram.
  • HL Understand how a gas cycle runs a heat engine and why the Carnot efficiency is the upper limit.
  • HL Understand entropy from heat and temperature and from microstates, and the second law in its three forms.

You must be able to

  1. HL Calculate Q, W and ΔU for each stage of a gas cycle and the efficiency of the engine.
  2. HL Determine work done as the area under a P-V line or inside a loop.
  3. HL Calculate pressures and temperatures in adiabatic changes using PV^(5/3) and TV^(2/3).
  4. HL Calculate the Carnot efficiency and compare a real engine with it.
  5. HL Calculate entropy changes using ΔS = ΔQ ÷ T and S = kB ln Ω, including coin models.
  6. HL Explain how entropy can fall locally without breaking the second law.

In the exam. HL Paper 1A multiple choice (sign conventions, which quantity is zero in which process); HL Paper 2, where a gas cycle on a PP–VV diagram is a standard short question of 4 to 6 marks, or part of a 20-mark long question, built from parts of 1 to 3 marks (work from areas, QQ for each stage, efficiency, comparison with Carnot), and where the second law appears as a 2 or 3 mark explanation. Paper 1B is the same paper at SL and HL, so it does not test B.4.

1Systems, and the sign convention

A system = whatever you draw a boundary around. Here it is nearly always a fixed amount of gas in a cylinder. Everything outside the boundary is the surroundings. Two kinds matter.

  • A closed system lets no matter cross the boundary, but energy can cross both ways, as heat or as work. Gas sealed in a cylinder with a sliding piston is closed.
  • An isolated system lets nothing cross: no matter and no energy. A rigid, sealed, perfectly insulated flask would be isolated. So, taken as a whole, is the universe.

The IB uses a single sign convention (the guide calls it Clausius' convention), with WW the work done by the gas. Almost every mark in this subtopic hangs on it.

Figure 1 shows it on a cylinder, for the two gases of worked example 1.

  • In (a) heat flows in and the gas pushes the piston out, so QQ and WW are both positive.
  • In (b) the piston is pushed in and heat leaks out, so both are negative.
The IB sign convention on a gas in a cylinder: heated while expanding, and compressed while losing heat (a) Heated, expands W = +200 J Q = +500 J ΔU = Q − W = +300 J The IB sign convention on a gas in a cylinder: heated while expanding, and compressed while losing heat (b) Compressed, loses heat W = −150 J Q = −40 J ΔU = Q − W = +110 J
Figure 1 · A gas as a closed system, with the IB sign convention
  • QQ is the net thermal energy supplied to the system: positive for heat in, negative for heat out.
  • WW is the net work done by the system: positive when the gas expands and pushes the piston out, negative when the gas is compressed.
  • ΔU\Delta U is the change in internal energy. For an ideal gas it is positive exactly when the temperature rises.

2The first law of thermodynamics

Energy that reaches the gas as heat has two destinations. It stays inside as extra internal energy, or it leaves again as work done by the gas. So

Q=ΔU+WQ = \Delta U + W

This is conservation of energy for a closed system. The difficulty is only in the signs.

Worked example 1: the signs in action (Figure 1).

(a) A gas absorbs 500 J500\ \mathrm{J} of heat and does 200 J200\ \mathrm{J} of work pushing a piston out.

(b) A different gas is compressed, with 150 J150\ \mathrm{J} of work done on it, while it loses 40 J40\ \mathrm{J} of heat to the surroundings.

Find ΔU\Delta U in each case.

(a)Q=+500 J,W=+200 J\text{(a)}\quad Q = +500\ \mathrm{J},\quad W = +200\ \mathrm{J}ΔU=Q−W=500−200=+300 Jtemperature rises\Delta U = Q - W = 500 - 200 = +300\ \mathrm{J} \qquad \textcolor{#838c91}{\text{temperature rises}}(b)Q=−40 J,W=−150 Jheat out, work done ON the gas\text{(b)}\quad Q = -40\ \mathrm{J},\quad W = -150\ \mathrm{J} \qquad \textcolor{#838c91}{\text{heat out, work done ON the gas}}ΔU=Q−W=−40−(−150)=+110 Jtemperature rises\Delta U = Q - W = -40 - (-150) = +110\ \mathrm{J} \qquad \textcolor{#838c91}{\text{temperature rises}}

In (b) the compression puts 150 J150\ \mathrm{J} in, heat carries 40 J40\ \mathrm{J} out, and 110 J110\ \mathrm{J} stays. An answer of −190 J-190\ \mathrm{J} means the minus sign on WW was lost.

Internal energy of a monatomic ideal gas. From B.3, U=32nRTU = \tfrac{3}{2}nRT, so a temperature change gives

ΔU=32NkBΔT=32nR ΔT\Delta U = \frac{3}{2}Nk_{\mathrm{B}}\Delta T = \frac{3}{2}nR\,\Delta T
  • Because PV=nRTPV = nRT, this is also ΔU=32Δ(PV)\Delta U = \frac{3}{2}\Delta(PV).
    • That form is the workhorse for cycle questions. ΔU\Delta U comes straight from the pressure and volume at two labelled points, with no need for nn or TT.
  • Only the end states matter for ΔU\Delta U. QQ and WW, by contrast, depend on how the gas got from one state to the other.

3Work done by a gas, and the area under the curve

Let the gas push a piston of area AA through a small distance Δx\Delta x at constant pressure PP. The force is PAPA, so the work is PA ΔxPA\,\Delta x. And A ΔxA\,\Delta x is the volume swept out:

W=P ΔVW = P\,\Delta V (constant pressure)

On a PP–VV diagram this is the area of a rectangle, as Figure 2(a) shows: 1.0×105 Pa×3.0×10−3 m3=300 J1.0 \times 10^{5}\ \mathrm{Pa} \times 3.0 \times 10^{-3}\ \mathrm{m^{3}} = 300\ \mathrm{J}.

When the pressure changes during the expansion, cut the change into thin strips, each a small P ΔVP\,\Delta V. Their sum is the area under the line, whatever its shape.

  • For a straight line, use a trapezium or a rectangle plus a triangle.
  • For a curve such as an isotherm there is no formula to use at this level. Count squares of the graph paper, taking a part-square as half or a fraction by eye. The answer is an estimate.
Work done by a gas is the area under its P–V line: a rectangle at constant pressure, a trapezium when the pressure falls along a straight line (a) Constant pressure 1 2 3 4 5 1 2 3 4 5 0 P / 105 Pa V / 10−3 m3 W = 300 J W = PΔV Work done by a gas is the area under its P–V line: a rectangle at constant pressure, a trapezium when the pressure falls along a straight line (b) Pressure falls 1 2 3 4 5 1 2 3 4 5 0 P / 105 Pa V / 10−3 m3 W = 750 J X Y
Figure 2 · Work done by a gas is the area under its P–V line

The area gives the size and the direction of travel gives the sign.

  • Moving right (expansion), WW is positive.
  • Moving left (compression), WW is negative.
  • A vertical line has no area beneath it, so W=0W = 0.
  • A false origin means a volume axis that starts at a non-zero value. Then take ΔV\Delta V from two labelled volumes, never from the edge of the grid.
  • Check the multipliers too: pressure in 105 Pa10^{5}\ \mathrm{Pa} and volume in 10−3 m310^{-3}\ \mathrm{m^{3}} means each grid unit of area is 100 J100\ \mathrm{J}.

Worked example 2: pressure not constant. A monatomic ideal gas goes from X (1.0×10−3 m31.0 \times 10^{-3}\ \mathrm{m^{3}}, 4.0×105 Pa4.0 \times 10^{5}\ \mathrm{Pa}) to Y (4.0×10−3 m34.0 \times 10^{-3}\ \mathrm{m^{3}}, 1.0×105 Pa1.0 \times 10^{5}\ \mathrm{Pa}) along the straight line of Figure 2(b). Determine WW, ΔU\Delta U and QQ.

W=area of trapezium=12(4.0×105+1.0×105)×3.0×10−3W = \text{area of trapezium} = \frac{1}{2}\left(4.0 \times 10^{5} + 1.0 \times 10^{5}\right) \times 3.0 \times 10^{-3}W=+750 Jexpansion, so positiveW = +750\ \mathrm{J} \qquad \textcolor{#838c91}{\text{expansion, so positive}}ΔU=32 Δ(PV)=1.5×(400−400)PV is 400 J at both X and Y\Delta U = \frac{3}{2}\,\Delta(PV) = 1.5 \times (400 - 400) \qquad \textcolor{#838c91}{PV\text{ is }400\ \mathrm{J}\text{ at both X and Y}}ΔU=0\Delta U = 0Q=ΔU+W=0+750=+750 JQ = \Delta U + W = 0 + 750 = +750\ \mathrm{J}
  • X and Y have the same PVPV, hence the same temperature, so ΔU=0\Delta U = 0 and all 750 J750\ \mathrm{J} of heat supplied left as work. That does not make the process isothermal.
    • Halfway along the line (V=2.5×10−3 m3V = 2.5 \times 10^{-3}\ \mathrm{m^{3}}) the product PVPV is 625 J625\ \mathrm{J}. So the gas warms and then cools back to where it began. Zero ΔU\Delta U only describes the ends of the journey.
  • The 750 J750\ \mathrm{J} is also only the net heat. Heat flows in over the first part of the line and out near Y. The turning point is at V=3.1×10−3 m3V = 3.1 \times 10^{-3}\ \mathrm{m^{3}} (finding it takes calculus, beyond the course): about 900 J900\ \mathrm{J} goes in and 150 J150\ \mathrm{J} comes out.
    • If a line like this sits in a cycle, do not take 750 J750\ \mathrm{J} as its heat input in an efficiency calculation.

Worked example 3: heating at constant pressure. 0.30 mol0.30\ \mathrm{mol} of a monatomic ideal gas is heated at 1.8×105 Pa1.8 \times 10^{5}\ \mathrm{Pa} from 290 K290\ \mathrm{K} to 410 K410\ \mathrm{K}. Find ΔU\Delta U, WW and QQ.

ΔU=32nR ΔT=1.5×0.30×8.31×120=449 J\Delta U = \frac{3}{2}nR\,\Delta T = 1.5 \times 0.30 \times 8.31 \times 120 = 449\ \mathrm{J}W=P ΔV=nR ΔT=0.30×8.31×120=299 JP ΔV=nR ΔT at constant PW = P\,\Delta V = nR\,\Delta T = 0.30 \times 8.31 \times 120 = 299\ \mathrm{J} \qquad \textcolor{#838c91}{P\,\Delta V = nR\,\Delta T\text{ at constant }P}Q=ΔU+W=449+299=748 JQ = \Delta U + W = 449 + 299 = 748\ \mathrm{J}
  • At constant pressure, P ΔV=nR ΔTP\,\Delta V = nR\,\Delta T, so you never need the volumes.
    • The ratio W:ΔU=2:3W : \Delta U = 2 : 3 means exactly 35\frac{3}{5} of the heat raises the temperature. The other 25\frac{2}{5} goes into pushing the piston, for any monatomic gas heated at constant pressure.

4Four processes, each keeping one thing fixed

The guide names four processes, each obtained by holding one quantity fixed. Holding it fixed either deletes a term of the first law or ties QQ to the others. Figure 3 draws all four from one starting state S.

Four processes from the same state S; the adiabat is steeper than the isotherm 0 Pressure P Volume V isothermal adiabatic isobaric isovolumetric colder isotherm S
Figure 3 · Four processes from the same starting state
ProcessWhat is fixedOn a PP–VV diagramFirst law becomes
Isovolumetric (isochoric)volumevertical lineW=0W = 0, so Q=ΔUQ = \Delta U
Isobaricpressurehorizontal lineW=P ΔVW = P\,\Delta V, Q=ΔU+P ΔVQ = \Delta U + P\,\Delta V
Isothermaltemperaturecurve PV=constantPV = \text{constant}ΔU=0\Delta U = 0, so Q=WQ = W
Adiabaticno heat crosses: Q=0Q = 0curve PV5/3=constantPV^{5/3} = \text{constant}, steeper0=ΔU+W0 = \Delta U + W, so W=−ΔUW = -\Delta U

You can also name a process from its energy bookkeeping.

  • W=0W = 0 means isovolumetric.
  • ΔU=0\Delta U = 0 means isothermal.
  • Q=0Q = 0 means adiabatic.
  • W=P ΔVW = P\,\Delta V with a flat line means isobaric.

The last two rows are the ones students swap.

  • Isothermal. TT is fixed, so ΔU=0\Delta U = 0. If the gas expands and does work, an equal amount of heat must flow in. Realising it needs slow change and good thermal contact with a reservoir.
  • Adiabatic. No heat crosses, so an expanding gas pays for its work out of internal energy and cools. A compressed gas warms. It needs insulation or a change too quick for heat to leak: pump up a bicycle tyre quickly and the compressed air warms the pump.
    • That cooling is why the adiabat in Figure 3 is steeper than the isotherm. Expanding from S, both curves lose pressure because the volume grows. But the adiabatic gas also cools, so its pressure falls further and it ends on a colder isotherm (dashed).

For a monatomic ideal gas the adiabat obeys

PV5/3=constantPV^{5/3} = \text{constant} (adiabatic, monatomic ideal gas)

Substituting P=nRTVP = \frac{nRT}{V} turns this into nRT×V5/3−1=constantnRT \times V^{5/3 - 1} = \text{constant}. With nn and RR fixed, that is a second form. It is handier when temperatures are involved:

TV2/3=constantTV^{2/3} = \text{constant} (adiabatic, monatomic ideal gas)

"Show that TV2/3TV^{2/3} is constant" is a common short request. Those two lines are the whole answer: substitute P=nRTVP = \frac{nRT}{V}, then cancel.

Worked example 4: an adiabatic compression. Neon at 1.5×105 Pa1.5 \times 10^{5}\ \mathrm{Pa} and 280 K280\ \mathrm{K} fills 2.4×10−3 m32.4 \times 10^{-3}\ \mathrm{m^{3}}. It is compressed adiabatically to 0.80×10−3 m30.80 \times 10^{-3}\ \mathrm{m^{3}}. Calculate the final pressure, the final temperature and the work done.

P2=P1(V1V2)5/3=1.5×105×35/3=9.4×105 PaP_{2} = P_{1}\left(\frac{V_{1}}{V_{2}}\right)^{5/3} = 1.5 \times 10^{5} \times 3^{5/3} = 9.4 \times 10^{5}\ \mathrm{Pa}T2=T1 P2V2P1V1=280×749360=582 Kcheck: 280×32/3=582 K, from TV2/3 constantT_{2} = T_{1}\,\frac{P_{2}V_{2}}{P_{1}V_{1}} = 280 \times \frac{749}{360} = 582\ \mathrm{K} \qquad \textcolor{#838c91}{\text{check: }280 \times 3^{2/3} = 582\ \mathrm{K}\text{, from }TV^{2/3}\text{ constant}}ΔU=32(P2V2−P1V1)=1.5×(749−360)=583 J\Delta U = \frac{3}{2}\left(P_{2}V_{2} - P_{1}V_{1}\right) = 1.5 \times (749 - 360) = 583\ \mathrm{J}W=−ΔU=−583 JQ=0; work done ON the gasW = -\Delta U = -583\ \mathrm{J} \qquad \textcolor{#838c91}{Q = 0\text{; work done ON the gas}}

Volume fell to a third but pressure rose more than sixfold, because the gas also heated up. An isothermal squeeze by the same factor would have given only three times the pressure.

5Cycles and heat engines

A cyclic process takes the gas through a sequence of changes and back to its starting state. It finishes at its starting temperature, so over a whole cycle ΔU=0\Delta U = 0. The first law gives

Over a cycle: net Q=net W\text{net } Q = \text{net } W

On a PP–VV diagram the net work is the area enclosed by the loop.

  • Traced clockwise, the gas does more work expanding (at higher pressure) than is done on it compressing. The net work is positive and the loop is an engine.
  • Traced anticlockwise, the net work is negative.

A heat engine runs such a cycle to turn thermal energy into work. Figure 4 shows its energy flows, arrow widths to scale, for worked example 5.

  • It absorbs energy QhQ_{\mathrm{h}} from a hot reservoir (burning fuel, steam from a boiler).
  • It delivers useful work WW.
  • It rejects the rest, QcQ_{\mathrm{c}}, to a cold reservoir (air, a river, a cooling tower).

Energy is conserved, so Qh=W+QcQ_{\mathrm{h}} = W + Q_{\mathrm{c}}. The efficiency is

η=useful workinput energy=WQh\eta = \frac{\text{useful work}}{\text{input energy}} = \frac{W}{Q_{\mathrm{h}}}
  • Since W=Qh−QcW = Q_{\mathrm{h}} - Q_{\mathrm{c}}, this equals 1−QcQh1 - \frac{Q_{\mathrm{c}}}{Q_{\mathrm{h}}}.
    • That is the shortest route when a question gives the efficiency and one heat and asks for the other: Qc=(1−η) QhQ_{\mathrm{c}} = (1 - \eta)\,Q_{\mathrm{h}}.
  • Engines are often described by rates, not per-cycle amounts. Divide both energies by the same time and the formula holds with power in place of energy: η=PoutPin\eta = \frac{P_{\mathrm{out}}}{P_{\mathrm{in}}}.
A heat engine as energy flows, arrow widths to scale: 1800 J in, 400 J of work, 1400 J rejected hot reservoir at Th cold reservoir at Tc engine Qh = 1800 J W = 400 J Qc = 1400 J η = 400 ÷ 1800 = 0.22
Figure 4 · A heat engine as a flow of energy

Worked example 5: an engine cycle. A monatomic ideal gas is taken round the rectangular cycle of Figure 5. Find QQ for each stage, the net work and the efficiency.

Use ΔU=32Δ(PV)\Delta U = \frac{3}{2}\Delta(PV) with PP in Pa\mathrm{Pa} and VV in m3\mathrm{m^{3}}, so PVPV is in joules. PVPV is 100 J100\ \mathrm{J} at A, 300 J300\ \mathrm{J} at B, 900 J900\ \mathrm{J} at C and 300 J300\ \mathrm{J} at D. Then Q=ΔU+WQ = \Delta U + W for each stage.

A rectangular cycle for a monatomic ideal gas, run clockwise, with Q for each stage 1 2 3 4 1 2 3 4 0 Pressure P / 105 Pa Volume V / 10−3 m3 Q = +300 J Q = +1500 J Q = −900 J Q = −500 J net W = 400 J TA TC A B C D
Figure 5 · A cycle: net work is the enclosed area
1

A →\to B: constant volume, pressure rises. No volume change, so W=0W = 0. ΔU=1.5×(300−100)=+300 J\Delta U = 1.5 \times (300 - 100) = +300\ \mathrm{J}, so Q=Q = +300 J+300\ \mathrm{J}: heat in.

2

B →\to C: constant pressure, the gas expands. W=3.0×105×2.0×10−3=+600 JW = 3.0 \times 10^{5} \times 2.0 \times 10^{-3} = +600\ \mathrm{J} and ΔU=1.5×(900−300)=+900 J\Delta U = 1.5 \times (900 - 300) = +900\ \mathrm{J}, so Q=Q = +1500 J+1500\ \mathrm{J}: heat in.

3

C →\to D: constant volume, pressure falls. W=0W = 0 and ΔU=1.5×(300−900)=−900 J\Delta U = 1.5 \times (300 - 900) = -900\ \mathrm{J}, so Q=Q = −900 J-900\ \mathrm{J}: heat out.

4

D →\to A: constant pressure, the gas is compressed. W=1.0×105×(−2.0×10−3)=−200 JW = 1.0 \times 10^{5} \times (-2.0 \times 10^{-3}) = -200\ \mathrm{J} and ΔU=1.5×(100−300)=−300 J\Delta U = 1.5 \times (100 - 300) = -300\ \mathrm{J}, so Q=Q = −500 J-500\ \mathrm{J}: heat out.

5

The whole cycle. The ΔU\Delta U values add to 0, as they must. The net work is 600−200=600 - 200 = +400 J+400\ \mathrm{J}, and so is the net heat, 300+1500−900−500=+400 J300 + 1500 - 900 - 500 = +400\ \mathrm{J}. The enclosed rectangle, 2.0×105 Pa×2.0×10−3 m32.0 \times 10^{5}\ \mathrm{Pa} \times 2.0 \times 10^{-3}\ \mathrm{m^{3}}, gives the same 400 J400\ \mathrm{J}: a good check. The dashed isotherms through A and C mark the coldest and hottest states in the cycle.

  • The input energy counts only the heat that goes in: 300+1500=1800 J300 + 1500 = 1800\ \mathrm{J}.
    • The 1400 J1400\ \mathrm{J} leaving on C →\to D and D →\to A is QcQ_{\mathrm{c}}.
η=WQh=4001800=0.22\eta = \frac{W}{Q_{\mathrm{h}}} = \frac{400}{1800} = 0.22
  • Dividing by the net heat, 400 J400\ \mathrm{J}, would give an efficiency of 1: the commonest slip here.

Worked example 6: a cycle with a curved stage. A monatomic ideal gas is taken round the loop of Figure 6.

  • A →\to B at constant pressure.
  • B →\to C adiabatically.
  • C →\to A isothermally.

The data are A (1.0×10−3 m31.0 \times 10^{-3}\ \mathrm{m^{3}}, 3.0×105 Pa3.0 \times 10^{5}\ \mathrm{Pa}) and B (2.5×10−3 m32.5 \times 10^{-3}\ \mathrm{m^{3}}, 3.0×105 Pa3.0 \times 10^{5}\ \mathrm{Pa}). C lies on the isotherm through A. Counting squares under CA gives 690 J690\ \mathrm{J} of work done on the gas. Find QQ for each stage and the efficiency.

A cycle of an isobar, an adiabat and an isotherm, run clockwise 2 4 6 8 10 1 2 3 4 0 Pressure P / 105 Pa Volume V / 10−3 m3 net W = 435 J Q = +1125 J Q = 0 Q = −690 J A B C
Figure 6 · A cycle made of an isobar, an adiabat and an isotherm
PVA=300 J,PVB=750 J,PVC=300 JC is on A’s isothermPV_{\mathrm{A}} = 300\ \mathrm{J}, \quad PV_{\mathrm{B}} = 750\ \mathrm{J}, \quad PV_{\mathrm{C}} = 300\ \mathrm{J} \qquad \textcolor{#838c91}{\text{C is on A's isotherm}}VC=VB(TBTC)3/2=2.5×10−3×2.53/2=9.9×10−3 m3TV2/3 constant on BC; TBTC=750300V_{\mathrm{C}} = V_{\mathrm{B}}\left(\frac{T_{\mathrm{B}}}{T_{\mathrm{C}}}\right)^{3/2} = 2.5 \times 10^{-3} \times 2.5^{3/2} = 9.9 \times 10^{-3}\ \mathrm{m^{3}} \qquad \textcolor{#838c91}{TV^{2/3}\text{ constant on BC; }\frac{T_{\mathrm{B}}}{T_{\mathrm{C}}} = \frac{750}{300}}A→B: W=3.0×105×1.5×10−3=+450 J,  ΔU=1.5×450=+675 J,  Q=+1125 J\text{A} \to \text{B:}\ W = 3.0 \times 10^{5} \times 1.5 \times 10^{-3} = +450\ \mathrm{J},\ \ \Delta U = 1.5 \times 450 = +675\ \mathrm{J},\ \ Q = +1125\ \mathrm{J}B→C: Q=0,  ΔU=1.5×(300−750)=−675 J,  W=+675 J\text{B} \to \text{C:}\ Q = 0,\ \ \Delta U = 1.5 \times (300 - 750) = -675\ \mathrm{J},\ \ W = +675\ \mathrm{J}C→A: ΔU=0,  W=−690 J,  Q=−690 J\text{C} \to \text{A:}\ \Delta U = 0,\ \ W = -690\ \mathrm{J},\ \ Q = -690\ \mathrm{J}Wnet=450+675−690=+435 Jη=4351125=0.39W_{\mathrm{net}} = 450 + 675 - 690 = +435\ \mathrm{J} \qquad \eta = \frac{435}{1125} = 0.39
  • The net heat, 1125−690=435 J1125 - 690 = 435\ \mathrm{J}, agrees with the net work. Only A →\to B takes heat in, so it alone is QhQ_{\mathrm{h}}.
  • The hottest state is B and the coldest is A (and C). So the Carnot limit for these extremes is 1−300750=0.601 - \frac{300}{750} = 0.60.
    • The loop reaches 0.390.39, about two-thirds of that limit.

Running a cycle backwards. Trace a loop anticlockwise and every energy arrow in Figure 4 reverses.

  • Work WW is put in.
  • Energy QcQ_{\mathrm{c}} is taken from the cold reservoir.
  • Qh=Qc+WQ_{\mathrm{h}} = Q_{\mathrm{c}} + W is delivered to the hot one.

That is a refrigerator or heat pump: heat goes from cold to hot only because work is put in (section 8).

6The Carnot cycle and the limit on efficiency

The Carnot cycle is an ideal, reversible cycle of two isotherms and two adiabats. Figure 7 takes it one stage at a time.

The Carnot cycle: two isotherms joined by two adiabats Pressure P Volume V Th Tc Qh in Qc out adiabatic expansion adiabatic compression net W = enclosed area A B C D
Figure 7 · The Carnot cycle: two isotherms and two adiabats
1

A →\to B: isothermal expansion at the hot temperature ThT_{\mathrm{h}}. Heat QhQ_{\mathrm{h}} flows in.

2

B →\to C: adiabatic expansion. No heat; the gas does work and cools from ThT_{\mathrm{h}} to TcT_{\mathrm{c}}.

3

C →\to D: isothermal compression at the cold temperature TcT_{\mathrm{c}}. Heat QcQ_{\mathrm{c}} flows out.

4

D →\to A: adiabatic compression. No heat; the gas warms from TcT_{\mathrm{c}} back to ThT_{\mathrm{h}}. The loop closes, and its area is the net work per cycle.

Because TV2/3TV^{2/3} is constant along an adiabat, the end-volumes of the expansion are tied to the two temperatures: ThVB2/3=TcVC2/3T_{\mathrm{h}}V_{\mathrm{B}}^{2/3} = T_{\mathrm{c}}V_{\mathrm{C}}^{2/3}, so VCVB=(ThTc)3/2\frac{V_{\mathrm{C}}}{V_{\mathrm{B}}} = \left(\frac{T_{\mathrm{h}}}{T_{\mathrm{c}}}\right)^{3/2}.

All the heat enters at the single highest temperature and leaves at the single lowest. No heat ever crosses a temperature difference inside the cycle. That is what makes it the best a cycle between two reservoirs can do. It gives an efficiency that depends on those two temperatures only:

ηCarnot=1−TcTh\eta_{\mathrm{Carnot}} = 1 - \frac{T_{\mathrm{c}}}{T_{\mathrm{h}}} (temperatures in kelvin)

  • No engine between the same two reservoirs can exceed it.
    • Real engines add friction, heat leaks and heat flow across finite temperature differences. All of these are irreversible and pull the efficiency below the Carnot value.
  • ηCarnot=1\eta_{\mathrm{Carnot}} = 1 would need Tc=0 KT_{\mathrm{c}} = 0\ \mathrm{K} (or an infinite ThT_{\mathrm{h}}). Neither can be reached, so no engine converts heat completely into work.
    • Section 7 shows where the formula comes from, and section 8 uses entropy to prove that nothing beats it.
  • The Carnot cycle is a benchmark for comparing real engines, not a design anyone builds: it would need to run infinitely slowly.
  • The limit binds heat engines only. A motor or generator converts between work and electrical energy with no heat-to-work step, so the Carnot formula does not apply to it.
    • But a power station stays capped by the heat engine that turns its generator.

Worked example 7: a geothermal plant. Pressurised water at 190 ∘C190\ ^{\circ}\mathrm{C} drives a turbine and the exhaust is cooled by a river at 12 ∘C12\ ^{\circ}\mathrm{C}. Find the maximum possible efficiency.

Th=190+273=463 K,Tc=12+273=285 KT_{\mathrm{h}} = 190 + 273 = 463\ \mathrm{K}, \quad T_{\mathrm{c}} = 12 + 273 = 285\ \mathrm{K}ηCarnot=1−285463=0.38\eta_{\mathrm{Carnot}} = 1 - \frac{285}{463} = 0.38

Even the perfect plant would send more than six-tenths of its input into the river. Using degrees Celsius (1−12190=0.941 - \frac{12}{190} = 0.94) gives an absurd answer.

Worked example 8: engine against its limit. An experimental engine receives 5.2 kJ5.2\ \mathrm{kJ} every second from a furnace at 900 K900\ \mathrm{K}. It delivers 1.3 kW1.3\ \mathrm{kW} of output power and exhausts into a river at 290 K290\ \mathrm{K}.

Compare its efficiency with the Carnot limit and find the rate of rejection.

η=1.35.2=0.25ηCarnot=1−290900=0.68\eta = \frac{1.3}{5.2} = 0.25 \qquad \eta_{\mathrm{Carnot}} = 1 - \frac{290}{900} = 0.68Prejected=5.2−1.3=3.9 kWP_{\mathrm{rejected}} = 5.2 - 1.3 = 3.9\ \mathrm{kW}
  • The engine reaches about a third of the theoretical best.
  • For the cycle of Figure 5, the coldest point is A and the hottest is C, with TCTA=900100=9\frac{T_{\mathrm{C}}}{T_{\mathrm{A}}} = \frac{900}{100} = 9. A Carnot engine between those temperatures would reach 1−19=0.891 - \frac{1}{9} = 0.89.
    • The rectangle's 0.220.22 is far below that, because it takes in heat at every temperature from TAT_{\mathrm{A}} to TCT_{\mathrm{C}}, not only at the top.
  • The history is a nature-of-science point. Commercial steam engines were at work from the early eighteenth century.
    • Roughly a hundred years later, in 1824, the French engineer Sadi Carnot asked whether an engine's efficiency has a limit, and showed that it does. Practice came first and the theory followed.

7Entropy, two ways

Entropy, SS, is a thermodynamic quantity that relates to the disorder of the particles in a system. It reflects how widely the energy is spread, and how many ways the particles could be arranged without the system looking any different. The guide gives two ways to calculate it.

From heat and temperature. Heat ΔQ\Delta Q goes to a system at temperature TT. Its entropy changes by

ΔS=ΔQT\Delta S = \frac{\Delta Q}{T}

with ΔQ\Delta Q positive for heat in and TT in kelvin. The unit is J K−1\mathrm{J\,K^{-1}}. The formula applies directly when TT stays constant, as in boiling or melting, or when ΔQ\Delta Q is small enough that TT barely moves.

Worked example 9: boiling water on a hob. A pan holds 0.30 kg0.30\ \mathrm{kg} of water at 100 ∘C100\ ^{\circ}\mathrm{C}. It boils away completely on a ring held at 650 K650\ \mathrm{K}. The specific latent heat of vaporisation of water is 2.26×106 J kg−12.26 \times 10^{6}\ \mathrm{J\,kg^{-1}}.

Find the entropy change of the water, of the ring, and of the two together.

Q=mL=0.30×2.26×106=6.78×105 JQ = mL = 0.30 \times 2.26 \times 10^{6} = 6.78 \times 10^{5}\ \mathrm{J}ΔSwater=+6.78×105373=+1818 J K−1\Delta S_{\mathrm{water}} = +\frac{6.78 \times 10^{5}}{373} = +1818\ \mathrm{J\,K^{-1}}ΔSring=−6.78×105650=−1043 J K−1the ring loses the same Q\Delta S_{\mathrm{ring}} = -\frac{6.78 \times 10^{5}}{650} = -1043\ \mathrm{J\,K^{-1}} \qquad \textcolor{#838c91}{\text{the ring loses the same }Q}ΔStotal=1818−1043=+775 J K−1\Delta S_{\mathrm{total}} = 1818 - 1043 = +775\ \mathrm{J\,K^{-1}}

The water gains more entropy than the ring loses. The same QQ is divided by the smaller temperature (section 8 builds the second law on this).

The sign of ΔS\Delta S in gas processes. ΔS\Delta S carries the sign of ΔQ\Delta Q.

  • In an isothermal expansion the gas takes in heat and its entropy rises by QT\frac{Q}{T}.
  • In an isothermal compression it gives heat out and its entropy falls.
  • In a reversible adiabatic process ΔQ=0\Delta Q = 0, so ΔS=0\Delta S = 0. The larger volume would raise the entropy but the cooling lowers it by exactly as much.
    • An irreversible adiabatic change, such as gas rushing into a vacuum, does raise the entropy.

Entropy round a Carnot cycle. Apply this to Figure 7.

  • On A →\to B the gas gains QhTh\frac{Q_{\mathrm{h}}}{T_{\mathrm{h}}}.
  • On both adiabats it is unchanged.
  • On C →\to D it loses QcTc\frac{Q_{\mathrm{c}}}{T_{\mathrm{c}}}.

The gas is back where it started, so its entropy is too. The net change is zero:

QhTh=QcTc\frac{Q_{\mathrm{h}}}{T_{\mathrm{h}}} = \frac{Q_{\mathrm{c}}}{T_{\mathrm{c}}}⇒\quad\Rightarrow\quadη=1−QcQh=1−TcTh\eta = 1 - \frac{Q_{\mathrm{c}}}{Q_{\mathrm{h}}} = 1 - \frac{T_{\mathrm{c}}}{T_{\mathrm{h}}}
  • That is the origin of the Carnot formula.
    • The cycle is reversible, so the two reservoirs together also have zero net entropy change per cycle. The hot one loses QhTh\frac{Q_{\mathrm{h}}}{T_{\mathrm{h}}} and the cold one gains the same.

From counting microstates.

  • A macrostate = what you can measure: pressure, volume, temperature or, with coins, the number of heads.
  • A microstate = one exact arrangement of every particle (or coin) that produces that macrostate.

If Ω\Omega is the number of microstates in a macrostate,

S=kBln⁡ΩS = k_{\mathrm{B}} \ln\Omega

where kBk_{\mathrm{B}} is the Boltzmann constant. The guide suggests coins, and Figure 8 uses them. All microstates are equally likely. Four coins have 16 microstates (Figure 8(a)), grouped by macrostate: one way to show four heads, six ways to show two.

Microstates of coins: every arrangement of four coins grouped by the number of heads, and the number of microstates for each macrostate of 100 coins (a) 4 coins: 16 microstates 0 1 2 3 4 number of heads Ω = 1 Ω = 4 Ω = 6 Ω = 4 Ω = 1 heads tails Microstates of coins: every arrangement of four coins grouped by the number of heads, and the number of microstates for each macrostate of 100 coins (b) 100 coins 20 40 60 80 100 4 8 12 0 Ω / 1028 Number of heads 10.1 40 to 60 heads: 96.5% of all microstates 100 heads: Ω = 1
Figure 8 · Counting microstates with coins
  • So two heads turns up six times as often as four heads. Its entropy is kBln⁡6=1.38×10−23×1.79=2.5×10−23 J K−1k_{\mathrm{B}} \ln 6 = 1.38 \times 10^{-23} \times 1.79 = 2.5 \times 10^{-23}\ \mathrm{J\,K^{-1}}. Four heads has kBln⁡1=0k_{\mathrm{B}} \ln 1 = 0.
  • Scale up as Figure 8(b) does. 100 coins have about 1.0×10291.0 \times 10^{29} microstates with 50 heads but one with 100 heads. And 96.5%96.5\% of all microstates lie between 40 and 60 heads. The more coins, the narrower the peak.
    • With 102310^{23} molecules, almost every microstate belongs to an evenly spread macrostate. So a system left alone is practically certain to be found there. "Entropy increases" means ordered arrangements are so outnumbered that chance never selects them.

Counting and comparing

  • Treat each coin or particle as distinguishable, so swapping two gives a new microstate.
    • For NN coins there are 2N2^{N} microstates in all. The number with rr heads is the number of ways to choose which rr coins show heads: seven coins, two heads, gives 7×62×1=21\frac{7 \times 6}{2 \times 1} = 21.
  • Microstates need not be about position. If six particles share energy in whole units and one particle holds all of it, there are 6 microstates, one per choice of particle.

An entropy change comes from the ratio of microstate counts.

ΔS=kBln⁡Ω2−kBln⁡Ω1=kBln⁡Ω2Ω1\Delta S = k_{\mathrm{B}} \ln\Omega_{2} - k_{\mathrm{B}} \ln\Omega_{1} = k_{\mathrm{B}} \ln\frac{\Omega_{2}}{\Omega_{1}}

A gas spreading out

  • Use the same model for particles in a box divided into left and right halves, where only the half a particle is in matters.
    • Eight particles all in the left half: Ω=1\Omega = 1. Let them move and "four in each half" has Ω=8×7×6×54×3×2×1=70\Omega = \frac{8 \times 7 \times 6 \times 5}{4 \times 3 \times 2 \times 1} = 70 of the 256 equally likely microstates. So ΔS=kBln⁡70=5.9×10−23 J K−1\Delta S = k_{\mathrm{B}} \ln 70 = 5.9 \times 10^{-23}\ \mathrm{J\,K^{-1}}.
  • The isolated gas ends in the most probable macrostate and does not return. The chance of all NN particles being in the left half at once is only 12N\frac{1}{2^{N}}.
    • The change is irreversible because the final state has far more microstates than the first.
  • The same counting links the two definitions. If NN gas particles expand freely into a vacuum and double their volume, each can be in either half of the new space. So Ω\Omega grows by 2N2^{N} and ΔS=NkBln⁡2\Delta S = N k_{\mathrm{B}} \ln 2.
    • For one mole that is Rln⁡2=5.8 J K−1R \ln 2 = 5.8\ \mathrm{J\,K^{-1}}.
  • Entropy is also higher in a larger volume, when hotter, and as a gas rather than a liquid or solid.

8The second law of thermodynamics

The guide wants three statements. They are one law seen from three sides.

Clausius form

  • Thermal energy cannot flow spontaneously from a colder body to a hotter one.
  • A refrigerator moves heat that way, but only because work is done on it.

Kelvin form

  • No cyclic process can take thermal energy from a single reservoir and convert all of it into work.
  • Every heat engine must reject energy to a colder reservoir, so η<1\eta < 1 always.
    • This is the form behind the Carnot limit and behind the guide's question on why every engine has an upper limit on efficiency.

Entropy form

  • The entropy of an isolated system never decreases.
    • A reversible process can be undone so that system and surroundings both return exactly to their starting states. It is an idealisation (like the Carnot cycle) and entropy stays constant.
    • An irreversible process cannot be undone and the entropy increases.
  • Friction, heat flow across a temperature difference and the mixing of gases are irreversible. So the entropy of a real isolated system always rises.

Figure 9 shows why the Clausius and entropy forms say the same. Let 1000 J1000\ \mathrm{J} flow from a body at 400 K400\ \mathrm{K} to one at 300 K300\ \mathrm{K} inside an isolated system.

1000 J flows from a body at 400 K to one at 300 K: the cold body gains more entropy than the hot body loses (a) Heat flows hot to cold hot 400 K cold 300 K isolated system Q = 1000 J 1000 J flows from a body at 400 K to one at 300 K: the cold body gains more entropy than the hot body loses (b) Entropy changes −3 −2 −1 0 1 2 3 4 ΔS / J K−1 hot −2.50 cold +3.33 total +0.83
Figure 9 · 1000 J flows from hot to cold: entropy goes up
  • The hot body loses 1000400=2.50 J K−1\frac{1000}{400} = 2.50\ \mathrm{J\,K^{-1}}. The cold body gains 1000300=3.33 J K−1\frac{1000}{300} = 3.33\ \mathrm{J\,K^{-1}}, more, because the same QQ is divided by a smaller TT. The total rises by 0.83 J K−10.83\ \mathrm{J\,K^{-1}}, so the flow is allowed.
  • Reverse it, from cold to hot, and every sign flips. Total entropy would fall by 0.83 J K−10.83\ \mathrm{J\,K^{-1}}, which the entropy form forbids.
    • That is the Clausius statement.

Nothing beats Carnot

  • Let any engine take QhQ_{\mathrm{h}} from a reservoir at ThT_{\mathrm{h}} and reject QcQ_{\mathrm{c}} to one at TcT_{\mathrm{c}}. Over a cycle the engine's own entropy is unchanged. So the reservoirs' total change is QcTc−QhTh\frac{Q_{\mathrm{c}}}{T_{\mathrm{c}}} - \frac{Q_{\mathrm{h}}}{T_{\mathrm{h}}}, and the second law says this cannot be negative.
  • Rearranged, QcQh≥TcTh\frac{Q_{\mathrm{c}}}{Q_{\mathrm{h}}} \ge \frac{T_{\mathrm{c}}}{T_{\mathrm{h}}}, hence η≤1−TcTh\eta \le 1 - \frac{T_{\mathrm{c}}}{T_{\mathrm{h}}}.
    • Equality needs zero entropy production, which only a reversible engine achieves.

Entropy can fall locally

  • The law applies to isolated systems. A system that is not isolated can lose entropy so long as its surroundings gain at least as much.
    • Water freezing in a freezer becomes more ordered. But the freezer delivers that heat, plus its motor's work, to the kitchen, whose entropy rises by more.
    • A growing plant builds ordered structures, paid for by sunlight arriving from the very hot Sun and heat leaving for cold space.
    • A portable air conditioner whose hot exhaust hose is not led outside cannot cool a closed room. The heat it removes, plus the work its motor does, is released back into the room, so the room warms.
  • Whenever you meet a local decrease, find where the larger increase happens.

The universe

  • As the ultimate isolated system, its entropy can only rise. That gives time a direction (eggs break, never unbreak).
  • It also points to a far future in which energy is so evenly spread that no work can be extracted anywhere.

Practice questions

46 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.