9478 / 2027
Thermodynamic Systems overview

Lesson 4 of 9

Work done by a gas

  • I can tell work done by a gas from work done on a gas, and calculate the work done by a gas expanding against a constant external pressure: W = p Delta V.Syllabus

    Syllabus 9478, 13(d). Tell work done by a gas from work done on a gas, and calculate the work done by a gas expanding against a constant external pressure: W = p Delta V.

  • I can recall and apply the first law of thermodynamics, Delta U = Q + W, with W the work done on the system.Syllabus

    Syllabus 9478, 13(f). Recall and apply the first law of thermodynamics, Delta U = Q + W, with W the work done on the system.

A gas that expands against a constant external pressure p does work W = pΔV on its surroundings. The work done on the gas is then -pΔV.

Where W = pΔV comes from

A gas in a cylinder pushes a piston of area A against a constant external pressure p. The force on the piston is pA. If the piston moves out a distance Δx, the volume grows by ΔV = AΔx.

Work done by the gas = force × distance = pAΔx = pΔV
Work done on the gas = -pΔV
  • Expansion: ΔV is positive. The gas does work, so the work done on it is negative.
  • Compression: ΔV is negative. Work is done on the gas, so the work done on it is positive.

On a graph of pressure against volume, the work is the area under the line. A gas that expands into a vacuum pushes against no pressure, so it does no work.

Worked example

An expanding gas

A monatomic ideal gas expands slowly against a constant 1.20 × 105 Pa. Its volume grows from 2.00 × 10-3 m3 to 3.50 × 10-3 m3. At the same time it is heated with 450 J.

A gas expands and pushes the piston out

The piston moves out slowly, with no friction, against a constant external pressure of 1.20 × 105 Pa.

Piston area times distance moved

The piston moves out 0.150 m, increasing the volume by 0.00150 cubic metresA cylinder with a piston of area 0.0100 square metres. The gas column grows from 0.200 m to 0.350 m long, so the piston moves out 0.150 m against the outside pressure.GasΔx = +0.150 mFext = 1200 N0.200 m0.350 mArea A = 0.0100 m2

Dashed: the piston at the start. Solid: at the end. ΔV = 0.0100 × 0.150 = 1.50 × 10-3 m3. Blue is the movement; purple is the force from outside.

The area under the p-V graph is the work

Expanding from 2.00 to 3.50 litres at constant pressure does 180 joules of workPressure against volume. The gas stays at 1.20 times 10 to the 5 pascals while its volume goes from 2.00 to 3.50 times 10 to the minus 3 cubic metres. The shaded rectangle under this line is 180 joules.0.01.02.03.54.00.00.40.81.21.6180 Jp / 105 PaV / 10-3 m3

The gas does 180 J of work, so Won = -180 J. With Q = +450 J, ΔU = 450 - 180 = 270 J.

The piston, area 0.0100 m2, moves out 0.150 m. The area under the p-V line is the 180 J of work done by the gas.
ΔV = 3.50 × 10-3 - 2.00 × 10-3 = 1.50 × 10-3 m3
Work done by the gas = 1.20 × 105 × 1.50 × 10-3 = 180 J
W = -180 J
ΔU = Q + W = 450 + (-180) = +270 J

The 450 J supplied goes two ways: 180 J leaves as work and 270 J stays as internal energy. As a check, U = (3/2)pV for this gas. That gives 360 J at the start and 630 J at the end: a rise of 270 J. If the gas starts at 300 K, it ends at 300 × 3.50/2.00 = 525 K.

Volumes are often given in litres. Change them to cubic metres before using pΔV: 1 litre = 1.0 × 10-3 m3, so 2.00 litres is 2.00 × 10-3 m3.

Try it step by step

Work it out in steps: Work done on the gas W = -p x (change in V) in J, then Increase in internal energy = Q + W in J.

  1. Problem 1. A gas absorbs 500 J of heat and expands by 2.0 x 10-3 m3 against a constant pressure of 1.0 x 105 Pa. Find the work done on the gas and the change in its internal energy.
  2. Problem 2. A gas absorbs 800 J of heat and expands by 5.0 x 10-3 m3 against a constant pressure of 1.0 x 105 Pa. Find the work done on the gas and the change in its internal energy.
  3. Problem 3. A gas loses 150 J of heat while it is compressed by 1.5 x 10-3 m3 at a constant pressure of 2.0 x 105 Pa. Find the work done on the gas and the change in its internal energy.
Show the answer

Problem 1.

Work done on the gas W = -p x (change in V) in J: W = -1.0 x 105 x 2.0 x 10-3 = -200 J (the gas does 200 J of work on the surroundings)

Increase in internal energy = Q + W in J: change in U = Q + W = 500 + (-200) = 300 J

Problem 2.

Work done on the gas W = -p x (change in V) in J: W = -1.0 x 105 x 5.0 x 10-3 = -500 J

Increase in internal energy = Q + W in J: change in U = 800 + (-500) = 300 J

Problem 3.

Work done on the gas W = -p x (change in V) in J: W = -2.0 x 105 x (-1.5 x 10-3) = +300 J (work is done on the gas)

Increase in internal energy = Q + W in J: change in U = (-150) + 300 = 150 J

Check your understanding

A gas expands from 2.0 litres to 5.0 litres against a constant pressure of 1.0 x 105 Pa. What is the work done on the gas?

  1. +300 J
  2. -300 J
  3. -3.0 x 105 J
Show the answer

-300 J

delta V = 3.0 litres = 3.0 x 10-3 m3, so the gas does p delta V = 1.0 x 105 x 3.0 x 10-3 = 300 J of work. The work done on it is -300 J.

When asked for the work done by an expanding gas, give a positive value. A negative answer there loses the mark.