Virial Expansion of the Equation of State
The ideal-gas law is the first term of a systematic expansion, not the whole story. Writing the compressibility factor as a power series in the number density , the leading term is (the ideal gas), and successive coefficients — the virial coefficients — record the effect of pairs, triples, and larger groups of interacting molecules. This virial expansion is the macroscopic distillation of the entire Mayer cluster machinery: it converts the combinatorics of connected diagrams into thermodynamic coefficients you can measure with a pressure gauge and a thermometer. The decisive structural result this article owns is the fugacity-to-density inversion and the topological simplification it produces. The cluster expansion delivers the pressure and density as power series in the fugacity , with cluster integrals as coefficients. But experiments control density, so one eliminates between and . When the dust settles, the virial coefficients are built not from all cluster integrals but only from the irreducible (biconnected, "star") ones : every reducible diagram — one with a cut vertex — cancels order by order. This is a second topological reduction sitting on top of the linked-cluster theorem, and it is the reason comes from the triangle alone and not the open chain. Physically the expansion is honest about its range. already encodes the whole competition between short-range repulsion (excluded volume, raising the pressure) and longer-range attraction (lowering it), with the crossover marking the Boyle temperature. Truncated at and re-summed, it becomes the van der Waals equation, supplying the molecular meaning of and . Its limitation is equally instructive: as a low-density series it cannot converge across condensation, so it describes the gas branch and diverges at the critical point — precisely the regime the renormalization group later reclaims.
- The virial expansion writes the compressibility factor as a density series , recovering the ideal gas as .
- The virial coefficients come from eliminating the fugacity between the cluster series and ; the leading result is .
- Only irreducible (star) clusters survive the inversion: , so reducible diagrams cancel — a second reduction beyond the linked-cluster theorem.
- The sign of measures whether pairs repel () or attract (); the crossover is the Boyle temperature , where the gas is ideal to first order in density.
- Truncated at and re-summed, the expansion reproduces van der Waals and gives and a microscopic meaning; it diverges near condensation and the critical point.
- Key idea: eliminate the fugacity between and to get a density series whose coefficients keep only the irreducible clusters — , and higher come from star integrals via .
Eliminate the fugacity between and to get a density power series whose coefficients keep only the irreducible (star) clusters: , and higher come from irreducible integrals through .
Where this lives today
The virial expansion is the reference framework for the equation of state of dilute and moderately dense gases. Second and third virial coefficients computed from ab initio pair and three-body potentials for helium now underpin primary metrology: acoustic and dielectric-constant gas thermometry, built on virial coefficients, contributed to fixing the Boltzmann constant and realizing the kelvin in the revised SI. Reference equations of state for industrial gases are anchored on measured or computed virial coefficients, which are, at bottom, cluster integrals. Its conceptual reach is broader still. The virial expansion is the template for every "expand about the non-interacting limit and keep only irreducible pieces" scheme in physics: the diagrammatic expansions of many-body theory, the loop expansion of field theory, and the systematic corrections to mean-field theory all share its logic of organizing corrections by an interaction-counting parameter and discarding reducible contributions. And its failure is a signpost, not a defect: when the density series diverges — near condensation and at the critical point, where the radius of convergence shrinks to zero — that breakdown marks exactly the regime where the renormalization group, later in this track, takes over.
The physical picture
Turn up the density of a gas one notch at a time. At infinitesimal density molecules never meet: the ideal gas, . The leading correction answers a single question about the net effect of pair interactions: repulsive forces give (raising the pressure relative to the ideal gas), while attractive forces give (lowering it). Integrated over all separations, that answer is . Each successive virial coefficient incorporates the net contribution of correlations involving one additional particle; because a triple coincidence is rarer than a pair by a factor , the series is naturally ordered by density. It is a controlled expansion precisely because ordinary gases are dilute. The first figure is the payoff of the whole construction: the compressibility factor plotted against density. The ideal gas is a flat line at . A repulsion-dominated gas rises above it with initial slope ; an attraction-dominated gas dips below with slope . The slope at the origin is the second virial coefficient — the single number that a –– measurement returns, and the thesis of this article sits right on the plot.
The deep point is the cancellation of reducible diagrams. A A connected graph containing an articulation (cut) vertex factorizes into two connected subgraphs when that vertex is removed. Such reducible contributions are generated automatically when the fugacity series is inverted to a density series and therefore cancel. Only irreducible (articulation-point-free, "star") graphs add genuinely new -body physics to a virial coefficient. The second figure shows the surviving topology at third order: the triangle is irreducible and contributes to ; the open chain has a cut vertex, is reducible, and cancels.
Because changes sign as temperature rises, there is a special Boyle temperature where the gas behaves ideally to first order in density even though its molecules interact strongly — the excluded volume and the attraction integrate to cancel at the level of pair correlations. Above the core wins; below it, attraction wins and the gas is more compressible than ideal.
The core equations
The virial expansion is most cleanly stated for the compressibility factor: the departure of from , organized in powers of density.
where: — compressibility factor ( for an ideal gas); — number density; — the -th virial coefficient, with units of . The same content is often written ; dividing by gives the compressibility form. The cluster expansion (owned by aq-sm-mayer-cluster-expansion and aq-sm-cluster-integrals) supplies the pressure and density as fugacity series, with the cluster integrals as coefficients.
where: — fugacity (normalized so as ); — the -particle cluster integral; — thermal wavelength; — chemical potential. The density series is the fugacity-derivative of the pressure series, which is what makes the two carry different weights . Eliminating between these two series is the operation this article owns. The leading result is that the second virial coefficient is minus the two-cluster integral.
where: — the two-cluster integral; — the Mayer function (owned by aq-sm-mayer-f-function); — pair potential. The detailed evaluation of for realistic potentials is owned by aq-sm-second-virial-coefficient; here it is the leading fruit of the inversion. Carrying the inversion to the next order shows that keeps only the irreducible content — the reducible reducible-chain part cancels.
where: — the three-cluster integral (chain + triangle); — the -th irreducible ("star") integral. Self-consistency of with fixes . The full set of is owned by aq-sm-irreducible-cluster-integrals, which this article hands forward by name. Finally, for a hard-core plus weak attractive tail, , where is the excluded-volume contribution and measures the integrated attraction. This approximation provides the microscopic motivation for the van der Waals equation of state.
where: — excluded-volume constant (four times the molecular volume); — integrated attraction; — hard-core diameter. Truncating the expansion at with this split and re-summing gives the van der Waals equation, owned by aq-sm-van-der-waals-equation and derived microscopically in aq-sm-van-der-waals-derivation.
The goal is to eliminate the fugacity between and , obtaining the density expansion, and to show explicitly that while keeps only irreducible content. This is the central operation of the virial expansion: it turns the natural grand-canonical variable (fugacity) into the natural laboratory variable (density) and, in doing so, performs the second topological simplification that leaves only star clusters in the coefficients. The route is to revert the series to get , substitute into , and read off the coefficients of and ; the thing to watch is that the density series carries an extra factor on each term, which is exactly what makes the inversion nontrivial and produces the sign flip .
Step 1. Write the two series with . From the cluster expansion, and . Why: the density is , so each term of the pressure series is multiplied by its power — the factor on the term and on the term.
Step 2. Revert to get . Solving order by order gives . Why: to leading order ; the quadratic correction removes the term, and the cubic follows by demanding the composite series equal identically.
Step 3. Substitute into the pressure series. Insert into and collect powers: . Why: the in combines with the to leave a net ; the cubic terms assemble into .
Step 4. Read off the virial coefficients. Dividing by , , so and . Writing forces — the irreducible integral. Why: the combination is precisely times the irreducible star integral; the reducible chain part of has cancelled against , so only the biconnected triangle survives in . The base article's is inconsistent with — see the provenance note. *The density inversion , , the self-consistent , and can each be confirmed by symbolic series reversion.*
Go deeper · Derivation B · 1 minFrom the virial expansion to van der Waals
The goal is to show that truncating the virial expansion at , using the split , and re-summing the repulsive part re-produces the van der Waals equation . This is the sense in which van der Waals is the cluster expansion to first order in density, dressed up: the excluded volume and the attraction are not fitted constants but the two pieces of . The strategy is to write the truncated equation of state, recognize the repulsive term as the first two terms of a geometric series, and re-sum it into the excluded-volume form; the subtlety to watch is that the re-summation is exact only to but is adopted as a physically-motivated closed form.
Step 1. Truncated virial EOS with the split . Keep through : . Why: the split separates the temperature-independent excluded volume from the attraction — the two competing effects in .
Step 2. Re-sum the repulsion geometrically. Note agrees with to . Replace by . Why: the geometric form encodes "the accessible volume is reduced from to ," which is the physical content of excluded volume and is why van der Waals uses rather than a polynomial.
Step 3. Reinstate the attraction as a mean field. . Why: the attractive part stays a simple mean-field correction to the pressure, the same term van der Waals adds.
Step 4. Rearrange to the van der Waals form. Multiply through: , and with this is . Why: this is exactly the van der Waals equation of state; the microscopic and are inherited from . The full microscopic derivation of is owned by aq-sm-van-der-waals-derivation. *As a consistency check, expanding to returns , confirming .*
Limiting cases
The behaviour of the series exposes its physical content, and its boundaries.
| Case | Result | Meaning |
|---|---|---|
| Ideal-gas limit () | All virial corrections vanish; . | |
| Leading correction | The second virial coefficient gives the first departure from ideality; the initial slope is . | |
| Hard-sphere gas (diameter ) | Purely repulsive and temperature independent; equals four times the molecular volume. | |
| Boyle temperature | The leading density correction vanishes, so . | |
| Third order () | Only irreducible (biconnected) three-particle clusters contribute; reducible graphs containing articulation vertices cancel during the fugacity-to-density inversion. | |
| Onset of condensation | series diverges | Finite radius of convergence bounded by the transition; cannot follow the isotherm into coexistence. |
Worked examples
1 · The compressibility of argon at 300 K (confidence builder)
We use the measured second virial coefficient of argon to predict how far its pressure departs from ideal, computing a real number from a real potential.
Step 1. From a Lennard-Jones fit ( K, nm), numerically integrating at K gives cm³/mol (recomputed in the verify script). Convert to SI per particle: .
Step 2. At atm and K the ideal number density is .
Step 3. The correction to the compressibility factor is . Argon at room conditions is about more compressible than an ideal gas — small, negative, and attraction-dominated, exactly as predicts.
Step 4. Raise the density to that of a gas at atm and the correction grows to : the virial correction scales linearly with density, so non-ideality becomes measurable exactly where the second term matters. A single cluster integral has turned a two-parameter potential into a quantitative equation-of-state correction.
2 · The Boyle temperature of Lennard-Jones argon (exam level)
We locate the temperature where changes sign — the Boyle point — directly from the potential.
Step 1. The Boyle temperature solves : the repulsive-core positive contribution to exactly cancels the attractive-well negative contribution. For the 12-6 Lennard-Jones potential this is a universal reduced temperature.
Step 2. Numerically root-finding on the computed (verify script) gives K for argon, i.e. the reduced value .
Step 3. The reduced Boyle temperature is a property of the Lennard-Jones 12-6 potential. Fluids that are accurately described by this potential have approximately the same reduced Boyle temperature, while real substances deviate according to how closely their interactions follow the Lennard-Jones form. Multiplying by each substance's then gives its physical : nitrogen ( K) lands near K, matching the tabulated K.
Step 4. Below (e.g. K) the recomputed cm³/mol — strongly attractive, the gas heading toward condensation; above (e.g. K) cm³/mol — the core dominates. The sign of a single integral maps out where a real gas is more, or less, compressible than ideal, and the crossover is a universal number of the potential's shape.
Origins · 1 minHeike Kamerlingh Onnes and how this was discovered
Heike Kamerlingh Onnes was the founder of modern low-temperature physics and the experimentalist who, in 1901, first wrote the equation of state of a real gas as a power series in density — — and named the coefficients virial coefficients, borrowing Clausius's word virial (Latin vis, force). His Leiden laboratory turned precision cryogenics into an industry: in 1908 he was the first to liquefy helium, reaching K, and in 1911 he discovered superconductivity in mercury, for which strand of work — the properties of matter at low temperature, including helium liquefaction — he received the 1913 Nobel Prize in Physics. His motto, carved over the laboratory door, was door meten tot weten, "through measuring to knowing." The virial expansion he introduced was, at first, a purely empirical fitting form; it was Ursell (1927) and Mayer (1937) who later showed that Onnes's coefficients are integrals over the intermolecular potential — cluster integrals — giving his phenomenological series a rigorous microscopic foundation. The two threads meet in this article: Onnes supplied the form of the equation of state; the cluster expansion supplies the content of its coefficients.
Going further
Texts. Pathria & Beale, Statistical Mechanics, 3rd ed., Ch. 10 (cluster and virial expansions, irreducible integrals). Kardar, Statistical Physics of Particles, §5.2–5.4. Reif, Fundamentals of Statistical and Thermal Physics, Ch. 10 (imperfect gases). Landau & Lifshitz, Statistical Physics Part 1, §74–76. Hansen & McDonald, Theory of Simple Liquids. Note on a corrected result: an earlier form of this material wrote the irreducible integral as , which is inconsistent with together with ; the self-consistent value is , as used throughout this article. The key numerical anchors are the fugacity inversion , , the vdW re-summation, hard-sphere , and the LJ argon values cm³/mol and K. This article gives the cluster-expansion route to the virial series; the classical Clausius virial-theorem route to the leading correction is owned separately by aq-sm-virial-equation-of-state — the two are cross-referenced and de-overlapped.
Prerequisites. Configuration integral · The Mayer f-function · Mayer cluster expansion · Cluster integrals and their combinatorics.
Leads to. Irreducible cluster integrals and the virial series · Second virial coefficient · Third and higher virial coefficients · Van der Waals from the virial expansion · Law of corresponding states.
What is the difference between this virial expansion and aq-sm-virial-equation-of-state?
They reach the same leading result by different routes and are deliberately de-overlapped. aq-sm-virial-equation-of-state (the SM3 article) derives the leading equation-of-state correction from the classical virial theorem of Clausius — a mechanical average of over the gas. This article derives the full series from the Mayer cluster expansion, eliminating the fugacity to get all the and the irreducible-cluster reduction. The virial-theorem route is elegant for the leading term but does not naturally generate the higher coefficients; the cluster route does. Both agree on ; this article owns the systematic density expansion and the topological structure of its coefficients.
Why is the density series only conditionally convergent, and what sets its radius?
The virial expansion is a power series in density, and like any power series it has a radius of convergence set by the nearest singularity of the function it represents. For a gas that singularity is the condensation point — the density at which the analytic gas branch ends and the two-phase region begins. Rigorously (Penrose, Ruelle) the series converges for short-range potentials up to a finite density; beyond that the truncation is unjustified and the series diverges. This is why you cannot follow a truncated virial polynomial across a first-order transition: the mathematics is telling you the gas description has ended.
If B₂ can be negative, doesn't that make the pressure negative at high density?
No — a negative only means the leading correction lowers the pressure below ideal; it does not mean the pressure itself goes negative. At the densities where the virial expansion is valid, , so stays close to . If you tried to push so high that approached zero, you would already be far outside the radius of convergence — near or past condensation — where the truncated series is meaningless. A negative is the fingerprint of net attraction at that temperature, not a prediction of negative pressure.
Where does the factor ℓ/(ℓ+1) in B_{ℓ+1} = −ℓ/(ℓ+1) β_ℓ come from?
It is a bookkeeping factor from the inversion, and it can be traced to the fact that the density series weights each cluster by its particle number , while the pressure series does not. When you revert and substitute into , the combinatorial reshuffling of these weights leaves each irreducible integral multiplied by . For it gives with , i.e. ; for it gives . The factor is not arbitrary — it is exactly what makes the reducible pieces cancel, which you can check order by order (and the verify script does).
Why bother with virial coefficients when we have the van der Waals equation?
Because van der Waals is only the first-order, mean-field truncation of the virial expansion, and it is quantitatively wrong in ways the full series corrects. Van der Waals keeps (and re-sums the repulsion crudely) but gets and higher badly wrong, which is why its critical compressibility misses the measured . The virial expansion, by contrast, is systematically improvable: each new coefficient is a well-defined cluster integral of the true potential, so you can compute , from first principles and match precision equation-of-state data. Van der Waals is the pedagogical cartoon; the virial series is the controlled theory it approximates.
Is the virial expansion exact, or is it an approximation?
The reorganization is exact — the cluster/graph expansion of the partition function is an identity, and the relations , hold exactly. It becomes an approximation only when you truncate at a finite number of coefficients, which is justified at low density because is smaller than by a factor . So for a dilute gas, keeping (and perhaps ) is an excellent controlled approximation with a rigorous error estimate; near condensation, no finite truncation works because the series itself diverges.