Chapter 2. The Kinetic Theory of Gases
2.1 Molecular Model of an Ideal Gas
Learning Objectives
By the end of this section, you will be able to:
- Apply the ideal gas law to situations involving the pressure, volume, temperature, and the number of molecules of a gas
- Use the unit of moles in relation to numbers of molecules, and molecular and macroscopic masses
- Explain the ideal gas law in terms of moles rather than numbers of molecules
- Apply the van der Waals gas law to situations where the ideal gas law is inadequate
In this section, we explore the thermal behavior of gases. Our word “gas” comes from the Flemish word meaning “chaos,” first used for vapors by the seventeenth-century chemist J. B. van Helmont. The term was more appropriate than he knew, because gases consist of molecules moving and colliding with each other at random. This randomness makes the connection between the microscopic and macroscopic domains simpler for gases than for liquids or solids.
How do gases differ from solids and liquids? Under ordinary conditions, such as those of the air around us, the difference is that the molecules of gases are much farther apart than those of solids and liquids. Because the typical distances between molecules are large compared to the size of a molecule, as illustrated in Figure 2.2, the forces between them are considered negligible, except when they come into contact with each other during collisions. Also, at temperatures well above the boiling temperature, the motion of molecules is fast, and the gases expand rapidly to occupy all of the accessible volume. In contrast, in liquids and solids, molecules are closer together, and the behavior of molecules in liquids and solids is highly constrained by the molecules’ interactions with one another. The macroscopic properties of such substances depend strongly on the forces between the molecules, and since many molecules are interacting, the resulting “many-body problems” can be extremely complicated (see Condensed Matter Physics).

The Gas Laws
In the previous chapter, we saw one consequence of the large intermolecular spacing in gases: Gases are easily compressed. Table 1.2 shows that gases have larger coefficients of volume expansion than either solids or liquids. These large coefficients mean that gases expand and contract very rapidly with temperature changes. We also saw (in the section on thermal expansion) that most gases expand at the same rate or have the same coefficient of volume expansion,
To study how the pressure, temperature, and volume of a gas relate to one another, consider what happens when you pump air into a deflated car 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 tire’s walls limit its volume expansion. If we continue to pump air into the tire, the pressure increases. When the car is driven and the tires flex, their temperature increases, and therefore the pressure increases even further (Figure 2.3).

Figure 2.4 shows data from the experiments of Robert Boyle (1627–1691), illustrating what is now called Boyle’s law: At constant temperature and number of molecules, the absolute pressure of a gas and its volume are inversely proportional. (Recall from Fluid Mechanics that the absolute pressure is the true pressure and the gauge pressure is the absolute pressure minus the ambient pressure, typically atmospheric pressure.) The graph in Figure 2.4 displays this relationship as an inverse proportionality of volume to pressure.

Figure 2.5 shows experimental data illustrating what is called Charles’s law, after Jacques Charles (1746–1823). Charles’s law states that at constant pressure and number of molecules, the volume of a gas is proportional to its absolute temperature.

Similar is Amonton’s or Gay-Lussac’s law, which states that at constant volume and number of molecules, the pressure is proportional to the temperature. That law is the basis of the constant-volume gas thermometer, discussed in the previous chapter. (The histories of these laws and the appropriate credit for them are more complicated than can be discussed here.)
It is known experimentally that for gases at low density (such that their molecules occupy a negligible fraction of the total volume) and at temperatures well above the boiling point, these proportionalities hold to a good approximation. Not surprisingly, with the other quantities held constant, either pressure or volume is proportional to the number of molecules. More surprisingly, when the proportionalities are combined into a single equation, the constant of proportionality is independent of the composition of the gas. The resulting equation for all gases applies in the limit of low density and high temperature; it’s the same for oxygen as for helium or uranium hexafluoride. A gas at that limit is called an ideal gas; it obeys the ideal gas law, which is also called the equation of state of an ideal gas.
Ideal Gas Law
The ideal gas law states that
where p is the absolute pressure of a gas, V is the volume it occupies, N is the number of molecules in the gas, and T is its absolute temperature.
The constant
The ideal gas law describes the behavior of any real gas when its density is low enough or its temperature high enough that it is far from liquefaction. This encompasses many practical situations. In the next section, we’ll see why it’s independent of the type of gas.
In many situations, the ideal gas law is applied to a sample of gas with a constant number of molecules; for instance, the gas may be in a sealed container. If N is constant, then solving for N shows that pV /T is constant. We can write that fact in a convenient form:
where the subscripts 1 and 2 refer to any two states of the gas at different times. Again, the temperature must be expressed in kelvin and the pressure must be absolute pressure, which is the sum of gauge pressure and atmospheric pressure.
Example
Calculating Pressure Changes Due to Temperature Changes
Suppose your bicycle tire is fully inflated, with an absolute pressure of
Strategy
The pressure in the tire is changing only because of changes in temperature. We know the initial pressure
Since the volume is constant,
We can then rearrange this to solve for
where the temperature must be in kelvin.
Solution
Show Answer
- Convert temperatures from degrees Celsius to kelvin
- Substitute the known values into the equation,
Significance
The final temperature is about
Example
Calculating the Number of Molecules in a Cubic Meter of Gas
How many molecules are in a typical object, such as gas in a tire or water in a glass? This calculation can give us an idea of how large N typically is. Let’s calculate the number of molecules in the air that a typical healthy young adult inhales in one breath, with a volume of 500 mL, at standard temperature and pressure (STP), which is defined as
Strategy
Because pressure, volume, and temperature are all specified, we can use the ideal gas law,
Solution
Show Answer
- Identify the knowns.
- Substitute the known values into the equation and solve for N.
Significance
N is huge, even in small volumes. For example,
As we observed in the chapter on fluid mechanics, pascals are
Moles and Avogadro’s Number
It is often convenient to measure the amount of substance with a unit on a more human scale than molecules. The SI unit for this purpose was developed by the Italian scientist Amedeo Avogadro (1776–1856). (He worked from the hypothesis that equal volumes of gas at equal pressure and temperature contain equal numbers of molecules, independent of the type of gas. As mentioned above, this hypothesis has been confirmed when the ideal gas approximation applies.) A mole (abbreviated mol) is defined as the amount of any substance that contains as many molecules as there are atoms in exactly 12 grams (0.012 kg) of carbon-12. (Technically, we should say “formula units,” not “molecules,” but this distinction is irrelevant for our purposes.) The number of molecules in one mole is called Avogadro’s number
We can now write
Avogadro’s number relates the mass of an amount of substance in grams to the number of protons and neutrons in an atom or molecule (12 for a carbon-12 atom), which roughly determine its mass. It’s natural to define a unit of mass such that the mass of an atom is approximately equal to its number of neutrons and protons. The unit of that kind accepted for use with the SI is the unified atomic mass unit (u), also called the dalton. Specifically, a carbon-12 atom has a mass of exactly 12 u, so that its molar mass M in grams per mole is numerically equal to the mass of one carbon-12 atom in u. That equality holds for any substance. In other words,

Now letting
Check Your Understanding
The recommended daily amount of vitamin
Show Solution
We first need to calculate the molar mass (the mass of one mole) of niacin. To do this, we must multiply the number of atoms of each element in the molecule by the element’s molar mass.
Then we need to calculate the number of moles in 14 mg.
Then, we use Avogadro’s number to calculate the number of molecules:
Check Your Understanding
The density of air in a classroom (
Show Solution
The density of a gas is equal to a constant, the average molecular mass, times the number density N/V. From the ideal gas law,
The Ideal Gas Law Restated using Moles
A very common expression of the ideal gas law uses the number of moles in a sample, n, rather than the number of molecules, N. We start from the ideal gas law,
and multiply and divide the right-hand side of the equation by Avogadro’s number
Note that
Ideal Gas Law (in terms of moles)
In terms of number of moles n, the ideal gas law is written as
In SI units,
In other units,
You can use whichever value of R is most convenient for a particular problem.
Example
Density of Air at STP and in a Hot Air Balloon
Calculate the density of dry air (a) under standard conditions and (b) in a hot air balloon at a temperature of
Strategy and Solution
Show Solution
- We are asked to find the density, or mass per cubic meter. We can begin by finding the molar mass. If we have a hundred molecules, of which 78 are nitrogen, 21 are oxygen, and 1 is argon, the average molecular mass is
, or the mass of each constituent multiplied by its percentage. The same applies to the molar mass, which therefore is
Now we can find the number of moles per cubic meter. We use the ideal gas law in terms of moles,
Then, the mass
Finally the density of air at STP is
- The air pressure inside the balloon is still 1 atm because the bottom of the balloon is open to the atmosphere. The calculation is the same except that we use a temperature of
, which is 393 K. We can repeat the calculation in (a), or simply observe that the density is proportional to the number of moles, which is inversely proportional to the temperature. Then using the subscripts 1 for air at STP and 2 for the hot air, we have
Significance
Using the methods of Archimedes’ Principle and Buoyancy, we can find that the net force on
Check Your Understanding
Liquids and solids have densities on the order of 1000 times greater than gases. Explain how this implies that the distances between molecules in gases are on the order of 10 times greater than the size of their molecules.
Show Solution
Density is mass per unit volume, and volume is proportional to the size of a body (such as the radius of a sphere) cubed. So if the distance between 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. Since we assume molecules are in contact in liquids and solids, the distance between their centers is on the order of their typical size, so the distance in gases is on the order of 10 times as great.
The ideal gas law is closely related to energy: The units on both sides of the equation are joules. The right-hand side of the ideal gas law equation is
Problem-Solving Strategy: The Ideal Gas Law
Step 1. Examine the situation to determine that an ideal gas is involved. Most gases are nearly ideal unless they are close to the boiling point or at pressures far above atmospheric pressure.
Step 2. Make a list of what quantities are given or can be inferred from the problem as stated (identify the known quantities).
Step 3. Identify exactly what needs to be determined in the problem (identify the unknown quantities). A written list is useful.
Step 4. Determine whether the number of molecules or the number of moles is known or asked for to decide whether to use the ideal gas law as
Step 5. Convert known values into proper SI units (K for temperature, Pa for pressure,
Step 6. Solve the ideal gas law for the quantity to be determined (the unknown quantity). You may need to take a ratio of final states to initial states to eliminate the unknown quantities that are kept fixed.
Step 7. Substitute the known quantities, along with their units, into the appropriate equation and obtain numerical solutions complete with units.
Step 8. Check the answer to see if it is reasonable: Does it make sense?
The Van der Waals Equation of State
We have repeatedly noted that the ideal gas law is an approximation. How can it be improved upon? The van der Waals equation of state (named after the Dutch physicist Johannes van der Waals, 1837−1923) improves it by taking into account two factors. First, the attractive forces between molecules, which are stronger at higher density and reduce the pressure, are taken into account by adding to the pressure a term equal to the square of the molar density multiplied by a positive coefficient a. Second, the volume of the molecules is represented by a positive constant b, which can be thought of as the volume of a mole of molecules. This is subtracted from the total volume to give the remaining volume that the molecules can move in. The constants a and b are determined experimentally for each gas. The resulting equation is
In the limit of low density (small n), the a and b terms are negligible, and we have the ideal gas law, as we should for low density. On the other hand, if
The van der Waals equation of state works well for most gases under a wide variety of conditions. As we’ll see in the next module, it even predicts the gas-liquid transition.
pV Diagrams
We can examine aspects of the behavior of a substance by plotting a pV diagram, which is a graph of pressure versus volume. When the substance behaves like an ideal gas, the ideal gas law
However, if we assume the van der Waals equation of state, the isotherms become more interesting, as shown in Figure 2.7. At high temperatures, the curves are approximately hyperbolas, representing approximately ideal behavior at various fixed temperatures. At lower temperatures, the curves look less and less like hyperbolas—that is, the gas is not behaving ideally. There is a critical temperature

Such behavior would be completely unphysical. Instead, the curves are understood as describing a liquid-gas phase transition. The oscillating part of the curve is replaced by a horizontal line, showing that as the volume increases at constant temperature, the pressure stays constant. That behavior corresponds to boiling and condensation; when a substance is at its boiling temperature for a particular pressure, it can increase in volume as some of the liquid turns to gas, or decrease as some of the gas turns to liquid, without any change in temperature or pressure.
Figure 2.8 shows similar isotherms that are more realistic than those based on the van der Waals equation. The steep parts of the curves to the left of the transition region show the liquid phase, which is almost incompressible—a slight decrease in volume requires a large increase in pressure. The flat parts show the liquid-gas transition; the blue regions that they define represent combinations of pressure and volume where liquid and gas can coexist.

The isotherms above
Substance | Critical temperature | Critical pressure | ||
---|---|---|---|---|
K | Pa | atm | ||
Water | 647.4 | 374.3 | 219.0 | |
Sulfur dioxide | 430.7 | 157.6 | 78.0 | |
Ammonia | 405.5 | 132.4 | 111.7 | |
Carbon dioxide | 304.2 | 31.1 | 73.2 | |
Oxygen | 154.8 | –118.4 | 50.3 | |
Nitrogen | 126.2 | –146.9 | 33.6 | |
Hydrogen | 33.3 | –239.9 | 12.9 | |
Helium | 5.3 | –267.9 | 2.27 |
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.
- A mole of any substance has a number of molecules equal to the number of atoms in a 12-g sample of carbon-12. The number of molecules in a mole is called Avogadro’s number
- A mole of any substance has a mass in grams numerically equal to its molecular mass in unified mass units, 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:
where n is the number of moles and R is the universal gas constant,
- The ideal gas law is generally valid at temperatures well above the boiling temperature.
- The van der Waals equation of state for gases is valid closer to the boiling point than the ideal gas law.
- Above the critical temperature and pressure for a given substance, the liquid phase does not exist, and the sample is “supercritical.”
Conceptual Questions
Two
Show Solution
2 moles, as that will contain twice as many molecules as the 1 mole of oxygen
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?
Show Solution
pressure
Inflate a balloon at room temperature. Leave the inflated balloon in the refrigerator overnight. What happens to the balloon, and why?
In the last chapter, free convection was explained as the result of buoyant forces on hot fluids. Explain the upward motion of air in flames based on the ideal gas law.
Show Solution
The flame contains hot gas (heated by combustion). The pressure is still atmospheric pressure, in mechanical equilibrium with the air around it (or roughly so). The density of the hot gas is proportional to its number density N/V (neglecting the difference in composition between the gas in the flame and the surrounding air). At higher temperature than the surrounding air, the ideal gas law says that
Problems
The gauge pressure in your car tires is
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
Show Solution
a. 0.137 atm; b.
People buying food in sealed bags at high elevations often notice that the bags are puffed up because the air inside has expanded. A bag of pretzels was packed at a pressure of 1.00 atm and a temperature of
How many moles are there in (a) 0.0500 g of
Show Solution
a.
A cubic container of volume 2.00 L holds 0.500 mol of nitrogen gas at a temperature of
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
Show Solution
An airplane passenger has
A company advertises that it delivers helium at a gauge pressure of
Show Solution
According to http://hyperphysics.phy-astr.gsu.edu/hbase/solar/venusenv.html, the atmosphere of Venus is approximately
An expensive vacuum system can achieve a pressure as low as
Show Solution
The number density N/V of gas molecules at a certain location in the space above our planet is about
A bicycle tire contains 2.00 L of gas at an absolute pressure of
Show Solution
In a common demonstration, a bottle is heated and stoppered with a hard-boiled egg that’s a little bigger than the bottle’s neck. When the bottle is cooled, the pressure difference between inside and outside forces the egg into the bottle. Suppose the bottle has a volume of 0.500 L and the temperature inside it is raised to
A high-pressure gas cylinder contains 50.0 L of toxic gas at a pressure of
Show Solution
a.
Find the number of moles in 2.00 L of gas at
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
Show Solution
40.7 km
(a) What is the gauge pressure in a
Footnotes
Glossary
- Avogadro’s number
the number of molecules in one mole of a substance; particles/mole
- Boltzmann constant
a physical constant that relates energy to temperature and appears in the ideal gas law;
- critical temperature
at which the isotherm has a point with zero slope
- ideal gas
- gas at the limit of low density and high temperature
- ideal gas law
- physical law that relates the pressure and volume of a gas, far from liquefaction, to the number of gas molecules or number of moles of gas and the temperature of the gas
- mole
- quantity of a substance whose mass (in grams) is equal to its molecular mass
- pV diagram
- graph of pressure vs. volume
- supercritical
- condition of a fluid being at such a high temperature and pressure that the liquid phase cannot exist
- universal gas constant
- R, the constant that appears in the ideal gas law expressed in terms of moles, given by
- van der Waals equation of state
- equation, typically approximate, which relates the pressure and volume of a gas to the number of gas molecules or number of moles of gas and the temperature of the gas
Licenses and Attributions
Molecular Model of an Ideal Gas. Authored by: OpenStax College. Located at: https://openstax.org/books/university-physics-volume-2/pages/2-1-molecular-model-of-an-ideal-gas. License: CC BY: Attribution. License Terms: Download for free at https://openstax.org/books/university-physics-volume-2/pages/1-introduction