Irodov, Problem 2.21

Under what pressure will carbon dioxide have the density ρ = 500 g/l at the temperature T = 300 K? Carry out the calculations both for an ideal and for a Van der Waals gas.

Play: ideal gas first, then van der Waals 0.0 s
The answer in one line

For carbon dioxide at ρ = 500 g/l and T = 300 K, an ideal gas has p = ρRT/M = 279.7 atm. A van der Waals gas has p = nRT/(1 − bn) − an² = 79.22 atm. For the standard case (500 g/l, 300 K) these are 280 atm and about 79 atm.

Problem statement

Problem 2.21. Under what pressure will carbon dioxide have the density ρ = 500 g/l at the temperature T = 300 K? Carry out the calculations both for an ideal and for a Van der Waals gas.

We assume the van der Waals constants of carbon dioxide are a = 3.592 atm l²/mol² and b = 0.04267 l/mol, as in common data tables. The problem gives no values. This means the van der Waals answer depends on these numbers. Both are sliders, and one preset uses a = 3.64, b = 0.0427.

We assume carbon dioxide has molar mass M = 44 g/mol and R = 0.08206 l atm/(mol K). This means the density 500 g/l is 11.36 mol per litre.

Symbols: n is moles per litre (n = ρ/M), p is pressure, a and b are the van der Waals constants.

What the constants a and b mean

The constant b is the volume that one mole of molecules shuts out, because the molecules are not points. It has units of litres per mole. In a litre with n moles, the free volume is 1 − bn, so the gas is squeezed into less room and presses harder. For the standard case bn = 0.485, so about 51% of each litre is free. For the values on screen the free fraction is 0.5151.

The constant a measures how strongly molecules attract each other, in atm l²/mol². A molecule near the wall is pulled back by its neighbours, so it hits the wall more softly. The pull needs a pair of molecules, so it grows with n², and the pressure is reduced by an².

The ideal-gas law alone, p = nRT, treats molecules as points with no forces. That works when the gas is thin. At 500 g/l, the density of a liquid, it fails badly, so the two corrections are needed.

The big idea in plain words

Start from the ideal gas: the pressure is just the number of molecules per litre times RT. Then fix two mistakes. First, molecules are not points, so the room they can move in is smaller, which raises the pressure. Second, molecules attract, so they push on the wall less, which lowers it. In a dense gas both effects are large. For carbon dioxide at 500 g/l they almost cancel in size but the pull wins, so the pressure drops from 280 atm to about 79 atm.

Interactive derivation

The solution in each frame

Lab frame

The gas is at rest in a closed vessel. The full solution is in the next section.

Other frames

No other frame is needed. Nothing moves as a whole, so one frame is enough.

The solution step by step

Ideal gas. For m grams of gas in volume V, the number of moles is m/M. The gas law gives pV = (m/M) RT, so with ρ = m/V:

p = ρRT/M

Numbers: ρ/M = 500/44 = 11.36 mol/l. p = 11.36 × 0.08206 × 300 = 279.7 atm. The 280 atm is the standard result (about 279.5 atm with R = 0.082).

Van der Waals gas. For ν moles in volume V the equation is:

(p + ν²a/V²) (V − νb) = νRT

Put ν/V = n and solve for p:

p = nRT/(1 − bn) − a n² = ρRT/(M − ρb) − aρ²/M²

Numbers: 1 − bn = 0.5151. The first term is 543.1 atm. The second is a n² = 463.8 atm. So p = 543.1 − 463.8 = 79.22 atm.

The ratio of the real to the ideal pressure is Z = 0.2832. A Z below 1 means attraction wins; above 1 means the molecule size wins.

Numerical check

A separate check puts the answer back into the original form (p + an²)(1 − bn) = nRT for one litre. The two sides differ by a relative amount of 1.0 × 10⁻¹⁸, which is rounding only.

Five methods

1. Force method

Not natural here. Pressure is the force of molecules on the wall, but the equation of state is the working tool.

2. Energy method

The attraction term a n² is the pressure equivalent of the potential energy of the pairs of molecules. This explains why it grows as n².

3. Graph method

Plot p against ρ. The ideal gas is a straight line. The van der Waals curve rises above it at high density (space) and below it at medium density (attraction). The page shows both curves and the dots at the chosen density.

4. Calculus method

Not needed. The van der Waals equation gives p directly. At 300 K, just below the critical temperature of about 304 K, the curve p(ρ) has a small dip, which is the sign of a liquid forming.

5. Check method

Units: a n² has units of atm l²/mol² × mol²/l² = atm, and bn is a pure number. Limits: for a small n, both corrections vanish and the equation tends to p = nRT. For bn → 1 the pressure rises without limit.

Fastest: insert the numbers in p = nRT/(1 − bn) − an². Most reliable: put the answer back in the original equation.

What each slider changes

ControlChanges the answer?What it changes
Density ρYesBoth pressures, Z, both correction terms and the dots
Temperature TYesBoth pressures and the graphs
Molar mass MYesMoles per litre, both pressures and the graphs
Constant aVan der Waals onlyThe attraction term, the pressure and the curve
Constant bVan der Waals onlyThe free volume, the pressure and the curve
Probe densitiesNoThe molecules drawn in each box and its gauge
Given-answer modeSets ρThe page finds the density that gives the chosen van der Waals pressure

Parameters

QuantitySymbolValue used
Densityρ500 g/l
TemperatureT300 K
Molar massM44 g/mol
Moles per litren11.364 mol/l
Attraction constanta3.592 atm l²/mol²
Volume constantb0.04267 l/mol
Critical temperature8a/27Rb304 K

Exam traps

  • Using the density in g/l as if it were moles per litre. Divide by M first.
  • Adding the attraction term instead of subtracting it: it lowers the pressure.
  • Putting b into the equation with the wrong units. b is in litres per mole and n in moles per litre, so bn has no units.
  • Using a mix of units: R = 0.08206 l atm/(mol K) goes with a in atm l²/mol² and b in l/mol.
  • Expecting an ideal gas to work at liquid-like density. It overestimates the pressure here by a factor of about 3.5.