Home/Laboratories/PV Work Lab
Interactive experiment — complete Chapter 6 · Heat and Thermodynamics

PV Work Lab

Move a piston slowly at any pressure and watch the work appear as the growing area under the PV curve.

Learn the physics first

Push a piston in and your arm does work; let the gas push it out and the gas pays you back. The force on a piston of area A at pressure P is PA, so a small shift dV = A·dx costs dW = P·dV — the pressure times the volume change, no area left in the formula at all. For a whole process you integrate: W = ∫P dV, which on a PV diagram is literally the area under the curve. At constant pressure the integral collapses to W = PΔV: expand by 2.0 × 10⁻³ m³ at 1.0 × 10⁵ Pa and the gas delivers 200 J; compress by 1.0 × 10⁻³ m³ at the same pressure and the ledger reads −100 J — work done on the gas.

Two habits keep this topic honest. First, the process must be quasi-static — slow enough that the gas pressure is defined and equal to the controlled load at every instant; a sudden yank has no single P to integrate. Second, mind the sign convention: physics counts W = +∫P dV as work done BY the gas (positive on expansion), while chemistry’s ΔU = Q + W books the same event with the opposite sign. This lab displays the physics convention and says so. And because work is an area, it is a path quantity: expand at high pressure and compress back at low pressure and the enclosed loop leaves net positive work — the beating heart of every heat engine.

Constant pressureW = P ΔV  (J = Pa × m³)
Any quasi-static pathW = ∫ P dV = area under the PV curve
Piecewise-linear pathW = Σ ½ (Pᵢ + Pᵢ₊₁) (Vᵢ₊₁ − Vᵢ)  (trapezoid)
Sign (physics)W > 0 expansion (by the gas) · W < 0 compression (on the gas)

Model assumptions. The piston is frictionless and massless and moves slowly enough that the gas pressure always equals the controlled load; vertical pressure changes (re-loading the piston at fixed volume) transfer no work. The PV plot shades each trapezoid segment by the sign of its work — coral for the gas delivering, blue for the gas absorbing.

Experiment

Ready
drag the piston grip — or use the volume slider below

PV diagram

shaded area = accumulated work

Controls

Set a pressure, then drag the piston (or sweep the target volume) — every stroke paints its trapezoid on the PV diagram. Changing the pressure between strokes makes the path climb or drop.

Live measurements

Pressure P
—
Volume V
—
ΔV from start
—
Work W = ∫P dV
—

Try this. Expand 2.0 L → 4.0 L at 1.0 × 10⁵ Pa (W = +200 J), drop the load to 0.5 × 10⁵ Pa, compress back to 2.0 L (W = −100 J) — the loop nets +100 J, the shaded area that survives. Now run the loop in the reverse order and watch the sign flip. How big a positive loop can you enclose with the sliders given?

Understand

Predict before you run

The piston expands quasi-statically by ΔV = 2.0 × 10⁻³ m³ at a constant pressure of 1.0 × 10⁵ Pa. Predict the work done by the gas.

J

Experiment completion

Verify the constant-P strokes, build a positive and a negative loop, check the shaded area against the ledger, then pass the quiz.

Where to go next