Temperature, Kinetic Theory, and the Gas Laws

# The Ideal Gas Law

OpenStaxCollege

### Learning Objectives

- 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.

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, , and oxygen, , are composed of two or more atoms. We will primarily use the term “molecule” in discussing a gas because the term can also be applied to monatomic gases, such as helium.)

Gases are easily compressed. We can see evidence of this in [link], 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 [link]. 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.

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 [link].)

At room temperatures, collisions between atoms and molecules can be ignored. In this case, the gas is called an ideal gas, in which case the relationship between the pressure, volume, and temperature is given by the equation of state called the ideal gas law.

The ideal gas law states that

where is the absolute pressure of a gas, is the volume it occupies, is the number of atoms and molecules in the gas, and is its absolute temperature. The constant is called the Boltzmann constant in honor of Austrian physicist Ludwig Boltzmann (1844–1906) and has the value

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 is a constant). In the ideal gas model, the volume occupied by its atoms and molecules is a negligible fraction of . The ideal gas law describes the behavior of real gases under most conditions. (Note, for example, that is the total number of atoms and molecules, independent of the type of 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 is essentially equal to atmospheric pressure, and the volume increases in direct proportion to the number of atoms and molecules put into the tire. Once the volume of the tire is constant, the equation predicts that the pressure should increase in proportion to *the number N of atoms and molecules*.

Suppose your bicycle tire is fully inflated, with an absolute pressure of (a gauge pressure of just under ) at a temperature of . What is the pressure after its temperature has risen to ? Assume that there are no appreciable leaks or changes in volume.

**Strategy**

The pressure in the tire is changing only because of changes in temperature. First we need to identify what we know and what we want to know, and then identify an equation to solve for the unknown.

We know the initial pressure , the initial temperature

, and the final temperature

. We must find the final pressure

. How can we use the equation

? At first, it may seem that not enough information is given, because the volume

and number of atoms

are not specified. What we can do is use the equation twice:

and

. If we divide

by

we can come up with an equation that allows us to solve for

.

Since the volume is constant, and are the same and they cancel out. The same is true for and , and , which is a constant. Therefore,

We can then rearrange this to solve for :

where the temperature must be in units of kelvins, because and are absolute temperatures.

**Solution**

1. Convert temperatures from Celsius to Kelvin.

2. Substitute the known values into the equation.

**Discussion**

The final temperature is about 6% greater than the original temperature, so the final pressure is about 6% greater as well. Note that * absolute* pressure and

*temperature must be used in the ideal gas law.*

*absolute*Inflate a balloon at room temperature. Leave the inflated balloon in the refrigerator overnight. What happens to the balloon, and why?

How many molecules are in a typical object, such as gas in a tire or water in a drink? We can use the ideal gas law to give us an idea of how large typically is.

Calculate the number of molecules in a cubic meter of gas at standard temperature and pressure (STP), which is defined to be and atmospheric pressure.

**Strategy**

Because pressure, volume, and temperature are all specified, we can use the ideal gas law , to find .

**Solution**

1. Identify the knowns.

2. Identify the unknown: number of molecules, .

3. Rearrange the ideal gas law to solve for .

*** QuickLaTeX cannot compile formula: \begin{array}{}\text{PV}=\text{NkT}\\ N=\frac{\text{PV}}{\text{kT}}\end{array} *** Error message: Missing # inserted in alignment preamble. leading text: $\begin{array}{} Missing $ inserted. leading text: ...=\text{NkT}\\ N=\frac{\text{PV}}{\text{kT}} Extra }, or forgotten $. leading text: ...=\text{NkT}\\ N=\frac{\text{PV}}{\text{kT}} Missing } inserted. leading text: ...\\ N=\frac{\text{PV}}{\text{kT}}\end{array} Extra }, or forgotten $. leading text: ...\\ N=\frac{\text{PV}}{\text{kT}}\end{array} Missing } inserted. leading text: ...\\ N=\frac{\text{PV}}{\text{kT}}\end{array} Extra }, or forgotten $. leading text: ...\\ N=\frac{\text{PV}}{\text{kT}}\end{array} Missing } inserted. leading text: ...\\ N=\frac{\text{PV}}{\text{kT}}\end{array} Extra }, or forgotten $. leading text: ...\\ N=\frac{\text{PV}}{\text{kT}}\end{array} Missing } inserted.

4. Substitute the known values into the equation and solve for .

**Discussion**

This number is undeniably large, considering that a gas is mostly empty space. is huge, even in small volumes. For example, of a gas at STP has molecules in it. Once again, note that is the same for all types or mixtures of gases.

# Moles and Avogadro’s Number

It is sometimes convenient to work with a unit other than molecules when measuring the amount of substance. A mole (abbreviated mol) is defined to be the amount of a substance that contains as many atoms or molecules as there are atoms in exactly 12 grams (0.012 kg) of carbon-12. The actual number of atoms or molecules in one mole is called Avogadro’s number, in recognition of Italian scientist Amedeo Avogadro (1776–1856). He 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. That is, the number is independent of the type of gas. This hypothesis has been confirmed, and the value of Avogadro’s number is

One mole always contains particles (atoms or molecules), independent of the element or substance. A mole of any substance has a mass in grams equal to its molecular mass, which can be calculated from the atomic masses given in the periodic table of elements.

The active ingredient in a Tylenol pill is 325 mg of acetaminophen . Find the number of active 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.

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

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

Calculate: (a) the number of moles in of gas at STP, and (b) the number of liters of gas per mole.

**Strategy and Solution**

(a) We are asked to find the number of moles per cubic meter, and we know from [link] that the number of molecules per cubic meter at STP is . The number of moles can be found by dividing the number of molecules by Avogadro’s number. We let stand for the number of moles,

(b) Using the value obtained for the number of moles in a cubic meter, and converting cubic meters to liters, we obtain

**Discussion**

This value is very close to the accepted value of 22.4 L/mol. The slight difference is due to rounding errors caused by using three-digit input. Again this number is the same for all gases. In other words, it is independent of the gas.

The (average) molar weight of air (approximately 80% and 20% is Thus the mass of one cubic meter of air is 1.28 kg. If a living room has dimensions the mass of air inside the room is 96 kg, which is the typical mass of a human.

The density of air at standard conditions and is . At what pressure is the density 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 , 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

# The Ideal Gas Law Restated Using Moles

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

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

Note that is the number of moles. We define the universal gas constant , and obtain the ideal gas law in terms of moles.

The ideal gas law (in terms of moles) is

The numerical value of in SI units is

In other units,

You can use whichever value of is most convenient for a particular problem.

How many moles of gas are in a bike tire with a volume of a pressure of (a gauge pressure of just under ), and at a temperature of ?

**Strategy**

Identify the knowns and unknowns, and choose an equation to solve for the unknown. In this case, we solve the ideal gas law, , for the number of moles .

**Solution**

1. Identify the knowns.

2. Rearrange the equation to solve for and substitute known values.

**Discussion**

The most convenient choice for in this case is because our known quantities are in SI units. The pressure and temperature are obtained from the initial conditions in [link], but we would get the same answer if we used the final values.

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, or decreasing volume. 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 units on both sides are joules. The right-hand side of the ideal gas law in is . This term is roughly the amount of translational kinetic energy of atoms or molecules at an absolute temperature , 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 , which also has the units of joules. We know from our study of fluids that pressure is one type of potential energy per unit volume, so pressure multiplied by volume is 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.

**Step 1** Examine the situation to determine that an ideal gas is involved. Most gases are nearly ideal.

**Step 2** Make a list of what quantities are given, or can be inferred from the problem as stated (identify the known quantities). Convert known values into proper SI units (K for temperature, Pa for pressure, for volume, molecules for , and moles for ).

**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, in order to decide which form of the ideal gas law to use. The first form is and involves , the number of atoms or molecules. The second form is and involves , the number of moles.

**Step 5** 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 6** Substitute the known quantities, along with their units, into the appropriate equation, and obtain numerical solutions complete with units. Be certain to use absolute temperature and absolute pressure.

**Step 7** Check the answer to see if it is reasonable: Does it make sense?

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.

# 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:
where is pressure, is volume, is temperature, is number of molecules, and is the Boltzmann constant

- 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 ,
- 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:
where is number of moles and is the universal gas constant,

- 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 at a temperature of when you drive it onto a ferry boat to Alaska. What is their gauge pressure later, when their temperature has dropped to ?

1.62 atm

Convert an absolute pressure of to gauge pressure in (This value was stated to be just less than in [link]. 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 . (a) Find the gauge pressure inside such a bulb when it is hot, assuming its average temperature is (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.

Large helium-filled balloons are used to lift scientific equipment to high altitudes. (a) What is the pressure inside such a balloon if it starts out at sea level with a temperature of and rises to an altitude where its volume is twenty times the original volume and its temperature is ? (b) What is the gauge pressure? (Assume atmospheric pressure is constant.)

Confirm that the units of are those of energy for each value of : (a) , (b) , and (c) .

(a)

(b)

(c)

In the text, it was shown that for gas at STP. (a) Show that this quantity is equivalent to as stated. (b) About how many atoms are there in one (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 (body temperature).

An airplane passenger has 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

(a) What is the volume (in ) 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)

(b)

An expensive vacuum system can achieve a pressure as low as at . 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 and the pressure is in this space. What is the temperature there?

A bicycle tire has a pressure of at a temperature of 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 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 and a temperature of . Its valve leaks after the cylinder is dropped. The cylinder is cooled to dry ice temperature 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)

(b)

(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 and under 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 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 ? Assume the temperature returns to and the volume remains constant.

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

(a)

(b)

(c)

## Glossary

- ideal gas law
- the physical law that 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

- Boltzmann constant
- , a physical constant that relates energy to temperature;

- Avogadro’s number
- , the number of molecules or atoms in one mole of a substance;

particles/mole

- mole
- the quantity of a substance whose mass (in grams) is equal to its molecular mass