General Chemistry 2 • Gases & Phase Behavior

Non-Ideal Gas Behavior — Describe deviations from ideal gas behavior (qualitative)

Real gases deviate from ideality when molecular volume and intermolecular forces can no longer be ignored.

An atom with laboratory flask and electron orbit for General Chemistry 2
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

The story of non-ideal gas behavior begins with the remarkable success—and eventual failure—of a deceptively simple equation. In the seventeenth and eighteenth centuries, experimental work by Boyle, Charles, and Gay-Lussac established quantitative relationships between the pressure, volume, and temperature of gases. These empirical laws were unified in the 1830s when Émile Clapeyron combined them into the ideal gas law, PV = nRT, a relationship that treats gas molecules as point particles experiencing no intermolecular forces. For many practical situations—dilute gases at moderate temperatures—this approximation works remarkably well. Yet careful experiments revealed systematic deviations, particularly at high pressures and low temperatures, conditions where the fundamental assumptions of the ideal gas model break down.

1662 • Boyle's Law

Robert Boyle establishes the inverse relationship between pressure and volume at constant temperature, providing one of the earliest quantitative gas laws.

1834 • Ideal Gas Law Formulated

Émile Clapeyron synthesizes the work of Boyle, Charles, and Gay-Lussac into the combined ideal gas equation PV = nRT, treating molecules as non-interacting point particles.

1873 • Van der Waals Equation

Johannes van der Waals publishes his doctoral thesis introducing correction terms for molecular volume and intermolecular attractions, earning him the 1910 Nobel Prize in Physics.

1901 • Onnes and Gas Liquefaction

Heike Kamerlingh Onnes uses the van der Waals equation to guide cryogenic experiments, eventually liquefying helium in 1908 and demonstrating the practical consequences of non-ideal behavior.

1949 • Redlich–Kwong Equation

Otto Redlich and J. N. S. Kwong introduce a temperature-dependent attraction term, improving accuracy for real gases and inspiring a family of modern cubic equations of state used in chemical engineering.

The central question that drives the study of non-ideal gas behavior is straightforward: Under what conditions, and for what physical reasons, does a real gas deviate from the predictions of PV = nRT? Answering this question requires us to revisit the two core assumptions built into the ideal gas model—that gas molecules have zero volume and experience zero intermolecular forces—and examine when those assumptions become untenable. Understanding these deviations is not merely an academic exercise; it is essential for designing industrial processes that operate at high pressures, predicting when gases will condense into liquids, and interpreting experimental data accurately.

SECTION 2

Core Principles of Non-Ideal Behavior

The ideal gas law rests on two simplifying assumptions that define a hypothetical substance known as an ideal gas. First, the model assumes that individual gas molecules occupy negligible volume compared to the total volume of the container. Second, it assumes that molecules exert no attractive or repulsive forces on one another except during perfectly elastic collisions. Real molecules, of course, possess finite size and interact through electromagnetic forces—primarily van der Waals forces (including London dispersion, dipole–dipole, and hydrogen-bonding interactions). The deviations that arise from violating these assumptions become significant under specific thermodynamic conditions, and they manifest in a measurable quantity called the compressibility factor, Z = PV/nRT. For an ideal gas, Z equals exactly 1; for real gases, Z deviates above or below unity depending on which molecular effect dominates.

1

Finite Molecular Volume

Real gas molecules have a nonzero effective size. At high pressures, the volume occupied by the molecules themselves becomes a significant fraction of the container volume, reducing the free space available for motion and causing positive deviations (Z > 1).
2

Intermolecular Attractions

At moderate pressures or low temperatures, attractive forces between nearby molecules reduce the effective pressure exerted on the container walls, because molecules approaching the wall are pulled back by their neighbors. This produces negative deviations (Z < 1).
3

Temperature Dependence

At high temperatures, the average kinetic energy of molecules greatly exceeds the magnitude of intermolecular potential energy, so attractions become negligible. Gas behavior approaches ideality as temperature increases, because thermal motion dominates over intermolecular forces.
4

Pressure Dependence

At very low pressures, molecules are far apart on average, so both their finite volume and their mutual attractions are inconsequential. As pressure rises, attractions first dominate (Z dips below 1), then molecular volume takes over (Z rises above 1).
5

Molecular Identity Matters

Polar molecules and those capable of hydrogen bonding (e.g., H₂O, NH₃) exhibit stronger attractions and larger deviations than nonpolar, small molecules (e.g., He, Ne). The magnitude of deviation is tied to the strength of intermolecular forces and the molecular size.
✦

KEY TAKEAWAY

Think of ideal gas molecules as perfectly independent commuters on an empty highway: they take up no lane space and ignore each other entirely. Real gas molecules are more like cars in traffic. At low density (low pressure, high temperature) the highway is nearly empty and the ideal model works. But pack the highway (high pressure) and every car's physical size creates congestion—this is the excluded volume effect. Meanwhile, at slow speeds (low temperature) drivers start rubber-necking at each other—analogous to intermolecular attractions slowing molecules before they hit the container wall, lowering the effective pressure.

SECTION 3

Visualizing Deviations: The Compressibility Factor

The most informative way to visualize non-ideal gas behavior is to plot the compressibility factor Z = PV/(nRT) as a function of pressure for various gases at a constant temperature. For a perfectly ideal gas, Z remains at unity across all pressures—a horizontal line at Z = 1. Real gases, however, trace characteristic curves that first dip below 1 (where intermolecular attractions dominate) and then rise above 1 (where finite molecular volume dominates). The depth of the dip and the pressure at which Z crosses back through unity depend on the identity of the gas—polar, large, or strongly interacting gases show deeper dips and more dramatic deviations. Gases like helium and hydrogen, with very weak intermolecular forces, show only modest dips or may even remain above Z = 1 at moderate temperatures because their repulsive (excluded volume) effects dominate from the outset.

Compressibility Factor (Z) vs. Pressure for Several GasesPressure (atm) →Z = PV / nRT2.01.51.00.50.002004006008001000Ideal (Z=1)H₂N₂CO₂NH₃Z < 1 → attractions dominateZ > 1 → volume effects dominateZ = 1 → ideal behavior
The compressibility factor Z is plotted against pressure for H2 (blue), N2 (cyan), CO2 (violet), and NH3 (pink). The dashed line at Z = 1 represents ideal behavior. Gases with stronger intermolecular forces (NH3, CO2) show deeper dips below Z = 1 before excluded volume effects drive Z above unity at very high pressures.

Several key features emerge from this plot. At low pressures (near the y-axis), all curves converge toward Z = 1, confirming that all gases behave ideally in the limit of low pressure. As pressure increases, gases with strong intermolecular attractions—such as NH₃ and CO₂—show a pronounced dip below Z = 1. This reflects the fact that attractive forces pull molecules inward, diminishing the force of impact on the container walls and effectively reducing the measured pressure relative to what the ideal gas law predicts. At still higher pressures, finite molecular volume becomes the dominant correction: the molecules themselves take up space, so the effective volume is larger than the ideal model predicts, driving Z above 1. Hydrogen, with its very weak London dispersion forces, barely dips below 1 and quickly shows the excluded volume effect.

SECTION 4

Mathematical Framework: The Van der Waals Equation

While the focus of this lesson is qualitative, understanding the mathematical corrections introduced by van der Waals provides essential insight into why real gases deviate. The van der Waals equation modifies the ideal gas law by adding two empirical correction terms, each addressing one of the two broken assumptions.

IDEAL GAS LAW

PV=nRTPV = nRT

P = pressure, V = volume, n = moles, R = gas constant (0.08206 L·atm·mol−1·K−1), T = temperature in kelvins. Assumes point particles with no interactions.

VAN DER WAALS EQUATION

(P+an2/V2)(V−nb)=nRT(P + an²/V²)(V − nb) = nRT

a = correction for intermolecular attractions (units: L²·atm·mol−2). Larger a → stronger attractions → deeper Z dip. b = correction for finite molecular volume (units: L·mol−1). Larger b → larger excluded volume → Z rises above 1 at lower pressures.

The term an²/V² is added to the measured pressure P because intermolecular attractions reduce the force molecules exert on the walls; adding this correction recovers the pressure molecules would exert if they did not attract each other. The correction scales with (n/V)², the square of the molar concentration, because the frequency of attractive interactions depends on pairs of nearby molecules. The term nb is subtracted from the total volume V because the molecules themselves are impenetrable; nb represents the total excluded volume, reducing the effective free space available for molecular motion.

COMPRESSIBILITY FACTOR

Z=PV/nRTZ = PV / nRT

Z = 1 for an ideal gas. Z < 1 when attractions dominate (the a correction matters most). Z > 1 when excluded volume dominates (the b correction matters most).

💡

Interpreting the a and b Constants

A large value of a indicates strong intermolecular attractions (e.g., water vapor has a = 5.46 L²·atm·mol⁻², while helium has a = 0.0342). A large b indicates a physically large molecule (e.g., CCl₄ has b = 0.1383 L·mol⁻¹, whereas He has b = 0.02370). Comparing these constants across substances allows you to predict which gas will deviate most from ideality under a given set of conditions.

SECTION 5

When Do Gases Deviate? A Systematic Breakdown

Predicting whether a gas will behave ideally requires consideration of the thermodynamic state—particularly the pressure and temperature—along with the molecular properties of the gas. A useful organizing concept is the Boyle temperature (TB), the temperature at which the attractive and repulsive corrections approximately cancel at moderate pressures, so the gas appears most nearly ideal over the widest pressure range. Below TB, attractions dominate and Z initially falls below 1; above TB, excluded volume effects dominate and Z stays above 1 at all pressures. For nitrogen, TB ≈ 327 K; for helium, TB ≈ 23 K.

Molecular-Level View: Ideal vs. Non-Ideal ConditionsNear-Ideal: Low P, High TMolecules far apart, weak interactionsNon-Ideal: High P, Low TMolecules close together, strong interactionsEffect on Pressure Measurement at the Container WallWallNeighbor pullsmolecule back→ P(measured) < P(ideal)Molecules crowd → V(effective) < V(container)
Left panels compare ideal conditions (low pressure, high temperature, large spacing) with non-ideal conditions (high pressure, low temperature, tight spacing). Bottom left: a molecule approaching the wall is pulled back by a neighbor's attractive force, reducing the measured pressure below the ideal prediction. Bottom right: at high pressure, molecular volume becomes significant, reducing the effective free volume inside the container.
ConditionDominant EffectZ BehaviorPhysical Reason
Low P, High TNeitherZ ≈ 1 (ideal)Molecules far apart; kinetic energy overwhelms attractions
Moderate P, Low TIntermolecular attractionsZ < 1Attractions reduce wall impacts; measured P < ideal P
Very High PFinite molecular volumeZ > 1Excluded volume makes actual V > ideal V at a given P
Near critical pointBoth significantZ varies dramaticallyDensity fluctuations; gas–liquid boundary; both corrections large

Summary of conditions and their effects on the compressibility factor Z

SECTION 6

Worked Example: Qualitative Prediction of Gas Behavior

Consider the following scenario: You have two sealed containers at the same temperature and total pressure. Container A holds 1.0 mol of He at 500 K and 50 atm. Container B holds 1.0 mol of NH₃ at 300 K and 50 atm. Which gas will exhibit a larger deviation from ideal behavior, and in which direction will each gas deviate?

Predicting Relative Deviation from Ideality

  1. 1

    Step 1 — Identify the Molecular Properties

    Helium (He) is a monatomic noble gas with extremely weak London dispersion forces and a very small atomic radius. Its van der Waals constants are a = 0.0342 L²·atm·mol⁻² and b = 0.02370 L·mol⁻¹. Ammonia (NH₃) is a polar molecule capable of hydrogen bonding, giving it much stronger intermolecular attractions. Its constants are a = 4.170 L²·atm·mol⁻² and b = 0.03707 L·mol⁻¹.
    NH₃ has ~122× larger a and ~1.6× larger b than He.
  2. 2

    Step 2 — Assess the Thermodynamic Conditions

    Container A (He): 500 K is far above helium's Boyle temperature (~23 K), so He is well into the regime where kinetic energy dominates. At 50 atm, the density is not extreme for such a small, weakly interacting atom. Container B (NH₃): 300 K is well below ammonia's critical temperature (405.5 K), meaning the gas is in a regime where intermolecular attractions are significant. At 50 atm and 300 K, NH₃ molecules are close enough that hydrogen bonding substantially reduces the pressure exerted on the walls.
    NH₃ at 300 K and 50 atm is in a strongly non-ideal regime; He at 500 K and 50 atm is near-ideal.
  3. 3

    Step 3 — Predict the Direction of Deviation

    For He at these conditions, both corrections are negligible, so Z ≈ 1 (or very slightly above 1 due to finite atomic volume, since T > TB). For NH₃ at 300 K and 50 atm, the large a constant combined with the moderate density means attractions dominate, pulling Z significantly below 1. The actual molar volume of NH₃ will be less than the ideal gas law predicts, because attractive forces effectively "compress" the gas beyond what the external pressure alone would achieve.
    He: Z ≈ 1 (nearly ideal). NH₃: Z < 1 (significant negative deviation due to strong intermolecular attractions).
  4. 4

    Step 4 — Conclusion

    Ammonia exhibits a much larger deviation from ideal behavior than helium under these conditions. The deviation is a negative deviation (Z < 1) caused by ammonia's strong hydrogen-bonding interactions at a temperature that does not supply enough kinetic energy to overcome them. This example illustrates the general principle: the magnitude and direction of deviation depend on both the molecular identity (which determines a and b) and the thermodynamic conditions (P and T).
    NH₃ deviates more; its Z is significantly below 1, while He remains near Z = 1.

SECTION 7

Ideal vs. Real Gas Models: Strengths and Limitations

No single equation of state is universally superior; each model occupies a niche defined by the tradeoff between simplicity and accuracy. The ideal gas law excels in conceptual transparency and algebraic convenience, making it the default starting point for most thermodynamic calculations. The van der Waals equation captures the essential physics of non-ideal behavior—finite molecular size and intermolecular attractions—while remaining analytically tractable. More sophisticated equations of state, such as the Redlich–Kwong or Peng–Robinson models, introduce temperature-dependent attraction parameters and provide better quantitative agreement with experimental data, but at the cost of increased mathematical complexity.

FeatureIdeal Gas LawVan der Waals
Molecular volumeAssumed zeroCorrected by constant b
Intermolecular forcesAssumed zeroCorrected by constant a
Accuracy at low PExcellentExcellent (reduces to ideal)
Accuracy at high PPoor—overpredicts VGood qualitative correction
Predicts liquefactionNoYes (qualitatively, via isotherms)
Mathematical complexityLinear in P or VCubic in V—harder to solve analytically
Number of parameters0 (universal)2 (a and b, substance-specific)

Comparison of the ideal gas law and the van der Waals equation

✦

KEY TAKEAWAY

Choosing between the ideal gas law and a more complex equation of state is analogous to choosing a map resolution for navigation. A low-resolution map (ideal gas law) is perfect for cross-country road trips where small terrain details don't matter—just as PV = nRT works perfectly at low pressures and high temperatures. But if you're hiking a narrow mountain trail (high pressure, low temperature, near condensation), you need a topographic map (van der Waals or better) that shows the contours of the landscape. The right model depends on how close you are to conditions where the molecular-level details actually matter.

SECTION 8

Connection to Advanced Theory: Critical Phenomena and Beyond

The qualitative understanding of non-ideal gas behavior developed in this lesson leads directly into some of the most fascinating topics in physical chemistry and thermodynamics. The critical point—the temperature and pressure above which a distinct liquid phase cannot exist—is a direct consequence of the interplay between intermolecular attractions and thermal energy that we have been discussing. At the critical temperature, the van der Waals isotherms exhibit an inflection point, and the distinction between liquid and gas phases vanishes. This concept extends further into the principle of corresponding states, which asserts that all gases, when described in terms of reduced variables (P/Pc, V/Vc, T/Tc), obey approximately the same equation of state—a remarkable universality that emerges from the qualitative physics of molecular interactions.

ConceptThis Lesson (Qualitative)Advanced Treatment
Intermolecular attractionsReduce measured pressure; Z < 1Quantified via virial coefficients, statistical mechanics, pair-potential integrals
Molecular volumeReduces free space; Z > 1Treated rigorously via excluded volume in virial EOS; hard-sphere models
Compressibility factorZ = PV/nRT as qualitative diagnosticExpanded as virial series: Z = 1 + B/V + C/V² + ...
Gas–liquid transitionUnderstood as extreme non-ideal behaviorModeled via Maxwell construction, Clausius–Clapeyron equation, phase diagrams
Equation of stateVan der Waals (2 parameters)Redlich–Kwong, Peng–Robinson, SAFT; molecular simulation

Bridging qualitative understanding to advanced thermodynamics

As you move into physical chemistry and chemical engineering courses, you will encounter the virial equation of state, which expresses Z as a power series in 1/V (or P), with coefficients that can be derived from molecular pair potentials using statistical mechanics. The second virial coefficient B(T) captures the net effect of attractions and repulsions between pairs of molecules and changes sign at the Boyle temperature—providing a rigorous quantitative bridge to the qualitative picture we have developed here. The conceptual foundation you have built—understanding why real gases deviate, and under what conditions—will serve as the interpretive framework for all of these advanced treatments.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

The ideal gas law assumes two things about gas molecules that are never exactly true for real substances. Identify both assumptions and explain, at the molecular level, why each assumption fails more severely as pressure increases.
Show answer
The two assumptions are (1) that gas molecules have zero volume and (2) that they exert no intermolecular forces on each other. As pressure increases, molecules are forced closer together. The fraction of the container volume occupied by the molecules themselves grows from negligible to significant, meaning the free volume available for motion is noticeably less than the total volume—this violates assumption 1. Simultaneously, the shorter average intermolecular distances mean that attractive forces (London dispersion, dipole–dipole, etc.) become more effective at influencing molecular trajectories, violating assumption 2. Both effects cause the measured PVT relationship to depart from PV = nRT.

Question 2: BASIC CALCULATION

A gas at 300 K and 100 atm has a measured molar volume of 0.21 L·mol⁻¹. Calculate its compressibility factor Z and state whether intermolecular attractions or finite molecular volume is the dominant cause of its non-ideal behavior. (Use R = 0.08206 L·atm·mol⁻¹·K⁻¹.)
Show answer
The ideal molar volume at these conditions is Videal = RT/P = (0.08206 × 300)/100 = 0.2462 L·mol⁻¹. The compressibility factor is Z = Vmeasured/Videal = PV/(RT) = (100 × 0.21)/(0.08206 × 300) = 21/24.618 ≈ 0.853. Since Z < 1, the actual molar volume is less than the ideal prediction. This means intermolecular attractions are the dominant effect—they effectively pull molecules together more tightly than the external pressure alone would accomplish, reducing the observed volume.

Question 3: INTERMEDIATE

Rank the following gases in order of increasing deviation from ideal behavior at 25 °C and 200 atm: Ne (a = 0.2107, b = 0.01709), CO₂ (a = 3.592, b = 0.04267), and H₂O vapor (a = 5.464, b = 0.03049). All a values in L²·atm·mol⁻², b values in L·mol⁻¹. Justify your ranking by referencing the molecular properties that determine the van der Waals constants.
Show answer
The ranking from least to most deviation is Ne < CO₂ < H₂O. Neon is a small, nonpolar noble gas with very weak London dispersion forces, reflected in its small a value (0.2107) and small b value (0.01709). Carbon dioxide is a larger, linear molecule with a significant quadrupole moment; its London dispersion forces are much stronger (a = 3.592), and it is physically bigger (b = 0.04267). Water vapor has the largest a constant (5.464) due to its ability to form strong hydrogen bonds—the most powerful type of intermolecular attraction commonly encountered. At 200 atm and 25 °C (which is below the critical temperatures of CO₂ and H₂O), intermolecular attractions are very significant for both, but H₂O's hydrogen bonding produces the deepest Z dip. Neon, with minimal interactions, remains closest to ideal.

Question 4: APPLIED

A chemical engineer is designing a high-pressure reactor that will contain N₂ at 800 atm and 500 K. She uses the ideal gas law to estimate the amount of N₂ that can be stored in a 50.0 L tank. Would the actual amount of N₂ the tank holds be greater than or less than her ideal gas estimate? Explain your reasoning using the concept of the compressibility factor and the dominant non-ideal effect at these extreme conditions.
Show answer
At 800 atm and 500 K, the molecules of N₂ are packed so closely that their finite molecular volume is the dominant non-ideal effect. Under these extreme pressures, the excluded volume (quantified by the b constant) means that the effective free space per molecule is substantially reduced. The compressibility factor Z is significantly greater than 1 at 800 atm (experimentally, Z for N₂ at these conditions is approximately 1.9–2.0). Since Z = PV/(nRT), a Z > 1 rearranges to n = PV/(ZRT), which is less than the ideal prediction of n = PV/(RT). Therefore, the tank actually holds fewer moles of N₂ than the ideal gas law predicts. The engineer would overestimate the capacity of the tank if she relied on the ideal gas law, a potentially dangerous error in a high-pressure industrial setting.

Question 5: CRITICAL THINKING

Hydrogen gas (H₂) is unusual: at 300 K, its compressibility factor Z is greater than 1 at essentially all pressures above about 50 atm, showing almost no region where Z < 1. In contrast, nitrogen (N₂) at the same temperature clearly dips below Z = 1 before rising above it. Using the van der Waals constants (H₂: a = 0.2444, b = 0.02661; N₂: a = 1.390, b = 0.03913) and the concept of the Boyle temperature, explain why H₂ behaves so differently from N₂ at room temperature.
Show answer
The key lies in the Boyle temperature, TBT_B, which for a van der Waals gas is approximately a/(Rb). For H₂, TBT_B ≈ 0.2444/(0.08206 × 0.02661) ≈ 112 K. For N₂, TBT_B ≈ 1.390/(0.08206 × 0.03913) ≈ 433 K. At 300 K, H₂ is well above its Boyle temperature (300 >> 112 K), meaning its thermal energy far exceeds the energy scale of its very weak intermolecular attractions. The a correction is negligible, and the b correction (excluded volume) dominates at all appreciable pressures, keeping Z above 1. Nitrogen at 300 K, however, is below its Boyle temperature (300 < 433 K), so its intermolecular attractions are still thermodynamically significant. At moderate pressures, the attraction correction dominates and Z dips below 1; only at very high pressures does the excluded volume correction overcome the attraction and push Z above 1. This analysis demonstrates that whether a gas shows a Z < 1 region at a given temperature is fundamentally determined by whether T is above or below TBT_B, which in turn depends on the ratio a/b—the balance between the strength of attractions and the size of the molecule.

SUMMARY

Summary: Non-Ideal Gas Behavior

Summary

Real gases deviate from the predictions of the ideal gas law (PV = nRT) because of two molecular realities that the ideal model ignores: finite molecular volume and intermolecular attractive forces. The compressibility factor Z = PV/(nRT) quantifies the degree of deviation: Z < 1 indicates that intermolecular attractions dominate, reducing the effective pressure, while Z > 1 indicates that excluded volume dominates, making the gas occupy more space than the ideal model predicts. All gases approach ideal behavior at low pressures and high temperatures, where molecules are widely spaced and kinetic energy overwhelms attractive interactions.

The van der Waals equation (P + an²/V²)(V − nb) = nRT provides the simplest quantitative correction, using substance-specific constants a (attraction strength) and b (molecular size). Gases with strong intermolecular forces (polar molecules, hydrogen-bonding species) and large molecular volumes deviate most dramatically from ideality. The Boyle temperature (TB ≈ a/Rb) marks the temperature at which the attractive and repulsive corrections approximately cancel, serving as a diagnostic for whether a gas will show a Z < 1 dip at a given temperature. These qualitative concepts provide the essential foundation for understanding critical phenomena, gas liquefaction, and the more advanced equations of state encountered in physical chemistry and chemical engineering.

Varsity Tutors • General Chemistry 2 • Non-Ideal Gas Behavior — Describe deviations from ideal gas behavior (qualitative)