# 6.4: Applications of the Ideal Gas Equation

$$\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}}$$

##### Learning Objectives
• To relate the amount of gas consumed or released in a chemical reaction to the stoichiometry of the reaction.
• To understand how the ideal gas equation and the stoichiometry of a reaction can be used to calculate the volume of gas produced or consumed in a reaction.

With the ideal gas law, we can use the relationship between the amounts of gases (in moles) and their volumes (in liters) to calculate the stoichiometry of reactions involving gases, if the pressure and temperature are known. This is important for several reasons. Many reactions that are carried out in the laboratory involve the formation or reaction of a gas, so chemists must be able to quantitatively treat gaseous products and reactants as readily as they quantitatively treat solids or solutions. Furthermore, many, if not most, industrially important reactions are carried out in the gas phase for practical reasons. Gases mix readily, are easily heated or cooled, and can be transferred from one place to another in a manufacturing facility via simple pumps and plumbing.

## Gas Densities and Molar Mass

For gases the density varies with the number of gas molecules in a constant volume. The ideal-gas equation can be manipulated to solve a variety of different types of problems. To determine the density, $$\rho$$, of a gas, we rearrange the equation to

$\rho=\dfrac{n}{V}=\dfrac{P}{RT}\label{6.4.1}$

Density of a gas is generally expressed in g/L. Multiplication of the left and right sides of the equation by the molar mass ($$M$$) of the gas gives

$\dfrac{g}{L}=\dfrac{PM}{RT} \label{6.4.2}$

This allows us to determine the density of a gas when we know the molar mass, or vice versa.

##### Example $$\PageIndex{1}$$

What is the density of nitrogen gas ($$N_2$$) at 248.0 Torr and 18º C?

Solution

Step 1: Write down your given information

• P = 248.0 Torr
• V = ?
• n = ?
• R = 0.0820574 L•atm•mol-1 K-1
• T = 18º C

Step 2: Convert as necessary.

$(248 \; \rm{Torr}) \times \dfrac{1 \; \rm{atm}}{760 \; \rm{Torr}} = 0.3263 \; \rm{atm}$

$18ºC + 273 = 291 K$

Step 3: This one is tricky. We need to manipulate the Ideal Gas Equation to incorporate density into the equation. *Write down all known equations:

$PV = nRT$

$\rho=\dfrac{m}{V}$

where $$\rho$$=density, m=mass, V=Volume

$m=M \times n$

where m=mass, M=molar mass, n=moles

*Now take the density equation.

$\rho=\dfrac{m}{V}$

*Keeping in mind $$m=M \times n$$...replace $$(M \times n)$$ for $$mass$$ within the density formula.

$\rho=\dfrac{M \times n}{V}$

$\dfrac{\rho}{M} = \dfrac{n}{V}$

*Now manipulate the Ideal Gas Equation

$$PV = nRT$$

$\dfrac{n}{V} = \dfrac{P}{RT}$

*$$(n/V)$$ is in both equations.

$\dfrac{n}{V} = \dfrac{\rho}{M}$

$\dfrac{n}{V} = \dfrac{P}{RT}$

$\dfrac{\rho}{M} = \dfrac{P}{RT}$

*Isolate density.

$\rho = \dfrac{PM}{RT}$

Step 4: Now plug in the information you have.

$\rho = \dfrac{PM}{RT}$

$\rho = \dfrac{(0.3263\; \rm{atm})(2*14.01 \; \rm{g/mol})}{(0.08206 L atm/K mol)(291 \; \rm{K})}$

$\rho = 0.3828 \; g/L$

An example of varying density for a useful purpose is the hot air balloon, which consists of a bag (called the envelope) that is capable of containing heated air. As the air in the envelope is heated, it becomes less dense than the surrounding cooler air (Equation 6.4.1), which is has enough lifting power (due to buoyancy) to cause the balloon to float and rise into the air. Constant heating of the air is required to keep the balloon aloft. As the air in the balloon cools, it contracts, allowing outside cool air to enter, and the density increases. When this is carefully controlled by the pilot, the balloon can land as gently as it rose.

##### Note
• The density of a gas INCREASES with increasing pressure (Equation 6.4.1)
• The density of a gas DECREASES with increasing temperature (Equation 6.4.1)

Density and the Molar Mass of Gases: https://youtu.be/gnkGBsvUFVk

## Determining Gas Volumes in Chemical Reactions

The ideal gas law can be used to calculate volume of gases consumed or produced. The ideal-gas equation frequently is used to interconvert between volumes and molar amounts in chemical equations.

##### Example $$\PageIndex{2}$$

What volume of carbon dioxide gas is produced at STP by the decomposition of 0.150 g $$CaCO_3$$ via the equation:

$CaCO_{3(s)} \rightarrow CaO_{(s)} + CO_{2(g)}$

Solution

Begin by converting the mass of calcium carbonate to moles.

$\dfrac{0.150\;g}{100.1\;g/mol} = 0.0015\; mol$

The stoichiometry of the reaction dictates that the number of moles $$CaCO_3$$ decomposed equals the number of moles $$CO_2$$ produced. Use the ideal-gas equation to convert moles of $$CO_2$$ to a volume.

$V = \dfrac{nRT}{R} = \dfrac{(0.0015\;mol)\left( 0.08206\; \frac{L \cdot atm}{mol \cdot K} \right) ( 273.15\;K)}{1\;atm} = 0.0336\;L \; or \; 33.6\;mL$

##### Example $$\PageIndex{3}$$

A 3.00 L container is filled with $$Ne_{(g)}$$ at 770 mmHg at 27oC. A $$0.633\;\rm{g}$$ sample of $$CO_2$$ vapor is then added. What is the partial pressure of $$CO_2$$ and $$Ne$$ in atm? What is the total pressure in the container in atm?

Solution

Step 1: Write down all given information, and convert as necessary.

Before:

• P = 770mmHg --> 1.01 atm
• V = 3.00L
• nNe=?
• T = 27oC --> $$300\; K$$

Other Unknowns: $$n_{CO_2}$$= ?

$n_{CO_2} = 0.633\; \rm{g} \;CO_2 \times \dfrac{1 \; \rm{mol}}{44\; \rm{g}} = 0.0144\; \rm{mol} \; CO_2$

Step 2: After writing down all your given information, find the unknown moles of Ne.

$n_{Ne} = \dfrac{PV}{RT}$

$n_{Ne} = \dfrac{(1.01\; \rm{atm})(3.00\; \rm{L})}{(0.08206\;atm\;L/mol\;K)(300\; \rm{K})}$

$n_{Ne} = 0.123 \; \rm{mol}$

Because the pressure of the container before the $$CO_2$$ was added contained only $$Ne$$, that is your partial pressure of $$Ne$$. After converting it to atm, you have already answered part of the question!

$P_{Ne} = 1.01\; \rm{atm}$

Step 3: Now that have pressure for Ne, you must find the partial pressure for $$CO_2$$. Use the ideal gas equation.

$\dfrac{P_{Ne}V}{n_{Ne}RT} = \dfrac{P_{CO_2}V}{n_{CO_2}RT}$

but because both gases share the same Volume ($$V$$) and Temperature ($$T$$) and since the Gas Constant ($$R$$) is constants, all three terms cancel and can be removed them from the equation.

$\dfrac{P}{n_{Ne}} = \dfrac{P}{n_{CO_2}}$

$\dfrac{1.01 \; \rm{atm}}{0.123\; \rm{mol} \;Ne} = \dfrac{P_{CO_2}}{0.0144\; \rm{mol} \;CO_2}$

$P_{CO_2} = 0.118 \; \rm{atm}$

This is the partial pressure $$CO_2$$.

Step 4: Now find total pressure.

$P_{total}= P_{Ne} + P_{CO_2}$

$P_{total}= 1.01 \; \rm{atm} + 0.118\; \rm{atm}$

$P_{total}= 1.128\; \rm{atm} \approx 1.13\; \rm{atm} \; \text{(with appropriate significant figures)}$

##### Example $$\PageIndex{4}$$

Sulfuric acid, the industrial chemical produced in greatest quantity (almost 45 million tons per year in the United States alone), is prepared by the combustion of sulfur in air to give SO2, followed by the reaction of SO2 with O2 in the presence of a catalyst to give SO3, which reacts with water to give H2SO4. The overall chemical equation is as follows:

$\rm 2S_{(s)}+3O_{2(g)}+2H_2O_{(l)}\rightarrow 2H_2SO_{4(aq)}$

What volume of O2 (in liters) at 22°C and 745 mmHg pressure is required to produce 1.00 ton (907.18 kg) of H2SO4?

Given: reaction, temperature, pressure, and mass of one product

Asked for: volume of gaseous reactant

Strategy:

A Calculate the number of moles of H2SO4 in 1.00 ton. From the stoichiometric coefficients in the balanced chemical equation, calculate the number of moles of O2 required.

B Use the ideal gas law to determine the volume of O2 required under the given conditions. Be sure that all quantities are expressed in the appropriate units.

Solution:

mass of H2SO4 → moles H2SO4 → moles O2 → liters O2

A We begin by calculating the number of moles of H2SO4 in 1.00 ton:

$\rm\dfrac{907.18\times10^3\;g\;H_2SO_4}{(2\times1.008+32.06+4\times16.00)\;g/mol}=9250\;mol\;H_2SO_4$

We next calculate the number of moles of O2 required:

$\rm9250\;mol\;H_2SO_4\times\dfrac{3mol\; O_2}{2mol\;H_2SO_4}=1.389\times10^4\;mol\;O_2$

B After converting all quantities to the appropriate units, we can use the ideal gas law to calculate the volume of O2:

$V=\dfrac{nRT}{P}=\rm\dfrac{1.389\times10^4\;mol\times0.08206\dfrac{L\cdot atm}{mol\cdot K}\times(273+22)\;K}{745\;mmHg\times\dfrac{1\;atm}{760\;mmHg}}=3.43\times10^5\;L$

The answer means that more than 300,000 L of oxygen gas are needed to produce 1 ton of sulfuric acid. These numbers may give you some appreciation for the magnitude of the engineering and plumbing problems faced in industrial chemistry.

##### Exercise $$\PageIndex{4}$$

Charles used a balloon containing approximately 31,150 L of H2 for his initial flight in 1783. The hydrogen gas was produced by the reaction of metallic iron with dilute hydrochloric acid according to the following balanced chemical equation:

$Fe_{(s)} + 2 HCl_{(aq)} \rightarrow H_{2(g)} + FeCl_{2(aq)}$

How much iron (in kilograms) was needed to produce this volume of H2 if the temperature was 30°C and the atmospheric pressure was 745 mmHg?

Answer: 68.6 kg of Fe (approximately 150 lb)

##### Example $$\PageIndex{5}$$

Sodium azide ($$NaN_3$$) decomposes to form sodium metal and nitrogen gas according to the following balanced chemical equation:

$2NaN_3 \rightarrow 2Na_{(s)} + 3N_{2\; (g)}$

This reaction is used to inflate the air bags that cushion passengers during automobile collisions. The reaction is initiated in air bags by an electrical impulse and results in the rapid evolution of gas. If the $$N_2$$ gas that results from the decomposition of a 5.00 g sample of $$NaN_3$$ could be collected by displacing water from an inverted flask, as in Figure $$\PageIndex{4}$$, what volume of gas would be produced at 21°C and 762 mmHg?

Given: reaction, mass of compound, temperature, and pressure

Asked for: volume of nitrogen gas produced

Strategy:

A Calculate the number of moles of N2 gas produced. From the data in Table $$\PageIndex{4}$$, determine the partial pressure of N2 gas in the flask.

B Use the ideal gas law to find the volume of N2 gas produced.

Solution:

A Because we know the mass of the reactant and the stoichiometry of the reaction, our first step is to calculate the number of moles of N2 gas produced:

$\rm\dfrac{5.00\;g\;NaN_3}{(22.99+3\times14.01)\;g/mol}\times\dfrac{3mol\;N_2}{2mol\;NaN_3}=0.115\;mol\; N_2$

The pressure given (762 mmHg) is the total pressure in the flask, which is the sum of the pressures due to the N2 gas and the water vapor present. Table $$\PageIndex{4}$$ tells us that the vapor pressure of water is 18.65 mmHg at 21°C (294 K), so the partial pressure of the N2 gas in the flask is only

$\rm(762 − 18.65)\;mmHg \times\dfrac{1\;atm}{760\;atm}= 743.4\; mmHg \times\dfrac{1\;atm}{760\;atm}= 0.978\; atm.$

B Solving the ideal gas law for V and substituting the other quantities (in the appropriate units), we get

$V=\dfrac{nRT}{P}=\rm\dfrac{0.115\;mol\times0.08206\dfrac{atm\cdot L}{mol\cdot K}\times294\;K}{0.978\;atm}=2.84\;L$

##### Exercise $$\PageIndex{5}$$

A 1.00 g sample of zinc metal is added to a solution of dilute hydrochloric acid. It dissolves to produce H2 gas according to the equation Zn(s) + 2 HCl(aq) → H2(g) + ZnCl2(aq). The resulting H2 gas is collected in a water-filled bottle at 30°C and an atmospheric pressure of 760 mmHg. What volume does it occupy?