Sub topic 3
The gas laws
This chapter assumes you know pressure as force per unit area, SI units, and the Kelvin scale from the previous chapter. It covers the four empirical laws that relate pressure, volume, temperature and amount of gas. The next chapter merges them into PV = nRT.
Four variables, one held fixed at a time
A gas sample is described by pressure P, volume V, absolute temperature T and amount n (in moles). The laws below came from experiments. Each one changes two variables while holding the other two fixed.
| Law | Fixed | Relationship | Form for two states |
|---|---|---|---|
| Boyle | n, T | P ∝ 1/V | P₁V₁ = P₂V₂ |
| Charles | n, P | V ∝ T | V₁/T₁ = V₂/T₂ |
| Gay-Lussac (pressure law) | n, V | P ∝ T | P₁/T₁ = P₂/T₂ |
| Avogadro | T, P | V ∝ n | V₁/n₁ = V₂/n₂ |
In every row, T means kelvin. Pressure and volume can use any consistent units, because they appear as ratios or on both sides of the equation.
Boyle's law
At constant temperature, the pressure of a fixed mass of gas is inversely proportional to its volume, so PV is constant. Squeezing a gas into half the volume doubles its pressure.
The graphs of this law are a common NEET question:
- P against V is a hyperbola.
- P against 1/V is a straight line through the origin.
- PV against P is a horizontal line.
Curves for different temperatures do not cross. The curve for the higher temperature lies farther from the axes, because PV is larger.
Charles's law
At constant pressure, the volume of a fixed mass of gas is directly proportional to its absolute temperature. In Celsius, the law reads V_t = V₀(1 + t/273.15), where V₀ is the volume at 0 °C. A plot of V against t is a straight line. Extended backwards, it meets the volume axis at V₀ and the temperature axis at −273.15 °C, where the volume would reach zero. This is the experimental basis for absolute zero.
Gay-Lussac's law
At constant volume, pressure is proportional to absolute temperature. A sealed rigid container heated from 300 K to 600 K has its pressure doubled.
The name has a second meaning. Gay-Lussac's law of combining volumes says that gases react in simple whole-number volume ratios at the same T and P. For example, 2 volumes of H₂ react with 1 volume of O₂ to give 2 volumes of steam. Check which meaning a question intends. In thermodynamics questions it is almost always the pressure law.
Avogadro's law
Equal volumes of different gases at the same temperature and pressure contain equal numbers of molecules. At constant T and P, V ∝ n. At 0 °C and 1 atm, one mole of any ideal gas occupies about 22.4 L. If a question gives a different standard pressure, such as 1 bar, the molar volume changes (about 22.7 L).
Combining the laws
Varying P, V and T together for a fixed amount of gas gives the combined gas law:
P₁V₁/T₁ = P₂V₂/T₂
It reduces to each single law when one variable is fixed. The code below applies it and checks Charles's law.
def combined_gas_law_p2(p1, v1, t1, v2, t2):
"""Final pressure for a fixed amount of gas. T must be in kelvin."""
return p1 * v1 * t2 / (t1 * v2)
def charles_v2(v1, t1_celsius, t2_celsius):
"""Final volume at constant pressure, converting Celsius to kelvin first."""
t1 = t1_celsius + 273.15
t2 = t2_celsius + 273.15
return v1 * t2 / t1
# 2 L at 1 atm and 300 K is compressed to 1 L and heated to 400 K
print(round(combined_gas_law_p2(1.0, 2.0, 300.0, 1.0, 400.0), 2)) # 2.67 atm
# 3.0 L heated from 27 C to 127 C at constant pressure
print(round(charles_v2(3.0, 27.0, 127.0), 2)) # 4.0 LChoosing the right law
Common errors
- Mixing units across states. If P₁ is in atm, P₂ must also come out in atm. Convert only when a formula needs a specific unit, as R does in the next chapter.
- Forgetting the fixed conditions. Boyle's law fails if the gas is heated while being compressed. Use the combined law instead.
- Reading the wrong graph axis. A V–T line through the origin only holds when T is in kelvin. On a Celsius axis, the line has an intercept at −273.15 °C.
- Treating real gases as ideal everywhere. These laws hold well at low pressure and high temperature. Near liquefaction, real gases deviate.
Exercise
A rigid sealed cylinder holds a gas at 27 °C and 2.0 atm. It is heated to 127 °C. What is the final pressure?
Show answer
The volume and amount are constant, so P₁/T₁ = P₂/T₂. Convert to kelvin: T₁ = 300 K and T₂ = 400 K. Then P₂ = 2.0 × 400/300 ≈ 2.67 atm.
Exercise
A gas at constant temperature is compressed from 6.0 L to 2.0 L. Its initial pressure was 1.0 atm. What is the final pressure, and what graph of this process is a straight line through the origin?
Show answer
By Boyle's law, P₂ = P₁V₁/V₂ = 1.0 × 6.0/2.0 = 3.0 atm. The graph of P against 1/V is a straight line through the origin.