ΔU = Q − W: energy conservation for systems that can exchange heat and work, tracked through any path.
Core syllabus1 linked experiment
01
Learning objectives
By the end of this lesson, you should be able to:
State the first law with a clearly stated sign convention
Compute ΔU for given Q and W in both conventions
Explain why ΔU is path-independent while Q and W are not
Audit cyclic processes: ΔU = 0 over a cycle
02
Lesson
James Joule spent his honeymoon, so the story goes, measuring the temperature of waterfalls — proving that falling water’s mechanical energy turned into heat with a fixed exchange rate. His paddle-wheel experiments pinned down the mechanical equivalent of heat: 4.186 J of work for every calorie. Once heat and work were known to be two currencies of the same thing, energy conservation for systems that exchange both became inevitable.
That statement is the first law of thermodynamics: ΔU = Q − W. It is deceptively short. Applied with sign discipline it audits every piston, boiler, compressor and cycle ever built; applied sloppily it produces wrong answers with total confidence. The laboratory below is a live ledger — you choose Q and W for each step, watch ΔU respond, and can drive a full cycle to see ΔU return to exactly zero while Q and W balance in the net.
Stating the law with a clean convention
For a closed system (fixed amount of gas, say), energy can cross the boundary in exactly two ways: as heat Q (energy transferred because of a temperature difference) and as work W (energy transferred by a force moving a boundary, typically a piston). Since energy is conserved, whatever enters must show up in the internal energy: ΔU = Q − W, with Q counted positive when heat flows into the system and W counted positive when the system does work on its surroundings (physics convention). Add 500 J of heat while the gas does 200 J of work and ΔU = 300 J — full stop.
The equation is bookkeeping, not a new force of nature. Its power is that U is a state function: whatever Q and W do along the way, the change in U depends only on the endpoints, so the first law connects any two states regardless of route.
The four special cases worth memorising
Certain processes recur so often that their first-law shadows should be automatic. Isochoric (constant volume): no piston motion, W = 0, so ΔU = Q — all the heat becomes internal energy. Isothermal (ideal gas at constant T): U depends only on T, so ΔU = 0 and Q = W — every joule of heat paid in is exported as work. Adiabatic (no heat exchange, Q = 0): ΔU = −W — the gas pays for its own expansion out of its internal energy and cools, or banks compression work and warms. Cyclic: the system returns to its start, ΔU = 0, so Qnet = Wnet — the net heat absorbed equals the net work delivered, which is the entire operating principle of heat engines.
These four are not approximations; they are the first law with one term switched off, and each is one slider-move away in the lab.
Path dependence made honest
Take a gas from state A to state B along two routes. Route 1: heat at constant volume until the temperature of B is reached, then expand isothermally to B’s volume. Route 2: expand isothermally first, then heat at constant volume. Both end at identical (P, V, T) — both give the same ΔU — but the heat and work totals differ, because the areas under the two P–V routes differ. Q and W individually are path quantities; only their difference is anchored.
This is why "the heat of the gas" is meaningless but "the heat added during this process" is exact. The lab’s step table shows the ledger row by row, and its state audit re-computes U from (3/2)nRT at every stage so you can watch the two bookkeepings stay glued together.
Auditing cycles
A cycle is any sequence of processes that returns the gas to its initial state. Because U is a state function, ΔUcycle = 0 always — and therefore Qnet = Wnet. On the P–V diagram, the cycle is a closed loop and Wnet is the enclosed area, positive if clockwise. An engine is nothing but a machine that runs a gas round a clockwise loop: heat Qh absorbed in the hot part, Qc dumped in the cool part, and the difference delivered as work.
The first law alone does not limit how much of the absorbed heat can become work — that ceiling is the second law’s business, two topics ahead. But every "impossible engine" claim is first tested against ΔU = Q − W, and most perpetual-motion proposals fail this trivial audit before physics even gets subtle.
03
Worked example
A monatomic ideal gas (n = 1.0 mol) undergoes three steps. Step 1: heated by 800 J at constant volume. Step 2: expands and does 300 J of work while absorbing 900 J of heat. Step 3: compressed, with 200 J of work done on the gas and 350 J of heat removed. (a) Find ΔU per step. (b) Is the gas back at its initial state? (c) If the three steps form a cycle, what must the heat in step 3 have been?
Step 1 — given: step 1: Q = +800 J, W = 0. Step 2: Q = +900 J, W = +300 J. Step 3: Q = −350 J, W = −200 J (work done on gas = work by gas with a minus sign).
Step 3 — total: ΔU = 800 + 600 − 150 = +1250 J ≠ 0, so the gas is NOT back at its initial state (its temperature is higher by ΔT = 1250/(1.5 × 8.314) = 100 K).
Step 4 — for a true cycle: need ΔUnet = 0, so Qnet = Wnet = 0 + 300 − 200 = +100 J, giving Q₃ = 100 − 800 − 900 = −1600 J instead of −350 J.
Answer: ΔU = +800, +600, −150 J; the gas ends 1250 J above its start; making it a cycle requires dumping 1600 J of heat in step 3.
04
Equations
First law (W by gas)ΔU = Q − W
CyclicΔU_cycle = 0 → Q_net = W_net
05
Key points
First law (physics convention): ΔU = Q − W; Q in is positive, W by-the-gas is positive.
Isochoric: W = 0 → ΔU = Q. Isothermal (ideal): ΔU = 0 → Q = W.
Cyclic: ΔU = 0 → Qnet = Wnet = area enclosed by the loop on a P–V diagram.
ΔU is path-independent; Q and W separately are not — only their difference is fixed by the endpoints.
For a monatomic ideal gas, cross-check any ΔU against ΔU = (3/2) n R ΔT.
06
Common misconceptions
Common mistake
The first law says you can’t get more work out than heat in, so it forbids perpetual motion.
Correct understanding
The first law only demands Q − W = ΔU. A machine returning to its start (ΔU = 0) with W > Qin passes the first-law audit and fails the second law instead — a subtler rejection.
Common mistake
Over a cycle everything returns to its start, so the net work must be zero.
Correct understanding
The state returns; the area enclosed by the loop need not. Clockwise cycles deliver net work — that is precisely what an engine is. Only ΔU is guaranteed to vanish.
Common mistake
Q = 500 J and W = 200 J, so ΔU = 700 J (add them).
Correct understanding
Signs carry the direction of flow: ΔU = Q − W = 300 J. The 200 J left the gas as work done on the surroundings. Adding instead of subtracting is the single most common first-law error.
07
Check your understanding
1. A gas absorbs 500 J of heat and does 200 J of work on its surroundings. Its internal energy changes by
2. In an adiabatic process the gas does +150 J of work. Its internal energy
3. A cycle consists of steps totalling Qnet = +450 J. The net work of the cycle is
08
Frequently asked questions
Which sign convention should I use in exams?
Whichever the paper uses — but declare it. Pakistani boards and most physics texts use ΔU = Q − W with W by the gas; chemistry texts use ΔU = Q + w with w on the system. Both give identical physics when the sign is kept straight.
Can the first law predict temperatures?
Yes, with the ideal-gas link U = (3/2)nRT (monatomic). ΔU from the ledger converts directly into ΔT, which is how the lab’s state audit checks every step.
Why is W = 0 in an isochoric step even if the pressure changes hugely?
Work is P dV — pressure times the change in volume. With the piston pinned, dV = 0 and no amount of pressure can do work, however large it grows.