Topic 9.2

The ideal gas law

Relating pressure, volume, temperature and amount of gas, and reading PV diagrams.

6 min read2 worked examples3 questions to check yourself

Big idea

For an ideal gas the pressure multiplied by the volume is proportional to the amount of gas multiplied by its kelvin temperature, so a change in one of these quantities must be matched by a change in at least one of the others.

Pressure–volume diagram: states A (V = 2 L, P = 300 kPa), B (V = 6 L, P = 100 kPa), C (V = 6 L, P = 300 kPa). Processes: A to B isothermal expansion; A to C isobaric expansion. The axes are numbered.V (L)P (kPa)2461002003000ABCsame TT triples

A pressure–volume (PV) diagram for a fixed amount of gas. Along the curve from A to B the product PVPV stays at (300 kPa)(2 L)=600 J(300\ \text{kPa})(2\ \text{L}) = 600\ \text{J}, so the temperature is constant and the pressure falls to 100 kPa100\ \text{kPa}. Going from A to C at constant pressure triples the volume, so PVPV and the kelvin temperature both triple.

Explanation

Experiments on a sample of gas show three simple patterns. Squeeze it at constant temperature and the pressure rises in proportion as the volume falls. Warm it at constant pressure and the volume grows in proportion to the kelvin temperature. Warm it in a rigid container and the pressure grows in proportion to the kelvin temperature. And at a fixed temperature and volume, more gas means proportionally more pressure. One equation holds all of this: PV=nRTPV = nRT.

In SI units PP is in pascals, VV in cubic metres, nn in moles and TT in kelvin, with R=8.31 J/(mol⋅K)R = 8.31\ \text{J/(mol·K)}. Two conversions come up constantly: 1 L=10−3 m31\ \text{L} = 10^{-3}\ \text{m}^3, and the kelvin temperature is the Celsius temperature plus 273. Counting particles instead of moles gives the same law as PV=NkBTPV = N k_B T. The law describes ordinary gases well as long as they are not close to turning liquid.

For a sealed sample nn cannot change, so PV/TPV/T keeps one value and two states of the gas can be compared directly: P1V1/T1=P2V2/T2P_1V_1/T_1 = P_2V_2/T_2. The shortcuts "pressure is inversely proportional to volume" and "pressure is proportional to temperature" are this equation with one quantity held fixed. Before using one, check that the third quantity really is fixed.

A PV diagram plots the pressure of a gas against its volume. Each point is one state of the gas, and a line is a process that takes it from state to state. Since T=PV/(nR)T = PV/(nR), the temperature at any point is set by the product PVPV. All the states at one temperature lie on a curve called an isotherm, where PP is inversely proportional to VV, and isotherms farther from the origin are hotter.

Equations

  • PV=nRTPV = nRT

    The pressure, volume, amount and kelvin temperature of an ideal gas are tied together: fix any three and the fourth is determined.

    PP

    pressure (Pa)

    VV

    volume (m³)

    nn

    amount of gas (mol)

    RR

    ideal gas constant, $8.31$ (J/(mol·K))

    TT

    absolute temperature (K)
    Use it when

    You know three of pressure, volume, amount and temperature for one state of a gas and want the fourth.

    Not when

    Not with Celsius temperatures or litres left unconverted, and not for a gas that is close to condensing or at very high density.

  • PV=NkBTPV = N k_B T

    The same law written for a number of particles instead of a number of moles.

    PP

    pressure (Pa)

    VV

    volume (m³)

    NN

    number of particles

    kBk_B

    Boltzmann's constant, $1.38 \times 10^{-23}$ (J/K)

    TT

    absolute temperature (K)
    Use it when

    The amount of gas is given, or wanted, as a number of atoms or molecules.

    Not when

    Do not mix the two forms: nn goes with RR, and NN goes with kBk_B.

  • P1V1T1=P2V2T2\frac{P_1 V_1}{T_1} = \frac{P_2 V_2}{T_2}

    For a fixed amount of gas, pressure times volume divided by kelvin temperature is the same in every state.

    P1, P2P_1,\ P_2

    pressures in the two states (Pa)

    V1, V2V_1,\ V_2

    volumes in the two states (m³)

    T1, T2T_1,\ T_2

    absolute temperatures in the two states (K)
    Use it when

    A sealed sample of gas changes from one state to another. Any pressure or volume unit works, as long as both states use the same one.

    Not when

    Not if gas leaks out or is added between the two states. The temperatures must still be in kelvin.

Worked examples

  1. The volume of a helium balloon

    Step by step

    A weather balloon is filled with 2.5 mol2.5\ \text{mol} of helium. On the ground the helium is at 15 °C15\ \text{°C} and a pressure of 101 kPa101\ \text{kPa}. What is the volume of the balloon? Use R=8.31 J/(mol⋅K)R = 8.31\ \text{J/(mol·K)}.

    0 of 4 steps
  2. Squeezed and warmed at once

    Written as an exam answer

    A sealed syringe holds 60 mL60\ \text{mL} of air at 20 °C20\ \text{°C} and 1.0×105 Pa1.0 \times 10^5\ \text{Pa}. The plunger is pushed in until the volume is 25 mL25\ \text{mL}, and the air is found to have warmed to 50 °C50\ \text{°C}. Determine the new pressure. A student predicts 2.4×105 Pa2.4 \times 10^5\ \text{Pa} by multiplying the original pressure by 60/2560/25. Explain what the student has left out.

    1. Step 1:

      The syringe is sealed, so the amount of gas is fixed and P1V1T1=P2V2T2\dfrac{P_1V_1}{T_1} = \dfrac{P_2V_2}{T_2}. Solving for the new pressure gives P2=P1⋅V1V2⋅T2T1P_2 = P_1 \cdot \dfrac{V_1}{V_2} \cdot \dfrac{T_2}{T_1}.

    2. Step 2:

      The temperatures must be in kelvin: T1=293 KT_1 = 293\ \text{K} and T2=323 KT_2 = 323\ \text{K}. The volumes appear only as a ratio, so millilitres can stay.

    3. Step 3:

      P2=(1.0×105 Pa)(60 mL25 mL)(323 K293 K)=(1.0×105 Pa)(2.4)(1.10)=2.6×105 PaP_2 = (1.0 \times 10^5\ \text{Pa})\left(\dfrac{60\ \text{mL}}{25\ \text{mL}}\right)\left(\dfrac{323\ \text{K}}{293\ \text{K}}\right) = (1.0 \times 10^5\ \text{Pa})(2.4)(1.10) = 2.6 \times 10^5\ \text{Pa}.

    4. Step 4:

      The student used "pressure is inversely proportional to volume", which holds only at constant temperature. Here the temperature rose as well, which raises the pressure by a further 10%: the faster molecules hit the walls harder and more often.

    Answer

    P2=2.6×105 PaP_2 = 2.6 \times 10^5\ \text{Pa}; the student's value ignores the rise in temperature

Common mistakes

  • Mistake

    Heating the gas in a rigid tank from 20 °C20\ \text{°C} to 40 °C40\ \text{°C} doubles its pressure.

    What is true

    Pressure is proportional to the kelvin temperature. Going from 293 K293\ \text{K} to 313 K313\ \text{K} raises the pressure by a factor of 313/293313/293, about 7%. To double it the gas would have to reach 586 K586\ \text{K}, which is 313 °C313\ \text{°C}.

  • Mistake

    Halving the volume of a gas always doubles its pressure.

    What is true

    Only if the temperature and the amount of gas stay the same. A quick squeeze also warms the gas, so the pressure more than doubles; if gas escapes, the pressure rises by less.

  • Mistake

    On a PV diagram the state that is higher up, at the greater pressure, is always the hotter one.

    What is true

    Temperature goes with the product PVPV, not with pressure alone. A state at high pressure and small volume can be colder than one at low pressure and large volume. Multiply the two coordinates and compare.

Check yourself

  1. 1.

    A sealed rigid container of gas is heated from 27 °C27\ \text{°C} to 327 °C327\ \text{°C}. By what factor does the pressure change?

  2. 2.

    On a PV diagram for a sealed sample, state X is at 1 L1\ \text{L} and 400 kPa400\ \text{kPa} and state Y is at 4 L4\ \text{L} and 100 kPa100\ \text{kPa}. Which state is hotter?

  3. 3.

    A balloon is carried from a warm room into a walk-in freezer and shrinks, while the pressure inside stays close to atmospheric. Explain why, using the ideal gas law.

Try it

Isotherms for 0.24 mol0.24\ \text{mol} of gas, for which nR=2.0 J/KnR = 2.0\ \text{J/K}. The upper curve is fixed at 600 K600\ \text{K}. Change the temperature of the lower one: a hotter isotherm sits farther from the origin, and at every volume its pressure is higher in proportion to TT.

300 K
Pressure–volume diagram: states C (V = 2 L, P = 600 kPa), D (V = 8 L, P = 150 kPa), A (V = 2 L, P = 300 kPa), B (V = 8 L, P = 75 kPa). Processes: C to D isothermal expansion; A to B isothermal expansion. The axes are numbered.V (L)P (kPa)24682004006000CDAB600 KT = 300 K

Builds on

Practice 9.2 with feedback

Problem sets for Unit 9 grade themselves, and Raise hints at the next step instead of giving the answer.

Spotted a mistake in this lesson? Tell us and we will fix it.