01 / 21

Deviation from the
Ideal Gas Law

Explore why real gases don't always obey \( PV = nRT \), and learn how the van der Waals equation corrects for molecular volume and intermolecular forces.

AP Chemistry

What Is an Ideal Gas?

The ideal gas model assumes that gas particles are point masses with no volume and experience no intermolecular forces. The only interactions are perfectly elastic collisions.

Assumption 1
Particles have zero volume: they are infinitely small points.
Assumption 2
No attractions or repulsions between particles whatsoever.

When Do Real Gases Deviate?

Real gases deviate from ideal behavior under two key conditions: when molecules are packed closely together and when they move slowly enough for attractions to matter.

High Pressure
Molecules are forced close together, so their actual volume becomes significant relative to the container.
Low Temperature
Molecules move slowly, allowing intermolecular attractions to pull them together, reducing pressure.

Visualizing Deviation: The Compressibility Factor

The compressibility factor \( Z = \frac{PV}{nRT} \) measures how much a real gas deviates from ideal behavior. For an ideal gas, \( Z = 1 \) at all pressures.

Pressure (atm)
\( Z = \frac{PV}{nRT} \)
0 0.5 1.0 1.5 200 400 600 800
Ideal (\(Z=1\))
H₂ N₂ CO₂

Two Causes of Deviation

Molecular Volume
Real molecules occupy space. At high pressure, their volume becomes a significant fraction of the container volume, so the actual free space is less than \( V \).
Intermolecular Forces
Attractive forces (London dispersion, dipole-dipole, H-bonding) pull molecules inward, reducing the force of collisions on container walls and lowering the observed pressure.

The van der Waals Equation

The van der Waals equation corrects the ideal gas law for both effects:

\( a \) constant
Corrects for intermolecular attractions. Larger \( a \) means stronger attractive forces between molecules.
\( b \) constant
Corrects for molecular volume. Larger \( b \) means each molecule occupies more space.

Dissecting the Corrections

Pressure Correction Attractions reduce wall collisions Volume Correction Molecules occupy real space (nb)

Ideal vs Real Gas Behavior

Ideal Gas Real Gas
Particle Volume Zero (point masses) Finite and measurable
Intermolecular Forces None Attractions and repulsions
Equation \( PV = nRT \) \( (P + \frac{an^2}{V^2})(V - nb) = nRT \)
Best Conditions High T, Low P Any T and P
Compressibility \( Z \) Always \( = 1 \) Can be \( < 1 \) or \( > 1 \)

Interpreting \( a \) and \( b \) Constants

Gas \( a \) (L² atm/mol²) \( b \) (L/mol)
He 0.0342 0.02370
H₂ 0.244 0.02661
N₂ 1.390 0.03913
CO₂ 3.592 0.04267
H₂O 5.536 0.03049

Why Does This Matter?

Industrial Chemistry
High-pressure reactions (like the Haber process for ammonia) require real gas corrections for accurate yield calculations.
Gas Storage
Compressed gas cylinders store gases at hundreds of atmospheres, where ideal gas law predictions can be off by 20% or more.
Phase Transitions
Understanding real gas behavior helps predict when a gas will liquefy under pressure: something the ideal gas law cannot do.

How to Apply the van der Waals Equation

1
Identify the gas and look up its \( a \) and \( b \) constants from a reference table.
2
List known values: \( P \), \( V \), \( n \), or \( T \). Identify what you need to find.
3
Substitute into \( \left(P + \frac{an^2}{V^2}\right)(V - nb) = nRT \) and solve for the unknown.
4
Compare your answer to the ideal gas law result. The difference quantifies the deviation.

Example 1: CO₂ Pressure Calculation

Calculate the pressure of 1.00 mol CO₂ in a 1.00 L container at 273 K using both the ideal gas law and the van der Waals equation.

Example 2: He vs H₂O Comparison

Compare the pressure of 2.00 mol of He vs H₂O(g) in a 5.00 L container at 500 K.

He (weak IMFs)
\( P = \frac{nRT}{V - nb} - \frac{an^2}{V^2} \)

\( = \frac{(2.00)(0.08206)(500)}{5.00 - 0.04740} - \frac{0.0342(4)}{25} \)

\( = \frac{82.06}{4.953} - 0.00547 \)

\( = \) 16.57 atm
H₂O (strong IMFs)
\( P = \frac{nRT}{V - nb} - \frac{an^2}{V^2} \)

\( = \frac{(2.00)(0.08206)(500)}{5.00 - 0.06098} - \frac{5.536(4)}{25} \)

\( = \frac{82.06}{4.939} - 0.886 \)

\( = \) 15.73 atm

Example 3: Predicting Deviation Direction

Without calculating, predict whether each scenario will have \( Z > 1 \) or \( Z < 1 \):

1
N₂ at 200 atm and 300 K: Very high pressure forces molecules close, but N₂ has weak attractions. Molecular volume dominates → \( Z > 1 \)
2
NH₃ at 10 atm and 250 K: Moderate pressure, low temperature, and strong H-bonding. Attractions dominate → \( Z < 1 \)
3
He at 1 atm and 500 K: Low pressure, high temperature, negligible forces. Nearly ideal → \( Z \approx 1 \)

Common Mistakes

✕ Confusing \( a \) and \( b \)
The \( a \) constant corrects for attractions (pressure), not volume. The \( b \) constant corrects for volume, not forces. Don't swap them.
✕ Wrong Deviation Direction
Students often think high pressure always means \( Z > 1 \). At moderate high pressures, attractions can still dominate, giving \( Z < 1 \) first.
✕ Ignoring Units
The constants \( a \) and \( b \) have specific units (L² atm/mol² and L/mol). Using them with SI units (Pa, m³) without conversion gives wrong answers.

Summary: Real Gas Behavior

Condition Effect Compressibility \( Z \) Correction
High T, Low P Nearly ideal \( Z \approx 1 \) None needed
Moderate P Attractions dominate \( Z < 1 \) \( a \) term matters
Very High P Volume dominates \( Z > 1 \) \( b \) term matters
Low T Stronger attractions \( Z < 1 \) \( a \) term matters
Large, polar gas Both effects strong Deep dip in Z Both \( a \) and \( b \)

Question 1 of 5

In the van der Waals equation, the constant \( a \) corrects for which factor?

Question 2 of 5

Under which conditions does a real gas behave most like an ideal gas?

Question 3 of 5

A gas has a compressibility factor \( Z = 0.85 \). What does this indicate?

Question 4 of 5

Which gas would you expect to have the largest van der Waals \( a \) constant?

Question 5 of 5

Using the ideal gas law, \( P = 22.4 \) atm for a sample of CO₂. Using the van der Waals equation under the same conditions, you find \( P = 19.8 \) atm. Which statement is correct?