Skip to content
PhysicsPhy
Start learning

Physics · Lesson 6.5

Work Done in Volume Changes

The piston that feeds or eats work: W = ∫P dV, the sign convention, and the area on a PV diagram.

Core syllabus1 linked experiment
01

Learning objectives

By the end of this lesson, you should be able to:

  • Compute work at constant pressure W = PΔV
  • Interpret work as area under the PV curve for any path
  • Apply the chemistry-versus-physics sign convention consciously
  • Explain quasi-static (slow) expansion
02

Lesson

Steam shovels, car engines and bicycle pumps all extract the same trick from a gas: let its pressure push a moving wall. When a gas expands against a piston, the pressure force acts through a distance and delivers mechanical work; when the piston drives inward, the gas is forced to accept work back. Thermodynamic work is thus not an abstraction — it is the area under a curve you can literally shade with a pencil.

This topic defines the work of volume change, W = ∫P dV, computes it for constant-pressure and curved paths, and fixes the sign conventions that chemistry and physics stubbornly disagree about. The laboratory turns the integral into a picture: as you move the piston, the shaded region under the P–V trace grows, and its area is accumulated numerically as the work done.

From force-times-distance to P-times-ΔV

A gas at pressure P pushes a piston of area A with force F = P A. If the piston advances a distance d, the work delivered is W = F d = P A d = P ΔV, since A d is exactly the volume swept out. At constant pressure the formula is exact and effortless: expand 2.0 × 10−3 m³ at 1.0 × 105 Pa and the gas does 200 J of work on the piston.

Note the quiet assumption: the gas pressure must be well-defined and equal to the resisting pressure throughout. That is the quasi-static condition — the piston moves slowly enough that the gas is always in equilibrium, never turbulent, never racked by pressure waves. Real engines only approximate it, but every clean thermodynamic calculation lives inside this limit.

Curved paths: work is the area under the P–V curve

If the pressure changes during the expansion (as it does whenever temperature or volume shifts matter), slice the process into small steps: each contributes P dV, and summing gives W = ∫ P dV — the area under the pressure-versus-volume curve. This geometric reading is the great convenience of P–V diagrams: to compare the work of two routes between the same states, just compare the areas under their curves. The isothermal expansion of one mole from 24.9 L to twice that volume at 300 K delivers W = nRT ln(V₂/V₁) = 8.314 × 300 × 0.693 = 1729 J — visibly more than a constant-pressure path at the initial pressure would give over the same span, because the isotherm bulges above it.

The area rule also settles cycles before any algebra: a closed loop on the P–V diagram has work equal to the area enclosed, taken positive when the loop runs clockwise. That number is the net output of every heat engine ever built.

Sign conventions: physics versus chemistry

Physics convention (used throughout Nerdlyy): W is the work done by the gas. Expansion → ΔV > 0 → W > 0, energy leaves the gas as mechanical work. Compression → W < 0, work is done on the gas. Chemistry convention: w is the work done on the system, the exact opposite sign. The same physical compression is W = −200 J to a physicist and w = +200 J to a chemist.

Neither is wrong; mixing them silently is. The safe habit is to write the convention next to your first equation — ΔU = Q − W (physics) or ΔU = Q + w (chemistry) — and never switch mid-problem.

Zero-work cases and the meaning of path

Two boundaries of the formula are worth memorising. A free expansion into vacuum — a wall removed, nothing to push — does no work at all, because there is no resisting pressure: W = 0 despite a large ΔV. And a volume held fixed (isochoric process) does no work because dV = 0: the area under a vertical line is zero.

Because different curves between the same endpoints enclose different areas, work is a path quantity, not a state function — a gas can be taken from one state to another along a high-work route or a low-work route with the same endpoints. This fact, paired with energy conservation, is the seed of the first law in the next topic.

03

Worked example

A gas expands quasi-statically at a constant pressure of 1.0 × 105 Pa from 1.0 × 10−3 m³ to 3.0 × 10−3 m³. (a) How much work does the gas do? (b) The gas is then compressed back to the original volume along a curved path whose average pressure is 1.4 × 105 Pa. What is the net work over the round trip?

Step 1 — (a) principle: constant P, so W = P ΔV.

Step 2 — (a) substitution: W = 1.0 × 105 × (3.0 − 1.0) × 10−3 = 1.0 × 105 × 2.0 × 10−3 = 200 J.

Step 3 — (b) compression: Wback = Pavg ΔV = 1.4 × 105 × (−2.0 × 10−3) = −280 J.

Step 4 — net: Wnet = 200 + (−280) = −80 J. The loop is travelled anticlockwise, so net work is done on the gas.

Answer: the expansion delivers 200 J; the round trip nets −80 J (80 J of work consumed by the gas), illustrating that work depends on the path, not just the endpoints.

04

Equations

Constant-pressure workW = P ΔV (by the gas)
GeneralW = ∫ P dV = area under PV curve
05

Key points

  • Constant-pressure work: W = P ΔV, exactly the area of the rectangle under the path.
  • General quasi-static work: W = ∫P dV = area under the P–V curve.
  • Physics convention: W is work done by the gas; expansion W > 0, compression W < 0. Chemistry reverses the sign.
  • Quasi-static means slow enough that P is well-defined at every instant.
  • Free expansion into vacuum does zero work; isochoric (constant-V) processes do zero work.
  • Work is path-dependent: same endpoints, different curves, different areas.
06

Common misconceptions

Common mistake

Work depends only on the initial and final states.

Correct understanding

Only the area under the whole path counts. Two processes joining the same states can enclose very different areas — the lab lets you compare a constant-pressure route and an isothermal route between identical endpoints.

Common mistake

A gas expanding into vacuum does work because it moves.

Correct understanding

Work requires a force to act against. Into vacuum there is no resisting pressure, so W = 0. The gas’s energy stays put (for an ideal gas, its temperature does not even change).

Common mistake

Compression means the work is zero or negative so it "doesn’t count".

Correct understanding

It counts with a minus sign: W = −280 J of by-the-gas work is +280 J of on-the-gas work. The sign carries the direction of energy flow, and dropping it destroys the bookkeeping.

07

Check your understanding

1. A gas at 1.0 × 105 Pa expands by 2.0 × 10−3 m³ at constant pressure. The work done by the gas is

2. On a P–V diagram, the work of any quasi-static process equals

3. In the physics sign convention, compressing a gas gives

08

Frequently asked questions

Why does the lab insist on "quasi-static"?

If the piston jerks, the gas near it is briefly at a different pressure from the far side, and no single P exists to integrate. Moving slowly keeps the gas uniform — the price is that truly quasi-static processes take infinite time, so real machines push as gently as they can afford.

How can the isothermal work be logarithmic when the rectangle is so simple?

Along an isotherm, P = nRT/V falls as V grows, so the slices P dV shrink. Integrating 1/V produces the natural logarithm: W = nRT ln(V₂/V₁). Doubling the volume at 300 K for one mole gives 8.314 × 300 × ln 2 ≈ 1729 J.

Is the area rule still true for a closed cycle?

Yes, with a bonus: the net work of a cycle is the area enclosed by the loop — positive clockwise, negative anticlockwise. This single geometric fact is the design target of every engine.

NERDLYY · FEEDBACK

Help shape Nerdlyy

Your feedback goes directly to the team. We read every submission.

No reply needed — you can send feedback without sharing contact details.