IB Physics HL Thermodynamics Paper 1 & 2 Internal Energy & Work ~11 min read

Thermodynamic Systems

A “thermodynamic system” is just a chunk of gas we’ve decided to keep an eye on. There are only two ways to change its energy: heat it, or push on it (do work). This page sets up both ideas — the energy stored inside a gas, and the work a gas does when it expands. Get these two straight and the whole topic clicks into place.

📚 What you need to know

Internal energy: the energy stored inside a gas

Every molecule in a gas is on the move, so it has kinetic energy. Add up the energy of all the molecules and you get the gas’s internal energy, U. In a solid or liquid the molecules are also held together by bonds, so they store energy in two ways: kinetic (they still jiggle) and potential (in the bonds).

An ideal gas is simpler. We assume its molecules feel no forces between one another. No forces means no bonds — and no bonds means no potential energy. So for an ideal gas, internal energy is purely kinetic.

WHERE THE ENERGY IS STORED SOLID / LIQUID molecules held close IDEAL GAS molecules far apart kinetic + potential moving AND bonded kinetic only no bonds = no PE an ideal gas stores its internal energy as pure motion
A solid or liquid stores both kinetic and potential energy. An ideal gas has no bonds, so all of its internal energy is kinetic — pure molecular motion.
This is why, for an ideal gas, “internal energy” and “total kinetic energy” mean exactly the same thing. If an exam asks for the total internal energy of an ideal gas, you can safely say it’s just the total kinetic energy of the molecules.

Here’s the payoff. Kinetic energy depends on how fast the molecules move, and how fast they move depends on temperature. So the internal energy of an ideal gas depends on nothing but its temperature:

Internal energy tracks temperature ΔU ∝ ΔT

Put a number on it with either of these two forms — they’re the same equation counted two different ways:

Change in internal energy of an ideal gas ΔU = ³⁄₂NkBΔT = ³⁄₂nRΔT

Use the first form when you know the number of molecules N (with the Boltzmann constant kB), and the second when you know the number of moles n (with the gas constant R). They match because NkB = nR.

The number-one trap in this whole topic: temperature must be in kelvin. Always add 273 to a Celsius value before you put it into any of these equations.
WE 1

An ideal gas is heated so its temperature rises from 27°C to 327°C. Show that its internal energy exactly doubles, and explain the trap a careless student falls into.

Step 1 — turn both temperatures into kelvin 27°C → 27 + 273 = 300 K 327°C → 327 + 273 = 600 K Step 2 — compare, using U ∝ T (kelvin) 600 ÷ 300 = 2.0 Internal energy doubles The trap: in °C it looks like 327 ÷ 27 ≈ 12×. That’s wrong — only the kelvin ratio counts.
WE 2

3.0 mol of an ideal gas is warmed from 300 K to 400 K. Find the increase in its internal energy. (R = 8.31 J mol−1 K−1.)

Step 1 — use ΔU = ³⁄₂ nRΔT, with ΔT = 400 − 300 = 100 K ΔU = 1.5 × 3.0 × 8.31 × 100 ΔU ≈ 3.7 × 10³ J Already in kelvin, so no conversion needed here — but always check.

Work done by a gas

Now the second way to change a gas’s energy. When a gas expands, it pushes the walls of its container outward. Pushing something and making it move is the very definition of doing work. So an expanding gas does work on its surroundings.

Let’s build the formula from a gas trapped behind a piston. The gas is at pressure p, and the piston has area A. Pressure is force per area, so the gas pushes the piston with a force F = pA. If the piston slides out a distance s, the work done is force × distance:

A GAS DOES WORK WHEN IT EXPANDS gas at pressure p F = pA ΔV swept out A s work done = force × distance = pA × s = pΔV
The gas pushes the piston (area A) with force F = pA. The piston moves a distance s, sweeping out a volume A×s = ΔV. So work = pA×s = pΔV.

The clever last step: the distance s multiplied by the area A is just the extra volume the gas gained, ΔV. Swap As for ΔV and the piston disappears from the formula entirely:

Work done at constant pressure W = pΔV

where W is the work done (J), p is the pressure the gas pushes against (Pa), and ΔV is the change in volume (m3). This assumes the pressure stays the same while the gas expands.

WE 3

A gas expands at a constant pressure of 2.0 × 105 Pa. Its volume grows from 1.0 × 10−3 m3 to 4.0 × 10−3 m3. How much work does the gas do?

Step 1 — find the change in volume ΔV = (4.0 − 1.0) × 10⁻³ = 3.0 × 10⁻³ m³ Step 2 — use W = pΔV W = (2.0×10⁵) × (3.0×10⁻³) W = 600 J The volume grew, so this work is done by the gas on its surroundings.

Reading work off a p–V graph

There’s a lovely shortcut hiding in that formula. On a graph of pressure against volume, the work done is simply the area under the line. If the pressure is constant, that area is a rectangle (p × ΔV). If the pressure changes as the gas expands, the area is a trapezium — but it’s still just “the area underneath”.

A B AREA = WORK DONE BY GAS PRESSURE, p VOLUME, V V1 V2 p1 p2
The shaded area under the line from A to B equals the work done by the gas. For a sloped line, that area is a trapezium: average pressure × change in volume.

The direction tells you the sign. Whether work comes out positive or negative depends only on whether the gas got bigger or smaller:

What the gas doesVolumeWork
Expandsincreases, +ΔV+W (by gas)
Is compresseddecreases, −ΔVW (on gas)
WE 4

A gas is compressed. On its p–V graph the pressure rises from 100 kPa to 300 kPa as the volume falls from 0.050 m3 to 0.010 m3. Find the work done.

Step 1 — the area is a trapezium: average pressure × volume change |ΔV| = 0.050 − 0.010 = 0.040 m³ area = ½ × (100 + 300)×10³ × 0.040 area = ½ × 400 000 × 0.040 = 8000 J Step 2 — put in the sign W = −8.0 × 10³ J The gas was squashed, so work is done on it — that’s why W is negative.
F = pA
× distance
s
W = pAs
A×s = ΔV
W = pΔV

💡 Top tips

⚠ Common mistakes

Quick recap: Internal energy U is the total energy of a gas’s molecules. An ideal gas has no bonds, so it’s all kinetic and depends only on temperature: ΔU = ³⁄₂NkBΔT = ³⁄₂nRΔT (in kelvin). A gas that changes volume at constant pressure does work W = pΔV, which is the area under a p–V line — positive when it expands, negative when it’s compressed.
Nicely done — you now have the two levers that change a gas’s energy: heating it and doing work on it. Next we tie them together with the First Law of Thermodynamics, Q = ΔU + W — the simple bookkeeping rule that makes sure energy is never lost, only moved around.

Want this to actually click before the exam?

Book a free meeting and let’s work through the tricky bits together.

Book your free meeting