In this guide
← Physics guides

B. The particulate nature of matter · B.4 · HL only

Thermodynamics

A gas can receive energy, store it in particle motion and push its surroundings. Thermodynamics keeps those transfers separate and explains why a heat engine has limits.

Course focus: B.4 is HL-only. This guide covers monatomic ideal-gas internal energy, P–V work and cycles, the first law, isothermal/isobaric/isovolumetric/adiabatic processes, entropy and the second law, heat engines and Carnot efficiency.

Before you start: Know \(PV=nRT\) and \(U=\tfrac32nRT\) for a monatomic ideal gas from B.3 Gas laws. Graph area and sign conventions are central here.

01

Choose your boundary

Internal energy belongs to a state; heat and work describe transfers

A system is the matter you choose to analyse; the rest is its surroundings. For a closed gas sample, no matter enters or leaves, but energy may cross the boundary as thermal transfer or work. Its state can be described by pressure, volume, temperature and amount of gas. Internal energy \(U\) is a property of that state. Heat \(Q\) and work \(W\) describe how energy crossed the boundary during a process; they are not things stored in the gas.

For a fixed amount of monatomic ideal gas, \(U=\tfrac32nRT=\tfrac32PV\) and \(\Delta U=\tfrac32nR\Delta T\). Thus two paths reaching the same final state have the same \(\Delta U\), even if they involve different heat and work. More general gases can store energy in additional ways, so keep the monatomic assumption visible.

Worked example: compare two gas states

A monatomic ideal gas changes from P₁V₁ = 600 J to P₂V₂ = 900 J. Find ΔU regardless of the path.

  1. Use U = 3PV/2 at each endpoint.
  2. ΔU = 1.5(900 − 600) = +450 J. The final internal energy is 450 J higher; the path is not needed.
02

A moving boundary

Expansion does positive work by the gas

A gas pushing a piston of area \(A\) through distance \(\Delta x\) has changed volume by \(\Delta V=A\Delta x\). At constant pressure, force is \(PA\) and work done by the gas is \(W=P\Delta V\). Expansion has \(\Delta V>0\) and \(W>0\) under this convention; compression has \(W<0\) because work is done on the gas.

A gas expanding under pressure pushes a piston outward. The moved volume is AΔx, so constant-pressure work by the gas is PΔV.A gas-filled cylinder has a movable piston of area A. A rightward arrow shows piston displacement delta x and a shaded region shows the increase in gas volume.Work moves the boundarygas PinitialfinalΔxarea A × displacement Δx = ΔV
A gas expanding under pressure pushes a piston outward. The moved volume is AΔx, so constant-pressure work by the gas is PΔV.

On a pressure–volume graph, work by the gas is the signed area under the path. For varying pressure, use the area under the curve rather than multiplying one arbitrary pressure by the total volume change. For a closed cycle, the gas returns to its original state; net work equals the area enclosed by the loop, positive for a clockwise engine cycle and negative for an anticlockwise cycle.

Worked example: isobaric compression

A gas is compressed at 2.0×10⁵ Pa from 4.0×10⁻³ m³ to 3.0×10⁻³ m³. Find work done by the gas.

  1. ΔV = 3.0×10⁻³ − 4.0×10⁻³ = −1.0×10⁻³ m³.
  2. W = PΔV = (2.0×10⁵)(−1.0×10⁻³) = −200 J.
  3. The negative sign means 200 J of work is done on the gas.
03

Conservation with signs

Energy supplied becomes stored energy or work done

\[Q=\Delta U+W\]

Use \(Q>0\) for heat transferred into the gas, \(\Delta U>0\) for increased internal energy and \(W>0\) for work done by the gas. Write these signs before substituting. This is equivalent to \(\Delta U=Q-W\). Other books may define \(W\) as work done on the gas; use one convention consistently.

Worked example: heat, work and ΔU

A gas absorbs 500 J of heat and does 180 J of work on its surroundings. Find ΔU.

  1. Q = +500 J and W = +180 J with the stated convention.
  2. ΔU = Q − W = 500 − 180 = +320 J. Its internal energy rises.
Worked example: adiabatic compression

A gas is compressed without heat exchange. Work done on it is 240 J. Find ΔU.

  1. Adiabatic means Q = 0. Work by the gas is W = −240 J.
  2. ΔU = Q − W = 0 − (−240) = +240 J. For a monatomic ideal gas, temperature therefore rises.
04

Fixed conditions change the result

Recognise the four ideal-gas processes

Isothermal

\(T\) fixed. For an ideal gas, \(\Delta U=0\) and \(Q=W\). An expansion requires heat input if it keeps the same temperature.

Isobaric

\(P\) fixed. \(W=P\Delta V\) and, for monatomic ideal gas, \(\Delta U=\tfrac32P\Delta V\) if amount is fixed.

Isovolumetric

\(V\) fixed. No boundary displacement, so \(W=0\) and \(Q=\Delta U\) for this simple model.

Adiabatic

No heat exchange, \(Q=0\) and \(\Delta U=-W\). For a reversible monatomic ideal gas, \(PV^{5/3}=\text{constant}\) and \(TV^{2/3}=\text{constant}\).

On a pressure–volume graph, a horizontal path is constant pressure, a vertical path is constant volume, and adiabatic expansion falls more steeply than isothermal expansion from the same state.A pressure-volume plot has an initial point; a horizontal isobar, vertical isochore, and two falling expansion curves labelled adiabatic and isothermal.Four processes on P–V axesP / PaV / m³startisobaricisovolumetricisothermaladiabatic
On a pressure–volume graph, a horizontal path is constant pressure, a vertical path is constant volume, and adiabatic expansion falls more steeply than isothermal expansion from the same state.

An adiabatic expansion cools the ideal gas because it does work with no incoming heat to replace that energy. On the same \(P\)–\(V\) axes it falls more steeply than an isothermal expansion from the same state. “Adiabatic” does not always mean “fast”: strong insulation can also prevent heat exchange. The \(5/3\) exponent specifically assumes a monatomic ideal gas undergoing a reversible adiabatic process.

Worked example: adiabatic pressure change

A monatomic ideal gas expands reversibly and adiabatically from volume V to 2V at initial pressure 400 kPa. Find its final pressure.

  1. Apply P₁V₁^(5/3) = P₂V₂^(5/3).
  2. P₂ = 400/2^(5/3) ≈ 126 kPa. This falls faster than the isothermal value 200 kPa.
05

Direction of spontaneous change

Entropy counts how many microscopic arrangements fit a state

A macrostate fixes broad properties such as pressure or the number of heads in a set of coin tosses. A microstate specifies a particular arrangement. If \(\Omega\) microstates correspond to a macrostate, its statistical entropy is \(S=k_B\ln\Omega\). A state that can be realised many ways is more probable in a randomly evolving many-particle system. “Disorder” is a rough intuition, but multiplicity is the more precise idea.

For a reversible transfer of heat \(Q_{\rm rev}\) at constant absolute temperature \(T\), \(\Delta S=Q_{\rm rev}/T\) in \(\mathrm{J\,K^{-1}}\). If temperature changes appreciably, this simple quotient cannot be applied across the whole path without treating the changing \(T\) correctly. Entropy may decrease in one part of a system while the surroundings gain more.

\[\Delta S_{\rm isolated}\geq0\]

The second law says an isolated system’s entropy does not decrease: it is constant for an ideal reversible process and increases for a real irreversible one. Equivalently, heat does not flow spontaneously from cold to hot without external work; a device operating in a cycle cannot convert all heat drawn from one hot reservoir into work.

Worked example: entropy of heat flow

50 J moves from a large 400 K reservoir to a large 300 K reservoir. Estimate the total entropy change, treating both temperatures as constant.

  1. Hot reservoir loses heat: ΔSₕ = −50/400 = −0.125 J K⁻¹.
  2. Cold reservoir gains heat: ΔS_c = +50/300 ≈ +0.167 J K⁻¹.
  3. Total ΔS ≈ +0.042 J K⁻¹, so this direction is consistent with the second law.
Worked example: count microstates

Four distinguishable coins are tossed. How many outcomes have exactly two heads, and how does their entropy compare with all-heads?

  1. Choose the two head positions: Ω₂ = 4 choose 2 = 6. All-heads has Ω₄ = 1.
  2. S₂ − S₄ = kB ln(6/1) = kB ln 6 > 0. Exactly two heads is a more numerous macrostate.
06

Useful work from a cycle

An engine must reject some heat

A heat engine repeatedly takes \(Q_h\) from a hot reservoir, does net work \(W_{\rm net}\) and rejects \(Q_c\) to a cooler reservoir. Across one cycle, the working substance returns to its starting state, so \(\Delta U=0\) and \(W_{\rm net}=Q_h-Q_c\). The efficiency is \(\eta=W_{\rm net}/Q_h=1-Q_c/Q_h\).

A cyclic heat engine takes energy Qₕ from a hot reservoir, does useful work W and rejects Q_c to a cold reservoir; Qₕ = W + Q_c.A hot reservoir sends heat to an engine. Arrows from the engine lead to useful work and to a cold reservoir, showing that not all incoming heat becomes work.The energy budget of an enginehot reservoirTₕenginecold reservoirT𝚌Qₕuseful WQ_c
A cyclic heat engine takes energy Qₕ from a hot reservoir, does useful work W and rejects Q_c to a cold reservoir; Qₕ = W + Q_c.

The largest possible efficiency for an engine operating between fixed hot and cold reservoir temperatures is the reversible Carnot value \(\eta_C=1-T_c/T_h\) with both temperatures in kelvin. A real engine has \(\eta<\eta_C\). This is a limit set by the second law, not a design target that can be exceeded with better insulation or a cleverer piston.

Worked example: check an engine claim

An engine works between reservoirs at 600 K and 300 K. It receives 1000 J per cycle and claims 600 J useful work. Is this possible?

  1. Carnot limit: ηC = 1 − 300/600 = 0.50.
  2. Claimed efficiency = 600/1000 = 0.60, greater than 0.50, so it is impossible for a cyclic engine between those reservoirs.
  3. A possible reversible maximum would be 500 J work and 500 J rejected heat; real engines do less work.
07

Independent practice

Try it yourself

Draw a gas boundary and write the signs of \(Q\) and \(W\) before applying the first law. Mark the fixed variable on a P–V plot.

  1. 1

    At constant pressure 3.0×10⁵ Pa a gas expands by 2.0×10⁻³ m³. Find work by the gas.

    Hint

    Use PΔV; expansion gives positive W.

    Show complete solution
    1. W = (3.0×10⁵)(2.0×10⁻³) = +600 J.
  2. 2

    A gas receives 900 J heat and does 350 J work. Find ΔU.

    Hint

    Use Q = ΔU + W.

    Show complete solution
    1. ΔU = 900 − 350 = +550 J.
  3. 3

    A gas releases 120 J heat while 80 J of work is done on it. Find ΔU.

    Hint

    Both Q and work by the gas are negative.

    Show complete solution
    1. Q = −120 J; W = −80 J. ΔU = Q − W = −120 − (−80) = −40 J.
  4. 4

    A monatomic ideal gas's temperature rises by 50 K at fixed volume with n = 0.40 mol. Find the heat supplied.

    Hint

    At fixed volume W = 0, and ΔU = 3nRΔT/2.

    Show complete solution
    1. Q = ΔU = 1.5(0.40)(8.31)(50) ≈ 249 J.
  5. 5

    A monatomic ideal gas expands adiabatically from V to 8V. What is T₂/T₁ for a reversible process?

    Hint

    Use TV^(2/3) constant.

    Show complete solution
    1. T₂/T₁ = (V₁/V₂)^(2/3) = (1/8)^(2/3) = 1/4.
  6. 6

    60 J of heat enters a body reversibly at constant 300 K. Find ΔS.

    Hint

    Use Qrev/T.

    Show complete solution
    1. ΔS = 60/300 = +0.20 J K⁻¹.
  7. 7

    An engine takes 800 J from a hot reservoir and rejects 500 J each cycle. Find work and efficiency.

    Hint

    Across a full cycle ΔU = 0.

    Show complete solution
    1. W = 800 − 500 = 300 J.
    2. η = 300/800 = 0.375 = 37.5%.
  8. 8

    Find the Carnot limit between 500 K and 350 K. Could a real engine have 35% efficiency?

    Hint

    Use 1 − T𝚌/Tₕ.

    Show complete solution
    1. ηC = 1 − 350/500 = 0.30 = 30%.
    2. No real cyclic engine between these reservoirs can reach 35%, which exceeds the Carnot limit.

Put the ideas together

These original multi-part questions use the methods from this guide. Marks show the level of detail to aim for; reveal the worked answers after trying every part.

1. An ideal gas expands HL

A gas absorbs 500 J of heat and does 180 J of work on its surroundings.

  1. Find the change in internal energy, stating the sign convention. (2 marks)
  2. If the gas is ideal, describe what this implies for temperature. (2 marks)
  3. Explain why Q is not a property stored in the gas. (2 marks)
Show worked answers
  1. With Q into the gas positive and work done by the gas positive, ΔU=Q−W=500−180=+320 J.
  2. Its internal energy rises, so its absolute temperature rises.
  3. Heat describes energy transfer across the boundary, whereas internal energy is a state property.

2. A heat-engine cycle HL

A cyclic engine takes 800 J from a hot reservoir and rejects 500 J to a cold reservoir each cycle.

  1. Find its useful work per cycle. (2 marks)
  2. Find its efficiency. (2 marks)
  3. Explain why the rejected energy must be included in an energy-flow diagram. (2 marks)
Show worked answers
  1. Over a complete cycle ΔU=0, so W=Qh−Qc=800−500=300 J.
  2. η=W/Qh=300/800=0.375=37.5%.
  3. It is part of the input energy not converted to work; omitting it would violate energy conservation and overstate efficiency.
Find a specific method or formula

Keep learning Physics

Current and circuits use the same discipline: define the system, draw the transfers, then apply conservation rules.

Browse Physics guides →

Original Arc Practice teaching notes for IB Physics B.4, first assessment 2025. Scope checked against the IB Physics guide and the Thermodynamics chapter of K. A. Tsokos, Physics for the IB Diploma, seventh edition (Cambridge, 2023). Diagrams, examples and exercises are original Arc material. Not an official IB publication. Report a correction.