## Section21.4Real Gases

The ideal gas model of a gas assumes that the molecules of the gas occupy zero volume themselves and there is no attraction or repulsion between them. These simplifying assumptions do not hold true for real gases, such as nitrogen and oxygen, until they are very dilute or unless temperature is very high. Hence, real gases do not obey the ideal gas law except at low pressures or low densities.

By introducing an attractive force between molecules and allowing for their collisions, Dutch physicist Johannes Diderik van der Waals deduced the following equation of state in 1873.

\begin{equation} \left(p +\frac{n^2 a}{V^2}\right) \left(V-nb\right) =n R T,\tag{21.4.1} \end{equation}

where $a$ and $b$ are positive constants, called the van der Waals constants, whose values depend on the particular substance. This equation is called van der Waals equation and models behavior of real gases well.

The quantity $an^2/V^2$ models the deviation in pressure from the ideal gas due to the intermolecular attraction, and the quantity $nb$ models the net amount of volume actually occupied by the molecules themselves. Since $a>0\text{,}$ the correction term says that the pressure in real gases will be less then the pressure expected from the ideal gas approximation.

### Subsection21.4.1Virial Expansion

A more general way to write the equation of state of a gas is to use a series expansion, called the virial expansion. It is written in several alternate forms, and I will write here as follows.

\begin{equation} \frac{pV}{nRT} = 1+ B(T)\frac{n}{V} + C(T) \left( \frac{n}{V} \right)^2 + \cdots \label{eq-virial-equation}\tag{21.4.2} \end{equation}

The coefficients $B\text{,}$ $C\text{,}$ etc., in the virial expansion are functions of temperature and are called the second, third, etc., virial coefficients. The virial coefficients are empirically determined by fitting the virial equation to the experimental data.

The ratio of $pV$ to $nRT$ is usually denoted by the letter $Z$ and called the compressibility of the gas.

\begin{equation} Z = \dfrac{pV}{nRT}.\tag{21.4.3} \end{equation}

For an ideal gas $Z = 1\text{.}$ Compressibility $Z$ gives a good measure of the deviation of a gas from the ideal gas behavior.

In the virial expansion, Eq. (21.4.2), we can see what would happen for low density, i.e., when $n/V$ is small. If we set $n/V = 0 \text{,}$ we get the ideal gas. This confirms the experimental observation that all gases behave as ideal gases at low densities.

A 16-liter gas cylinder has the Oxygen gas at the room temperature of $20^{\circ}$C. The gauge pressure shows a pressure of 200 kPa. The amount of gas in the cylinder is some definite amount, but the calculated value will depend upon the model you use.

(a) What is the calculated value of number of moles if you assume the ideal gas behavior?

(b) What is the calculated value of number of moles if van der Waals gas behavior is assumed?

Data: The van der Waals constant for oxygen: $a = 1.382\ \textrm{atm.L}^2/\textrm{mol}^2 \text{,}$ $b = 0.0319\ \textrm{L/mol}\text{.}$

Hint

(a) Use formula, (b) You will need to solve a cubic equation.

(a) $1.98\text{,}$ (b) $2.26\text{.}$

Solution 1 (a)

\noindent (a) The pressure in the ideal gas law is the absolute pressure and not the gauge pressure. The gauge pressure is the difference of the pressure inside to the pressure outside. Since the outside pressure is just the atmospheric pressure, the pressure in the gas will be

\begin{equation*} p = p_{\textrm{atm}} + p_{\textrm{gauge}} = 1.013\times 10^{5}\ \textrm{Pa} + 200\ \textrm{kPa} = 3.013\times 10^{5} \textrm{Pa}. \end{equation*}

This pressure in atm is

\begin{equation*} p = 3.013\times 10^{5} \textrm{Pa}/1.013\times 10^{5}\ \textrm{Pa/atm} = 2.97\ \textrm{atm} \end{equation*}

The other variables in the ideal gas law are given as

\begin{align*} \amp V = 16\ \textrm{L},\\ \amp T = 20^{\circ}\textrm{C} + 273.15 = 293.15\ \textrm{K}. \end{align*}

Therefore, gas has the the following number of moles, where all quantities are expressed in atm, L and K units.

\begin{equation*} n = \frac{pV}{RT} = \frac{2.97\times 16}{0.082\times 293.15} = 1.98 \ \textrm{mol.} \end{equation*}
Solution 2 (b)

(b) We need $a$ and $b$ for Oxygen. They are

\begin{equation*} a = 1.382\ \textrm{atm.L}^2/\textrm{mol}^2;\ \ b = 0.0319\ \textrm{L/mol}. \end{equation*}

The equation for $n$ to solve now is

\begin{equation*} \left( 2.97+ \frac{1.382\ n^2}{16} \right) \left( 16-0.0319\ n\right) = 0.082\times 293.15\ n, \end{equation*}

where $p\text{,}$ $V\text{,}$ and $T$ have been expressed in atm, L and K units. This equation is a cubic equation in $n$ and is left for the student to solve. Mathematica gave me three answers: $n$ = 480 mol, 15.8 mol, and 2.26 mol. The physical answer should be close to the ideal gas behavior since the van der Waals is a correction to the ideal gas behavior. We expect the root $n$ = 2.26 mol to be the physical value of $n$ here.

A nitrogen gas cylinder of fixed volume $0.01\text{ m}^3$ contains $5.6$ moles of gas at a temperature of $25^{\circ}\text{C}\text{.}$ Find the pressure inside the tank using (a) the ideal gas law and (b) van der Waals equation.

Hint

(a) Use ideal gas law, (b) USe van der Waals equation.

(a) $1.39\times 10^6\ \textrm{Pa}\text{,}$ (b) $9.6\times 10^{5}\ \text{Pa}\text{.}$

Solution 1 (a)

(a) It is easy to find the pressure using the ideal gas law by simply plugging into the formula, $pV = n RT\text{.}$ In the present case, we have the following known values, $V = 0.01\text{ m}^3\text{,}$ $n = 5.6 \text{ moles}\text{,}$ $T = 25+273.15 = 298.15\text{K}\text{.}$ Note the temperature must be expressed in the kelvin scale for use in the ideal gas law. Hence, the pressure in the tank as predicted by ideal gas law is

\begin{equation*} p = \frac{nRT}{V} = 1.39\times 10^6\ \textrm{Pa}. \end{equation*}
Solution 2 (b)

(b) We plug the known quantities given in (a) together with the van der Waals constants $a$ and $b$ for Nitrogen into van der Waals equation. From the table we find the van der Waals constants $a$ and $b$ for nitrogen in SI units are $a = 1.37\text{ Pa.atm}^4/\text{mol}^2\text{,}$ and $b = 3.87\times 10^{-5}\ \text{m}^3/\text{mol}\text{.}$ Hence, the pressure of nitrogen as predicted by van der Waals equation will be

\begin{equation*} p = \frac{nRT}{V-nb}-\frac{n^2a}{V^2} = 1.39\times 10^6\ \text{Pa} - 0.43\times 10^6\ \text{Pa} = 9.6\times 10^{5}\ \text{Pa}. \end{equation*}

Clearly the two predictions of the pressure in the tank are significantly different! This example illustrates that you should be careful when using ideal gas law.