Maximum Work and Reversibility
Push a piston out too fast and you waste part of the gas's potential to do work as useless turbulence and heat. Push it out infinitely slowly, always balanced against the surroundings, and you extract every last joule the process can give. This gap between sloppy and careful expansion is not a minor engineering detail. It is a fundamental limit written into the structure of thermodynamics itself. This idea matters because it sets the theoretical ceiling for engines, batteries, and any device that converts disorganized molecular motion into organized mechanical work. Chemists use it to define exergy, to bound cell potentials, and to justify why free energy functions exist at all. This article proves that reversible work is the maximum work obtainable between two fixed states. You will see the mechanical argument first. Then you will see the general first-law derivation. Finally you will connect it to gas expansion, foreshadowing the isothermal ideal-gas case.
- For a given pair of initial and final states, no process delivers more work to the surroundings than a reversible one.
- Irreversible expansion against a fixed external pressure always does less work than reversible expansion against a continuously adjusted pressure.
- The proof rests on the first law: internal energy change is fixed by the endpoints, so more work out means more heat must flow in.
- The second law caps how much heat can flow in reversibly, which caps the work.
- This result underlies the definitions of Gibbs and Helmholtz free energy as "maximum non-expansion work" functions.
- Key idea: because depends only on the endpoints, any irreversible loss of work reappears as heat that a reversible path could have converted into more work instead.
Reversible work is maximum work because the internal energy drop between two fixed states is a constant budget; a reversible path converts the largest possible share of that budget into work by never squandering potential through unbalanced, dissipative driving forces.
The physical picture
Imagine a cylinder of gas expanding from volume to at constant temperature, prerequisite background: [Reversible vs Irreversible Processes]. There are two extreme ways to run this expansion. In the irreversible case, you suddenly drop the external pressure to some fixed low value and let the gas rush out against it. The gas does work , and because is smaller than the gas's own pressure for almost the whole expansion, this work is small. The mismatch between internal and external pressure is dissipated as unrecoverable turbulence and eventually appears as extra heat that must be dumped to the surroundings; no work is captured from it. In the reversible case, you decrease in infinitesimal steps, always keeping it equal to the gas pressure (or infinitesimally below it). At every stage the piston is in near-equilibrium. Work is done in the maximally efficient way, with no internal pressure gradients wasted as friction-like dissipation. Integrating using the actual equation of state gives a larger total than any single-step external pressure can match, because at every point along an expansion. The key geometric fact: on a pressure-volume diagram, the work done by the gas is the area under the path from to . The reversible path traces the true equation-of-state curve , which lies above any constant used in a single irreversible step. More area under the curve means more work extracted.
A second picture makes the energy bookkeeping explicit. Both paths start and end at the same and , so is identical. Whatever work is not extracted must instead leave (or fail to leave) as heat, since is fixed.
The core relations
where: is fixed by the initial and final states only; is heat absorbed by the system and is work done on the system (IUPAC sign convention).
where: for expansion () this integral is the work delivered to the surroundings.
where: is the system's own (equilibrium) pressure at each instant; the inequality holds for any expansion because is required for the gas to expand at all.
where: the maximum work obtainable in expansion between fixed endpoints is the reversible work.
The core relations
Goal. Show that for a system moving between the same initial state 1 and final state 2, no irreversible path can deliver more work to the surroundings than the reversible path connecting the same two states.
Step 1: fix the energy budget. Internal energy is a state function. For any process, reversible or not, connecting the same state 1 to the same state 2,
is exactly the same number regardless of path. This is the entire leverage of the argument: the total energy released or absorbed by the system is path-independent, even though how it is split between heat and work is not.
Step 2: write the first law for an arbitrary infinitesimal step. For expansion work only,
where is whatever external pressure is actually resisting the piston at that instant — it need not equal the gas's own pressure if the process is irreversible.
Step 3: compare to . For the gas to expand at all, the surroundings must be pushing back with ; otherwise the piston would not move outward. Equality holds only in the reversible limit, where the process proceeds through a continuous sequence of equilibrium states with . Any finite mismatch defines an irreversible process.
Step 4: integrate the work. The work done by the system on the surroundings over the whole path is
Since pointwise, and is the same equilibrium function of regardless of how fast we run the process (for a fixed -path or fixed intermediate states),
The right-hand side is attained only when throughout, i.e. only for the reversible path.
Step 5: translate into heat. Combine with Step 1. Since is fixed,
If is smaller (irreversible case), then to keep fixed, less heat need be supplied to the system — or equivalently, the "lost" work reappears as extra heat that must be rejected or is simply never converted. Either way, the reversible path is the unique path that maximizes the fraction of that appears as usable work rather than as heat exchanged with a single reservoir.
Step 6: generalize beyond gas expansion. The same argument holds for electrical work, e.g. a battery driving a current against an external voltage . Reversible discharge (near-zero current, back-EMF nearly balancing ) extracts the maximum electrical work,
while any finite-current (irreversible) discharge delivers less, the difference appearing as resistive (Joule) heating inside the cell.
Boxed result.
Worked examples
Example 1 — Foundational: single-step vs reversible isothermal expansion of an ideal gas. One mole of an ideal gas at expands from to . (a) Irreversible, single-step expansion against constant . Work done by the gas:
(b) Reversible isothermal expansion.
Check: , confirming the reversible path extracts more work for the identical endpoints, exactly as the theorem requires. Since for isothermal ideal-gas expansion, flows in, while flows in — the reversible path pulls in more heat from the surroundings and converts all of it to work, whereas the irreversible path pulls in less heat and still wastes potential relative to what was available.
Example 2 — Applied: multi-step irreversible expansion approaching the reversible limit, and electrochemical cross-check. Take the same gas and endpoints, but now split the expansion into two irreversible steps to see convergence toward the reversible value. Step (i): expand from to against constant equal to the gas pressure at :
Work in this step:
Step (ii): expand from to against constant equal to the gas pressure at :
Total two-step work:
Check against the theorem: (one step) (two steps) (infinite steps, reversible). Adding more steps monotonically approaches — but never exceeds — the reversible value, exactly the trend the maximum work theorem predicts. Electrochemical cross-check. A galvanic cell with (a Daniell-type cell) transfers mol electrons. Reversible (zero-current) electrical work:
If instead the cell is discharged rapidly through a low resistor so that the working voltage sags to (internal resistance dissipates the rest as heat),
which in magnitude () is again smaller than the reversible maximum () — the same theorem, a different kind of work.
Limiting cases & common traps
| Situation | What happens to work | Note |
|---|---|---|
| Reversible path, at every point | is maximum for expansion, minimum in magnitude for compression | Requires infinitely slow, quasi-static driving |
| Single-step irreversible expansion | Loss grows with the size of the pressure mismatch | |
| Free expansion, | The absolute floor; no work at all is recovered | |
| Compression (reversible vs irreversible) | Reversible work is the minimum work you must do | Sign flips: "maximum work theorem" becomes "minimum work of compression" |
| Increasing the number of irreversible steps | increases monotonically toward | Demonstrated numerically above (2.00 to 2.07 to 2.72 kJ) |
The chemist behind it
The maximum work theorem is inseparable from the work of Sadi Carnot, who first showed that an idealized, frictionless, quasi-static heat engine sets an upper bound on convertible work between two thermal reservoirs. Rudolf Clausius and later Josiah Willard Gibbs translated this mechanical insight into the chemical thermodynamics used today, with Gibbs explicitly defining what we now call the Gibbs energy as the maximum non-expansion work obtainable at constant temperature and pressure — a direct descendant of the argument given here.
Origins · 1 minJosiah Willard Gibbs and how this was discovered
Ask the tutor: Want to see how this same maximum-work argument leads directly to the formula for entropy change in a reversible isothermal expansion?
Why is reversible work called "maximum" for expansion but "minimum" for compression?
The sign of flips with the direction of the process while the inequality for expansion becomes for compression. In expansion you want to extract as much work as possible, and the reversible path gives the largest magnitude. In compression you must supply work, and the reversible path requires you to supply the least. Both statements are the same underlying inequality viewed from different physical goals.
Does the maximum work theorem require the process to be isothermal?
No. The proof in the derivation only assumes that pointwise during expansion; it does not fix temperature. Isothermal expansion is simply the most common textbook case because it gives a clean closed-form integral, . The theorem applies equally to adiabatic, non-isothermal, or electrochemical processes, as shown by the cell example above.
How does this connect to entropy and the second law?
Reversibility is defined by zero net entropy production in the universe. The maximum work theorem is a mechanical restatement of that same idea: any dissipative (entropy-generating) step converts potentially useful work into heat that cannot be fully recovered. The link becomes quantitative once you define Gibbs and Helmholtz energies, which express maximum work directly in terms of entropy and enthalpy or internal energy.
Is reversible work actually achievable in a real experiment?
Strictly, no — true reversibility requires infinitely slow driving with zero net force imbalance, which takes infinite time. Real processes always dissipate some potential as heat. The reversible value is a theoretical limit, useful the same way "frictionless" is useful in mechanics: it defines the best possible performance against which real, finite-rate processes are judged.
What comes next after this result?
The natural next step is to compute the reversible work explicitly for an ideal gas undergoing isothermal expansion, since that is the cleanest case where the integral has a simple closed form. That calculation, and its link to and entropy, is developed in the discussion of isothermal expansion of an ideal gas.