impera Open Impera

AP Chemistry · Properties of substances and mixtures

Ideal gas law

1The gas variables and laws

A gas is described by pressure ($P$), volume ($V$), temperature ($T$, always in kelvin) and moles ($n$).

  • Boyle's law: $P \propto \frac{1}{V}$ at constant $n$, $T$.
  • Charles's law: $V \propto T$ at constant $n$, $P$.
  • Gay-Lussac's law: $P \propto T$ at constant $n$, $V$.
  • Avogadro's law: $V \propto n$ at constant $P$, $T$.

Combined for a fixed amount of gas:

$$\frac{P_1 V_1}{T_1} = \frac{P_2 V_2}{T_2}$$

Worked example

2.00 L of gas at 1.00 atm and 300 K is heated to 400 K and compressed to 2.00 atm.

  1. $V_2 = \frac{P_1 V_1 T_2}{T_1 P_2} = \frac{(1.00)(2.00)(400)}{(300)(2.00)}$
  2. $V_2 = 1.33$ L.

Boyle's law: halving the volume doubles the pressure

Check yourself

If the kelvin temperature of a gas doubles at constant pressure, its volume:

  • Stays the same

  • Doubles

  • Quadruples

  • Halves

Show the answer

Doubles

Charles's law.

2The ideal gas law

$$PV = nRT$$

with $R = 0.08206$ L·atm/(mol·K) or $8.314$ J/(mol·K).

Worked example

the pressure of 0.500 mol of gas in 10.0 L at 300 K.

  1. $P = \frac{nRT}{V} = \frac{(0.500)(0.08206)(300)}{10.0}$
  2. $P = 1.23$ atm.

At STP (273 K, 1 atm), 1 mol of an ideal gas occupies 22.4 L.

Check yourself

What volume does 2.00 mol of an ideal gas occupy at STP?

  • 22.4 L

  • 44.8 L

  • 2.00 L

  • 11.2 L

Show the answer

44.8 L

2 × 22.4.

3Molar mass and density

Rearranging with $n = m/M$:

$$M = \frac{dRT}{P}$$

where $d$ is density (g/L).

Worked example

a gas has density 1.25 g/L at STP.

  1. $M = \frac{(1.25)(0.08206)(273)}{1.00} = 28.0$ g/mol.
  2. The gas could be N₂ or CO.
Check yourself

At the same T and P, which gas has the greatest density?

  • CH₄

  • N₂

  • He

  • CO₂

Show the answer

CO₂

Density ∝ molar mass.

4Dalton's law of partial pressures

In a mixture, each gas exerts a partial pressure as if it were alone:

$$P_{\text{total}} = P_A + P_B + \dots \qquad P_A = X_A P_{\text{total}}$$

where $X_A$ is the mole fraction of A.

Worked example

a mixture contains 2.0 mol N₂ and 0.50 mol O₂ at 5.0 atm total.

  1. $X_{\text{O}_2} = 0.50 \div 2.5 = 0.20$.
  2. $P_{\text{O}_2} = 0.20 \times 5.0 = 1.0$ atm.

Gas collected over water contains water vapour: $P_{\text{gas}} = P_{\text{total}} - P_{\text{water}}$.

Check yourself

A mixture of He (1 mol) and Ar (3 mol) is at 8.0 atm. What is the partial pressure of He?

  • 4.0 atm

  • 8.0 atm

  • 2.0 atm

  • 6.0 atm

Show the answer

2.0 atm

X = 0.25.

5Going deeper: density, molar mass, mixtures and gas stoichiometry

PV = nRT with R = 0.08206 L·atm/(mol·K) (or 8.314 J/(mol·K) with pascals and m³). Temperature must be in kelvin.

Conversions: 1 atm = 760 torr = 760 mmHg = 101.3 kPa. K = °C + 273.15.

For a fixed amount of gas: P₁V₁ ÷ T₁ = P₂V₂ ÷ T₂.

Molar mass and density: since n = m ÷ M,

M = mRT ÷ (PV) = dRT ÷ P.

Worked example (identifying a gas): a gas has density 1.96 g/L at 0°C and 1.00 atm.

  1. M = 1.96 × 0.08206 × 273.15 ÷ 1.00 = 43.9 g/mol.
  2. Carbon dioxide (44.0 g/mol).

Worked example (molar mass from a flask): 0.582 g of a vapor fills 250 mL at 100°C and 0.980 atm.

  1. n = PV ÷ RT = 0.980 × 0.250 ÷ (0.08206 × 373.15) = 0.00800 mol.
  2. M = 0.582 ÷ 0.00800 = 72.7 g/mol.

Dalton's law of partial pressures: in a mixture each gas acts independently. P(total) = P₁ + P₂ + …, and P₁ = X₁ × P(total), where X is the mole fraction.

Worked example

a tank holds 2.0 mol N₂ and 6.0 mol He at a total pressure of 4.0 atm.

  1. Mole fractions: 0.25 and 0.75.
  2. Partial pressures: 1.0 atm and 3.0 atm.

Collecting a gas over water: the collected gas is mixed with water vapor, so P(gas) = P(total) − P(water vapor).

Worked example

hydrogen is collected over water at 25°C. The total pressure is 755 torr, the volume 0.250 L, and water's vapor pressure 23.8 torr.

  1. P(H₂) = 755 − 23.8 = 731 torr = 0.962 atm.
  2. n = 0.962 × 0.250 ÷ (0.08206 × 298.15) = 9.83 × 10⁻³ mol.
  3. Forgetting to subtract the water vapor would overestimate the moles of hydrogen.

Gas stoichiometry: convert to moles with PV = nRT, use the mole ratio, convert back.

Worked example

what volume of CO₂ at 25°C and 1.00 atm forms when 10.0 g of CaCO₃ reacts with excess acid?

  1. 10.0 ÷ 100.1 = 0.0999 mol CaCO₃, giving 0.0999 mol CO₂.
  2. V = nRT ÷ P = 0.0999 × 0.08206 × 298.15 ÷ 1.00 = 2.44 L.

Equal volumes, equal moles (Avogadro): at the same temperature and pressure, volumes of gases react in the ratio of their coefficients. 2 L of H₂ reacts with 1 L of O₂.

Graphs to recognize

  • P against V at constant T: a curve (inverse); P against 1 ÷ V: a straight line.
  • V against T (in kelvin) at constant P: a straight line through the origin. Extrapolating V against °C to zero volume gives −273°C: absolute zero.

Common mistakes

  • Using Celsius.
  • Mixing units (torr with the atm value of R; mL with L).
  • Forgetting water vapor when a gas is collected over water.
  • Using 22.4 L/mol at conditions other than 0°C and 1 atm.
Check yourself

A gas is collected over water. To find the pressure of the dry gas, you must:

  • Divide the total pressure by the mole fraction of water

  • Add the vapor pressure of water to the total pressure

  • Subtract the vapor pressure of water from the total pressure

  • Use the total pressure unchanged

Show the answer

Subtract the vapor pressure of water from the total pressure

Dalton's law: the total is the sum of the partial pressures.

6For top marks

  • Convert °C to K ($T = °C + 273$) before any gas calculation.
  • Match $R$ to the units: use 0.08206 with atm and L.
  • Write the rearranged equation before substituting numbers.
  • In particle diagrams, show the same number of particles when only $P$, $V$ or $T$ changes.
Check yourself

A gas at 27 °C is heated to 327 °C at constant volume. Its pressure:

  • Stays the same

  • Doubles

  • Increases twelvefold

  • Halves

Show the answer

Doubles

300 K → 600 K.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera