Skip to main content
Chemistry LibreTexts

5.5: Non-Ideal Gas Behavior

  • Page ID
    428717
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
     Learning Objectives
    • Describe the physical factors that lead to deviations from ideal gas behavior
    • Explain how these factors are represented in the van der Waals equation
    • Quantify non-ideal behavior by comparing computations of gas properties using the ideal gas law and the van der Waals equation

    Thus far, the ideal gas law, PV = nRT, has been applied to a variety of different types of problems, ranging from reaction stoichiometry and empirical and molecular formula problems to determining the density and molar mass of a gas. As mentioned in the previous modules of this chapter, however, the behavior of a gas is often non-ideal, meaning that the observed relationships between its pressure, volume, and temperature are not accurately described by the gas laws. In this section, the reasons for these deviations from ideal gas behavior are considered.

    One way in which the accuracy of PV = nRT can be judged is by comparing the actual volume of 1 mole of gas (its molar volume, Vm) to the molar volume of an ideal gas at the same temperature and pressure. This ratio is called the compressibility factor (Z) with:

    \[\mathrm{Z=\dfrac{molar\: volume\: of\: gas\: at\: same\:\mathit{T}\:and\:\mathit{P}}{molar\: volume\: of\: ideal\: gas\: at\: same\:\mathit{T}\:and\:\mathit{P}}}=\left(\dfrac{PV_m}{RT}\right)_\ce{measured} \nonumber \]

    Ideal gas behavior is therefore indicated when this ratio is equal to 1, and any deviation from 1 is an indication of non-ideal behavior. Figure \(\PageIndex{1}\) shows plots of Z over a large pressure range for several common gases.

     A graph is shown. The horizontal axis is labeled, “P ( a t m ).” Its scale begins at zero with markings provided by multiples of 200 up to 1000. The vertical axis is labeled, “Z le( k P a ).” This scale begins at zero and includes multiples of 0.5 up to 2.0. Six curves are drawn of varying colors. One of these curves is a horizontal, light purple line extending right from 1.0 k P a on the vertical axis, which is labeled “Ideal gas.” The region of the graph beneath this line is shaded tan. The remaining curves also start at the same point on the vertical axis. An orange line extends to the upper right corner of the graph, reaching a value of approximately 1.7 k P a at 1000 a t m. This orange curve is labeled, “H subscript 2.” A blue curve dips below the horizontal ideal gas line initially, then increases to cross the line just past 200 a t m. This curve reaches a value of nearly 2.0 k P a at about 800 a t m. This curve is labeled, “N subscript 2.” A red curve dips below the horizontal ideal gas line initially, then increases to cross the line just past 400 a t m. This curve reaches a value of nearly 1.5 k P a at about 750 a t m. This curve is labeled, “O subscript 2.” A purple curve dips below the horizontal ideal gas line, dipping even lower than the O subscript 2 curve initially, then increases to cross the ideal gas line at about 400 a t m. This curve reaches a value of nearly 2.0 k P a at about 850 a t m. This curve is labeled, “C H subscript 4.” A yellow curve dips below the horizontal ideal gas line, dipping lower than the other curves to a minimum of about 0.4 k P a at about 0.75 a t m, then increases to cross the ideal gas line at about 500 a t m. This curve reaches a value of about 1.6 k P a at about 900 a t m. This curve is labeled, “C O subscript 2.”
    Figure \(\PageIndex{1}\): A graph of the compressibility factor (Z) vs. pressure shows that gases can exhibit significant deviations from the behavior predicted by the ideal gas law.
     

    As is apparent from Figure \(\PageIndex{1}\), the ideal gas law does not describe gas behavior well at relatively high pressures. To determine why this is, consider the differences between real gas properties and what is expected of a hypothetical ideal gas.

    Particles of a hypothetical ideal gas have no significant volume and do not attract or repel each other. In general, real gases approximate this behavior at relatively low pressures and high temperatures. However, at high pressures, the molecules of a gas are crowded closer together, and the amount of empty space between the molecules is reduced. At these higher pressures, the volume of the gas molecules themselves becomes appreciable relative to the total volume occupied by the gas (Figure \(\PageIndex{2}\)). The gas therefore becomes less compressible at these high pressures, and although its volume continues to decrease with increasing pressure, this decrease is not proportional as predicted by Boyle’s law.

     This figure includes three diagrams. In a, a cylinder with 9 purple spheres with trails indicating motion are shown. Above the cylinder, the label, “Particles ideal gas,” is connected to two of the spheres with line segments extending into the square. The label “Assumes” is beneath the square. In b, a cylinder and piston is shown. A relatively small open space is shaded lavender with 9 purple spheres packed close together. No motion trails are present on the spheres. Above the piston, a downward arrow labeled “Pressure” is directed toward the enclosed area. In c, the cylinder is exactly the same as the first, but the number of molecules has doubled.
    Figure \(\PageIndex{2}\): Raising the pressure of a gas increases the fraction of its volume that is occupied by the gas molecules and makes the gas less compressible.
     

    At relatively low pressures, gas molecules have practically no attraction for one another because they are (on average) so far apart, and they behave almost like particles of an ideal gas. At higher pressures, however, the force of attraction is also no longer insignificant. This force pulls the molecules a little closer together, slightly decreasing the pressure (if the volume is constant) or decreasing the volume (at constant pressure) (Figure \(\PageIndex{3}\)). This change is more pronounced at low temperatures because the molecules have lower KE relative to the attractive forces, and so they are less effective in overcoming these attractions after colliding with one another.

     This figure includes two diagrams. Each involves two lavender shaded boxes that contain 14 relatively evenly distributed, purple spheres. In the first box in a, a nearly centrally located purple sphere has 6 double-headed arrows extending outward from it to nearby spheres. A single purple arrow is pointing right into open space. This box is labeled, “real.” There is a second box that looks slightly larger than the first box in a. It has the same number of particles but no arrows. This box is labeled, “ideal.” In b, the first box has a purple sphere at the right side which has 4 double-headed arrows radiating out to the top, bottom, and left to other spheres. A single purple arrow points right through open space to the edge of the box. This box has no spheres positioned near its right edge This box is labeled, “real.” The second box is the same size as the first box and contains the same number of particles. There are no arrows in it, except for the purple arrow which appears to be bigger and bolder. This box is labeled, “ideal.”
    Figure \(\PageIndex{3}\): (a) Attractions between gas molecules serve to decrease the gas volume at constant pressure compared to an ideal gas whose molecules experience no attractive forces. (b) These attractive forces will decrease the force of collisions between the molecules and container walls, therefore reducing the pressure exerted compared to an ideal gas.
     

    There are several different equations that better approximate gas behavior than does the ideal gas law. The simplest expressions is shown in Figure \(\PageIndex{4}\)  and was developed by the Dutch scientist Johannes van der Waals in 1879. The van der Waals equation improves upon the ideal gas law by adding two terms: one to account for the volume of the gas molecules and another for the attractive forces between them.

     This figure shows the equation P V equals n R T, with the P in blue text and the V in red text. This equation is followed by a right pointing arrow. Following this arrow, to the right in blue text appears the equation ( P minus a n superscript 2 divided by V squared ),” which is followed by the red text ( V minus n b ). This is followed in black text with equals n R T. Beneath the second equation appears the label, “Correction for molecular attraction” which is connected with a line segment to V squared. A second label, “Correction for volume of molecules,” is similarly connected to n b which appears in red.
    Figure \(\PageIndex{4}\):The mathematical expression for the van der Walls equation.

    The constant a corresponds to the strength of the attraction between molecules of a particular gas, and the constant b corresponds to the size of the molecules of a particular gas. The “correction” to the pressure term in the ideal gas law is \(\dfrac{n^2a}{V^2}\), and the “correction” to the volume is nb. Note that when V is relatively large and n is relatively small, both of these correction terms become negligible, and the van der Waals equation reduces to the ideal gas law, PV = nRT. Such a condition corresponds to a gas in which a relatively low number of molecules is occupying a relatively large volume, that is, a gas at a relatively low pressure. Experimental values for the van der Waals constants of some common gases are given in Table \(\PageIndex{1}\).

    Table \(\PageIndex{1}\): Values of van der Waals Constants for Some Common Gases
    Gas a (L2 atm/mol2) b (L/mol)
    N2 1.39 0.0391
    O2 1.36 0.0318
    CO2 3.59 0.0427
    H2O 5.46 0.0305
    He 0.0342 0.0237
    CCl4 20.4 0.1383

    At low pressures, the correction for intermolecular attraction, a, is more important than the one for molecular volume, b. At high pressures and small volumes, the correction for the volume of the molecules becomes important because the molecules themselves are incompressible and constitute an appreciable fraction of the total volume. At some intermediate pressure, the two corrections have opposing influences and the gas appears to follow the relationship given by PV = nRT over a small range of pressures. This behavior is reflected by the “dips” in several of the compressibility curves shown in Figure \(\PageIndex{1}\). The attractive force between molecules initially makes the gas more compressible than an ideal gas, as pressure is raised (Z decreases with increasing P). At very high pressures, the gas becomes less compressible (Z increases with P), as the gas molecules begin to occupy an increasingly significant fraction of the total gas volume.

    Strictly speaking, the ideal gas equation functions well when intermolecular attractions between gas molecules are negligible and the gas molecules themselves do not occupy an appreciable part of the whole volume. These criteria are satisfied under conditions of low pressure and high temperature. Under such conditions, the gas is said to behave ideally, and deviations from the gas laws are small enough that they may be disregarded—this is, however, very often not the case.

    Example \(\PageIndex{1}\): Comparison of Ideal Gas Law and van der Waals Equation

    A 4.25-L flask contains 3.46 mol CO2 at 229 °C. Calculate the pressure of this sample of CO2:

    1. from the ideal gas law
    2. from the van der Waals equation
    3. Explain the reason(s) for the difference.
    Solution

    (a) From the ideal gas law:

    \(P=\dfrac{nRT}{V}=\mathrm{\dfrac{3.46\cancel{mol}×0.08206\cancel{L}atm\cancel{mol^{−1}}\cancel{K^{−1}}×502\cancel{K}}{4.25\cancel{L}}=33.5\:atm}\)

    (b) From the van der Waals equation:

    \(\left(P+\dfrac{n^2a}{V^2}\right)×(V−nb)=nRT⟶P=\dfrac{nRT}{(V−nb)}−\dfrac{n^2a}{V^2}\)

    \(P=\mathrm{\dfrac{3.46\:mol×0.08206\:L\:atm\:mol^{−1}\:K^{−1}×502\: K}{(4.25\:L−3.46\:mol×0.0427\:L\:mol^{−1})}−\dfrac{(3.46\:mol)^2×3.59\:L^2\:atm\:mol^2}{(4.25\:L)^2}}\)

    This finally yields P = 32.4 atm.

    (c) This is not very different from the value from the ideal gas law because the pressure is not very high and the temperature is not very low. The value is somewhat different because CO2 molecules do have some volume and attractions between molecules, and the ideal gas law assumes they do not have volume or attractions.

     

     
    Exercise \(\PageIndex{1}\)

    A 560-mL flask contains 21.3 g N2 at 145 °C. Calculate the pressure of N2:

    1. from the ideal gas law
    2. from the van der Waals equation
    3. Explain the reason(s) for the difference.
    Answer a

    46.562 atm

    Answer b

    46.594 atm

    Answer c

    The van der Waals equation takes into account the volume of the gas molecules themselves as well as intermolecular attractions.

    Summary

    Gas molecules possess a finite volume and experience forces of attraction for one another. Consequently, gas behavior is not necessarily described well by the ideal gas law. Under conditions of low pressure and high temperature, these factors are negligible, the ideal gas equation is an accurate description of gas behavior, and the gas is said to exhibit ideal behavior. However, at lower temperatures and higher pressures, corrections for molecular volume and molecular attractions are required to account for finite molecular size and attractive forces. The van der Waals equation is a modified version of the ideal gas law that can be used to account for the non-ideal behavior of gases under these conditions.

    Key Equations

    • \(\mathrm{Z=\dfrac{molar\:volume\: of\: gas\: at\: same\:\mathit{T}\:and\:\mathit{P}}{molar\: volume\: of\: ideal\: gas\: at\: same\:\mathit{T}\:and\:\mathit{P}}}=\left(\dfrac{P×V_m}{R×T}\right)_\ce{measured}\)
    • \(\left(P+\dfrac{n^2a}{V^2}\right)×(V−nb)=nRT\)

    Glossary

    compressibility factor (Z)
    ratio of the experimentally measured molar volume for a gas to its molar volume as computed from the ideal gas equation
    van der Waals equation
    modified version of the ideal gas equation containing additional terms to account for non-ideal gas behavior

    This page titled 5.5: Non-Ideal Gas Behavior is shared under a CC BY license and was authored, remixed, and/or curated by Scott Van Bramer.