11.01.05 · stat-mech-physics / thermodynamics

Equations of state: virial expansion, van der Waals gas, and the law of corresponding states

shipped3 tiersLean: none

Anchor (Master): Pathria & Beale, Statistical Mechanics, 3rd ed. (2011), Ch. 9–10; Huang, Statistical Mechanics, 2nd ed. (1987), Ch. 2

Intuition Beginner

The ideal gas law works well when gas molecules are far apart and do not interact. Real gases deviate from this simple picture. At high pressure or low temperature, molecules are close together — they attract each other, they have finite size, and the ideal gas law breaks down.

Two corrections capture the most important physics. First, molecules attract each other at moderate distances. This reduces the pressure the gas exerts on the walls, because a molecule about to hit a wall is pulled back by its neighbours. The correction subtracts a term from the pressure, where measures the strength of attraction. Second, molecules are not point particles — they take up space. The volume available for motion is not but , where is the volume excluded per mole of molecules.

Putting these together gives the van der Waals equation:

When the gas is dilute (, ), both corrections vanish and the ideal gas law is recovered. At high density the corrections matter, and the van der Waals equation predicts something the ideal gas law cannot: a phase transition between liquid and vapour.

Visual Beginner

Plot pressure versus volume for a van der Waals gas at several temperatures. At high temperature the isotherms look like the ideal gas: smooth, monotonic, hyperbolic. As temperature decreases, a wiggle appears — a region where increases with , which is mechanically unstable. Below the critical temperature , the isotherm dips, creating a local minimum and a local maximum. The Maxwell construction replaces the wiggle with a flat line (constant pressure) connecting the liquid and vapour phases.

The critical point is the unique point where the inflection occurs. At this point, the distinction between liquid and gas disappears.

Worked example Beginner

Compute the critical point of the van der Waals gas. The equation of state is

At the critical point, the isotherm has an inflection: the slope of the -vs- curve is zero and the curvature also vanishes. Writing for molar volume, the two conditions are that the first and second rates of change of with respect to both vanish. Applying these conditions to :

The dimensionless ratio , a universal prediction of the van der Waals equation. Experimental values range from 0.23 (water) to 0.31 (xenon), so the van der Waals prediction is approximate but captures the right order of magnitude.

Check your understanding Beginner

Formal definition Intermediate+

Virial expansion

The virial expansion is a systematic density expansion of the equation of state. Writing the compressibility factor ,

where is the molar volume, is the number density, and are the virial coefficients. The coefficient is the second virial coefficient, is the third, and so on.

The second virial coefficient has the exact statistical-mechanical expression

where is the pair interaction potential. For a hard-sphere gas ( for , for ), (four times the molecular volume). For a Lennard-Jones potential , is negative at low (attraction dominates) and positive at high (repulsion dominates).

Van der Waals equation

The van der Waals equation of state for one mole of gas is

where is the volume per molecule, is the attraction parameter, and is the excluded-volume parameter. Expanding in powers of :

so . The van der Waals equation correctly predicts at low (where ) and at high (where the excluded-volume term dominates). The Boyle temperature is where .

Law of corresponding states

Define the reduced variables , , . Substituting the critical values into the van der Waals equation:

This is the law of corresponding states: all van der Waals gases, regardless of the specific values of and , satisfy the same equation when expressed in reduced variables. Two gases at the same reduced temperature and reduced pressure have the same reduced volume — a remarkable universality.

Key derivation: Maxwell construction and phase coexistence Intermediate+

Below , the van der Waals isotherm has an unphysical region where (pressure increases with volume), indicating mechanical instability. The Maxwell construction replaces this region with a horizontal line at the coexistence pressure , determined by the equal-area rule:

where and are the molar volumes of the coexisting liquid and gas phases.

Theorem. The Maxwell construction is equivalent to requiring that the Gibbs free energy per molecule is equal in the two phases: .

Proof. Along an isotherm, (since ). The Gibbs free energies at and satisfy

where the integral follows the van der Waals isotherm. Integration by parts gives

For the flat Maxwell line, , so

Setting this to zero and rearranging:

which gives — the equal-area condition.

Bridge. The Maxwell construction builds toward the mean-field theory of phase transitions 11.06.02, where the equal-area rule is re-derived from the self-consistency equation for the order parameter. This is exactly the same mathematics appearing in the Curie-Weiss model: the van der Waals gas is dual to the mean-field magnet, with density playing the role of magnetisation and pressure playing the role of the magnetic field. The central insight is that the law of corresponding states generalises to all mean-field theories: near the critical point, the rescaled equation of state is universal. The foundational reason is that mean-field theory neglects fluctuations, and without fluctuations the only length scale is set by the interaction range, which drops out in reduced variables.

Exercises Intermediate+

Lean formalization Intermediate+

The virial expansion has no formalization in Mathlib. The core content requiring formalisation includes: the Mayer cluster expansion as a sum over connected graphs; the relationship between virial coefficients and cluster integrals; and the convergence of the virial series for sufficiently low density. The cluster-integral formalism is combinatorial (graph enumeration) and analytic (convergence of the series), both within Mathlib's theoretical reach but not yet implemented.

Advanced results Master

Mayer cluster expansion

The systematic derivation of the virial coefficients comes from the Mayer cluster expansion. Define the cluster integrals

The virial coefficients are then

The first few: (one bond on two points), (one triangle on three points). The convergence of the virial series is guaranteed for densities below the radius of convergence of the cluster expansion, which for hard spheres is .

Critical exponents from the van der Waals equation

Near the critical point, the van der Waals equation predicts:

  • Order parameter: with .
  • Compressibility: with .
  • Critical isotherm: with .
  • Heat capacity: has a finite jump at (exponent , discontinuity).

These are the mean-field critical exponents, shared by all mean-field theories (van der Waals, Curie-Weiss, Landau). The exact 3D Ising exponents (, , ) differ significantly, indicating that fluctuations — neglected by mean-field theory — modify critical behaviour in three dimensions.

Integral equation theories

Beyond the virial expansion, liquid-state theory uses integral equations for the pair correlation function . The Ornstein-Zernike equation decomposes the total correlation into a direct part and an indirect part:

Combined with a closure relation (Percus-Yevick: , or hypernetted chain), this yields a self-consistent equation for and hence the equation of state. The Percus-Yevick closure for hard spheres has an exact analytical solution (Thiele 1963, Wertheim 1963) giving the compressibility equation of state where is the packing fraction.

Synthesis. The van der Waals equation and the virial expansion build toward the modern theory of phase transitions 11.06.02 and critical phenomena 11.07.01. The central insight is that the equation of state encodes all thermodynamic information, and near the critical point this information simplifies into a set of universal critical exponents. This is dual to the renormalization group picture 11.07.02, where universality arises from the irrelevance of microscopic details at long wavelengths. The foundational reason the van der Waals equation gives mean-field exponents is that it neglects density fluctuations; the Ginzburg criterion 11.06.04 quantifies when this approximation is self-consistent and when it breaks down. Putting these together, the equation of state of a real gas provides the simplest laboratory for testing the ideas of universality, scaling, and the breakdown of mean-field theory — ideas that generalise to magnets, superfluids, and quantum field theories.

Full proof set Master

Proposition. The virial expansion of the van der Waals equation gives and .

Proof. The van der Waals equation . Expand . So .

Reading off the coefficients: and .

The physical interpretation: has a repulsive contribution (excluded volume) and an attractive contribution (pair interactions). is purely geometric (three-body excluded-volume effects), with no three-body attraction at the van der Waals level.

Connections Master

  • 11.06.02 The van der Waals critical exponents (, , ) are the same as the Curie-Weiss mean-field exponents for a ferromagnet — the two systems are in the same mean-field universality class.
  • 11.06.03 Landau theory generalises the van der Waals expansion near the critical point to an arbitrary order parameter; the van der Waals gas is the (scalar) case with density as the order parameter.
  • 11.06.04 The Ginzburg criterion determines when the van der Waals (mean-field) exponents are accurate and when fluctuations dominate — in three dimensions, mean field works for the liquid-gas transition but fails for the 3D Ising model.
  • 11.07.01 The renormalization group explains why the van der Waals exponents are universal within mean-field theory and why they differ from the exact 3D values.
  • 11.04.04 The Sackur-Tetrode entropy of the ideal gas is the zeroth-order result () of the equation-of-state hierarchy; the virial expansion provides the systematic correction.

Historical and philosophical context Master

Johannes Diderik van der Waals proposed his equation of state in his 1873 doctoral thesis at Leiden, motivated by the experimental observation that gases liquefy under pressure. The existence of a critical point — where the liquid-gas distinction vanishes — had been discovered by Andrews (1869) for CO. Van der Waals' equation provided the first theoretical framework for understanding critical phenomena.

The law of corresponding states was a remarkable prediction: if two gases have the same reduced temperature and pressure, they have the same reduced volume. This universality was experimentally verified and guided the liquefaction of hydrogen (Dewar, 1898) and helium (Kamerlingh Onnes, 1908). Kamerlingh Onnes developed the virial expansion as a more systematic framework for representing experimental data.

The Mayer cluster expansion (Mayer and Mayer, 1940) provided the rigorous statistical-mechanical foundation for the virial coefficients. The connection between cluster integrals and connected graphs (a combinatorial identity) made the virial expansion into a well-defined mathematical object whose convergence could be studied. The convergence of the virial series for hard spheres was established by Lebowitz and Penrose (1964).

Bibliography Master

@phdthesis{vanderwaals1873,
  author = {van der Waals, Johannes Diderik},
  title = {Over de continuiteit van den gas- en vloeistoftoestand},
  school = {Universiteit Leiden},
  year = {1873}
}

@book{callen1985,
  author = {Callen, Herbert B.},
  title = {Thermodynamics and an Introduction to Thermostatistics},
  edition = {2nd},
  publisher = {Wiley},
  year = {1985}
}

@book{pathria-beale2011,
  author = {Pathria, R. K. and Beale, Paul D.},
  title = {Statistical Mechanics},
  edition = {3rd},
  publisher = {Academic Press},
  year = {2011}
}

@book{huang1987,
  author = {Huang, Kerson},
  title = {Statistical Mechanics},
  edition = {2nd},
  publisher = {Wiley},
  year = {1987}
}

@book{mayer1940,
  author = {Mayer, Joseph E. and Mayer, Maria G.},
  title = {Statistical Mechanics},
  publisher = {Wiley},
  year = {1940}
}