Work by a Gas

Work by a Gas

Updated Mar 26, 2026

In the previous section, you learned to read PV diagrams. Now we put them to work — literally. The area under a process curve on a PV diagram tells you the work done. And the direction of a cycle tells you whether you’re looking at an engine (which makes useful work) or a refrigerator (which uses work to move heat).

This is one of the most underrated MCAT shortcuts: many work questions can be answered just by eyeballing the area on a PV diagram — no calculation required.

Work as Area Under the Curve

The fundamental relationship: work done by a gas equals the area under the process path on a PV diagram. For an isobaric (constant pressure) process, this simplifies beautifully:

For non-isobaric processes, the area under the curve still equals the work, but you may need to estimate the area geometrically (the MCAT usually gives you enough information to do this, or just asks you to compare areas).

Sign Conventions for Work

The sign of the work tells you the direction of energy flow:

ScenarioVolume changeW (by gas)Energy flow
Gas expandsΔV > 0PositiveEnergy leaves the gas
Gas is compressedΔV < 0NegativeEnergy enters the gas
No volume changeΔV = 0ZeroNo PV work

Thermodynamic Cycles

A cycle is a process that returns to its starting state. On a PV diagram, it appears as a closed loop. Since the system returns to its original state, ΔU = 0 for the complete cycle. By the first law:

ΔU = Q - W = 0, so QnetQ_{\text{net}} = WnetW_{\text{net}} for any complete cycle.

The direction of the cycle matters enormously:

Clockwise Cycle = Heat Engine

A clockwise loop on a PV diagram means the expansion (rightward) happens at higher pressure than the compression (leftward). The expansion does more work than the compression takes, so the net work is positive - the system outputs useful work.

This is a heat engine: it takes in heat from a hot source, converts some to work, and dumps the rest into a cold sink.

Counterclockwise Cycle = Refrigerator/Heat Pump

A counterclockwise loop means the compression happens at higher pressure than the expansion. More work goes into the system than comes out, so the net work is negative - work is done on the system.

This is a refrigerator: it uses work input to move heat from cold to hot (the opposite of the natural direction).

Calculating Work for Each Process Type

ProcessWork formulaArea
IsobaricW = PΔVRectangle
IsovolumetricW = 0No area (vertical line)
IsothermalW = nRT ln(V2V_2/V1V_1)Area under hyperbola
AdiabaticW = -ΔUArea under steep curve

Worked Example

A gas undergoes an isobaric expansion at P = 2 x 10510^5 Pa from V1V_1 = 0.01 m³ to V2V_2 = 0.03 m³.

W = PΔV = (2 x 10510^5)(0.03 - 0.01) = (2 x 10510^5)(0.02) = 4000 J

The gas does 4000 J of work on the surroundings by expanding.

A gas completes a clockwise cycle on a PV diagram. Is ΔU positive, negative, or zero? Is net work positive or negative?
Click to reveal answer
ΔU = 0; net work is positive. Any complete cycle returns to the starting state, so ΔU = 0 (state function). A clockwise cycle has positive net work because the expansion at higher pressure does more work than the compression at lower pressure takes back. The system acts as a heat engine.
A gas expands isobarically at 1 x 10510^5 Pa from 2 L to 5 L. How much work does the gas do?
Click to reveal answer
W = 300 J. W = PΔV = (1 x 10510^5 Pa)(5 x 10310^{-3} - 2 x 10310^{-3} m³) = (1 x 10510^5)(3 x 10310^{-3}) = 300 J. Remember to convert liters to m³: 1 L = 10310^{-3} m³.