Skip to main content
Chemistry LibreTexts

8.7: Non-Ideal Gas Behavior

  • Page ID
    233042
  • \( \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

    By the end of this section, you will be able to:

    • Describe the physical factors that lead to deviations from ideal gas behavior
    • Explain how these factors are represented in the van der Waals equation
    • Define compressibility (Z) and describe how its variation with pressure reflects non-ideal behavior
    • 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:

    \displaystyle\text{Z}=\frac{\text{molar volume of gas at same }T\text{ and }P}{\text{molar volume of ideal gas at same }T\text{ and }P}={\left(\frac{P{V}_{m}}{RT}\right)}_{\text{measured}}

    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 1 shows plots of Z over a large pressure range for several common gases.

    image
    Figure 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 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 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 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 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 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 first, and simplest, of these 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. image

    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 \frac{{n}^{2}a}{{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 1.

    Table 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 9.35. 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 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.

    [reveal-answer q=”245157″]Show Answer[/reveal-answer]
    [hidden-answer a=”245157″]

    1. From the ideal gas law:
      P=\frac{nRT}{V}=\frac{3.46\cancel{\text{mol}}\times 0.08206\cancel{\text{L}}\text{atm}\cancel{{\text{mol}}^{-\text{1}}}\cancel{{\text{K}}^{-\text{1}}}\times 502\cancel{\text{K}}}{4.25\cancel{\text{L}}}=33.5\text{atm}
    2. From the van der Waals equation:
      \left(P+\frac{{n}^{2}a}{{V}^{2}}\right)\times \left(V-nb\right)=nRT\rightarrow P=\frac{nRT}{\left(V-nb\right)}-\frac{{n}^{2}a}{{V}^{2}}
      P=\frac{3.46\text{mol}\times 0.08206\text{L}\text{atm}{\text{mol}}^{-\text{1}}{\text{K}}^{-\text{1}}\times \text{502 K}}{\left(4.25\text{L}-3.46\text{mol}\times 0.0427\text{L}{\text{mol}}^{-\text{1}}\right)}-\frac{{\left(3.46\text{mol}\right)}^{2}\times 3.59{\text{L}}^{2}\text{atm}{\text{mol}}^{2}}{{\left(4.25\text{L}\right)}^{2}}
      This finally yields P = 32.4 atm.
    3. 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.

    [/hidden-answer]

    Check your Learning

    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.

    [reveal-answer q=”451203″]Show Answer[/reveal-answer]
    [hidden-answer a=”451203″]

    1. 46.562 atm
    2. 46.594 atm
    3. The van der Waals equation takes into account the volume of the gas molecules themselves as well as intermolecular attractions.

    [/hidden-answer]

    Key Concepts and 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 conditions.

    Key Equations

    • \text{Z}=\frac{\text{molar}\text{volume of gas at same}T\text{and}P}{\text{molar volume of ideal gas at same}T\text{and}P}={\left(\frac{P\times {V}_{m}}{R\times T}\right)}_{\text{measured}}
    • \left(P+\frac{{n}^{2}a}{{V}^{2}}\right)\times \left(V-nb\right)=nRT

    Exercises

    Graphs showing the behavior of several different gases follow. Which of these gases exhibit behavior significantly different from that expected for ideal gases?

    This figure includes 6 graphs. The first, which is labeled, “Gas A,” has a horizontal axis labeled, “Temperature,” and a vertical axis labeled, “Volume.” A straight blue line segment extends from the lower left to the upper right of this graph. The open area in the lower right portion of the graph contains the label, “n, P constant.” The second, which is labeled, “Gas B,” has a horizontal axis labeled, “P,” and a vertical axis labeled, “P V.” A straight blue line segment extends horizontally across the center of this graph. The open area in the lower right portion of the graph contains the label, “n, T constant.” The third, which is labeled, “Gas C,” has a horizontal axis labeled,“P V divided by R T,” and a vertical axis labeled, “Moles.” A blue curve begins about halfway up the vertical axis, dips slightly, then increases steadily to the upper right region of the graph. The fourth, which is labeled, “Gas D,” has a horizontal axis labeled, “P V divided by R T,” and a vertical axis labeled, “Moles.” A straight blue line segment extends horizontally across the center of this graph. The open area in the lower right portion of the graph contains the label “n, P constant.” The fifth, which is labeled, “Gas E,” has a horizontal axis labeled, “Temperature,” and a vertical axis labeled, “Volume.” A blue curve extends from the lower left to the upper right of this graph. The open area in the lower right portion of the graph contains the label “n, P constant.” The sixth graph, which is labeled, “Gas F,” has a horizontal axis labeled, “Temperature,” and a vertical axis labeled, “Pressure.” A blue curve begins toward the lower left region of the graph, increases at a rapid rate, then continues to increase at a relatively slow rate moving left to right across the graph. The open area in the lower right portion of the graph contains the label, “n, V constant.”

    [reveal-answer q=”434062″]Show Answer[/reveal-answer]
    [hidden-answer a=”434062″]

    • Gas A: volume increases linearly as temperature increases with moles and pressure held constant, as expected by the ideal gas law V = (nR/P)T
    • Gas B: PV stays constant as pressure increases with moles and temperature held constant, as expected by the ideal gas law PV = nRT
    • Gas C: compressibility factor (Z) varies as PV/RT increases, as expected of a real gas
    • Gas D: compressibility factor (Z) stays constant as PV/RT increases with moles and pressure held constant, as expected of an ideal gas
    • Gas E: as temperature increases, volume increases, but not linearly with moles and pressure held constant, as would not be expected by the ideal gas law V = (nR/P)T, as seen in Gas A
    • Gas F: as temperature increases, pressure increases with moles and volume held constant, but not linearly, as would not be expected by the ideal gas law P = (nR/V)T, as seen in Gas A

    Gases C, E, and F exhibit behavior significantly different from that expected for an ideal gas.

    [/hidden-answer]

    Exercises

    1. Explain why the plot of PV for CO2 differs from that of an ideal gas.
      image
    2. Under which of the following sets of conditions does a real gas behave most like an ideal gas, and for which conditions is a real gas expected to deviate from ideal behavior? Explain.
      1. high pressure, small volume
      2. high temperature, low pressure
      3. low temperature, high pressure
    3. Describe the factors responsible for the deviation of the behavior of real gases from that of an ideal gas.
    4. For which of the following gases should the correction for the molecular volume be largest: CO, CO2, H2, He, NH3, SF6?
    5. A 0.245-L flask contains 0.467 mol CO2 at 159 °C. Calculate the pressure:
      1. using the ideal gas law
      2. using the van der Waals equation
      3. Explain the reason for the difference.
      4. Identify which correction (that for P or V) is dominant and why.
    6. Answer the following questions:
      1. If XX behaved as an ideal gas, what would its graph of Z vs. P look like?
      2. For most of this chapter, we performed calculations treating gases as ideal. Was this justified?
      3. What is the effect of the volume of gas molecules on Z? Under what conditions is this effect small? When is it large? Explain using an appropriate diagram.
      4. What is the effect of intermolecular attractions on the value of Z? Under what conditions is this effect small? When is it large? Explain using an appropriate diagram.
      5. In general, under what temperature conditions would you expect Z to have the largest deviations from the Z for an ideal gas?

    [reveal-answer q=”339691″]Selected Answers[/reveal-answer]
    [hidden-answer a=”339691″]

    2. The gas behavior most like an ideal gas will occur under the conditions in (b). Molecules have high speeds and move through greater distances between collision; they also have shorter contact times and interactions are less likely. Deviations occur with the conditions described in (a) and (c). Under conditions of (a), some gases may liquefy. Under conditions of (c), most gases will liquefy.

    4. We would expect the molecule with the largest volume to need the largest correction. SF6 would need the largest correction.

    6. The answers are as follows:

    1. A straight horizontal line at 1.0;
    2. When real gases are at low pressures and high temperatures they behave close enough to ideal gases that they are approximated as such, however, in some cases, we see that at a high pressure and temperature, the ideal gas approximation breaks down and is significantly different from the pressure calculated by the van der Waals equation
    3. The greater the compressibility, the more the volume matters. At low pressures, the correction factor for intermolecular attractions is more significant, and the effect of the volume of the gas molecules on Z would be a small lowering compressibility. At higher pressures, the effect of the volume of the gas molecules themselves on Z would increase compressibility (see Figure 1)
    4. Once again, at low pressures, the effect of intermolecular attractions on Z would be more important than the correction factor for the volume of the gas molecules themselves, though perhaps still small. At higher pressures and low temperatures, the effect of intermolecular attractions would be larger. See Figure 1.
    5. low temperatures

    [/hidden-answer]

    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

    CC licensed content, Shared previously

    8.7: Non-Ideal Gas Behavior is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?