Topic 1

The first law and expansion work

Before you start

The **system** is the part we study, such as a gas in a cylinder; everything else is the **surroundings**. **Internal energy** U is all the energy stored in the system. Only its change, ΔU, can be measured.

Energy can enter or leave a system as heat q or as work w. The first law of thermodynamics says energy is not created or destroyed, so the change in internal energy is what went in as heat plus what went in as work.

ΔU = q + w

q and w are positive when heat or work goes into the system, negative when it comes out

When a gas expands against a steady outside pressure p, it pushes the surroundings back and does work on them. That work leaves the system, so w is negative.

w = −p ΔV

p is the external pressure; ΔV is final volume minus initial volume

Predict first

A gas expands from 2 L to 7 L against a constant external pressure of 2 bar. What is the work done on the gas?

Set the outside pressure and the final volume

01230246810external pressure (bar)volume (L)
ΔV
4 L
w = −p ΔV
−4 L bar
in joules (× 100)
−400 J

The work is the shaded area under the pressure line. Set the pressure to 0 for expansion into a vacuum: no area, no work.

Two special cases come up often. Expansion into a vacuum (free expansion) has p = 0, so no work is done. For an ideal gas at constant temperature ΔU = 0, so whatever work it does is matched by heat taken in: q = −w.

w = −2.303 n R T log(V₂ / V₁)

reversible expansion of n mol of ideal gas at constant temperature T, from V₁ to V₂