Intuition What this page is for
The parent note
gave you the law Δ U = Q − W and four examples. Here we go exhaustive :
we list every kind of situation the First Law can hand you — every sign combination,
every "one term is zero" special case, the limiting/degenerate cases, a real-world word
problem, and an exam-style trap — then work one example for each so you never meet a
scenario you haven't already seen.
Before anything, recall the only three quantities and one rule we use everywhere on this page.
Recall The one rule (from the parent)
Δ U = Q − W
Q = heat added to the gas (+ in, − out).
W = work done by the gas (+ when it expands, − when compressed).
Δ U = change in internal energy (+ = hotter for an ideal gas).
Everything below is just plugging into this , being careful with the two signs.
The First Law has exactly two inputs that carry a sign: heat Q and work W .
Each can be positive, negative, or zero. That is a 3 × 3 grid — the complete universe
of cases. Below, each cell names the physical situation and points to the example that nails it.
W > 0 (gas expands)
W = 0 (fixed volume)
W < 0 (gas compressed)
Q > 0 (heat in)
Ex 1 — heat in, work out
Ex 3 — isochoric heating
Ex 2 — heat in and squeezed
Q = 0 (adiabatic)
Ex 5 — adiabatic expansion
Ex 6 — degenerate: free expansion
Ex 4 — adiabatic compression
Q < 0 (heat out)
Ex 7 — heat out yet expands
Ex 3 (variant)
Ex 8 — both signs negative
Two more cells that don't fit the 3×3 grid but must be shown:
Special-shape work — isobaric (W = P Δ V directly), isothermal (Δ U = 0 ). → Ex 9
Word problem / exam twist — a cyclic process where Δ U = 0 over a full loop. → Ex 10
The figure below is the same grid drawn as a picture — memorise the diagonal (top-left to
bottom-right) as "the boring cases where Q and W push Δ U opposite ways."
Worked example Example 1 — Heat added, gas expands
A gas absorbs 600 J of heat while doing 250 J of work on a piston. Find Δ U .
Forecast: Some heat left as work, so less than 600 J stays. Guess a positive number below 600 .
Fix the signs. Q = + 600 (heat in ), W = + 250 (gas expands , work by gas).
Why this step? The two signs are the only place errors hide; nail them before arithmetic.
Plug into the law. Δ U = Q − W = 600 − 250 .
Why this step? Δ U = Q − W is the entire content of the First Law.
Compute. Δ U = + 350 J.
Verify: Energy audit — 600 J entered, 250 J walked out as work, 600 − 250 = 350 J stayed inside. Positive → gas got hotter. ✓ (units: all Joules).
Worked example Example 2 — Heat added while being compressed
A gas is compressed (surroundings do 150 J of work on it) and also absorbs 90 J of heat. Find Δ U .
Forecast: Energy enters by BOTH doors (heat in, compression in). So Δ U should be a big positive number — bigger than either 90 or 150 alone.
Fix the signs. Heat in: Q = + 90 . Work done on the gas = 150 J, so work by the gas is W = − 150 .
Why this step? Our W is always work by the gas; surroundings doing the work flips the sign.
Plug in. Δ U = Q − W = 90 − ( − 150 ) .
Why this step? Subtracting a negative W is exactly "compression pumps energy in."
Compute. Δ U = 90 + 150 = + 240 J.
Verify: Both channels add energy: 90 + 150 = 240 J stored. The double-positive matches "both doors open." ✓
Worked example Example 3 — Isochoric heating (and its heat-out variant)
A gas in a rigid sealed container absorbs 80 J of heat. Find Δ U . Then: if instead it loses 80 J, find Δ U .
Forecast: Rigid means the walls can't move, so the gas can't push anything. With no work, all heat becomes internal energy. Guess Δ U = ± 80 J.
Why is W = 0 ? Volume is fixed ⇒ d V = 0 ⇒ W = ∫ P d V = 0 .
Why this step? Work only happens through volume change; no volume change, no work — see Work done in thermodynamic processes (PV diagrams) .
Heat-in case. Δ U = Q − 0 = + 80 J.
Heat-out variant. Now Q = − 80 : Δ U = − 80 − 0 = − 80 J (gas cools).
Verify: With W = 0 , Δ U tracks Q exactly, sign and all. + 80 heats, − 80 cools. ✓
This is why the heat capacity at constant volume C v is the "cleanest" one — see Heat capacities Cp and Cv .
Worked example Example 4 — Adiabatic compression
A gas is compressed adiabatically; 200 J of work is done on it. Find Δ U and the temperature trend.
Forecast: No heat can escape (adiabatic), yet we push energy in by compressing. It has nowhere to go but internal energy → gas heats up. Guess Δ U = + 200 J.
Why is Q = 0 ? Adiabatic means "no heat crosses the boundary" — see Isothermal, adiabatic, isobaric, isochoric processes .
Why this step? Setting Q = 0 is the definition of adiabatic; it kills one term.
Fix the work sign. Work on gas = 200 J ⇒ W = − 200 .
Plug in. Δ U = 0 − ( − 200 ) = + 200 J ⇒ heats up .
Verify: Energy conservation with only one open door (compression): all 200 J stays. Matches the "diesel engine gets hot when you compress" intuition. ✓
Worked example Example 5 — Adiabatic expansion
A gas expands adiabatically, doing 120 J of work on its surroundings. Find Δ U and the temperature trend.
Forecast: No heat comes in to pay for the work, so the gas must pay from its own internal energy → it cools. Guess Δ U = − 120 J.
Why Q = 0 again? Adiabatic ⇒ no heat exchange.
Fix the work sign. Gas expands, work by gas = + 120 .
Why this step? Expansion is the positive-W direction; the gas is spending energy outward.
Plug in. Δ U = 0 − 120 = − 120 J ⇒ cools down .
Verify: The gas did 120 J of work with nothing coming in, so it lost exactly 120 J internally. This is why a spray can gets cold as it empties. ✓
Worked example Example 6 — Free expansion (both terms zero)
An ideal gas rushes into an evacuated chamber (vacuum). No heat is exchanged and it pushes on nothing . Find Δ U and Δ T .
Forecast: If nothing pushed back, no work was done — and no heat flowed. Nothing crossed the boundary. So Δ U must be exactly 0 .
Why W = 0 ? The gas expands into vacuum — there is no piston, no surroundings resisting. Force it pushes against = 0 , so W = 0 even though d V > 0 .
Why this step? This is the trap: volume does increase, but work needs something to push on. Zero opposing pressure ⇒ zero work.
Why Q = 0 ? Insulated / sudden ⇒ no heat crosses.
Plug in. Δ U = 0 − 0 = 0 J.
Temperature. For an ideal gas U = U ( T ) only, so Δ U = 0 ⇒ Δ T = 0 — see Internal energy and degrees of freedom .
Verify: Both channels shut ⇒ internal energy untouched ⇒ temperature unchanged. This is the classic result: ideal free expansion does not cool the gas . ✓
Worked example Example 7 — Losing heat while expanding
A gas expands, doing 300 J of work, but simultaneously loses 100 J of heat to the surroundings. Find Δ U .
Forecast: Energy leaves by BOTH doors (heat out, work out). So Δ U must be strongly negative — the gas cools a lot. Guess below − 300 ? or exactly... let's compute.
Fix the signs. Heat out : Q = − 100 . Work by gas (expands): W = + 300 .
Why this step? Both are drains on internal energy, but they enter the formula with different signs of their own — care is needed.
Plug in. Δ U = Q − W = − 100 − 300 .
Compute. Δ U = − 400 J.
Verify: Total energy leaving = 100 J (heat) + 300 J (work) = 400 J out ⇒ Δ U = − 400 J. The two-doors-out picture matches. ✓
Worked example Example 8 — Heat released and compressed
A gas is compressed (surroundings do 220 J on it) and releases 130 J of heat. Find Δ U .
Forecast: Compression pumps energy IN (+ ), heat loss takes energy OUT (− ). They fight. Net = 220 − 130 = + 90 ? Let the algebra confirm.
Fix the signs. Work on gas 220 ⇒ W = − 220 . Heat out ⇒ Q = − 130 .
Plug in. Δ U = Q − W = ( − 130 ) − ( − 220 ) .
Why this step? The two minus signs come from different physical facts — heat leaving vs. work being done on the gas — keep them separate.
Compute. Δ U = − 130 + 220 = + 90 J.
Verify: In: 220 J (compression). Out: 130 J (heat). Net stored = 90 J. Positive because compression beat the heat loss. ✓
Worked example Example 9 — Isobaric expansion, then an isothermal check
(a) A gas expands at constant pressure P = 2 × 1 0 5 Pa from V 1 = 1 × 1 0 − 3 m³ to V 2 = 3 × 1 0 − 3 m³, absorbing Q = 700 J. Find W and Δ U .
(b) Separately, an ideal gas expands isothermally absorbing Q = 400 J. Find W .
Forecast (a): Constant pressure means work is just P times the volume swept — an easy rectangle on the PV diagram. Expect a few hundred Joules of work.
(a) Work at constant P . W = P Δ V = P ( V 2 − V 1 ) = 2 × 1 0 5 × ( 3 − 1 ) × 1 0 − 3 .
Why this step? When P is constant it comes out of the integral: W = ∫ P d V = P Δ V . The area under the PV curve is a rectangle.
Compute. W = 2 × 1 0 5 × 2 × 1 0 − 3 = 400 J.
Internal energy. Δ U = Q − W = 700 − 400 = + 300 J.
(b) Isothermal. For an ideal gas U = U ( T ) ; T constant ⇒ Δ U = 0 ⇒ 0 = Q − W ⇒ W = Q = 400 J.
Why this step? Isothermal is the special case where the First Law forces all absorbed heat to become work.
Verify (a): Pa × m 3 = m 2 N ⋅ m 3 = N⋅m = J , so W = 400 J is dimensionally right; 700 − 400 = 300 J. ✓
Verify (b): Δ U = Q − W = 400 − 400 = 0 , consistent with constant T . ✓
The figure shows the isobaric case as a rectangle whose area is the work .
Worked example Example 10 — Cyclic process (the exam favourite)
A gas is taken around a closed cycle on a PV diagram: it absorbs 500 J of heat on the way up, expels 300 J on the way back, and does a net 200 J of work over the loop. (a) What is Δ U for the whole cycle? (b) Check consistency with the numbers.
Forecast: A cycle returns to the same state ( P , V , T ) . Since U is a state function, going in a loop must give Δ U = 0 — no matter the path.
Why Δ U = 0 ? U depends only on state; start state = end state ⇒ Δ U cycle = 0 .
Why this step? This is the whole point of "state function" from the parent's lake analogy — return to the same water level.
Net heat. Q net = + 500 − 300 = + 200 J.
Apply the law to the cycle. Δ U = Q net − W net ⇒ 0 = 200 − W net ⇒ W net = 200 J.
Verify: The stated net work is 200 J and our law predicts 200 J — consistent. Over any cycle, net heat in = net work out (Q net = W net ), which is exactly the seed of the Second law of thermodynamics (you can't get more work out than heat in). ✓
Recall Match the cell to the outcome
Adiabatic expansion — does the gas heat or cool? ::: Cools; Q = 0 so Δ U = − W < 0 .
Free expansion of an ideal gas — what is Δ T ? ::: Zero; Q = 0 , W = 0 ⇒ Δ U = 0 ⇒ Δ T = 0 .
Isochoric process — which term vanishes? ::: W = 0 , so Δ U = Q .
Full cycle — what is Δ U ? ::: Zero, because U is a state function.
Compression with heat loss (Ex 8) — sign of Δ U ? ::: + 90 J; compression added more than heat removed.
Mnemonic Reading the matrix fast
"Two doors." Heat is one door, work is the other. For each door decide in (+ ) or out (− ) ,
then Δ U = ( heat door, + if in ) − ( work door, + if gas pushes out ) .
Both doors let energy in ⇒ big positive Δ U (Ex 2). Both let it out ⇒ big negative (Ex 7).