IB Physics HL Thermodynamics Paper 1 & 2 First Law ~10 min read

First Law of Thermodynamics

Last time we found the two ways to change a gas’s energy: heat it, or do work on it. The first law simply keeps the books. It says energy is never lost — so if you add up the heat and the work, you know exactly how the gas’s internal energy changed. It’s the accountant’s rule of thermodynamics.

📚 What you need to know

The law is just energy bookkeeping

Pour some heat into a gas. That energy can’t vanish, so it has to go somewhere. It splits between two jobs: some of it stays inside the gas as extra internal energy (the molecules speed up), and some of it leaves as work when the gas expands and pushes on its surroundings. Add those two together and you get back exactly the heat you put in:

The first law of thermodynamics Q = ΔU + W

where Q is the heat added to the gas (J), ΔU is the change in its internal energy (J), and W is the work done by the gas (J).

WHERE THE HEAT YOU ADD GOES HEAT IN Q THE GAS splits the energy stays inside — raises internal energy ΔU leaves as work W done by the gas Q = ΔU + W
The heat you add doesn’t disappear. Part of it raises the internal energy (ΔU), and part of it leaves as work done by the gas (W). Together they equal Q.
Think of it like a bank account. Heat is money coming in; internal energy is your balance; work is money spent. Whatever comes in is either saved or spent — nothing goes missing. That’s all the first law says.

Most exam questions ask for the change in internal energy, so it’s worth rearranging the law into the form you’ll reach for again and again:

The form you’ll use most ΔU = QW

Getting the signs right

Here’s the only genuinely tricky part. Each of the three quantities can be positive or negative, and one wrong sign wrecks the answer. Keep two simple rules in your head: Q is positive when heat goes IN, and W is positive when the gas pushes OUT (expands).

GETTING THE SIGNS RIGHT GAS +Q in heated −Q out cooled +W expands work by gas −W squashed work on gas Q is + when heat goes IN · W is + when the gas pushes OUT ΔU = Q − W
Heat into the gas is +Q; heat out is −Q. The gas expanding is +W (work by the gas); the gas being squashed is −W (work done on it).
QuantityPositive (+)Negative (−)
Q (heat)heat added to gasheat removed
W (work)gas expands (work by gas)gas compressed (work on gas)
ΔU (internal energy)gets hottergets cooler
The classic slip: forgetting that W is the work done by the gas. If the gas is compressed, work is done on it, so W is negative. Put that into ΔU = QW and the double negative pushes the internal energy up — which makes sense, because squashing a gas warms it.
WE 1

A gas absorbs 800 J of heat and does 300 J of work as it expands. Find the change in its internal energy.

Step 1 — sort the signs: heat in → Q = +800 J; gas expands → W = +300 J Step 2 — use ΔU = Q − W ΔU = 800 − 300 ΔU = +500 J Internal energy rises by 500 J — the other 300 J left as work.
WE 2

A gas is compressed: 250 J of work is done on it, and it loses 100 J of heat to the surroundings. Find the change in its internal energy.

Step 1 — the signs. Heat lost → Q = −100 J. Work done ON gas → W = −250 J Step 2 — use ΔU = Q − W ΔU = (−100) − (−250) ΔU = −100 + 250 ΔU = +150 J Even though heat left, squashing the gas did enough work on it to warm it up.

Two easy cases: constant volume and constant pressure

Two situations come up so often they’re worth memorising, and both come straight from “work is the area under a p–V line”.

WORK IS ONLY DONE WHEN VOLUME CHANGES CONSTANT VOLUME no area W = 0 p V Q = ΔU CONSTANT PRESSURE area = W p V W = pΔV
At constant volume the line is vertical, so there’s no area and no work: every joule of heat becomes internal energy. At constant pressure the line is horizontal, and the rectangle underneath is the work, W = pΔV.

Constant volume. If the gas can’t change size, it can’t push anything, so it does no work: W = 0. The first law collapses to a lovely simple result — all the heat goes straight into internal energy:

Constant volume W = 0  ⇒  Q = ΔU

Constant pressure. Here the gas can expand, doing work W = pΔV (from the last page). So the heat has to cover both the rise in internal energy and that work:

Constant pressure Q = ΔU + pΔV
WE 3

A gas is heated at a constant pressure of 1.0 × 105 Pa. It absorbs 500 J of heat and expands by 2.0 × 10−3 m3. Find the change in its internal energy.

Step 1 — find the work done by the gas, W = pΔV W = (1.0×10⁵) × (2.0×10⁻³) = 200 J Step 2 — use ΔU = Q − W (Q = +500 J, W = +200 J) ΔU = 500 − 200 ΔU = 300 J Of the 500 J of heat, 200 J left as work and 300 J stayed as internal energy.
Heat in
Q
− work done
by gas W
Rise in internal
energy ΔU

💡 Top tips

⚠ Common mistakes

Quick recap: The first law is conservation of energy for a gas: Q = ΔU + W, or ΔU = QW. Heat in is +Q; work done by an expanding gas is +W; a squashed gas gives −W. At constant volume W = 0 so Q = ΔU; at constant pressure W = pΔV.
Brilliant — you can now follow energy around any change a gas goes through. But there’s a catch the first law can’t explain: it happily allows a cold drink to warm your hand or your hand to warm the drink, yet only one of those ever happens on its own. The direction that changes naturally run is set by a brand-new idea — entropy — which we meet next.

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