Login
📚 College Physics 2e
Chapters ▾

13.3 The Ideal Gas Law

Learning Objectives

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

  • State the ideal gas law in terms of molecules and in terms of moles.
  • Use the ideal gas law to calculate pressure change, temperature change, volume change, or the number of molecules or moles in a given volume.
  • Use Avogadro’s number to convert between number of molecules and number of moles.
Floating high with style! A vibrant yellow hot air balloon, adorned with a cool face and sunglasses, glides across the sky.
Figure 13.17 The air inside this hot air balloon flying over Putrajaya, Malaysia, is hotter than the ambient air. As a result, the balloon experiences a buoyant force pushing it upward that is larger than its weight.The air inside this hot air balloon flying over Putrajaya, Malaysia, is hotter than the ambient air. As a result, the balloon experiences a buoyant force pushing it upward that is larger than its weight. (credit: Kevin Poh, Flickr)

In this section, we continue to explore the thermal behavior of gases. In particular, we examine the characteristics of atoms and molecules that compose gases. (Most gases, for example nitrogen, N2, and oxygen, O2, are composed of two or more atoms. We will primarily use the term “molecule” in discussing a gas, but note that this discussion also applies to monatomic gases, such as helium.)

Gases are easily compressed. We can see evidence of this in Table 13.2, where you will note that gases have the largest coefficients of volume expansion. The large coefficients mean that gases expand and contract very rapidly with temperature changes. In addition, you will note that most gases expand at the same rate, or have the same β. This raises the question as to why gases should all act in nearly the same way, when liquids and solids have widely varying expansion rates.

The answer lies in the large separation of atoms and molecules in gases, compared to their sizes, as illustrated in Figure 13.18. Because atoms and molecules have large separations, forces between them can be ignored, except when they collide with each other during collisions. The motion of atoms and molecules (at temperatures well above the boiling temperature) is fast, such that the gas occupies all of the accessible volume and the expansion of gases is rapid. In contrast, in liquids and solids, atoms and molecules are closer together and are quite sensitive to the forces between them.

Spheres representing atoms and molecules; the spheres are relatively far apart and are distributed randomly.
Figure 13.18 Atoms and molecules in a gas are typically widely separated, as shown. Because the forces between them are quite weak at these distances, the properties of a gas depend more on the number of atoms per unit volume and on temperature than on the type of atom.

To get some idea of how pressure, temperature, and volume of a gas are related to one another, consider what happens when you pump air into an initially deflated tire. The tire’s volume first increases in direct proportion to the amount of air injected, without much increase in the tire pressure. Once the tire has expanded to nearly its full size, the walls limit volume expansion. If we continue to pump air into it, the pressure increases. The pressure will further increase when the car is driven and the tires move. Most manufacturers specify optimal tire pressure for cold tires. (See Figure 13.19.)

The figure has three parts, each part showing a pair of tires, and each tire connected to a pressure gauge. Each pair of tires represents the before and after images of a single tire, along with a change in pressure in that tire. In part a, the tire pressure is initially zero. After some air is added, represented by an arrow labeled Add air, the pressure rises to slightly above zero. In part b, the tire pressure is initially at the half-way mark. After some air is added, represented by an arrow labeled Add air, the pressure rises to the three-fourths mark. In part c, the tire pressure is initially at the three-fourths mark. After the temperature is raised, represented by an arrow labeled Increase temperature, the pressure rises to nearly the full mark.
Figure 13.19 (a) When air is pumped into a deflated tire, its volume first increases without much increase in pressure. (b) When the tire is filled to a certain point, the tire walls resist further expansion and the pressure increases with more air. (c) Once the tire is inflated, its pressure increases with temperature.

In many common circumstances, including, for example, room temperature air, the gas particles have negligible volume and do not interact with each other, aside from perfectly elastic collisions. In such cases, the gas is called an ideal gas, and the relationship between the pressure, volume, and temperature is given by the equation called the ideal gas law. An equation such as the ideal gas law, which relates behavior of a physical system in terms of its thermodynamic properties, is called an equation of state.

The ideal gas law can be derived from basic principles, but was originally deduced from experimental measurements of Charles’ law (that volume occupied by a gas is proportional to temperature at a fixed pressure) and from Boyle’s law (that for a fixed temperature, the product PV is a constant). In the ideal gas model, the volume occupied by its atoms and molecules is a negligible fraction of V. The ideal gas law describes the behavior of real gases under most conditions. (Note, for example, that N is the total number of atoms and molecules, independent of the type of gas.)

Function graph showing y = 22.4*(tk/273)/V on V in [2, 30]. Adjustable parameter: Absolute temperature T (tk) = 273 K. Viewing window: x from -2 to 32, y from -0.51 to 20.51.
Boyle's half of this paragraph, drawn for one mole of gas: P = (22.4 atm·L)(T/273 K)/V, so P and V multiply to a constant and the graph is a curve, not a line. The slider starts at the standard temperature the chapter uses, T = 273 K (0 °C), where a mole fills 22.4 L at 1.00 atm — read that point off the curve at V = 22.4. Squeeze the same mole into 2 L and the pressure climbs to 11.2 atm, eleven times as much for one eleventh the room. Now drag T, which is Charles' half: every point rises in proportion to the absolute temperature, so warming this gas from 273 K to 300 K multiplies each pressure by 300/273 — the same ratio arithmetic the bicycle-tire example does when its air goes from 291 K to 308 K. The curve stops at 2 L because the law does: squeeze a mole into much less and the molecules' own volume is no longer negligible, which is one of the two assumptions the section names for an ideal gas.

Let us see how the ideal gas law is consistent with the behavior of filling the tire when it is pumped slowly and the temperature is constant. At first, the pressure P is essentially equal to atmospheric pressure, and the volume V increases in direct proportion to the number of atoms and molecules N put into the tire. Once the volume of the tire is constant, the equation PV=NkT predicts that the pressure should increase in proportion to the number N of atoms and molecules.

Moles and Avogadro’s Number

It is sometimes convenient to work with a unit other than molecules when measuring the amount of substance. The mole (abbreviated mol) is the SI unit for the amount of a substance. This number is also Avogadro’s number(NA), in recognition of Italian scientist Amedeo Avogadro (1776–1856), who developed the concept of the mole, based on the hypothesis that equal volumes of gas, at the same pressure and temperature, contain equal numbers of molecules, independent of the type of gas. This hypothesis has been confirmed. Originally defined1 as the number of atoms in 12 grams of carbon-12, as of 2019, a mole is defined as exactly 6.02214076 × 1023 elementary entities, so that to three significant figures Avogadro’s number is

N A = 6 . 02 × 10 23 mol 1 .

The illustration shows relatively flat land with a solitary mountain, labeled Mt. Everest, and blue sky above. A double-headed vertical arrow stretches between the land and a point in the sky that is well above the peak of the mountain. The arrow, labeled table tennis balls, serves to indicate that a column of one mole of table tennis balls would reach a point in the sky that is much higher than the peak of Mt. Everest.
Figure 13.20 How big is a mole? On a macroscopic level, one mole of table tennis balls would cover the Earth to a depth of about 40 km.

The active ingredient in a Tylenol pill is 325 mg of acetaminophen (C8H9NO2). Find the molar mass of acetaminophen, and from this, the number of moles and the number of molecules of acetaminophen in a single pill.

We first need to calculate the molar mass (the mass of one mole) of acetaminophen. To do this, we need to multiply the number of atoms of each element by the element’s atomic mass.

( 8 moles of carbon ) ( 12 grams/mole ) + ( 9 moles hydrogen ) ( 1 gram/mole ) + ( 1 mole nitrogen ) ( 14 grams/mole ) + ( 2 moles oxygen ) ( 16 grams/mole ) = 151 g

Then we need to calculate the number of moles in 325 mg.

325 mg 151 grams/mole 1 gram 1000 mg = 2.15 × 10 3 moles

Then use Avogadro’s number to calculate the number of molecules.

N = 2.15 × 10 3 moles 6.02 × 10 23 molecules/mole = 1.30 × 10 21 molecules

The density of air at standard conditions (P=1atm and T=20ºC) is 1.20 kg/m3. At what pressure is the density 0.60kg/m3 if the temperature and number of molecules are kept constant?

The best way to approach this question is to think about what is happening. If the density drops to half its original value and no molecules are lost, then the volume must double. If we look at the equation PV=NkT, we see that when the temperature is constant, the pressure is inversely proportional to volume. Therefore, if the volume doubles, the pressure must drop to half its original value, and Pf=0.50 atm.

The Ideal Gas Law Restated Using Moles

A very common expression of the ideal gas law uses the number of moles, n, rather than the number of atoms and molecules, N. We start from the ideal gas law,

PV=NkT,

and multiply and divide the equation by Avogadro’s number NA. This gives

PV = N N A N A kT .

Note that n=N/NA is the number of moles. We define the universal gas constant R=NAk, and obtain the ideal gas law in terms of moles.

The ideal gas law can be considered to be another manifestation of the law of conservation of energy (see Conservation of Energy). Work done on a gas results in an increase in its energy, increasing pressure and/or temperature. This increased energy can also be viewed as increased internal kinetic energy, given the gas’s atoms and molecules.

The Ideal Gas Law and Energy

Let us now examine the role of energy in the behavior of gases. When you inflate a bike tire by hand, you do work by repeatedly exerting a force through a distance. This energy goes into increasing the pressure of air inside the tire and increasing the temperature of the pump and the air.

The ideal gas law is closely related to energy: the dimensions on both sides are those of energy, with units of joules when using SI units. The right-hand side of the ideal gas law in PV=NkT is NkT. This term is proportional to the amount of translational kinetic energy of N atoms or molecules at an absolute temperature T, as we shall see formally in Kinetic Theory: Atomic and Molecular Explanation of Pressure and Temperature. The left-hand side of the ideal gas law is PV, which also has the units of joules. Pressure is force per unit area, so pressure multiplied by volume is force times displacement, or energy. The important point is that there is energy in a gas related to both its pressure and its volume. The energy can be changed when the gas is doing work as it expands—something we explore in Heat and Heat Transfer Methods—similar to what occurs in gasoline or steam engines and turbines.

Liquids and solids have densities about 1000 times greater than gases. Explain how this implies that the distances between atoms and molecules in gases are about 10 times greater than the size of their atoms and molecules.

Atoms and molecules are close together in solids and liquids. In gases they are separated by empty space. Thus gases have lower densities than liquids and solids. Density is mass per unit volume, and volume is related to the size of a body (such as a sphere) cubed. So if the distance between atoms and molecules increases by a factor of 10, then the volume occupied increases by a factor of 1000, and the density decreases by a factor of 1000.

Test Prep for AP Courses

A fixed amount of ideal gas is kept in a container of fixed volume. The absolute pressure P, in pascals, of the gas is plotted as a function of its temperature T, in degrees Celsius. Which of the following are properties of a best fit curve to the data? Select two answers.

  1. Having a positive slope
  2. Passing through the origin
  3. Having zero pressure at a certain negative temperature
  4. Approaching zero pressure as temperature approaches infinity

(a), (c)

A black rectangle with bottom 2/3 grayed out and the word Gas shows. A thick solid black upside down T appears above the Gas area with the vertical part of the T extending past the edge of the box on the top. It is white inside the rectangle above the T at the top part of the rectangle.
Figure 13.21

This figure shows a clear plastic container with a movable piston that contains a fixed amount of gas. A group of students is asked to determine whether the gas is ideal. The students design and conduct an experiment. They measure the three quantities recorded in the data table below.

Table 13.3
TrialAbsolute Gas Pressure (x10m5 Pa)Volume (m3)Temp. (K)
11.10.020270
21.40.016270
31.90.012270
42.20.010270
52.80.008270
61.20.020290
71.50.016290
82.00.012290
92.40.010290
103.00.008290
111.30.020310
121.60.016310
132.10.012310
142.60.010310
153.20.008310
  1. Select a set of data points from the table and plot those points on a graph to determine whether the gas exhibits properties of an ideal gas. Fill in blank columns in the table for any quantities you graph other than the given data. Label the axes and indicate the scale for each. Draw a best-fit line or curve through your data points.
  2. Indicate whether the gas exhibits properties of an ideal gas, and explain what characteristic of your graph provides the evidence.
  3. The students repeat their experiment with an identical container that contains half as much gas. They take data for the same values of volume and temperature as in the table. Would the new data result in a different conclusion about whether the gas is ideal? Justify your answer in terms of interactions between the molecules of the gas and the container walls.

Section Summary

  • The ideal gas law relates the pressure and volume of a gas to the number of gas molecules and the temperature of the gas.
  • The ideal gas law can be written in terms of the number of molecules of gas:

    PV=NkT,

    where P is pressure, V is volume, T is temperature, N is number of molecules, and k is the Boltzmann constant

    k=1.38×1023 J/K.

  • A mole is the number of atoms in a 12-g sample of carbon-12.
  • The number of molecules in a mole is called Avogadro’s number NA,

    NA=6.02×1023mol1.

  • A mole of any substance has a mass in grams equal to its molecular weight, which can be determined from the periodic table of elements.
  • The ideal gas law can also be written and solved in terms of the number of moles of gas:

    PV=nRT,

    where n is number of moles and R is the universal gas constant,

    R=8.31J/molK.

  • The ideal gas law is generally valid at temperatures well above the boiling temperature.

Conceptual Questions

Find out the human population of Earth. Is there a mole of people inhabiting Earth? If the average mass of a person is 60 kg, calculate the mass of a mole of people. How does the mass of a mole of people compare with the mass of Earth?

Under what circumstances would you expect a gas to behave significantly differently than predicted by the ideal gas law?

A constant-volume gas thermometer contains a fixed amount of gas. What property of the gas is measured to indicate its temperature?

Problems & Exercises

The gauge pressure in your car tires is 2.50×105 N/m2 at a temperature of 35.0ºC when you drive it onto a ferry boat to Alaska. What is their gauge pressure later, when their temperature has dropped to 40.0ºC?

1.62 atm

Convert an absolute pressure of 7.00×105 N/m2 to gauge pressure in lb/in2. (This value was stated to be just less than 90.0 lb/in2 in Example 4. Is it?)

Suppose a gas-filled incandescent light bulb is manufactured so that the gas inside the bulb is at atmospheric pressure when the bulb has a temperature of 20.0ºC. (a) Find the gauge pressure inside such a bulb when it is hot, assuming its average temperature is 60.0ºC (an approximation) and neglecting any change in volume due to thermal expansion or gas leaks. (b) The actual final pressure for the light bulb will be less than calculated in part (a) because the glass bulb will expand. What will the actual final pressure be, taking this into account? Is this a negligible difference?

(a) 0.136 atm

(b) 0.135 atm. The difference between this value and the value from part (a) is negligible.

To test a balloon, it is placed in a lab and filled with helium. The temperature of the helium is 10.0ºC and the pressure is 1.00 atmosphere. The pressure in the lab is maintained. Assume the membrane of the balloon provides a negligible inward pressure, so it is not considered significant. (a) What is the pressure inside the balloon if the helium is replaced with helium that is at 50.0ºC? and the balloon is filled until it has a volume of 20.0 times its original volume? (b) What is the gauge pressure? (Assume the pressure in the lab remains at 1.00 atmosphere during the experiment.)

Confirm that the units of nRT are those of energy for each value of R: (a) 8.31 J/molK, (b) 1.99 cal/molK, and (c) 0.0821 Latm/molK.

(a) nRT=(mol)(J/molK)(K)= J

(b) nRT=(mol)(cal/molK)(K)= cal

(c) nRT = (mol)(Latm/molK)(K) = Latm=(m3)(N/m2) = Nm=J

In the text, it was shown that N/V=2.68×1025m3 for gas at STP. (a) Show that this quantity is equivalent to N/V=2.68×1019cm3, as stated. (b) About how many atoms are there in one μm3 (a cubic micrometer) at STP? (c) What does your answer to part (b) imply about the separation of atoms and molecules?

Calculate the number of moles in the 2.00-L volume of air in the lungs of the average person. Note that the air is at 37.0ºC (body temperature).

7 . 86 × 10 2 mol

An airplane passenger has 100 cm3 of air in his stomach just before the plane takes off from a sea-level airport. What volume will the air have at cruising altitude if cabin pressure drops to 7.50×104 N/m2?

(a) What is the volume (in km3) of Avogadro’s number of sand grains if each grain is a cube and has sides that are 1.0 mm long? (b) How many kilometers of beaches in length would this cover if the beach averages 100 m in width and 10.0 m in depth? Neglect air spaces between grains.

(a) 6.02×105km3

(b) 6.02×108km

An expensive vacuum system can achieve a pressure as low as 1.00×107 N/m2 at 20ºC. How many atoms are there in a cubic centimeter at this pressure and temperature?

The number density of gas atoms at a certain location in the space above our planet is about 1.00×1011m3, and the pressure is 2.75×1010 N/m2 in this space. What is the temperature there?

73 . 9 º C

A bicycle tire has a pressure of 7.00×105 N/m2 at a temperature of 18.0ºC and contains 2.00 L of gas. What will its pressure be if you let out an amount of air that has a volume of 100 cm3 at atmospheric pressure? Assume tire temperature and volume remain constant.

A high-pressure gas cylinder contains 50.0 L of toxic gas at a pressure of 1.40×107 N/m2 and a temperature of 25.0ºC. Its valve leaks after the cylinder is dropped. The cylinder is cooled to dry ice temperature (78.5ºC) to reduce the leak rate and pressure so that it can be safely repaired. (a) What is the final pressure in the tank, assuming a negligible amount of gas leaks while being cooled and that there is no phase change? (b) What is the final pressure if one-tenth of the gas escapes? (c) To what temperature must the tank be cooled to reduce the pressure to 1.00 atm (assuming the gas does not change phase and that there is no leakage during cooling)? (d) Does cooling the tank appear to be a practical solution?

(a) 9.14×106N/m2

(b) 8.23×106N/m2

(c) 2.16 K

(d) No. The final temperature needed is much too low to be easily achieved for a large object.

Find the number of moles in 2.00 L of gas at 35.0ºC and under 7.41×107 N/m2 of pressure.

Calculate the depth to which Avogadro’s number of table tennis balls would cover Earth. Each ball has a diameter of 3.75 cm. Assume the space between balls adds an extra 25.0% to their volume and assume they are not crushed by their own weight.

41 km

(a) What is the gauge pressure in a 25.0ºC car tire containing 3.60 mol of gas in a 30.0 L volume? (b) What will its gauge pressure be if you add 1.00 L of gas originally at atmospheric pressure and 25.0ºC? Assume the temperature returns to 25.0ºC and the volume remains constant.

(a) In the deep space between galaxies, the density of atoms is as low as 106 atoms/m3, and the temperature is a frigid 2.7 K. What is the pressure? (b) What volume (in m3) is occupied by 1 mol of gas? (c) If this volume is a cube, what is the length of its sides in kilometers?

(a) 3.7×1017Pa

(b) 6.0×1017m3

(c) 8.4×102km

Adapted from College Physics 2e by OpenStax (openstax.org), licensed under CC BY-NC-SA 4.0. Changes were made. License: CC-BY-NC-SA-4.0.