Uni-Sine
Physics
+25XP
PhysicsThermal physics and matter

The first law of thermodynamics

The first law of thermodynamics is conservation of energy for heating and work. In the form used in AQA A-level Physics, Q = ΔU + W: the energy Q transferred to a system by heating equals the increase in its internal energy, ΔU, plus the work W done by the system. Heat a gas with 500 J while it does 200 J of work pushing a piston out, and its internal energy rises by 300 J.

The first law of thermodynamics equation

Q = \Delta U + WEnergy supplied by heating = increase in internal energy + work done by the system
SymbolMeaningUnit
QEnergy transferred to the system by heating (negative if the system loses heat)J
ΔUIncrease in internal energy (negative if it decreases)J
WWork done by the system (negative if work is done on it)J

AQA's A-level specification defines the symbols exactly this way, in its engineering physics option, and its data booklet gives Q = ΔU + W.

Sign conventions

Books write the first law in two ways, depending on how they define W:

ConventionEquationW means
Physics (AQA)Q = ΔU + WWork done by the gas
Chemistry and many university textsΔU = Q + WWork done on the gas

They say the same thing. A gas that expands does work on its surroundings: positive W in the AQA form, negative W in the other. Check which convention a question uses before substituting.

Internal energy

The internal energy of a system is the total kinetic and potential energy of its particles. For an ideal gas the particles have no potential energy between them, so its internal energy depends only on its temperature: ΔU = 0 whenever the temperature does not change. Heating a gas or doing work on it can both raise its internal energy.

Work done by a gas: W = pΔV

When a gas expands against a constant pressure, the work it does is:

W = p\Delta V

AQA's specification gives this for the constant pressure case, and says that, more generally, the work done can be estimated from the area below the graph on a pV diagram.

Example 1: heating and work together

A gas is heated with 500 J of energy and does 200 J of work as it expands. Find the change in internal energy.

\Delta U = Q - W = 500 - 200 = 300\ \text{J}

Example 2: expansion at constant pressure

A gas at a constant pressure of 1.0 × 10⁵ Pa expands from 2.0 × 10⁻³ m³ to 3.0 × 10⁻³ m³ while 350 J of energy is supplied by heating. Find the work done and the change in internal energy.

W = p\Delta V = 1.0 \times 10^5 \times 1.0 \times 10^{-3} = 100\ \text{J}
\Delta U = Q - W = 350 - 100 = 250\ \text{J}

The first law in four special processes

AQA's specification applies the first law to isothermal, adiabatic, constant pressure and constant volume changes.

ProcessWhat is fixedFirst law becomes
IsothermalTemperature, so ΔU = 0Q = W
AdiabaticNo heat transfer, Q = 0ΔU = −W
Constant volumeVolume, so W = 0Q = ΔU
Constant pressurePressureQ = ΔU + pΔV

For an ideal gas, an isothermal change obeys pV = constant, and an adiabatic change obeys pVγ = constant, as given in AQA's booklet.

Example 3: adiabatic expansion

A gas expands quickly in an insulated cylinder, doing 120 J of work. Find the change in internal energy, and say what happens to its temperature.

No heat is transferred, so Q = 0 and ΔU = −W = −120 J. The internal energy falls, so the temperature of the gas falls.

Example 4: isothermal compression

A gas is compressed slowly at constant temperature. 80 J of work is done on it. How much energy is transferred by heating, and in which direction?

Constant temperature means ΔU = 0. Work done by the gas is W = −80 J, so Q = ΔU + W = −80 J: 80 J flows out of the gas to the surroundings as heat.

pV diagrams and heat engines

y = \frac{300}{ x}
11.21.41.61.822.22.42.62.833.23.43.63.84-5050100150200250300350start: 300 kPaend: 100 kPa
Work done = area under the curveDrag to pan, scroll to zoom. x from 1 to 4, y from -60 to 360.

Here x is the volume in units of 10⁻³ m³ and y is the pressure in kPa, for a gas expanding at constant temperature with pV = 300 J. The work done by the gas is the area under the curve between the start and end volumes. For a cyclic process, such as an engine cycle, AQA's specification says the work done per cycle is the area of the loop on the pV diagram.

Example 5: efficiency of a heat engine

A heat engine takes in 3000 J from a hot source each cycle and does 1200 J of useful work. Find its efficiency and the energy passed to the cold sink.

\text{efficiency} = \frac{W}{Q_H} = \frac{1200}{3000} = 0.40

The efficiency is 40%. By the first law, over a whole cycle the gas returns to its starting state, so ΔU = 0 and the energy in must equal the energy out: 3000 − 1200 = 1800 J goes to the cold sink. AQA's booklet gives efficiency = W ÷ QH = (QH − QC) ÷ QH.

The Gas Laws Calculator works with pV = nRT and the other gas laws, which you need alongside the first law for pressure, volume and temperature changes.

Try it

Gas Laws Calculator

Apply Boyle's law, Charles's law and the ideal gas equation

Go to its page

Here is a quick check.

practice
Pick an answer, then check it.
A gas is compressed adiabatically. What happens to its temperature?

Common mistakes

  • Mixing sign conventions. In Q = ΔU + W, W is work done by the gas. Work done on the gas is a negative W.
  • Forgetting units in W = pΔV. Use pascals and cubic metres to get joules; 1 dm³ = 10⁻³ m³ and 1 kPa = 10³ Pa.
  • Thinking isothermal means no heat transfer. Isothermal means constant temperature; heat can flow. Adiabatic means no heat transfer.
  • Thinking heat and temperature are the same. Q is energy transferred; temperature measures the particles' average kinetic energy.
  • Assuming ΔU = 0 for real gases or changes of state. That only holds for an ideal gas at constant temperature.

First law of thermodynamics questions with answers

1. A gas is given 900 J by heating and does 350 J of work. Find ΔU.
ΔU = 900 − 350 = 550 J
2. A gas at 2.0 × 10⁵ Pa expands by 0.50 × 10⁻³ m³ at constant pressure. Find the work done.
W = pΔV = 2.0 × 10⁵ × 0.50 × 10⁻³ = 100 J
3. A gas is heated at constant volume with 250 J. Find ΔU.
W = 0, so ΔU = Q = 250 J
4. In an isothermal expansion, an ideal gas does 60 J of work. How much heat does it absorb?
ΔU = 0, so Q = W = 60 J
5. What does the area of the loop on a pV diagram for a cycle represent?
The net work done by the gas in one cycle.

Practise thermal physics in a short timed paper

A-level Physics: Year 2 and University Physics: Year 1 each give you a short timed paper every day, with 8 questions worth 25 to 35 marks across the course, so gases and thermal physics turn up regularly but not in every paper.

Papers reset in

Common questions

What is the first law of thermodynamics?
Energy is conserved: the energy supplied to a system by heating equals its increase in internal energy plus the work it does, Q = ΔU + W.
What is the equation for the first law of thermodynamics?
In AQA A-level Physics, Q = ΔU + W, with W the work done by the system. Many chemistry books write ΔU = Q + W, with W the work done on the system.
What is internal energy?
The total kinetic and potential energy of the particles in a system. For an ideal gas it depends only on temperature.
What is the difference between isothermal and adiabatic?
Isothermal: the temperature stays constant (ΔU = 0 for an ideal gas). Adiabatic: no heat is transferred (Q = 0).
How do you calculate work done by a gas?
At constant pressure, W = pΔV. Otherwise, find the area under the curve on a pV diagram.
Is the first law of thermodynamics the same as conservation of energy?
Yes. It is conservation of energy applied to heating, work and internal energy.

Revision cards

Say the answer first, then flip the card to check it.

Where to go next

  • Solve it

    Gas Laws Calculator

    Apply Boyle's law, Charles's law and the ideal gas equation

    Open the tool
  • Test it

    A-level Physics: Year 2

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
  • Test it

    University Physics: Year 1

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
Read next
Physics · Thermal physics and matterInternal energy: definition, examples and how it changesWhat internal energy is, how heating and doing work change it, why temperature stays constant during a change of state, and the first law at A-level.