Skip to main content
[ "article:topic", "Ideal Gas Law", "showtoc:no", "license:ccbyncsa" ]
Chemistry LibreTexts

10.5: Further Applications of the Ideal-Gas Equations

  • Page ID
    21763
  • Skills to Develop

    • 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{10.5.1}\]

    Density of a gas is generally expressed in g/L. Multiplication of the left and right sides of Equation \ref{10.5.1} by the molar mass (\(M\)) of the gas gives

    \[ \dfrac{g}{L}=\dfrac{PM}{RT} \label{10.5.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 (\(\ce{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} \nonumber \]

    \[18\,^oC + 273 = 291 K \nonumber \]

    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 \nonumber\]

    \[\rho=\dfrac{m}{V} \nonumber\]

    where \(\rho\) is density, \(m\) is mass, and \(V\) is volume.

    \[m=M \times n \nonumber\]

    where  \(M\) is molar mass and \(n\) is the numbe r of moles.

    Now take the definition of density (Equation \ref{10.5.1})

    \[\rho=\dfrac{m}{V} \nonumber\]

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

    \[\rho=\dfrac{M \times n}{V} \nonumber\]

    \[\dfrac{\rho}{M} = \dfrac{n}{V} \nonumber\]

    Now manipulate the Ideal Gas Equation

    \(PV = nRT \nonumber\)

    \[\dfrac{n}{V} = \dfrac{P}{RT} \nonumber\]

    \((n/V)\) is in both equations.

    \[ \begin{align*} \dfrac{n}{V} &= \dfrac{\rho}{M} \\[5pt] &= \dfrac{P}{RT} \end{align*}\]

    Now combine them please.

    \[\dfrac{\rho}{M} = \dfrac{P}{RT} \nonumber\]

    Isolate density.

    \[\rho = \dfrac{PM}{RT} \nonumber\]

    Step 4: Now plug in the information you have.

    \[ \begin{align*} \rho &= \dfrac{PM}{RT} \\[5pt] &= \dfrac{(0.3263\; \rm{atm})(2*14.01 \; \rm{g/mol})}{(0.08206\, L\, atm/K mol)(291 \; \rm{K})} \\[5pt] &= 0.3828 \; g/L \end{align*}\]

    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 \(\ref{10.5.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.

    Figure \(\PageIndex{1}\): A hot air balloon is inflated partially with cold air from a gas-powered fan, before the propane burners are used for final inflation.

    The density of a gas INCREASES with increasing pressure and DECREASES with increasing temperature 

    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{2A}\)

    What volume of carbon dioxide gas is produced at STP by the decomposition of 0.150 g \(\ce{CaCO_3}\) via the equation:

    \[ \ce{CaCO3(s) \rightarrow CaO(s) + CO2(g)} \nonumber\]

    SOLUTION

    Begin by converting the mass of calcium carbonate to moles.

    \[ \dfrac{0.150\;g}{100.1\;g/mol} = 0.00150\; mol \nonumber\]

    The stoichiometry of the reaction dictates that the number of moles \(\ce{CaCO_3}\) decomposed equals the number of moles \(\ce{CO2}\) produced. Use the ideal-gas equation to convert moles of \(\ce{CO2}\) to a volume.

    \[ \begin{align*} V &= \dfrac{nRT}{R} \\[5pt] &= \dfrac{(0.00150\;mol)\left( 0.08206\; \frac{L \cdot atm}{mol \cdot K} \right) ( 273.15\;K)}{1\;atm} \\[5pt] &= 0.0336\;L \; or \; 33.6\;mL \end{align*}\]

    Example \(\PageIndex{2B}\)

    A 3.00 L container is filled with \(\ce{Ne(g)}\) at 770 mmHg at 27oC. A \(0.633\;\rm{g}\) sample of \(\ce{CO2}\) vapor is then added. What is the partial pressure of \(\ce{CO2}\) 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 \nonumber\]

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

    \[ \begin{align*} n_{Ne} &= \dfrac{PV}{RT} \\[5pt] &= \dfrac{(1.01\; \rm{atm})(3.00\; \rm{L})}{(0.08206\;atm\;L/mol\;K)(300\; \rm{K})} \\[5pt] &= 0.123 \; \rm{mol} \end{align*}\]

    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} \nonumber\]

    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} \nonumber\]

    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}} \nonumber\]

    \[\dfrac{1.01 \; \rm{atm}}{0.123\; \rm{mol} \;Ne} = \dfrac{P_{CO_2}}{0.0144\; \rm{mol} \;CO_2} \nonumber\]

    \[P_{CO_2} = 0.118 \; \rm{atm} \nonumber\]

    This is the partial pressure \(\ce{CO_2}\).

    Step 4: Now find total pressure.

    \[\begin{align*} P_{total} &= P_{Ne} + P_{CO_2} \\[5pt] &= 1.01 \; \rm{atm} + 0.118\; \rm{atm} \\[5pt] &= 1.128\; \rm{atm} \approx 1.13\; \rm{atm} \; \text{(with appropriate significant figures)} \end{align*}\]

    Example \(\PageIndex{2C}\): Sulfuric Acid

    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:

    \[\ce {2S(s) + 3O2(g) + 2H2O(l) \rightarrow 2H2SO4(aq)} \nonumber\]

    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{2}\)

    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:

    \[\ce{ Fe(s) + 2 HCl(aq) \rightarrow H2(g) + FeCl2(aq)} \nonumber\]

    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{3}\): Emergency Air bags

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

    \[\ce{ 2NaN3 \rightarrow 2Na(s) + 3N2(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, 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 10.5.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 \nonumber\]

    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 10.5.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. \nonumber\]

    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 \nonumber\]

    Exercise\(\PageIndex{3}\)

    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

    \[\ce{ 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?

    Answer

    0.397 L

    Summary

    The relationship between the amounts of products and reactants in a chemical reaction can be expressed in units of moles or masses of pure substances, of volumes of solutions, or of volumes of gaseous substances. The ideal gas law can be used to calculate the volume of gaseous products or reactants as needed. In the laboratory, gases produced in a reaction are often collected by the displacement of water from filled vessels; the amount of gas can then be calculated from the volume of water displaced and the atmospheric pressure. A gas collected in such a way is not pure, however, but contains a significant amount of water vapor. The measured pressure must therefore be corrected for the vapor pressure of water, which depends strongly on the temperature.