Real gases and real solutions
Every formula you have built so far in this unit — chemical potential, equilibrium constants, Maxwell relations — was derived assuming an ideal gas or an ideal solution. Real in a cylinder, or real chloroform mixed with acetone, does not quite obey or Raoult's law . Rather than rederive the whole thermodynamic machinery, chemists patch it: a single corrected variable — fugacity in place of pressure , activity in place of mole fraction — is substituted into the same ideal-gas-shaped formulas, and everything downstream (equilibrium constants, Gibbs energies) carries over unchanged. This article builds that patch: the compressibility factor that measures the deviation, the van der Waals equation that models it quantitatively, and fugacity/activity that repair the thermodynamics.
Real gases and real solutions are handled not by abandoning the ideal formulas but by replacing with fugacity and with activity inside them, with the van der Waals equation supplying the quantitative correction for gases via excluded volume and attractive-force parameter .
The core idea
Compressibility factor. The deviation of a real gas from ideal behaviour is measured directly by comparing the actual product to the ideal one:
where: is pressure, is volume, is moles, is the gas constant, is temperature. for an ideal gas at every condition. Real gases show at moderate pressure, because net intermolecular attraction pulls the gas in and makes it more compressible than ideal, and at high pressure, where the finite size of the molecules (excluded volume) dominates and resists further compression.
Van der Waals equation. The simplest model that corrects for both effects at once adds an attractive-pressure term and subtracts an excluded-volume term from the ideal-gas law:
where: is a substance-specific constant capturing the strength of intermolecular attraction (it reduces the effective pressure the container walls feel), and is a substance-specific constant capturing the volume molecules physically occupy (it reduces the volume actually available for the gas to move in). Both are empirical fits, not universal constants — different for , , , and so on. The Boyle temperature is the special temperature at which these two corrections cancel over a range of pressures, so the gas behaves ideally there even though .
Principle of corresponding states. Normalising pressure, volume and temperature by the critical constants (, , ) puts different real gases on approximately the same footing: at equal reduced variables, most gases show approximately the same . This is why a single reduced equation of state can (approximately) describe many different substances at once.
Fugacity. Instead of discarding the ideal-gas chemical-potential formula, real-gas non-ideality is folded into a corrected effective pressure called fugacity, , where is the fugacity coefficient and as :
where: is the chemical potential, the standard chemical potential, the gas constant, the temperature, and the standard-state pressure. This is formally identical to the ideal-gas formula with standing in for , so every equilibrium relation built earlier (, ) survives unchanged if fugacities/activities are used consistently throughout.
Real solutions. Analogously, deviations from Raoult's law are absorbed into an activity coefficient :
Two reference states are used: the Raoult's-law reference ( as , natural for the majority solvent) and the Henry's-law reference ( as , natural for a dilute solute, where and ). The excess Gibbs energy (and analogous , , ) measures, introductorily, how far a real mixture departs from ideal-solution behaviour.
The goal is to isolate explicitly from the van der Waals equation , so that a real-gas pressure can be computed directly from , , and the substance's , constants, the same way is computed for an ideal gas — the only new work is algebraic rearrangement, but keeping track of which term corrects for attraction and which for excluded volume is what actually matters physically.
Step 1. Start from the van der Waals equation as given and divide both sides by the volume factor , which isolates the bracket containing : . Notice , not , appears here — the excluded volume has already reduced the space available to the gas, so the "ideal-like" term uses the smaller effective volume.
Step 2. Move the attraction term to the right-hand side by subtracting from both sides: . This is now an explicit formula for built from two competing pieces.
Step 3. Read the two terms physically. The first term, , is what an ideal gas would exert if squeezed into the smaller available volume — it is always larger than the naive ideal-gas , because excluded volume alone would raise the pressure. The second term, , is subtracted because intermolecular attraction pulls molecules away from the walls, lowering the pressure they actually exert. The net sign of the correction — whether ends up above or below the naive ideal value — depends on which term wins at the given density and temperature.
Step 4. Confirm the ideal-gas limit. As (or ) at fixed , both and , so , the ordinary ideal-gas law — the correction terms vanish exactly when molecules are far enough apart to stop interacting or colliding, as they should.
Worked example
One mole of gas at 400 K occupies 5.0 L. Using van der Waals constants , , find the pressure predicted by the van der Waals equation, compare it with the ideal-gas prediction, and compute .
Step 1. Ideal-gas prediction first, as a baseline: , using to match the given units.
Step 2. Apply the van der Waals formula for derived above, . The first term: . The second term: .
Step 3. Combine: . This is lower than the ideal prediction of — at these moderate conditions the attractive term outweighs the excluded-volume term for .
Step 4. Compute using the van der Waals pressure: . Since , real here is slightly more compressible than an ideal gas, with actual pressure a little below the ideal-gas prediction — exactly the direction expected for a gas with significant intermolecular attraction.
Common traps
- Applying the fugacity or activity correction and then plugging the original uncorrected or back into an equilibrium formula — once or is introduced, every downstream formula must use it consistently.
- Confusing the Raoult's-law reference ( as ) with the Henry's-law reference ( as ) — the numerical for the same real solution differs depending on which convention is used.
- Treating van der Waals and as universal constants rather than substance-specific empirical fits, and forgetting the equation is only a first-order correction that breaks down near the critical point.
- Reading as "the gas disobeys thermodynamics" — non-ideality is fully absorbed by using (or ) consistently inside the ideal-gas-shaped formulas; the framework itself remains exact.
Ask the tutor: if the Raoult's-law versus Henry's-law reference-state choice still feels arbitrary, ask the AI tutor to compute for the same chloroform data under both conventions side by side.
Why do we bother with fugacity instead of just using a different equation for real gases?
Because it lets every formula already built for ideal gases keep working without rederivation. The chemical-potential formula, the equilibrium-constant expression, the Gibbs-energy relations — all were derived assuming behaves ideally. Swapping in fugacity for makes those same formulas exact for real gases too, since recovers the ideal case automatically as pressure drops. It is a bookkeeping trick that saves you from re-deriving thermodynamics from scratch for every non-ideal system.
Are the van der Waals constants a and b the same for every gas?
No — they are empirical, fit separately for each substance from real PVT data. A gas with strong intermolecular attraction, like or , has a large ; a gas made of small, weakly interacting molecules, like , has a small . Likewise scales with molecular size. That is also why the van der Waals equation is only a first-order model: it captures the right qualitative trends but is not exact, especially near the critical point where molecular clustering gets complicated.
Why does chloroform in acetone need the Raoult's-law reference and not Henry's-law?
The choice depends on the mole fraction range and which component you are treating as "mostly present." At , chloroform is still a fairly major component (not a trace solute), and if we want as chloroform approaches purity (), the Raoult's-law convention is the consistent choice. If instead chloroform were present only in trace amounts, dissolved in a large excess of another solvent, the Henry's-law convention ( as ) would be more natural. Always state which reference state a quoted uses, since the same real data give different numerical activity coefficients under the two conventions.