Historical Context & Motivation
The ideal gas law, PV = nRT, elegantly unifies the earlier empirical observations of Boyle, Charles, and Avogadro into a single equation of state. For over a century it served as the workhorse of gas-phase calculations, yet experimentalists noticed persistent discrepancies when gases were compressed to high pressures or cooled toward their boiling points. These failures hinted at a deeper physical reality: gas molecules are not the infinitesimally small, non-interacting particles the ideal model assumes. The quest to reconcile theory with measurement drove some of the most consequential work in thermodynamics and physical chemistry during the nineteenth century.
The central question that this lesson addresses is straightforward: under what conditions and why does PV = nRT fail, and how can we correct it? Understanding these deviations is critical for AP Chemistry because the College Board explicitly tests your ability to predict when a gas will deviate from ideal behavior and to apply the van der Waals equation quantitatively.
Core Principles of Real Gas Behavior
The ideal gas model rests on two simplifying assumptions: that gas particles have zero volume and that they exert no attractive or repulsive forces on one another. Real molecules violate both assumptions, and the magnitude of these violations determines how far a gas deviates from ideality. The following foundational ideas structure our analysis of real gas behavior.
Finite Molecular Volume
Intermolecular Attractions
High Pressure → More Deviation
Low Temperature → More Deviation
Compressibility Factor Z
Visualizing Ideal vs. Real Gas Behavior
The diagram above is the single most important visual for understanding real gas behavior. Notice two distinct regimes. At moderate pressures, intermolecular attractions pull molecules inward, reducing wall collisions and making Z < 1 — the gas is more compressible than an ideal gas predicts. At very high pressures, the molecules are packed so tightly that their finite volume becomes the dominant correction, forcing Z > 1. The depth of the Z minimum correlates with the strength of intermolecular forces: CO2 (polar, larger electron cloud) dips more than N2, while H2 barely dips at all. This pattern is a favorite testing target on the AP exam.
Mathematical Framework: The Van der Waals Equation
To quantify deviations from ideality, we replace PV = nRT with the van der Waals equation, which introduces two correction terms — one for intermolecular attractions and one for finite molecular volume. These corrections transform the ideal gas law into a more physically realistic equation of state.
The term an²/V² is added to the measured pressure because intermolecular attractions decrease the observed pressure relative to what a non-interacting gas would exert. The factor is proportional to the square of the molar concentration (n/V) because attractions are pairwise — doubling the concentration quadruples the number of interacting pairs per unit volume. Similarly, nb is subtracted from the total volume because the portion of the container occupied by the molecules themselves is unavailable for free motion. Gases with larger, more polarizable electron clouds (e.g., Cl2, SO2) have larger a values, while physically larger molecules have larger b values.
When Do Gases Deviate Most?
Predicting when a gas behaves ideally versus non-ideally is one of the most frequently tested skills on the AP Chemistry exam. The two primary factors are pressure and temperature, but the identity of the gas — specifically its molecular mass, polarity, and ability to hydrogen bond — also matters significantly.
| Gas | a (L²·atm/mol²) | b (L/mol) | Dominant IMF |
|---|---|---|---|
| He | 0.0342 | 0.0237 | Very weak LDF |
| N₂ | 1.390 | 0.0391 | LDF |
| CO₂ | 3.590 | 0.0427 | LDF (large e⁻ cloud) |
| NH₃ | 4.170 | 0.0371 | H-bonding + dipole–dipole |
| H₂O | 5.460 | 0.0305 | Strong H-bonding |
Notice how a increases dramatically from He to H₂O, spanning two orders of magnitude. Water vapor, with its strong hydrogen bonding network, deviates far more readily than helium at equivalent conditions. The b values vary less because molecular volumes are more similar than interaction strengths. On the AP exam, you should be prepared to rank gases by expected deviation based on their intermolecular force types and molecular sizes.
Worked Example: Comparing Ideal and Van der Waals Predictions
Let us calculate the pressure of 1.00 mol of CO2 confined to a 0.500 L container at 300 K using both the ideal gas law and the van der Waals equation, then compare the results. For CO2: a = 3.590 L²·atm/mol², b = 0.0427 L/mol.
Strengths and Limitations of Each Model
| Feature | Ideal Gas Law | Van der Waals Equation |
|---|---|---|
| Molecular volume | Assumed zero | Corrected by constant b |
| Intermolecular forces | Assumed none | Corrected by constant a |
| Accuracy at low P, high T | Excellent | Excellent (reduces to ideal) |
| Accuracy at high P, low T | Poor — significant error | Good — qualitatively correct |
| Mathematical simplicity | Simple algebra | Cubic in V; solvable analytically |
| Predicts liquefaction? | No | Qualitatively yes (below Tc) |
It is worth noting that the van der Waals equation still has limitations: it does not handle the liquid phase quantitatively, it is gas-specific (requiring tabulated a and b values), and it cannot capture the sharp phase transitions that occur at the critical point with full accuracy. Nevertheless, for AP Chemistry purposes, the van der Waals framework provides the conceptual and mathematical tools needed to understand and predict real gas behavior.
Connection to Advanced Theory
The van der Waals equation is only the first step in a hierarchy of increasingly accurate equations of state. In university-level physical chemistry and chemical engineering courses, you will encounter more sophisticated models that extend the ideas introduced here.
| Concept | AP Chemistry Level | Advanced / College Level |
|---|---|---|
| Equation of state | Van der Waals equation with given a, b | Virial expansion, Redlich–Kwong, Peng–Robinson equations |
| Phase behavior | Qualitative: gases liquefy at high P, low T | Critical constants, reduced properties, law of corresponding states |
| Molecular interactions | LDF, dipole–dipole, H-bonding qualitative ranking | Lennard-Jones potential, statistical mechanics partition functions |
| Z interpretation | Z < 1 or Z > 1 relative to ideal | Boyle temperature, fugacity, activity coefficients |
One particularly elegant advanced concept is the Boyle temperature — the temperature at which the attractive and repulsive corrections exactly cancel for a given gas, making Z ≈ 1 over a wide pressure range. At this temperature the gas mimics ideal behavior despite having real intermolecular forces, a beautiful example of how competing effects can produce apparent simplicity. For now, the key insight to carry forward is that every equation of state is a model, and the art of physical chemistry lies in choosing the model whose assumptions best match the conditions of interest.