01 / 21

The Ideal Gas Law

Master the relationship between pressure, volume, temperature, and amount of gas with the equation \( PV = nRT \).

AP Physics 2

What Is an Ideal Gas?

An ideal gas is a theoretical model where gas particles are treated as point masses that undergo perfectly elastic collisions and exert no intermolecular forces on each other.

No Volume
Individual molecules occupy zero volume compared to the container.
No Forces
No attractive or repulsive forces between molecules.
Elastic Collisions
Kinetic energy is conserved in every collision.

The Four State Variables

Every gas sample is described by four measurable quantities called state variables. The ideal gas law connects all four in a single equation.

\( P \) : Pressure
Force per unit area on the container walls. SI unit: pascals (Pa).
\( V \) : Volume
Space the gas occupies. SI unit: cubic meters (\( \mathrm{m}^3 \)).
\( T \) : Temperature
Average kinetic energy of the molecules. SI unit: kelvins (K).
\( n \) : Amount
Number of moles of gas particles. SI unit: moles (mol).

Building Up to \( PV = nRT \)

The ideal gas law unifies three earlier empirical gas laws into one powerful equation:

1
Boyle's Law: At constant \( T \) and \( n \), \( P \propto \frac{1}{V} \).
2
Charles's Law: At constant \( P \) and \( n \), \( V \propto T \).
3
Avogadro's Law: At constant \( P \) and \( T \), \( V \propto n \).

The Ideal Gas Law

$$ \color{#818cf8}P \color{#4ade80}V \color{#e2e8f0}= \color{#fbbf24}n \color{#a78bfa}R \color{#f87171}T $$
Pressure Volume Moles Gas Constant Temperature

Visualizing \( P \) vs \( V \) (Isotherms)

Volume (V) Pressure (P) T₂ (hot) T₁ (cool)
At constant \(T\) and \(n\): \( P = \frac{nRT}{V} \)

Ideal vs Real Gases

Ideal Gas Real Gas
Particle Volume Zero (point masses) Finite: occupies real space
Intermolecular Forces None Attractive and repulsive
Collisions Perfectly elastic Slightly inelastic
Equation \( PV = nRT \) \(\left(P + \frac{an^2}{V^2}\right)(V - nb) = nRT\)
Best Accuracy High \( T \), low \( P \) All conditions

Microscopic Meaning of Temperature

The ideal gas law connects to the kinetic theory of gases. The temperature of a gas is directly related to the average translational kinetic energy of its molecules:

\( K_{\text{avg}} = \frac{3}{2} k_B T \)
\( K_{\text{avg}} \)
Average translational kinetic energy per molecule (in joules).
\( k_B \)
Boltzmann constant: \( 1.381 \times 10^{-23} \;\text{J/K} \).
\( T \)
Absolute temperature in kelvins. Must never be in Celsius.

Connecting \( R \) and \( k_B \)

The gas constant \( R \) and the Boltzmann constant \( k_B \) are related through Avogadro's number \( N_A \):

This means we can also write the ideal gas law in terms of total number of molecules \( N \) instead of moles \( n \):

How to Apply \( PV = nRT \)

1
Identify the unknowns. Which variable are you solving for: \( P \), \( V \), \( n \), or \( T \)?
2
Convert all values to SI units. Pressure in Pa, volume in \( \mathrm{m}^3 \), temperature in K, amount in mol.
3
Rearrange the equation to isolate the unknown. For example, \( T = \frac{PV}{nR} \).
4
Substitute and compute. Plug in all known values with correct units.
5
Check your answer. Is the sign positive? Are the units correct? Does the magnitude make physical sense?

Example 1: Finding Volume

A balloon contains \( 0.50 \;\text{mol} \) of helium at \( 300 \;\text{K} \) and \( 1.01 \times 10^5 \;\text{Pa} \). What is the volume of the balloon?

1
Known: \( n = 0.50 \;\text{mol} \), \( T = 300 \;\text{K} \), \( P = 1.01 \times 10^5 \;\text{Pa} \).
2
Rearrange: \( V = \frac{nRT}{P} \).
3
Substitute: \( V = \frac{(0.50)(8.314)(300)}{1.01 \times 10^5} \).
4
Compute: \( V = \frac{1247.1}{1.01 \times 10^5} \approx 0.01235 \;\mathrm{m}^3 \approx 12.3 \;\text{L} \).

Example 2: Finding Temperature

A sealed container of volume \( 0.020 \;\mathrm{m}^3 \) holds \( 1.5 \;\text{mol} \) of nitrogen gas at a pressure of \( 2.5 \times 10^5 \;\text{Pa} \). What is the temperature?

1
Known: \( P = 2.5 \times 10^5 \;\text{Pa} \), \( V = 0.020 \;\mathrm{m}^3 \), \( n = 1.5 \;\text{mol} \).
2
Rearrange: \( T = \frac{PV}{nR} \).
3
Substitute: \( T = \frac{(2.5 \times 10^5)(0.020)}{(1.5)(8.314)} \).
4
Compute: \( T = \frac{5000}{12.471} \approx 401 \;\text{K} \) (about \( 128\,{}^{\circ}\mathrm{C} \)).

Example 3: Changing Conditions

A gas at \( P_1 = 1.0 \times 10^5 \;\text{Pa} \), \( V_1 = 0.030 \;\mathrm{m}^3 \), \( T_1 = 300 \;\text{K} \) is compressed to \( V_2 = 0.010 \;\mathrm{m}^3 \) and heated to \( T_2 = 450 \;\text{K} \). Find \( P_2 \). (Amount \( n \) is fixed.)

1
Rearrange: \( P_2 = P_1 \cdot \frac{V_1}{V_2} \cdot \frac{T_2}{T_1} \).
2
Substitute: \( P_2 = (1.0 \times 10^5) \cdot \frac{0.030}{0.010} \cdot \frac{450}{300} \).
3
Compute: \( P_2 = 1.0 \times 10^5 \times 3 \times 1.5 = 4.5 \times 10^5 \;\text{Pa} \).

A separate balloon model

Assume two moles of ideal gas, equilibrium pressure and negligible membrane tension. This example uses different values from the deck’s existing calculation.

A balloon cools from 293.15 K to 253.15 K while its pressure falls from 101.3 kPa to 50.7 kPa. How do its volume and equivalent-sphere diameter change?

Show answer and explanation

The volume increases by about 1.725, from 48.1 L to 83.0 L. The equivalent-sphere diameter increases by approximately 1.199.

Flexible balloon expands when pressure drop outweighs temperature drop.
With fixed gas amount, the pressure decrease outweighs cooling, increasing volume by about 1.725 and equivalent-sphere diameter by about 1.199.
2 mol:293.15 K/101.3 kPa→48.1 L;253.15 K/50.7 kPa→83.0 L; volume ratio 1.725 and equal-volume sphere diameter ratio 1.199.
Computed equivalent-sphere size comparison; balloon scene is illustrative.

A transparent piston makes heat and mechanical work visible

A transparent vertical cylinder contains a tinted gas region beneath a sealed metal piston and guided load. A copper heating jacket connects by two leads to a bench supply.For a fixed amount of ideal gas, compare equilibrium states using P₁V₁/T₁ = P₂V₂/T₂, with absolute pressure and temperature in kelvin. Endpoint states alone do not determine work.

Changing pressure and temperature together

Changing pressure and temperature together. For the same amount of gas, temperature falls from 293.15 K to 253.15 K while pressure falls from 101.3 to 50.7 kPa. Volume rises from about 48.1 to 83.0 L because the pressure decrease outweighs the temperature decrease.For the same amount of gas, temperature falls from 293.15 K to 253.15 K while pressure falls from 101.3 to 50.7 kPa. Volume rises from about 48.1 to 83.0 L because the pressure decrease outweighs the temperature decrease.

Graphical Processes

\(V\)
\(P\)
Isobaric (const P) Isochoric (const V) Isothermal (const T) Adiabatic (no heat)

Common Mistakes to Avoid

✕ Using Celsius for \( T \)
The ideal gas law requires absolute temperature in kelvins. Always convert: \( T(\text{K}) = T(^{\circ}\mathrm{C}) + 273.15 \).
✕ Wrong Units for \( R \)
If using \( R = 8.314 \), pressure must be in Pa and volume in \( \mathrm{m}^3 \). Mixing liters and atm with this \( R \) gives wrong answers.
✕ Forgetting Unit Conversions
\( 1 \;\text{atm} = 101,325 \;\text{Pa} \). \( 1 \;\text{L} = 0.001 \;\mathrm{m}^3 \). Missing these conversions is the most common source of errors on the AP exam.

Gas Law Summary

Law Equation Held Constant Relationship
Boyle's \( P_1V_1 = P_2V_2 \) \( T, n \) Inverse
Charles's \( \frac{V_1}{T_1} = \frac{V_2}{T_2} \) \( P, n \) Direct
Gay-Lussac's \( \frac{P_1}{T_1} = \frac{P_2}{T_2} \) \( V, n \) Direct
Avogadro's \( \frac{V_1}{n_1} = \frac{V_2}{n_2} \) \( P, T \) Direct
Ideal Gas \( PV = nRT \) None required Unifies all

Question 1 of 5

A fixed amount of ideal gas is in a sealed container. If the temperature is doubled while the volume is held constant, what happens to the pressure?

Question 2 of 5

What is the volume of \( 2.0 \;\text{mol} \) of an ideal gas at \( 400 \;\text{K} \) and \( 2.0 \times 10^5 \;\text{Pa} \)?

Question 3 of 5

Which assumption is NOT part of the ideal gas model?

Question 4 of 5

A gas at \( 1.0 \times 10^5 \;\text{Pa} \) and \( 0.040 \;\mathrm{m}^3 \) is compressed isothermally to \( 0.010 \;\mathrm{m}^3 \). What is the final pressure?

Question 5 of 5

The average translational kinetic energy of the molecules in an ideal gas depends on which of the following?