Sub topic 3
The ideal gas equation PV = nRT
This chapter assumes you know pressure, SI units, and the Kelvin scale. It also assumes you can use the individual gas laws: Boyle's, Charles's, Gay-Lussac's and Avogadro's.
From separate laws to one equation
Each gas law holds one or two quantities fixed:
- Boyle's law: P ∝ 1/V at constant n and T.
- Charles's law: V ∝ T at constant n and P.
- Gay-Lussac's law: P ∝ T at constant n and V.
- Avogadro's law: V ∝ n at constant P and T.
Combining them gives P ∝ nT/V. Writing the constant of proportionality as R gives the ideal gas equation:
PV = nRTHere P is pressure in pascal, V is volume in m³, n is the amount of gas in moles, and T is absolute temperature in kelvin. R is the universal gas constant, 8.314 J/(mol·K).
An ideal gas is a model gas that obeys this equation at all pressures and temperatures. Real gases come close at low pressure and high temperature.
Other forms
The equation can be written in several equivalent ways. Which one you use depends on what the question gives you.
| Form | Symbols | Use when |
|---|---|---|
| PV = nRT | n = moles | Amount is given in moles |
| PV = (m/M)RT | m = mass, M = molar mass | Mass is given |
| PV = NkT | N = molecules, k = R/N_A = 1.38 × 10⁻²³ J/K | Molecule count is given |
| P = ρRT/M | ρ = density | Density is asked for |
Comparing two states
For a fixed amount of gas, PV/T stays constant. So between state 1 and state 2:
P1 V1 / T1 = P2 V2 / T2R cancels, so any consistent units work for P and V. Temperature must still be in kelvin.
Worked example
Find the volume of 1 mol of an ideal gas at 273.15 K and 1.013 × 10⁵ Pa.
n = 1.0 # mol
R = 8.314 # J/(mol K)
T = 273.15 # K
P = 1.013e5 # Pa
V = n * R * T / P
print(round(V * 1000, 1)) # about 22.4 litresThis is the familiar molar volume of 22.4 L at standard temperature and pressure.
Common errors
- If you use R = 0.0821 L·atm/(mol·K), then V must be in litres and P in atm.
- Mixing n (moles) with N (molecules) changes the answer by a factor of 6.022 × 10²³.
- If gas escapes or leaks, n changes, so PV/T is not constant.
Exercise
A sealed cylinder holds a gas at 27 °C and 2 atm. It is heated to 127 °C at constant volume. What is the new pressure?
Show answer
Convert to kelvin: T1 = 300 K and T2 = 400 K. At constant volume and constant n, P1/T1 = P2/T2. So P2 = 2 × 400/300 = 2.67 atm.
Exercise
How many moles of gas are in a 5.0 L container at 2.0 × 10⁵ Pa and 300 K? Use R = 8.314 J/(mol K).
Show answer
Convert V to 5.0 × 10⁻³ m³. Then n = PV/(RT) = (2.0 × 10⁵ × 5.0 × 10⁻³)/(8.314 × 300) = 1000/2494 ≈ 0.40 mol.