Skip to content
Marlbridge

Study Guides

Thermodynamics

Internal energy as random kinetic and potential energy of molecules, work W = pΔV, and the first law ΔU = q + W: Topic 16 of Cambridge A Level Physics 9702.

Subject
Physics
Level
A LEVEL
Topic
Thermodynamics
Updated

Aligned to Cambridge A Level Physics (9702), 2025-2027. Official specification .

Syllabus points this page covers

9702 (A Level)

  • 16.1 Internal energy
  • 16.2 The first law of thermodynamics

Found an error? Report a correction.

This guide covers Topic 16, Thermodynamics, in full — subtopics 16.1 Internal energy and 16.2 The first law of thermodynamics — from Cambridge International AS & A Level Physics 9702, 2025–2027 series. This is A Level content and completes the core thermal physics strand begun in Temperature and Ideal Gases.

Before studying this

This resource assumes specific heat capacity from Temperature, and the kinetic theory model from Ideal Gases.

Syllabus coverage

CAMBRIDGE INTERNATIONAL AS & A LEVEL PHYSICS 9702 — A Level, Topic 16

16.1 Internal energy — understanding that internal energy is determined by the state of the system, and that it can be considered to be the sum of the random distribution of kinetic and potential energies associated with the molecules of a system.

16.2 The first law of thermodynamics — recalling and using W = pΔV for the work done when the volume of a gas changes at constant pressure, and understanding the difference between the work done by the gas and the work done on the gas; recalling and using the first law of thermodynamics, expressed in terms of the increase in internal energy, the heating of the system, and the work done on the system, ΔU = q + W.

Internal energy

The internal energy of a system is the sum, over all the molecules in the system, of their random distribution of kinetic energies (due to their random thermal motion) and their potential energies (due to the intermolecular forces between them). Internal energy is determined entirely by the state of the system — its temperature, volume and phase — not by how that state was reached.

Increasing the temperature of a system increases the average kinetic energy of its molecules, and therefore increases its internal energy. Changing the phase of a system (e.g. melting or boiling) changes the potential energy component of internal energy, without necessarily changing its temperature — this is consistent with the flat regions of a cooling curve covered in Temperature.

Temperature-time graph for 0.200 kg of ice at -15 °C heated at 150 W. 6300 J warms the ice to 0 °C, 66 800 J melts it at constant temperature, and 16 800 J warms the water to 20 °C; the total of 89 900 J takes about 600 s. Particle pictures show ice as a lattice, melting as a mixture and water as an irregular close arrangement.
During melting the supplied energy increases potential energy, so the temperature stays constant.
A brick slab of area 14 m2 and thickness 0.22 m has faces at 20 °C and 4 °C; energy flows from hot to cold at kAΔθ/L = 0.80 x 14 x 16 / 0.22 = 814 W. A U-value is k/L, so loss = UAΔθ. A wall of 18.5 m2 (U 0.35) and a window of 3.5 m2 (U 1.8) with 15 K difference lose 97 W and 94.5 W respectively, 192 W in total; the window is 16 percent of the area but 49 percent of the loss.
Conduction rate is kAΔθ/L; U-values show how a small window can dominate energy loss.

Work done by/on a gas

When a gas changes volume at constant pressure, the magnitude of the work done is:

W = pΔV

Here W = pΔV gives the work done by the gas on its surroundings during an expansion (ΔV positive). This is not automatically the same W that appears in the first law equation ΔU = q + W below, where W is defined as the work done on the system — so when substituting pΔV into the first law, an expanding gas (which does work on its surroundings) contributes a negative W, and a compressed gas (surroundings doing work on it) contributes a positive W.

The first law of thermodynamics

The first law of thermodynamics is a statement of conservation of energy applied to a thermodynamic system:

ΔU = q + W

where ΔU is the increase in internal energy of the system, q is the thermal energy supplied to the system (heating), and W is the work done on the system. Each term can be positive or negative depending on the direction of energy transfer: heating the system or doing work on it increases its internal energy; the system heating its surroundings or doing work on its surroundings decreases its internal energy.

Worked example. A gas absorbs 500 J of thermal energy and does 200 J of work by expanding against a constant external pressure. Since the gas does work on its surroundings, the work done on the gas is W = −200 J. The change in internal energy:

ΔU = q + W = 500 + (−200) = 300 J

The gas’s internal energy increases by 300 J.

Internal energy is a state function — it depends only on the current state of the system (its temperature, for an ideal gas), never on the process or path used to reach that state. Two different routes between the same start and end states give the same ΔU, even if q and W individually differ along each route.

Two syringes hold the same ten molecules at constant temperature. Halving the volume from 60 to 30 cm3 doubles the pressure from 1.00 to 2.00 x 10^5 Pa because molecules hit the walls twice as often. A graph of p against 1/V for six readings is a straight line through the origin, and pV = 6.0 J every time.
At constant temperature pV is constant, so p against 1/V is a straight line through the origin.
A molecule rebounds elastically from the wall of a cube of side L, changing momentum by 2mv_x. The time between hits on that wall is 2L/v_x, so the force is mv_x²/L. For N molecules F = (Nm/L)<v_x²>; random motion gives <c²> = 3<v_x²>; dividing by area L² gives pV = 1/3 Nm<c²>. Comparing with pV = NkT gives 1/2 m<c²> = 3/2 kT. For nitrogen at 300 K the r.m.s. speed is 517 m/s.
Pressure arises from the momentum change of molecules rebounding from the walls.
Top: a gas absorbs 500 J of thermal energy and expands, doing 200 J of work on its surroundings, so W = -200 J and the internal energy rises by 300 J. Bottom: a piston does 340 J of work on a gas while 120 J leaves by heating, so internal energy rises by 220 J. Waterfall bars show q, W and ΔU. Cambridge only: isothermal ΔU = 0, adiabatic q = 0, isobaric constant pressure, isovolumetric W = 0.
ΔU = q + W, with W the work done on the gas, negative when the gas expands.

Four named processes

Process Condition Consequence
Isothermal Constant temperature ΔU = 0, so q = −W
Adiabatic No heat transfer q = 0, so ΔU = W
Isobaric Constant pressure pΔV is the work done by the gas, so work done on it is W = −pΔV (negative for an expansion) and ΔU = q − pΔV
Isovolumetric Constant volume W = 0, so ΔU = q

The isothermal row follows from ΔU depending only on temperature for an ideal gas: at constant temperature, ΔU must be zero regardless of what q and W do individually. The isovolumetric row follows because no work is done on or by a gas unless its volume changes.

Common mistakes

  • Mixing up the sign convention for W — W in ΔU = q + W is the work done on the system; if the system does work on its surroundings (e.g. expands), W must be entered as negative.
  • Treating internal energy as only kinetic energy — it includes both the kinetic energy of random molecular motion and the potential energy from intermolecular forces.
  • Assuming internal energy depends on the process used to reach a state — it is a state function, determined only by the current state of the system.
  • Forgetting W = pΔV only applies at constant pressure — a different approach is needed if pressure changes during the process.

Quick revision checklist

  • Internal energy = sum of random kinetic + potential energies of molecules
  • pΔV is the magnitude of the work done at constant pressure; in ΔU = q + W an expansion enters as W = −pΔV and a compression as W = +p|ΔV|
  • ΔU = q + W, and correctly signing q and W for the direction of energy transfer
  • Internal energy depends only on the state of the system, not the path taken

Frequently asked questions

What is the first law of thermodynamics? The first law is ΔU = q + W, where ΔU is the increase in internal energy, q is the thermal energy supplied to the system and W is the work done on the system. It is a statement of conservation of energy.

What is the difference between work done by a gas and work done on a gas? pΔV gives the work done by a gas when it expands at constant pressure. In ΔU = q + W the work is done on the gas, so an expansion enters as W = −pΔV and a compression as a positive W.

What happens to internal energy in an isovolumetric process? At constant volume no work is done on or by the gas, so W = 0 and the change in internal energy equals the heat supplied, ΔU = q.

Does changing state change internal energy? Yes. Melting or boiling changes the potential energy component of internal energy without necessarily changing the temperature, which is why a cooling curve has flat regions.

More resources on this topic

Written against Cambridge International AS & A Level Physics 9702, 2025–2027 series. Always check the current syllabus for your examination year.

Related resources

Related articles

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.