Pressure × movement
For a slow, frictionless piston, a small volume change does work dW = p dV. Adding each small step gives the area under a P–V path. This rectangular loop produces a net W = (pₕ − pₗ)(Vₕ − Vₗ).
The pressure–volume engine workshop
A working engine, drawn with geometry. Move its four corners, follow the piston and discover how an enclosed area becomes useful work.
Drag points A–D to resize the engine. The copper shape is its work per cycle. Each corner can also be moved with the arrow keys.
The piston height reflects gas volume. Heat arrows follow the calculated energy transfer, not a decorative animation.
Both traces are calculated from the actual cycle. Select a leg above or scrub the timeline to locate its position here.
Numerical calculations, scientific explanations and real engine-design missions. All questions are generated and checked against the same scientific model.
Progress through your current challenge set.
For the live build missions, you must alter the actual engine. Checking your answer reads its current measurements.
For a slow, frictionless piston, a small volume change does work dW = p dV. Adding each small step gives the area under a P–V path. This rectangular loop produces a net W = (pₕ − pₗ)(Vₕ − Vₗ).
For one mole of ideal monatomic helium, pV = nRT and U = 3pV/2. The first law Q = ΔU + W gives the heat transferred on each step. After a full cycle the gas returns to its starting internal energy.
The engine absorbs heat on two legs and releases heat on the other two. Its thermal efficiency is η = Wₙₑₜ / Qᵢₙ. Raising the top pressure or increasing piston travel increases work, but can also increase peak temperature.
One mole of ideal, monatomic helium; reversible, quasistatic constant-pressure and constant-volume legs; no leakage, friction, dead volume, heat loss to the casing or change in gas amount. Temperature follows the ideal-gas equation, not an arbitrary animation. Real engines have timing, finite heat-transfer rates and losses, so this is a thermodynamic teaching model, not a proposed practical engine design.
Where it is used: P–V diagrams help engineers analyse steam engines, gas turbines, compressors and heat pumps. Actual engine cycles are often curved rather than rectangular.