2.5.4 · D1Thermodynamics (Chemical)

Foundations — Work in expansion - reversible isothermal w = −nRT ln(V₂ - V₁), irreversible w = −P_ext ΔV

2,132 words10 min readBack to topic

Everything in the parent note — , , , the integral, the logarithm — is just machinery for measuring that swept area. Below we build each piece from nothing, in an order where every new symbol leans only on ones already explained.


1. Volume — the space the gas fills

Picture it: a gas trapped in a cylinder by a movable piston (a sliding lid). If the piston slides out, the gas has more room — grows. If it slides in, shrinks.

Figure — Work in expansion -  reversible isothermal w = −nRT ln(V₂ - V₁), irreversible w = −P_ext ΔV

Why the topic needs it: "Expansion" means increases. Every formula on the parent page tracks how something behaves as changes, so is our fundamental moving part.

  • ::: the starting volume (before expansion)
  • ::: the final volume (after expansion)
  • ::: the change in volume, defined as

2. Pressure — how hard the gas pushes

Picture it: the gas molecules constantly bang against the piston. Add up all those tiny hits over the piston's area and you get one steady outward push — that push, per square metre, is the pressure.

The topic uses two different pressures, and confusing them is the #1 error:

Why two? Whether the piston moves — and how much work is done — is decided by the contest between these two. This tug-of-war picture is the heart of "reversible vs irreversible":

Figure — Work in expansion -  reversible isothermal w = −nRT ln(V₂ - V₁), irreversible w = −P_ext ΔV
  • If is only a hair above ::: expansion is slow and gentle — reversible
  • If is far above ::: expansion is a sudden burst — irreversible

3. The infinitesimal and the integral

Figure — Work in expansion -  reversible isothermal w = −nRT ln(V₂ - V₁), irreversible w = −P_ext ΔV

Why this tool and not plain multiplication? Multiplication () gives the area of a rectangle — correct only when pressure is a flat horizontal line (constant , the irreversible case). When pressure follows a curve (the reversible case, where tracks the falling ), you need the integral to get the area under that curve. This is exactly why the two cases have different formulas.


4. Work — energy delivered by pushing

Now that and are defined, we can write the work formula honestly.

Picture it — where the area comes from: the tiny force on the piston is (pressure) × (piston area). When the piston creeps out by a tiny slice, the volume grows by a tiny , and the little bit of work is — exactly a thin sliver of area under a pressure-vs-volume graph. Summing all slivers from to gives the total:

  • Gas expands () ::: (system loses energy doing work)
  • Gas compressed () ::: (surroundings put energy into the gas)

We link this convention and the energy balance it feeds to the First Law of Thermodynamics.


5. The ideal gas law

Why the topic needs it: in a reversible expansion we set , and the ideal gas law lets us write that pressure as . That substitution is the only reason a logarithm appears in . Deep dive: Ideal Gas Law.

  • Rearranged for pressure ::: — pressure and volume are inversely linked at fixed
  • On a -vs- graph at fixed ::: this traces a smooth downward-sloping curve (a hyperbola)

6. Isothermal — temperature held constant

Why the topic needs it: keeping constant is what lets us pull outside the integral as a constant, turning a hard integral into . See Isothermal Process.


7. The natural logarithm

This second rule collapses into — the compact form of the reversible result.

  • If (expansion) ::: , so
  • If (nothing moves) ::: , so — no volume change, no work
  • If (compression) ::: , so

8. The two work formulas these foundations build to

With every symbol now earned, here are the two destinations of the whole topic. Both come from the same work integral — they differ only in what does along the path.

The full step-by-step derivation of each lives on the parent note; here you now hold every symbol they use.


9. Reading a PV diagram

This picture is what makes "reversible work > irreversible work" obvious: the curved reversible path encloses more area than the low flat irreversible rectangle. Explore further in PV Diagram.


Prerequisite map

The diagram below shows the dependency order: an arrow "X → Y" means "you must understand X before Y makes sense." Read it top to bottom — the raw ideas (volume, pressure, the integral) flow into the work integral, which then splits into the reversible and irreversible formulas that make up the whole topic. If the diagram fails to render, the same order is exactly sections 1 → 9 above.

Volume V and change delta V

Work integral w = minus sum of Pext dV

Pressure Pgas vs Pext

Infinitesimal dV and the integral sum

Ideal gas law PV = nRT

Isothermal T constant

Reversible work formula minus nRT ln V2 over V1

Natural log ln from summing one over V

Irreversible work minus Pext delta V

PV diagram area equals work

Work in expansion reversible vs irreversible


Equipment checklist

  • What does the in mean? ::: Final value minus initial value: .
  • What is the difference between and ? ::: pushes the piston out from inside; pushes it in from outside.
  • Why is expansion work negative under the IUPAC convention? ::: Energy leaves the system when the gas does work on the surroundings, and leaving energy is counted as negative.
  • Why do we integrate instead of just multiplying ? ::: Because pressure can change during expansion; the integral adds up thin slivers where pressure is momentarily constant.
  • Geometrically, what does represent? ::: The area under the pressure-versus-volume path.
  • Write the full work integral with its limits. ::: .
  • State the reversible isothermal work formula. ::: .
  • State the constant-pressure irreversible work formula. ::: .
  • Where does the logarithm in come from? ::: From summing the slivers, i.e. .
  • What does "isothermal" let us do to inside the integral? ::: Treat it as a constant and pull it outside the integral.
  • What is the value of and its SI units? ::: .
  • Rewrite as a single log. ::: .
  • On a PV diagram, why is reversible work larger than irreversible? ::: The reversible curved path encloses more area than the lower flat constant- rectangle.

Related destinations once these foundations are solid: Entropy and Irreversibility, Free Expansion, Carnot Cycle, Heat Capacity.