Skip to main content

Thermal unit · institution-dependent · Interactive lesson

Real Gases & the Limits of the Ideal Model

This topic is where you stop treating pV = nRT as a law and start treating it as the first term of a series. Learn to measure how far a gas has strayed with one number, name the two physical reasons it strays, and see how far a two-parameter fix can stretch: it predicts condensation, and gets its own critical point wrong by a quarter.

UPIII-06.09 · Lesson 9 of 9 in this unit. Position is not a completion score.
Starting model: Real Gases & the Limits of the Ideal ModelVan der Waals isotherm in reduced variables, p/p_c = 8(T/T_c)/(3V/V_c − 1) − 3(V_c/V)², at T = 0.90 T_c (solid), the ideal-gas isotherm at the same T (dashed) and the spinodal dome where ∂p/∂V = 0 (faint). At the probe V = 1.20 V_c the model gives p = 0.69 p_c against the ideal 2.00 p_c, so Z = 0.34.Vc2VcV = 3Vcpc2pcsolid: van der Waalsat T = 0.90 Tcdashed: ideal gas, same Tfaint dome: ∂p/∂V = 0open circle: critical pointdot: probe, Z = 0.34
Start with a picture. Change the model in the lab below.

Thermal unit · institution-dependent. Many departments teach thermal physics separately or within Physics II. Check whether your university includes this numbered unit in Physics III.

1

Build the model

The ideal gas is a limit every real gas approaches and none of them reaches.

The key idea

The compressibility factor Z = pV/(nRT) measures how far a real gas departs from the ideal law: Z = 1 is ideal, Z < 1 means intermolecular attraction has lowered the pressure, and Z > 1 means the molecules' own volume has raised it.

Example. One mole of CO₂ at STP occupies 22.26 L instead of the ideal 22.41 L, so Z = 22.26/22.41 = 0.993: attraction is already winning by 0.7% at one atmosphere, and at 40 bar and 300 K the same gas reaches Z ≈ 0.77.

The complete physical model and assumptions

Every real gas obeys pV = nRT in the same limit, infinite dilution, and departs from it in two ways. Molecules have a size, so the volume they can roam is less than V, and at high density that pushes the pressure above the ideal value. Molecules attract one another, so those about to strike the wall are pulled back by their neighbours, and at moderate density that pulls the pressure below it. Van der Waals wrote both into the equation of state, one constant each: subtract nb from the volume, add an²/V² to the pressure. The result is not a law but a two-parameter interpolation. Expand it in powers of density and the leading term is the ideal gas, exactly; the next term, b − a/RT, changes sign at the Boyle temperature and explains why the compressibility factor Z = pV/nRT dips below 1 for a cool gas and climbs above it for a hot one. Push it to high density and it does something the ideal gas can never do: below a critical temperature its isotherms develop a loop, the fluid splits into liquid and vapour, and it predicts a critical point from a and b alone. There it is also caught out: it says pcVc/RTc must be 3/8 = 0.375 for every substance, while measurement gives 0.27 to 0.30 for simple gases and 0.23 for water. Two constants fitted to two critical data cannot reproduce a third. The model earns its place by getting the physics qualitatively right, and marks its own boundary with the number it gets wrong.

1One number measures the departure

Divide the measured pV by nRT and you have Z, the compressibility factor. For an ideal gas Z = 1 at every pressure and temperature; for a real gas it is a function Z(p, T) whose shape is the whole story of this topic. Two facts hold for every gas. First, Z → 1 as p → 0, so the ideal gas is the low-density limit of every real one, not an approximation to some gases but the common limit of all of them, which is why R is universal. Second, at fixed T the curve leaves 1 with a slope whose sign depends on temperature: for a cool gas Z first falls below 1, reaches a minimum and then climbs; for a hot gas it rises from the start. CO₂ at STP has Vₘ = 22.26 L mol⁻¹ against the ideal 22.41 L mol⁻¹, so Z = 0.993, a 0.7% departure at one atmosphere. Compress the same gas to 40 bar at 300 K and Z ≈ 0.77, a 23% shortfall in volume. Z < 1 says the gas is easier to compress than an ideal one, which only attraction between molecules can explain; Z > 1, reached by every gas at high enough pressure, says it is harder, which is the molecules' own volume refusing to be squeezed out.

2Size: the excluded volume b

Treat each molecule as a hard sphere of diameter d. Two centres cannot come closer than d, so around any molecule there is a sphere of radius d, volume (4/3)πd³ = 8 × (π/6)d³, that the centre of another molecule cannot enter. That is eight molecular volumes, but the exclusion belongs to a pair and is counted once per pair, so the volume denied to each molecule is four times its own volume, and per mole b = 4NA(π/6)d³. The volume actually available to the gas is V − nb, and the ideal law applies to that: p(V − nb) = nRT, which raises p above nRT/V. Run the argument backwards on nitrogen: b = 3.87 × 10⁻⁵ m³ mol⁻¹ gives a molecular volume b/(4NA) = 1.61 × 10⁻²⁹ m³ and d = (6 × 1.61 × 10⁻²⁹/π)¹⁄³ = 3.1 × 10⁻¹⁰ m, a sensible 0.31 nm for N₂. Check the size of the correction: at 1 atm and 300 K, Vₘ = 0.0246 m³ mol⁻¹ and nb/V = 0.16%; at 100 atm it is 16%, no longer a correction but a main term.

3Attraction: why the a-term goes as density squared

A molecule deep inside the gas is pulled equally in all directions by its neighbours. One about to strike the wall has neighbours on only one side, so it feels a net inward pull that slows it just before impact, and it delivers less momentum than the kinetic model assumed. The reduction in wall pressure has two factors. The inward force on each arriving molecule is proportional to how many neighbours are within reach, so to the molar density n/V; and the rate at which molecules arrive at the wall is also proportional to n/V. Their product gives Δp = a(n/V)², so the pressure the gas actually exerts is p = nRT/(V − nb) − an²/V². Dimensions fix the constant: an²/V² is a pressure, so a is in Pa m⁶ mol⁻². Energetically, a/Vₘ is the attractive potential energy per mole that the gas has given up, and comparing it with RT tells you whether attraction matters. For CO₂ at 1 atm and 300 K, a/Vₘ = 0.364/0.0246 = 14.8 J mol⁻¹ against RT = 2494 J mol⁻¹, a 0.6% effect. At 40 bar, with Vₘ = 4.8 × 10⁻⁴ m³ mol⁻¹, it is 758 J mol⁻¹, 30% of RT, and the gas is well on its way to condensing.

4Expand in density: the virial series and the Boyle temperature

Write the equation per mole, p = RT/(Vₘ − b) − a/Vₘ², multiply by Vₘ/RT and expand 1/(1 − b/Vₘ) as a geometric series, valid because b ≪ Vₘ: Z = 1 + (b − a/RT)/Vₘ + b²/Vₘ² + … The first term is the ideal gas, exactly, so the model passes its correspondence check: whatever a and b are, Z → 1 as Vₘ → ∞. The second term is the second virial coefficient B(T) = b − a/RT, and its sign decides the low-pressure behaviour of Z. When RT < a/b, attraction wins, B < 0 and Z dips below 1; when RT > a/b, size wins, B > 0 and Z rises from the start. The crossover, TB = a/(Rb), is the Boyle temperature, where the two corrections cancel to first order and the gas obeys Boyle's law to higher pressure than at any other temperature. For nitrogen the model gives TB = 0.137/(8.314 × 3.87 × 10⁻⁵) = 426 K; the measured value is about 327 K. The existence of a Boyle temperature and its order of magnitude are right; the number is 30% out, the first sign that two constants cannot carry the whole intermolecular force law.

5Isotherms, the critical point and the 3/8 test

Plot p against Vₘ at fixed T. For large T the term RT/(Vₘ − b) dominates and the isotherm is a displaced hyperbola. As T falls the −a/Vₘ² term carves a dent into it, and at one temperature the dent flattens into a horizontal inflection: (∂p/∂Vₘ)T = 0 and (∂²p/∂Vₘ²)T = 0 at the same point. Differentiate: −RT/(Vₘ − b)² + 2a/Vₘ³ = 0 and 2RT/(Vₘ − b)³ − 6a/Vₘ⁴ = 0. Divide the second by the first to eliminate RT and a at once: 2/(Vₘ − b) = 3/Vₘ, so Vc = 3b. Substitute back: RTc = 2a(2b)²/(3b)³ = 8a/(27b), then pc = RTc/(2b) − a/(9b²) = a/(27b²). Two constants have produced three critical data, so one combination of them must be parameter-free: Zc = pcVc/(RTc) = (a/27b²)(3b)(27b/8a) = 3/8 = 0.375 for every substance. Measured values: argon 0.291, nitrogen 0.289, CO₂ 0.274, water 0.229. Fit a and b of CO₂ to its measured Tc = 304 K and pc = 73.8 bar and the model predicts Vc = 3b = 128 cm³ mol⁻¹; the measured value is 94 cm³ mol⁻¹, 27% smaller. The model interpolates between two limits it gets right, and the critical region is where it is stretched thinnest.

6Below Tc: the loop the real gas replaces with condensation

For T < Tc the isotherm has a minimum and a maximum, and between them (∂p/∂V)T > 0: compress the fluid and its pressure falls. No homogeneous substance can do that: a region slightly denser than its neighbours would have lower pressure, be squeezed further and run away, so the loop is never observed. Nature replaces it by a horizontal line at the vapour pressure pₛₐₜ(T), placed so that it cuts equal areas from the loop above and below (Maxwell's construction, from equal Gibbs energy of liquid and vapour). Along that line the fluid is a mixture: compress it and the volume falls at constant pressure as vapour turns to liquid, until only liquid is left and the steep liquid branch takes over. An ideal gas can do none of this: p = RT/Vₘ has (∂p/∂V)T = −RT/Vₘ² < 0 at every point and every temperature, so no critical point, no vapour pressure, no liquid. Hence the laboratory cylinders: CO₂ (Tc = 304 K) sits as liquid under its own vapour pressure at room temperature, while nitrogen (Tc = 126 K) cannot be liquefied at 300 K by any pressure and is stored as gas at 200 bar.

2

Key equations

Read the units, assumptions and limits before substituting.

Compressibility factor

Z = pV/(nRT) = pVₘ/(RT)

One number for the departure. Z → 1 as p → 0 for every gas; Z < 1 means attraction is winning, Z > 1 means excluded volume is.

p in Pa, Vₘ = V/n in m³ mol⁻¹, T in K, R = 8.314 J mol⁻¹ K⁻¹; Z is dimensionless

Van der Waals equation of state

(p + an²/V²)(V − nb) = nRT

b removes the volume the molecules cannot enter; a lowers the wall pressure by the attraction, which goes as density squared.

a in Pa m⁶ mol⁻², b in m³ mol⁻¹; CO₂: a = 0.364, b = 4.27 × 10⁻⁵

Excluded volume per mole

b = 4 NA (π/6) d³

Four times the molecules' own volume, not one: each pair excludes a sphere of radius d, and the exclusion is shared between the two.

d is the hard-sphere molecular diameter in m; NA = 6.022 × 10²³ mol⁻¹

Virial form of the van der Waals gas

Z ≈ 1 + (b − a/RT)/Vₘ

Recovers the ideal gas exactly as Vₘ → ∞ and says which correction wins first: attraction below the Boyle temperature TB = a/(Rb), size above it.

valid for Vₘ ≫ b; the second virial coefficient B(T) = b − a/RT is in m³ mol⁻¹

Critical constants of a van der Waals gas

Vc = 3b, Tc = 8a/(27Rb), pc = a/(27b²)

Two measured critical data fix a and b; the third critical datum then tests the model, and it fails by about a quarter.

from (∂p/∂V)T = 0 and (∂²p/∂V²)T = 0 on one isotherm; CO₂: Tc = 304 K, pc = 74 bar

Critical compressibility factor

Zc = pcVc/(RTc) = 3/8 = 0.375

The cleanest test of the model, and the one it fails: a and b cancel out of Zc, so no choice of them can rescue the number.

parameter-free; measured Ar 0.291, N₂ 0.289, CO₂ 0.274, H₂O 0.229
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

0.90
0.8 to 1.1; steps of 0.05.
1.20
0.6 to 3.6; steps of 0.05.

Try this. Hold T at 0.90 Tc and slide the probe in from 3.6 Vc: Z falls, and inside the dome the slope turns positive: compressing the fluid lowers its pressure and it must split into liquid and vapour. Now raise T past Tc: the loop flattens to an inflection and vanishes; the ideal curve never had one.

Live results

p/pc VAN DER WAALS
0.686
p/pc IDEAL GAS
2.000
Z = pV/nRT
0.343
REDUCED SLOPE ∂p/∂V
0.28

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics III modelVan der Waals isotherm in reduced variables, p/p_c = 8(T/T_c)/(3V/V_c − 1) − 3(V_c/V)², at T = 0.90 T_c (solid), the ideal-gas isotherm at the same T (dashed) and the spinodal dome where ∂p/∂V = 0 (faint). At the probe V = 1.20 V_c the model gives p = 0.69 p_c against the ideal 2.00 p_c, so Z = 0.34.Vc2VcV = 3Vcpc2pcsolid: van der Waalsat T = 0.90 Tcdashed: ideal gas, same Tfaint dome: ∂p/∂V = 0open circle: critical pointdot: probe, Z = 0.34
Van der Waals isotherm in reduced variables, p/pc = 8(T/Tc)/(3V/Vc − 1) − 3(Vc/V)², at T = 0.90 Tc (solid), the ideal-gas isotherm at the same T (dashed) and the spinodal dome where ∂p/∂V = 0 (faint). At the probe V = 1.20 Vc the model gives p = 0.69 pc against the ideal 2.00 pc, so Z = 0.34.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Reduced temperature T/Tc: 0.90; Probe volume V/Vc: 1.20

Baseline 0.90; choose 0.8 to 1.1, in steps of 0.05.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

First-year students take Z ≠ 1 to mean that the molecules have size, and expect every real gas to be harder to compress than an ideal one, with Z above 1. They also expect heating to make a gas less ideal, because faster molecules collide harder. Both are backwards for the conditions met in practice. At moderate pressure the dominant correction is attraction, which lowers the pressure and puts Z below 1: CO₂ at 40 bar and 300 K has Z ≈ 0.77. Excluded volume takes over only when Vₘ falls to a few times b, at hundreds of bar. And below the Boyle temperature raising T makes a gas more ideal, not less: the attraction energy a/Vₘ is fixed by the density while the kinetic scale RT grows, so their ratio shrinks and B(T) = b − a/RT climbs towards zero; only above TB = a/(Rb) does the size term take over and lift Z above 1. The sign of Z − 1 tells you which force is winning; its size, not the mere fact of departure, tells you whether the ideal model is still usable.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

One mole of CO₂ at 300 K is compressed to 40.0 bar and its volume is measured as 0.480 L. Find the compressibility factor, the volume an ideal gas would occupy at the same p and T, and say which correction is winning.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

MediumExample 2

The van der Waals constants for CO₂ are a = 0.364 Pa m⁶ mol⁻² and b = 4.27 × 10⁻⁵ m³ mol⁻¹. Predict Tc, pc and Vc. The measured values are 304.1 K, 73.8 bar and 94.0 cm³ mol⁻¹. Which prediction is the real test, and how does the model fare?

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

HardExample 3

A 50.0 L steel cylinder holds 10.0 kg of nitrogen (M = 28.0 g mol⁻¹) at 300 K. Find the pressure from the ideal law and from van der Waals (a = 0.137 Pa m⁶ mol⁻², b = 3.87 × 10⁻⁵ m³ mol⁻¹), the compressibility factor the model implies, and the Boyle temperature it predicts.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 6 steps revealed.

6

Quick check

Select an answer and explain it before checking.

Nitrogen at 300 K and 10 bar has Z = 0.998. Which statement about this gas is correct?
7

Review & continue

The compressibility factor Z = pV/(nRT) measures how far a real gas departs from the ideal law: Z = 1 is ideal, Z < 1 means intermolecular attraction has lowered the pressure, and Z > 1 means the molecules' own volume has raised it.

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.