Lessons · thermo
Constant-pressure work: the area is a rectangle
Regime 3 — an algebra-only domain, but the calculus underpinning is clean and worth seeing: the work is the area under the curve, ∫P dV. SymPy proves that area is exactly the memorized result — and that the constant-pressure case collapses to the rectangle.
A gas expands at constant pressure kPa from L to L (a piston under a fixed load). How much work does it do? Because the pressure never changes, the – curve is a horizontal line and the work is the rectangular area under it: . This is the simplest integral in the course — a constant integrand — so the memorized algebra formula and the calculus area are literally the same. Drag to scale the rectangle; sweep the cursor to watch the work accumulate as a straight line.
Work done by the gas is the integral of pressure over volume — the area under the – curve, for any process. The shape of that area depends on how varies as the gas expands.
check ; check ; collapse the constant-integrand integral to the rectangle
- ✓ The work's slope is the pressure: — the area's rate of growth is the (constant) height. [structural]
- ✓ The accumulated work is the area: . [structural]
- ✓ A constant integrand makes the integral a rectangle: — the algebra formula is the integral already evaluated. [structural]
Dimensional homogeneity: checked by SymPy (holds).
No — work is the area under the – curve, and the path sets the area. At constant pressure the area is the full rectangle . If instead the gas expands isothermally or adiabatically, the pressure falls as it expands, so the area under the curve is smaller and the work is less. Same , lower average pressure, less work. The isobaric rectangle is the largest of the three for a given starting pressure.
Modeling assumptions — author-asserted, disclosed not discharged
- The pressure is held constant throughout the expansion (an isobaric process — e.g. a piston free to move under a fixed external load).
- Work is the area under the P–V curve, , with no friction or dissipation.
The P–V graph, fully annotated
A static rendering (Matplotlib): the shaded area under P is the accumulated integral W, and the slope of W is P. The interactive version with a draggable cursor is in the Graph tab above.
Formulas used
Hover a formula to preview its reference entry; click to open it in the reference (or the concept graph):
- Isobaric work (constant pressure)
Valid when: constant pressure (isobaric process); work is the area under the P–V curve, W = ∫P dV — here a rectangle
Open in reference →
- Ideal-gas law (pressure form)
Valid when: ideal gas (no intermolecular forces, point particles)
Open in reference →
- First law of thermodynamics
Valid when: energy conservation for a closed system; sign convention: Q added to the gas positive, W done by the gas positive
Open in reference →