36.3: Ideal Gas Law

Physics: A Foundation for Scientists and Engineers · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    Read aloud

    How

    Speed: 1×
    Light up
    Highlight

    Symbols: Mulberry Symbols, © 2018–2026 Steve Lee, CC BY-SA 4.0 (licence, the set), the site's own copies.

    From LibreTexts, under CC BY 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    36.3: Ideal Gas Law

    A solid or liquid has a definite volume that changes only a little with temperature. A gas has no volume of its own: it fills whatever container holds it, and its pressure, volume, and temperature are locked together. Experiments in the seventeenth to nineteenth centuries found three simple rules for a fixed amount of a dilute gas:

    • Boyle’s law: at constant temperature, the pressure is inversely proportional to the volume, \(P \propto 1/V\). Squeeze a gas into half the space and its pressure doubles.
    • Charles’s law: at constant pressure, the volume is proportional to the Kelvin temperature, \(V \propto T\). A balloon swells in the sun.
    • Gay-Lussac’s law: at constant volume, the pressure is proportional to the Kelvin temperature, \(P \propto T\). This is the gas thermometer of Figure 36.1.

    Combining the three, \(PV/T\) is constant for a fixed amount of gas, and the constant is proportional to how much gas there is.

    To count the gas we use the mole, the SI unit for amount of substance. One mole contains exactly Avogadro’s number

    \[N_A = 6.022\times 10^{23}\,\mathrm{mol^{-1}}\]

    of molecules. The mass of one mole is the molar mass \(M\); for any substance it is numerically equal to the mass of one molecule in atomic mass units, but expressed in grams per mole. Oxygen gas, \(\mathrm{O_2}\), has \(M = 32.0\,\mathrm{g/mol} = 0.0320\,\mathrm{kg/mol}\), and air, mostly nitrogen and oxygen, has an average \(M = 28.9\,\mathrm{g/mol}\). A sample of mass \(m\) contains \(n = m/M\) moles and \(N = nN_A\) molecules.

    With \(n\) moles of gas, the experimental laws combine into the ideal gas law:

    Key Equation: Ideal gas law

    \[PV = nRT = Nk_BT. \tag{36.6}\]

    Here \(R = 8.314\,\mathrm{J/(mol\cdot K)}\) is the universal gas constant, the same for every gas. The second form counts molecules instead of moles, and the constant that appears is Boltzmann’s constant,

    \[k_B = \frac{R}{N_A} = 1.381\times 10^{-23}\,\mathrm{J/K},\]

    the gas constant per molecule. In the ideal gas law \(T\) must be in kelvins and \(P\) must be the absolute pressure, not the gauge pressure of Chapter 14. Using degrees Celsius would make the volume of a gas at \(0^{\circ}\mathrm{C}\) equal to zero, which is absurd.

    No real gas is exactly ideal. The law assumes that the molecules take up a negligible fraction of the volume and exert no forces on each other except when they collide. Both assumptions hold well for a gas at low density and at temperatures well above the point where it would condense. Air at room conditions obeys equation (36.6) to better than one part in a thousand.

    Pressure-versus-volume graph of three ideal-gas isotherms.
    Figure 36.5. Isotherms of an ideal gas. At a fixed temperature, \(PV = nRT\) is a constant, so the possible states lie on a hyperbola. Hotter isotherms lie farther from the origin. We will use these curves again in Chapters 37 and 38, where gases are taken from one state to another.
    Figure descriptionA pressure-versus-volume graph showing three curved lines called isotherms, each a hyperbola along which P times V is constant. The lowest curve is labeled T sub 1, the middle one T sub 2 and the highest one T sub 3, with T sub 1 less than T sub 2 less than T sub 3. Higher temperatures give curves farther from the origin.

    On a graph of pressure against volume, called a \(P\)–\(V\) diagram, the states of a gas at one temperature lie on a hyperbola, \(P = nRT/V\), called an isotherm (Figure 36.5). When a fixed amount of gas goes from one state to another, \(nR\) does not change, so

    \[\frac{P_1V_1}{T_1} = \frac{P_2V_2}{T_2}. \tag{36.7}\]

    This form is handy whenever a gas changes state, because the quantities that do not change simply cancel.

    A useful benchmark: one mole of any ideal gas at \(0^{\circ}\mathrm{C}\) and one atmosphere (\(1.013\times 10^{5}\,\mathrm{Pa}\)), conditions called standard temperature and pressure (STP), occupies

    \[V = \frac{nRT}{P} = \frac{(1)(8.314)(273.15)}{1.013\times10^5} = 0.0224\,\mathrm{m^3} = 22.4\,\mathrm{L},\]

    about the volume of a large suitcase, whatever the gas.

    Example 36.5: Molecules in a breath

    You take a breath of \(0.50\,\mathrm{L}\) of air, which warms to body temperature, \(37^{\circ}\mathrm{C}\), at a pressure of \(1.01\times 10^{5}\,\mathrm{Pa}\). How many molecules did you inhale?

    Solution

    Use the molecule-counting form of the ideal gas law, with everything in SI units: \(V = 5.0\times 10^{-4}\,\mathrm{m^3}\) and \(T = 37 + 273 = 310\,\mathrm{K}\).

    \[N = \frac{PV}{k_BT} = \frac{(1.01\times10^5)(5.0\times10^{-4})}{(1.381\times10^{-23})(310)} \approx \boxed{1.2\times 10^{22}\,\mathrm{molecules}}.\]

    That is about ten thousand billion billion molecules in a single breath. It is so many that each breath you take almost certainly contains a few molecules that were once breathed by any historical figure you care to name, since the air of the entire atmosphere has had centuries to mix.

    Example 36.6: Tire pressure on a cold morning

    A car tire is inflated to a gauge pressure of \(2.40\times 10^{5}\,\mathrm{Pa}\) (about \(35\) pounds per square inch) on a warm afternoon at \(25^{\circ}\mathrm{C}\). Overnight the tire cools to \(-5^{\circ}\mathrm{C}\). Assuming the tire’s volume does not change, what does the gauge read in the morning? Atmospheric pressure is \(1.01\times 10^{5}\,\mathrm{Pa}\).

    Solution

    The ideal gas law needs absolute pressures and Kelvin temperatures. The absolute pressure in the afternoon is \(P_1 = 2.40\times10^5 + 1.01\times10^5 = 3.41\times 10^{5}\,\mathrm{Pa}\), and the temperatures are \(T_1 = 298\,\mathrm{K}\) and \(T_2 = 268\,\mathrm{K}\). With \(V\) and \(n\) fixed, equation (36.7) reduces to \(P_1/T_1 = P_2/T_2\):

    \[P_2 = P_1\frac{T_2}{T_1} = (3.41\times10^5)\frac{268}{298} = 3.07\times 10^{5}\,\mathrm{Pa}.\]

    The gauge reads the excess over atmospheric pressure:

    \[P_{2,\rm gauge} = 3.07\times10^5 - 1.01\times10^5 = \boxed{2.06\times 10^{5}\,\mathrm{Pa}},\]

    a drop of about \(14\%\), which is why the low-tire-pressure light often comes on during the first cold snap of autumn. Had we carelessly used the gauge pressure and Celsius temperatures, we would have predicted \(P_2 = 2.40\times10^5 \times(-5/25)\): a negative pressure, which is nonsense.

    Example 36.7: A rising bubble

    A scuba diver at a depth of \(20.0\,\mathrm{m}\) in the sea, where the water is at \(5^{\circ}\mathrm{C}\), exhales a bubble. The bubble rises to the surface, where the water is at \(20^{\circ}\mathrm{C}\). By what factor has the bubble’s volume increased? Take the density of seawater to be \(1025\,\mathrm{kg/m^3}\) and atmospheric pressure to be \(1.013\times 10^{5}\,\mathrm{Pa}\).

    Solution

    The pressure at depth is atmospheric plus the weight of the water above (Chapter 14):

    \[P_1 = P_{\rm atm} + \rho gh = 1.013\times10^5 + (1025)(9.80)(20.0) = 3.02\times 10^{5}\,\mathrm{Pa}.\]

    The gas in the bubble keeps the same \(n\), so from equation (36.7),

    \[\frac{V_2}{V_1} = \frac{P_1}{P_2}\,\frac{T_2}{T_1} = \frac{3.02\times10^5}{1.013\times10^5}\cdot\frac{293}{278} = (2.98)(1.054) \approx \boxed{3.1}.\]

    The bubble more than triples in volume, mostly because of the drop in pressure; the warming adds about \(5\%\). The same expansion inside a diver’s lungs is why a diver breathing compressed air must never hold the breath while ascending.

    Checkpoint 36.4

    A sealed, rigid container of gas is heated so that its Kelvin temperature doubles. By what factor does the pressure change? Would the answer be the same if the Celsius temperature doubled, from \(20^{\circ}\mathrm{C}\) to \(40^{\circ}\mathrm{C}\)?

    Answer

    Answers to Checkpoints

    Checkpoint 36.4. At constant \(V\) and \(n\), \(PV = nRT\) gives \(P \propto T\), so doubling the Kelvin temperature doubles the pressure. Doubling the Celsius temperature is not the same thing: \(20^{\circ}\mathrm{C}\) to \(40^{\circ}\mathrm{C}\) is \(293\,\mathrm{K}\) to \(313\,\mathrm{K}\), so the pressure rises by only \(313/293 = 1.07\), about \(7\%\).


    This page titled 36.3: Ideal Gas Law was last modified on Thu, 12 Nov 2026 04:27:19 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.