Energy is never lost
Heat and work are both ways of passing energy to a system. Whatever goes in must end up somewhere: either it stays inside as internal energy, or it leaves again as work done on the surroundings. That is the first law of thermodynamics:
Heat given to the system = rise in its internal energy + work done by the system.
Heat in = work out + rise in U
In the 3D model, choose Heat in = work out + rise in U. Helium at 300 K and 3.0 L sits under a piston of area 100 cm² loaded with sand, which keeps its pressure at 1.0 × 10⁵ Pa. The burner gives it 500 J of heat.
- The gas expands to 5.0 L, so the piston rises 20 cm. Work done: .
- The gas warms to 500 K. Its internal energy rises by .
- Check: . ✓
The same ΔU, three ways
Choose The same ΔU, three ways. Three cylinders of the same helium all go from 300 K to 500 K:
| Cylinder | ΔQ | ΔW | ΔU = ΔQ − ΔW |
|---|---|---|---|
| (a) piston locked, heated | 300 J | 0 | 300 J |
| (b) piston free, heated | 500 J | 200 J | 300 J |
| (c) insulated, pushed in | 0 | −300 J | 300 J |
Q and W are different each time, but Q − W is always 300 J, because all three end at the same temperature. This is why internal energy is a state variable while heat and work are not.
Special cases
| Process | What is fixed | First law becomes |
|---|---|---|
| isochoric | volume () | |
| adiabatic | no heat () | |
| isothermal (ideal gas) | temperature () | |
| cyclic | back to the start () | |
| isolated system | no heat, no work |
The signs of ΔQ and ΔW are explained in Sign Conventions for Heat and Work.
Worked example
A gas absorbs 800 J of heat and expands at a constant 2.0 × 10⁵ Pa from 2.0 L to 3.5 L. Find the change in its internal energy.
- Work done by the gas: .
- +500 J.
Remember: ΔQ = ΔU + ΔW. Heat given to a system raises its internal energy and lets it do work; no energy is created or lost.
Formulas and where to use them
First law of thermodynamics
- where
- heat given to the system (J)
- rise in its internal energy (J)
- work done by the system on its surroundings (J)
Use it when: Any process of a closed system. Use the signs: heat in and work done by the system are positive.
Work done at constant pressure
- where
- pressure of the gas (Pa)
- change in its volume (m³)
Use it when: A gas expanding or being compressed at a steady pressure.
Common mistakes
- Thinking the first law says heat becomes work completely. It only says energy is conserved; how much heat can become work is limited by the second law.
- Forgetting that ΔU depends only on the start and end. For an ideal gas, if the temperature is back where it started, ΔU = 0, however complicated the process.
- Using litres in PΔV. Convert to m³ (1 L = 10⁻³ m³) to get joules.
Quick check
Test yourself — pick an answer to see if you got it.
1. The first law of thermodynamics is a statement of…
It counts heat as a form of energy and says energy is conserved.
2. A gas takes in 500 J of heat and does 200 J of work. Its internal energy…
.
3. In a process where the volume does not change, the heat given equals…
No volume change, no work, so .
4. A gas in an insulated cylinder is compressed with 300 J of work. Its internal energy…
and , so .
5. A gas expands at 2.0 × 10⁵ Pa from 1.0 L to 3.0 L. The work it does is…
.