core24 min studyLesson 312 in Physics

Quasistatic work and path dependence

Calculate pressure-volume work with a work-on convention and distinguish equilibrium paths from reversible processes.

On this page

What you’ll understand

  • Use the sign of work done on a compressible system consistently.
  • Calculate different work values between the same endpoints.
  • Explain why a slow process can still be irreversible.

An endpoint specifies where a thermodynamic process ends, but it does not specify how much mechanical work crosses the boundary. A piston can expand against a large resisting pressure or a small one, transferring different energies even when the final volume is the same. We adopt heat into the system and work done on the system as positive throughout this module. That choice makes compression work positive and expansion work negative, allowing every later energy and entropy calculation to use one consistent accounting convention.

Boundary force determines actual work

For a piston with external resisting pressure pextp_{\mathrm{ext}}, the pressure-volume work done on the gas is minus the integral of external pressure over volume change. Expansion has positive volume change and negative work on the gas; compression has the opposite signs. This expression assumes a specified mechanical boundary and separates other work channels such as electrical stirring. When piston kinetic energy or friction in its surroundings matters, identify which body receives each contribution before applying a gas-only energy balance.

For a mechanically reversible quasistatic piston, the pressure difference needed to move it tends to zero and gas pressure can replace external pressure in the limiting integral. A rapid expansion may have no well-defined uniform gas pressure during the motion. Drawing an equilibrium curve between its endpoints does not turn that curve into the actual trajectory. In free expansion into vacuum, external pressure and boundary work vanish even though an ideal gas eventually occupies a larger volume.

δWon=−pext dV,Won=−∫ViVfpext dV,Wby=−Won\delta W_{\mathrm{on}}=-p_{\mathrm{ext}}\,dV,\qquad W_{\mathrm{on}}=-\int_{V_i}^{V_f}p_{\mathrm{ext}}\,dV,\qquad W_{\mathrm{by}}=-W_{\mathrm{on}}
Work and heat are energy transfers in joules. The delta notation denotes an inexact path increment; p external is in pascals and volume in cubic metres.↔ Scroll wide equations horizontally.

A curve determines an area, not a state function

In a quasistatic pressure-volume diagram the work by the gas is the signed area under its path. If two routes connect the same initial and final states, their work difference equals the signed enclosed area. A constant-volume segment contributes no pressure-volume work, although pressure and temperature can change substantially along it. An expansion performed at higher pressure transfers more work outward than the same volume change at lower pressure. This is a geometrical explanation of path dependence.

The notation δW\delta W deliberately differs from the exact differential dUdU of internal energy. Integrating dUdU around a closed equilibrium cycle gives zero, but integrating work need not. One cannot define “work contained in the gas” by assigning a W value to each state. The same objection applies to heat: both describe transfers during a specified process. Their sum can nevertheless equal a state-function change because the first law constrains their combined accounting.

∮dU=0,∮δWon=−∮p dV,δWon≠d(−pV)=−p dV−V dp\oint dU=0,\qquad \oint\delta W_{\mathrm{on}}=-\oint p\,dV,\qquad \delta W_{\mathrm{on}}\ne d(-pV)=-p\,dV-V\,dp
The cyclic work expression uses a reversible quasistatic mechanical path. The extra V dp term shows why minus pressure times volume is not a state function whose differential is work.↔ Scroll wide equations horizontally.

Slow motion does not eliminate dissipation

Quasistatic means the system passes sufficiently near equilibrium that its state coordinates remain meaningful. Reversible additionally means the complete process can be undone with no residual change in the system and surroundings. Dry friction can dissipate energy even for a slowly moving piston. Heat transfer across a finite temperature difference also produces irreversibility, even when each large body stays internally equilibrated. Merely allowing more time does not remove a persistent force or temperature gap.

A reversible idealization requires eliminating those dissipative mechanisms and driving through infinitesimal imbalances. It provides a useful limiting path and a benchmark for work, not a claim that practical apparatus can complete a finite cycle at finite rate with no losses. When comparing protocols, first specify endpoints, then the mechanical path and contacts, and finally which irreversibilities remain. This order prevents “quasistatic” from being used as permission to apply every reversible heat or entropy formula.

Two routes across a pressure-volume rectangle

Connect equilibrium states A=(100 kPa,1 L)A=(100\,\mathrm{kPa},1\,\mathrm L) and B=(200 kPa,3 L)B=(200\,\mathrm{kPa},3\,\mathrm L) using ideal quasistatic segments. Route one changes pressure first at fixed volume, then expands. Route two expands first, then changes pressure. Find work on the gas for both routes.

  1. Both vertical constant-volume segments have zero pressure-volume work. The expansion volume change is 2 L, or 0.002 m30.002\,\mathrm{m^3}.

  2. Route one expands at 200 kPa, giving Won,1=−200000(0.002)=−400 JW_{\mathrm{on},1}=-200000(0.002)=-400\,\mathrm J. The minus sign denotes work leaving the gas.

  3. Route two expands at 100 kPa, giving Won,2=−200 JW_{\mathrm{on},2}=-200\,\mathrm J. Their difference is −200 J, equal in magnitude to the rectangle area of 100 kPa times 2 L.

The result

Identical endpoints allow work-on values of −400 J and −200 J. A state-function energy change can be the same while the heat required along each route differs.

Explore the model

Interactive lab

Interactive lab · function

Area depends on the chosen curve

Use the parabola’s signed area as an integration analogy. Reset, set Coefficient a = 1 and Position x = 1, and predict area 1/3. For an independent run Reset, set a = 2 and x = 1, and predict area 2/3 at the same endpoint coordinate.

Area depends on the chosen curveThis lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Current readings: y at chosen x: 0.608; Tangent slope · 2ax: 1.35; Signed area · ax³/3: 0.182. All parameters are adjustable with the labeled controls below.−2.4−1.201.22.4−9−4.504.59xy(x, ax²)
y = ax²TangentSigned integral
y at chosen x
0.608
Tangent slope · 2ax
1.35
Signed area · ax³/3
0.182
t = 0 s

This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forThe instrument integrates only y = a x² from zero to x. It does not display a thermodynamic pressure-volume cycle, friction, or actual gas work.

Check your understanding

Which statement distinguishes quasistatic from reversible correctly?

Try it yourself

A gas is compressed from 5 L to 2 L against a constant external pressure of 150 kPa. Find work on the gas. Then compare with free expansion from 2 L to 5 L into vacuum.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Use the signed volume change and the actual external pressure for each process.

Compare with the solution

Compression has ΔV=−0.003 m3\Delta V=-0.003\,\mathrm{m^3}, so work on the gas is −150000(−0.003)=+450 J-150000(-0.003)=+450\,\mathrm J. Free expansion has zero external pressure and therefore zero boundary work, despite the positive volume change. Reversing just the endpoint volumes does not reverse a process unless its boundary forces and all other exchanges are reversed as well.

Take it with you

  • Expansion work is negative in the work-on convention.
  • Pressure-volume work depends on the path and is not stored as a state property.
  • Quasistatic equilibrium tracking is weaker than reversibility of system and surroundings.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.