The Physics UniverseOpen the review site
AP Physics 2 · Unit 9 · Topic 4 of 5 · 6 min lesson

First Law of Thermodynamics

A short lesson with diagrams, a worked example, a problem to try, and a quick check. Then quiz yourself on 7 practice questions.

The big idea

Energy is conserved: ΔU = Q + W. Q is heat added to the gas, and W is the work done on the gas. When a gas expands, it does work on its surroundings, so W is negative: W = −PΔV, minus the area under the P–V graph.

1. Work is area on a P–V graph

A B area = 600 J W = −600 J 3 2 4 P (10⁵ Pa) V (L)
The gas pushes the piston out and does 600 J of work, so the work done on it is W = −600 J.
ΔU = Q + WW = work done on the gas
W = −PΔVconstant pressure
ExpandsW < 0
CompressedW > 0
Ideal gas: ΔU ∝ ΔTU depends only on temperature

2. The four special processes

Isobaric (constant P)W = −PΔV
Isochoric (constant V)W = 0, so ΔU = Q
Isothermal (constant T)ΔU = 0, so Q = −W
Adiabatic (no heat)Q = 0, so ΔU = W

Cycles: after a full loop the gas is back where it started, so ΔU = 0. The net work is the area inside the loop. Clockwise on a P–V graph, the gas does net work (an engine), so it must absorb net heat.

An adiabatic expansion cools a gas (it does work with no heat coming in); an adiabatic compression heats it.

3. Example, then try it

Example

A gas at 3.0 × 10⁵ Pa expands from 2.0 L to 4.0 L at constant pressure while absorbing 1500 J of heat. Find W and ΔU.

W = −PΔV = −(3.0 × 10⁵)(2.0 × 10⁻³) = −600 J.

ΔU = Q + W = 1500 − 600 = +900 J. The gas warms up.

Try it · work it on paper first

A gas goes clockwise around the rectangle A → B → C → D → A on the P–V graph below. Find the net work done on the gas and the net heat it absorbs per cycle.

A B C D 1 2 3 1 2 3 4 P (10⁵ Pa) V (L)
1

A → B (expands at high P): W = −(4.0 × 10⁵)(2.0 × 10⁻³) = −800 J.

2

B → C and D → A (constant volume): W = 0.

3

C → D (compressed at low P): W = +(1.0 × 10⁵)(2.0 × 10⁻³) = +200 J.

4

Net: W = −800 + 200 = −600 J (the enclosed area). Full cycle: ΔU = 0, so Q = −W = +600 J.

Answer: W = −600 J per cycle; the gas absorbs a net 600 J of heat.

4. Common mistakes

Sign of W.In ΔU = Q + W, W is work done on the gas. Expansion makes it negative.
Isothermal ≠ no heat.Isothermal means ΔU = 0; heat still flows. Adiabatic means Q = 0.
Forgetting ΔU = 0 for a cycle.Back to the start means back to the same temperature.
Check yourself

An ideal gas is quickly compressed in an insulated cylinder, so no heat flows. What happens to its temperature?

With Q = 0, ΔU = W. Compressing the gas does positive work on it, so its internal energy, and its temperature, increase.

Ready to practice?

7 questions on First Law of Thermodynamics, each with a hint and an explanation for every wrong answer.

Unit 9 topics

Every topic has a short lesson or quick review and its own quiz.