01 / 21

The Ideal
Gas Law

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

AP Chemistry Thermodynamics

What Is an Ideal Gas?

An ideal gas is a theoretical gas composed of many randomly moving particles that do not interact except through perfectly elastic collisions. It obeys simple mathematical relationships between its macroscopic properties.

No Intermolecular Forces
Particles exert no attractive or repulsive forces on each other.
Negligible Volume
The volume of individual particles is negligible compared to the container.
Elastic Collisions
Collisions between particles and walls transfer energy with no loss.

The Four State Variables

\( P \) : Pressure
Force per unit area exerted by gas particles on container walls. Measured in atm, Pa, or kPa.
\( V \) : Volume
Space occupied by the gas. Measured in liters (L) or cubic meters (m³).
\( T \) : Temperature
Average kinetic energy of gas particles. Must be in Kelvin (K) for gas law calculations.
\( n \) : Amount
Number of moles of gas present in the sample.

Why the Ideal Gas Law Matters

The ideal gas law connects all four state variables into a single equation. It lets us predict how a gas behaves when conditions change: inflating tires, designing engines, calculating atmospheric pressure, or analyzing chemical reactions involving gases.

\( PV = nRT \)
Pressure Volume Moles Temperature

The Core Equation: \( PV = nRT \)

R
Universal Gas Constant: \( R = 8.314 \; \text{J/(mol·K)} \) or equivalently \( R = 0.0821 \; \text{L·atm/(mol·K)} \)

The Specific Gas Constant

When working with mass instead of moles, we use the specific gas constant \( R_s \), which depends on the gas's molar mass \( M \):

Air
\( M \approx 28.97 \; \text{g/mol} \)
\( R_s = 287 \; \text{J/(kg·K)} \)
Helium
\( M = 4.003 \; \text{g/mol} \)
\( R_s = 2077 \; \text{J/(kg·K)} \)
\(\text{CO}_2\)
\( M = 44.01 \; \text{g/mol} \)
\( R_s = 189 \; \text{J/(kg·K)} \)

Ideal vs. Real Gases

Ideal Gas Real Gas
Intermolecular Forces None Present (attraction & repulsion)
Particle Volume Negligible Finite, takes up space
Equation \( PV = nRT \) \( \left(P + \frac{an^2}{V^2}\right)(V - nb) = nRT \)
Best Accuracy At High \( T \), Low \( P \) All conditions
Model Name Ideal Gas Law Van der Waals Equation

Special Cases: Related Gas Laws

The ideal gas law \( PV = nRT \) contains several simpler laws as special cases when certain variables are held constant:

Boyle's Law
Constant \( T, n \):
\( P_1V_1 = P_2V_2 \)
Pressure and volume are inversely proportional.
Charles's Law
Constant \( P, n \):
\( \frac{V_1}{T_1} = \frac{V_2}{T_2} \)
Volume and temperature are directly proportional.
Avogadro's Law
Constant \( P, T \):
\( \frac{V_1}{n_1} = \frac{V_2}{n_2} \)
Volume is proportional to moles.

Graphical Relationships

Boyle's Law (const T) V P Charles's Law (const P) T V Gay-Lussac (const V) T P

How to Solve Ideal Gas Problems

1
Identify the unknowns. Which variable are you solving for: \( P \), \( V \), \( n \), or \( T \)?
2
Convert units. Temperature to Kelvin. Volume to liters (if using \( R = 0.0821 \)). Pressure to atm or Pa as needed.
3
Choose the right \( R \). Match the gas constant to your pressure and volume units.
4
Rearrange and solve. Isolate the unknown: \( P = \frac{nRT}{V} \), \( V = \frac{nRT}{P} \), \( n = \frac{PV}{RT} \), \( T = \frac{PV}{nR} \).
5
Check reasonableness. At STP, 1 mol of gas occupies \( 22.4 \) L. Use this as a sanity check.

Example 1: Finding Volume

Problem: What volume does 2.50 mol of an ideal gas occupy at 1.00 atm and 25.0°C?

1
Convert temperature: \( T = 25.0 + 273.15 = \) 298.15 K
2
Choose \( R \): \( P \) in atm, \( V \) in L, so \( R = 0.0821 \; \text{L·atm/(mol·K)} \)
3
Solve for \( V \): \( V = \frac{nRT}{P} = \frac{(2.50)(0.0821)(298.15)}{1.00} \)

Example 2: Finding Pressure

Problem: A sealed 10.0 L container holds 0.500 mol of nitrogen gas at 350 K. What is the pressure?

1
Units check: \( V = 10.0 \) L, \( T = 350 \) K (already Kelvin), \( n = 0.500 \) mol.
2
Rearrange: \( P = \frac{nRT}{V} = \frac{(0.500)(0.0821)(350)}{10.0} \)

Example 3: Using the Specific Gas Constant

Problem: Find the density of air at 101,325 Pa and 300 K. Use \( R_s = 287 \; \text{J/(kg·K)} \) for air.

1
Start from \( PV = mR_sT \). Divide both sides by \( V \): \( P = \rho R_s T \), where \( \rho = m/V \) is density.
2
Solve for density: \( \rho = \frac{P}{R_s T} = \frac{101{,}325}{287 \times 300} \)

STP and Molar Volume

Standard Temperature and Pressure (STP) is defined as \( T = 273.15 \) K (0°C) and \( P = 1 \) atm. At STP, one mole of any ideal gas occupies a specific volume.

1 mol at STP 22.4 L P = 1 atm T = 273.15 K

Common Mistakes

✕ Using Celsius for \( T \)
The ideal gas law requires Kelvin. Forgetting to convert \( °C \to K \) is the most common error.
✕ Mismatched Units for \( R \)
Using \( R = 8.314 \) with pressure in atm, or \( R = 0.0821 \) with pressure in Pa, gives wrong answers.
✕ Forgetting to Convert Mass to Moles
The equation uses moles (\( n \)), not grams. Divide mass by molar mass: \( n = m/M \).

Summary: Key Equations

Law / Form Equation Held Constant
Ideal Gas Law \( PV = nRT \) None (general form)
Mass Form \( PV = mR_sT \) None (uses mass)
Density Form \( P = \rho R_s T \) None (uses density)
Boyle's Law \( P_1V_1 = P_2V_2 \) \( T, n \)
Charles's Law \( \frac{V_1}{T_1} = \frac{V_2}{T_2} \) \( P, n \)
Gay-Lussac's \( \frac{P_1}{T_1} = \frac{P_2}{T_2} \) \( V, n \)
Avogadro's Law \( \frac{V_1}{n_1} = \frac{V_2}{n_2} \) \( P, T \)

Question 1 of 5

A sample of gas occupies 5.00 L at 1.00 atm and 300 K. How many moles of gas are present? (Use \( R = 0.0821 \; \text{L·atm/(mol·K)} \))

Question 2 of 5

If you double the absolute temperature of an ideal gas while keeping pressure and moles constant, what happens to the volume?

Question 3 of 5

The specific gas constant for air is \( R_s = 287 \; \text{J/(kg·K)} \). What is the density of air at 200 kPa and 400 K?

Question 4 of 5

A student calculates the volume of a gas using \( T = 25 \) in the ideal gas law and gets an answer of 2.05 L. The actual temperature is 25°C. What is the correct volume?

Question 5 of 5

Which condition makes a real gas behave most like an ideal gas?