Advanced Theory of Ideal and Real Gases: The van der Waals Equation
Every introductory course states the perfect gas law, , and moves on. This chapter asks the question a physical chemist cannot avoid: why does no real gas obey it exactly, and how far can a corrected equation of state be pushed before it, too, breaks down? The perfect gas law is the zeroth-order description of a gas — molecules with no size and no mutual attraction, bouncing elastically off the container walls. Real molecules occupy volume and attract one another at short range, and both effects become significant precisely where chemistry gets interesting: at high pressure, low temperature, and near a phase transition.
You should already have to hand the kinetic model of gases and the ideal gas equation of state from your prior studies — this chapter does not re-derive from first principles, but builds on it. What follows is the toolkit physical chemists use to quantify non-ideality: the compression factor, the virial expansion, the van der Waals equation and its molecular justification, the critical constants it predicts, the principle of corresponding states, and the Maxwell–Boltzmann distribution of molecular speeds that underlies the kinetic model itself. The next chapter takes the equations of state developed here and puts them to work computing the thermodynamic functions of real reacting systems.
1. The Perfect Gas: A Recap of the Model and Its Limits
The perfect gas equation of state,
follows from a model with two defining idealisations: molecules are point particles (zero volume) that exert no force on one another except during instantaneous, perfectly elastic collisions. Neither idealisation survives contact with a real substance. Real molecules have a finite size, so the volume actually available for them to move in is less than the container volume ; and real molecules attract one another through van der Waals and dipolar forces, so a molecule approaching the container wall is pulled backward by its neighbours, striking the wall less often and less hard than the perfect-gas model predicts. Both effects vanish in the limit of low pressure and high temperature, where molecules are far apart and moving fast — which is exactly why the perfect gas law is the correct limiting law, approached by every real gas as .
Key distinction. "Ideal" and "real" describe the same substance under different conditions, not two different kinds of gas. Every real gas behaves ideally in the low-pressure limit; the departure from ideality is a quantitative question, answered by the tools of this chapter.
2. Quantifying Non-Ideality: The Compression Factor
The standard measure of how far a real gas departs from perfect behaviour is the compression factor (or compressibility factor),
where is the molar volume and is the molar volume a perfect gas would occupy at the same and . By construction for a perfect gas at every condition. For a real gas, is a function of and that measures the net effect of molecular size and attraction:
- At low to moderate pressure, intermolecular attraction dominates: molecules pull each other inward, the gas occupies less volume than expected, and .
- At high pressure, the finite size of the molecules dominates: there is simply less empty space to compress into, the gas resists further compression more than a perfect gas would, and .
- At some intermediate pressure — and exactly at the Boyle temperature, defined precisely in Section 5.4 — the two effects cancel to first order and over an extended range of pressure, even though the gas is not actually ideal.
Worked example. At and , one mole of carbon dioxide occupies a molar volume of . Using ,
: CO's Boyle temperature is far above (experimentally ; the van der Waals estimate of Section 5.4 is ), so at this condition attractive forces still outweigh the excluded-volume effect, and the gas is noticeably more compressible than the perfect gas law predicts. N, whose Boyle temperature is much lower (experimentally ; van der Waals estimate ), has already passed its own crossover by and instead shows there — a reminder that "attraction dominates" is a statement about where a gas sits relative to its own Boyle temperature, not a universal rule at a given .
3. The Virial Equation of State
A compression factor alone only reports a deviation; it does not predict one. The virial equation of state expresses as a power series in (equivalently, in ), fitted empirically to real-gas data:
and are the second and third virial coefficients, temperature-dependent constants specific to each gas. The virial equation is the rigorous, general description of a real gas — it is exact order by order, with no underlying molecular model assumed — but each coefficient must be measured or computed from statistical mechanics. Its chief theoretical importance here is as a reference: any proposed equation of state, including the van der Waals equation below, can be tested by expanding it in powers of and comparing the resulting with experiment.
4. Molecular Origins of Non-Ideality
Two physically distinct effects, acting in opposite directions, are responsible for everything in Section 2:
Repulsion at short range (excluded volume). Real molecules cannot overlap; each has an effective hard-core volume. If a single molecule excludes a volume (per mole) from the space available to the others, the gas resists compression more strongly than the point-particle model predicts, pushing above at high density.
Attraction at longer range. Induced-dipole (London dispersion), permanent-dipole, and hydrogen-bonding forces pull neighbouring molecules together. A molecule in the bulk of the gas is pulled equally in all directions and feels no net force, but a molecule about to strike the container wall is pulled backward by the molecules behind it, reducing both the frequency and the force of wall collisions. This lowers the pressure actually exerted below the perfect-gas prediction, pushing below at low-to-moderate density — precisely the correction that the perfect gas model, with no intermolecular forces at all, cannot capture.
These two molecular pictures motivate, term by term, the correction that van der Waals proposed in 1873.
5. The van der Waals Equation of State
5.1 Correcting the volume
Replace the container volume (available to point particles) with the volume actually available to real molecules, , where is the excluded molar volume — approximately four times the volume of a single molecule, since a pair of hard spheres of diameter cannot approach closer than centre-to-centre distance , excluding a sphere of volume shared between the pair. The perfect gas law with this correction alone, , already predicts at all pressures — the excluded-volume effect in isolation.
5.2 Correcting the pressure
The attractive force pulling a wall-bound molecule backward is proportional to the local concentration of neighbours doing the pulling, , and the rate at which molecules arrive at the wall is proportional to their own concentration, . The reduction in pressure is therefore proportional to the product of these two concentrations:
where is a positive constant specific to the gas, large for strongly attracting molecules (polar, hydrogen-bonding) and small for weakly attracting ones (noble gases, small non-polar molecules). The pressure that would be measured, , is therefore less than the "ideal" pressure that the kinetic model would predict for the same and the corrected volume :
5.3 Combining both corrections
Substituting for in the excluded-volume equation gives the van der Waals equation of state:
or, per mole (),
Both and are empirical constants, fitted to the real gas's measured behaviour (most directly, to its critical constants — Section 6) and tabulated for each substance. Typical literature values, in units of for and for : helium (, ), nitrogen (, ), and carbon dioxide (, ) — the small of helium reflecting its weak dispersion forces, the comparatively large of CO reflecting its greater polarisability.
Worked example. Estimate the pressure exerted by of CO confined to at , comparing the perfect-gas and van der Waals predictions.
Perfect gas: .
Van der Waals, rearranged for :
The van der Waals pressure () is markedly lower than the perfect-gas value (): at this molar volume (, only about twelve times ), the attractive term dominates heavily over the excluded-volume term, and CO is substantially easier to compress than the perfect gas model allows.
5.4 The van der Waals second virial coefficient and the Boyle temperature
Writing the molar van der Waals equation as and expanding for gives
Comparing with the virial equation of Section 3 identifies the van der Waals second virial coefficient, . It is negative at low (attraction dominates, ), positive at high (excluded volume dominates, ), and vanishes at the Boyle temperature
at which over an extended range of pressure even though the gas is not ideal. Within the model, . For N the van der Waals estimate is (experimental: ); for CO it is (experimental: ). The model reproduces the trend but overestimates by – — a reminder that and fitted to the critical point are not optimal elsewhere.
6. Critical Phenomena and the Critical Constants
Plotting against at fixed from the van der Waals equation (an isotherm) produces, at sufficiently low , a curve with a local maximum and a local minimum — an oscillation with no physical meaning in the region where , since pressure cannot increase as a gas expands at constant temperature. This region is the mathematical signature of the liquid–gas phase transition the equation cannot describe directly — the physically correct replacement, the Maxwell equal-area construction, is not derived here. As rises, the maximum and minimum move together and merge at a single point of inflection: the critical point , above which no liquid–gas distinction exists at all.
At the critical point, the isotherm has a horizontal tangent with zero curvature:
Writing the van der Waals equation as and differentiating,
Solving the first equation for and substituting into the second (both evaluated at the critical point) eliminates :
Back-substituting into gives , and substituting and into the equation of state itself gives . Collected together, the van der Waals critical constants are:
These three relations can be inverted to extract and from a gas's measured critical temperature and pressure — the standard route by which the tabulated constants of Section 5.3 are obtained in the first place:
Worked example — critical constants of CO. Using , and :
The predicted and are strikingly close to the experimental values (, ) — but is a much poorer match, as the next section's compression factor comparison makes quantitative.
6.1 The critical compression factor: a universal — and flawed — prediction
Combining the three boxed relations gives the critical compression factor,
Because every gas's and cancel out of this ratio, the van der Waals equation predicts the same value of for every substance — a direct consequence of there being only two adjustable constants fitted to three critical-point conditions. Real gases do not cooperate: measured critical compression factors cluster around – (CO: , using the experimental ). The van der Waals equation's universal overshoots every real gas, which is exactly why it reproduces and tolerably but badly — a two-parameter model cannot be forced to fit three independent numbers.
7. The Principle of Corresponding States and Reduced Variables
Define the reduced variables , , — each physical quantity measured as a multiple of its own critical value. Substituting , and into the van der Waals equation and using the boxed critical-constant relations to eliminate , and entirely (a short algebraic exercise left as Exercise 12 of this chapter) yields the reduced van der Waals equation:
This equation contains no reference to the identity of the gas at all: and have disappeared completely. Two different gases held at the same reduced temperature and reduced pressure therefore have the same reduced volume — the principle of corresponding states. It is only an approximation (it holds exactly within the van der Waals model and only approximately for real gases, better for chemically similar, non-polar molecules of comparable shape), but it is a powerful one: a single reduced equation of state, and a single reduced compression-factor chart built from it, can be applied to any gas once its own and are known, without needing separate and values at all.
8. The Maxwell–Boltzmann Distribution of Molecular Speeds
The equations of state above describe the macroscopic consequences of molecular motion; the Maxwell–Boltzmann distribution describes the motion itself. In thermal equilibrium, the probability that a molecule's velocity component along any one Cartesian axis lies in a narrow range follows a Gaussian (from the Boltzmann distribution applied to translational kinetic energy ):
with identical, independent distributions for and . The probability of a given speed , regardless of direction, is obtained by multiplying the three Cartesian distributions and summing over all directions at fixed — geometrically, over the surface of a sphere of radius in velocity space, of area :
This is the Maxwell–Boltzmann speed distribution. Three characteristic speeds follow from it by standard calculus:
- The most probable speed, where is a maximum (): (using the molar mass and ).
- The mean speed, .
- The root-mean-square speed, — the same quantity that enters the kinetic-theory pressure formula .
These satisfy always, in the fixed ratio , because the speed distribution is skewed toward high by the growing phase-space factor even as the exponential cuts it off.
Worked example. Find , and for N () at , using .
As required, , in the ratio — matching to rounding.
9. Common Exam Pitfalls
- Writing the van der Waals correction with the wrong sign or the wrong power of . The pressure term is added inside the bracket, , because the true ideal pressure needed in the excluded-volume factor is larger than the measured ; students frequently subtract it instead, or forget the (it is , not , because the attraction depends on the product of two concentrations, each).
- Treating and as universal constants. They are gas-specific empirical parameters, fitted (usually) to each substance's own critical constants; a value for CO must never be substituted into a calculation for N.
- Assuming means "ideal behaviour" at that single pressure, full stop. can pass through at an intermediate pressure purely by cancellation of the attractive and excluded-volume effects (notably at the Boyle temperature, where this holds over an extended range); the gas is not thereby obeying the perfect gas law exactly at neighbouring pressures.
- Confusing predicted by van der Waals with the experimentally measured critical molar volume. The model fits and tolerably (two conditions, two parameters ) but is a fixed, substance-independent output that is systematically too large — inherits that error.
- Using the critical-constant formulas with mismatched units for . and require expressed in the same unit system as (e.g. if is in atmospheres); mixing SI pressure with non-SI is a common source of an order-of-magnitude error.
- Reporting a speed too small by a factor of by mishandling the units of — these formulas require the molar mass in when is in ; leaving the molar mass in makes the denominator times too large and so shrinks every characteristic speed by (e.g. instead of for N — an obviously unphysical result that should prompt a units check).
Summary
- The compression factor measures departure from ideality: signals net attraction dominating, signals net excluded-volume (repulsion) dominating.
- The virial equation, , is the general, model-free description of a real gas, used as the benchmark against which any proposed equation of state is tested.
- The van der Waals equation, , corrects the perfect gas law for excluded molecular volume () and intermolecular attraction (), both fitted empirically per substance.
- The critical constants predicted by van der Waals are , , , invertible to give and ; the resulting critical compression factor is universal within the model but systematically higher than real gases' –.
- The principle of corresponding states, , removes all substance-specific constants by expressing , , relative to their critical values, allowing one reduced equation of state to describe (approximately) every gas.
- The Maxwell–Boltzmann speed distribution, , yields three characteristic speeds in the fixed ratio , with reproducing the kinetic-theory pressure formula.
- Equations of state and critical behaviour developed here are the foundation for the next chapter's thermodynamic treatment of chemical reactions in real, non-ideal systems.