MathemagiciansLibraryExplorationsDeep Dives
← Physics · Upper Secondary
PhysicsUpper Secondary

The ideal gas equation pV equals nRT

PU5 — Thermal Physics › PU5.1 — Ideal Gas and Kinetic TheoryLecture 3 of 4~2070 words

Three samples, three different constants

The last lecture ended with one question left over. Here it is again.

In the graph builder, three samples of gas were held at the same pressure. Sample A had a volume of 1 dm³ at 0 °C, sample B had 2 dm³, and sample C had 3 dm³. For each sample, stayed constant. But the constants were different. Take the pressure as 101 kPa, which is about normal air pressure:

The combined gas law says is constant. It does not say what the constant is. So what decides it? And is there one equation that works for every gas, with no unknown constant at all?

The last lecture promised to bring in the amount of gas, in moles, and answer both questions. Here it is.

The constant grows with the amount of gas

Look at the three constants. B's is twice A's, and C's is three times A's. Sample B is simply twice as much gas as sample A, at the same temperature and pressure. So the constant is proportional to the amount of gas.

This makes sense in the kinetic model. Pressure comes from molecules hitting the walls. Put twice as many molecules in the same box at the same temperature, and there are twice as many hits each second. The pressure doubles. So doubles too.

Chemists measure an amount of substance in moles, written . One mole of anything contains particles. This number is the Avogadro constant, . Since 2019 its value has been fixed exactly, as per mole, and is the rounded value used in calculations.

Work out the amount of gas in each sample, and plot against it.

0.000.250.500.751.001.250.000.050.100.15ABCamount of gas n in molpV ÷ T in J/Kgradient = 8.31 J/(mol K)
Samples A, B and C, holding about 0.0445, 0.0890 and 0.134 mol. The points lie on a straight line through the origin, so pV ÷ T is proportional to n. The gradient is the same for every gas: 8.31 J/(mol K).

The points sit on a straight line through the origin. Its gradient is for one mole, and it comes out at about 8.31 J/(mol K).

Now the surprise. Repeat the experiment with a different gas: hydrogen, nitrogen, carbon dioxide, helium. You get the same gradient, 8.31 J/(mol K), every time. Before you read why, make a prediction.

Predict — a mole of hydrogen or a mole of carbon dioxide?

Two balloons are filled at the same temperature and pressure. One holds 1 mol of hydrogen, H₂ (2 g). The other holds 1 mol of carbon dioxide, CO₂ (44 g). Which balloon is bigger?

At the same temperature and pressure, one mole of any gas fills the same volume.

1 mol H₂2 g1 mol N₂28 g1 mol CO₂44 gEach cube: 22.4 dm³ (edge ≈ 28 cm) at 0 °C and 101 kPa
One mole each of hydrogen, nitrogen and carbon dioxide. The masses are very different, but at the same temperature and pressure the volumes are the same.

That is the key fact. In 1811 the Italian scientist Amedeo Avogadro suggested that equal volumes of all gases, at the same temperature and pressure, contain equal numbers of molecules. The kinetic model explains why. At the same temperature, the molecules of every gas have the same average kinetic energy. Heavy molecules move more slowly, light ones faster, but on average they hit the walls equally hard. So the pressure depends only on how many molecules there are, not on what kind they are.

One equation for every gas

So (a number that is the same for every gas). That number is called the molar gas constant, . Multiply both sides by :

The ideal gas equation

This one line contains all three laws from the last lecture. Fix and , and is constant: Boyle's law. Fix and , and is constant: the pressure law. Fix and , and is constant: Charles's law. And it adds what they left out, the amount of gas. That is it. That is the whole idea. A gas is described completely by four numbers, , , and , and this equation links them.

Check the units. A pascal is a newton per square metre, so a pascal times a cubic metre is a newton times a metre, which is a joule. On the right, mol × J/(mol K) × K is also a joule. Both sides are energies. That is why is measured in joules per mole per kelvin.

Stop and think

A student puts in kilopascals and in cubic decimetres (litres) into , with . Will the answer for be wrong by a factor of 1000?

Show the answer

No, by luck of the units. 1 kPa = 1000 Pa and 1 dm³ = 0.001 m³. So kPa × dm³ = 1000 × 0.001 Pa m³ = 1 J, exactly as Pa × m³ is. The danger is mixing the two pairs. Kilopascals with cubic metres, or pascals with cubic decimetres, are wrong by a factor of 1000. The safest habit is to convert to Pa and m³ every time.

One molecule at a time: pV = NkBT

Sometimes you know the number of molecules, , not the number of moles. The two are linked by , so . Put that into the ideal gas equation:

The bracket is the gas constant shared out to a single molecule. It is called the Boltzmann constant, :

The ideal gas equation, counting molecules

, where is the number of molecules and J/K.

The two forms say exactly the same thing. Use when you know moles, and when you know molecules. is "per mole"; is "per molecule". The tiny size of tells you how small one molecule's share is. The kinetic model said that the average kinetic energy of a molecule is proportional to . The next lecture shows that the constant in that proportion is built from .

Try the equation below. Change one quantity at a time and watch the pressure.

Explore — what sets the pressure of a gas

Change the amount of gas, its temperature or the volume of the box. Each dot stands for many molecules, and the tails show how fast they move. Watch the pressure.

This table works out p = nRT ÷ V, with R = 8.31 J/(mol K), for six settings. Each row changes one thing from the row above.

n (mol)T (K)V (dm³)p (kPa)
130025≈ 99.7
230025≈ 199
260025≈ 399
260050≈ 199
460010≈ 1 994
0.520050≈ 16.6

Doubling n or T doubles p. Doubling V halves p. The kind of gas never appears.

You should have seen three things. Doubling doubles the pressure: twice the molecules, twice the hits. Doubling doubles the pressure: faster molecules hit harder and more often. Doubling halves it: the same molecules spread over twice the space. And nothing on the screen asks which gas is in the box.

How much space does a mole take?

Rearrange the equation for the volume of one mole: . At 0 °C (273 K) and 101 kPa this gives

That is 22.4 dm³.

That is a cube about 28 cm along each edge, for one mole of any gas. At room temperature, about 20 °C, it is about 24 dm³, the value chemistry questions use. Some books use 100 kPa as their standard pressure, which gives 22.7 dm³ at 0 °C. All three are the same equation at slightly different conditions. Use the value your question gives.

Worked examples

Worked Example 1 — How much gas is in the cylinder?

A 2.0 dm³ cylinder holds nitrogen at 25 °C and Pa. Find the amount of nitrogen in moles, and the number of molecules.

Think first. Convert to Pa, m³ and K. Then rearrange for .

m³ and K.

molecules.

Check. One mole at about room conditions fills about 24 dm³. Here 2 dm³ at 1.5 times the pressure should hold about mol. Close to 0.121. ✓

Worked Example 2 — Counting molecules

A sealed container of volume 0.50 m³ holds molecules of gas at 400 K. Find the pressure.

Think first. You know molecules, not moles, so use .

First, J/K. Then:

Check. Use moles instead: mol, and Pa. The same. ✓

Worked Example 3 — The air in a classroom

A classroom measures 8 m by 6 m by 3 m. The air is at 20 °C and 101 kPa. One mole of air has a mass of about 29 g. What is the mass of the air in the room?

Think first. Find from , then multiply by the mass of one mole.

m³ and K. So mol.

Mass kg kg.

Check. Air has a density of about 1.2 kg/m³ at room conditions, and kg. ✓ The air you cannot feel has the mass of two or three adults.

Worked Example 4 — Heating a closed container

A gas at 20 °C and 100 kPa is in a rigid container. It is heated until the pressure is 150 kPa. Find the new temperature.

Think first. and do not change. Write : the right side is fixed, so is fixed.

, so K, which is about 167 °C.

Check. The pressure rose by half, so the kelvin temperature rose by half. In Celsius it went from 20 °C to about 167 °C, far more than half again. That is why kelvin is needed. ✓

Three traps

Trap 1 — Celsius in the equation

must be in kelvin. With 25 in place of 298, every answer is wrong by a factor of about 12, and at 0 °C the equation would say the gas has no pressure at all.

Trap 2 — Mixing the units of p and V

Pa with m³, or kPa with dm³, give the right answer. Pa with dm³ or cm³ does not. 2.0 dm³ is m³, and 500 cm³ is m³.

Trap 3 — Mixing n with N

goes with moles, ; goes with molecules, . Putting molecules into gives a pressure times too large.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. A 500 cm³ flask holds gas at 27 °C and 120 kPa. How many moles of gas are in it, and how many molecules?

    Hint 1

    Convert first: 500 cm³ to m³, 120 kPa to Pa, 27 °C to K.

    Hint 2

    m³, Pa, K.

    Full answer

    mol. molecules. Check: 0.5 dm³ is about 1/48 of the room-condition molar volume, and the pressure is a little higher, so a little more than 1/48 ≈ 0.021 mol is sensible. ✓

  2. Use to find the volume of one mole of gas (a) at 0 °C and 101 kPa, and (b) at 20 °C and 101 kPa. Give your answers in dm³.

    Hint 1

    with .

    Hint 2

    Your answer comes out in m³. Multiply by 1000 for dm³.

    Full answer

    (a) m³ ≈ 22.5 dm³. With the precise standard pressure, 101 325 Pa, it is 22.4 dm³. (b) m³ ≈ 24.1 dm³. Check: (b) ÷ (a) should equal 293 ÷ 273 ≈ 1.07, by Charles's law, and 24.1 ÷ 22.5 ≈ 1.07. ✓

  3. Air at 20 °C and 101 kPa. (a) How many molecules are there in 1 cm³? (b) If each molecule had its own little cube of space, how long would the edge of that cube be?

    Hint 1

    Use . This gives molecules per m³.

    Hint 2

    For (b), the volume per molecule is . The edge is its cube root.

    Full answer

    (a) per m³, which is per cm³ (1 m³ = 10⁶ cm³). (b) Volume per molecule m³. The cube root is about m, or 3.4 nm. Check: this matches the spacing in the kinetic theory lecture, about ten times the size of a nitrogen molecule (about 0.36 nm). So the molecules really do fill only a tiny part of the space. ✓

  4. A stretch. A party balloon holds 0.010 m³ of helium at 20 °C and 101 kPa. One mole of helium has a mass of 4.0 g, and one mole of air 29 g. (a) Find the mass of helium. (b) Find the mass of the air the balloon pushes aside. (c) The upward push of the air equals the weight of the air pushed aside. Find the largest load the balloon could lift, ignoring the rubber. Take N/kg.

    Hint 1

    The helium and the air it pushes aside have the same , and . So they have the same .

    Hint 2

    Find once. The lift is (mass of air − mass of helium) × .

    Full answer

    mol. (a) Helium: g. (b) Air: g. (c) The net upward force is g N/kg kg N, enough to hold up about 10 g. Check: the same volume of any gas holds the same number of moles, so the lift comes only from the difference in molar mass, 29 − 4 = 25 g per mole. g. ✓ This is why a balloon of this size barely lifts its own string and rubber.

The bigger idea

The gas laws were found one at a time, by different people, over a century and a half. In 1834 the French engineer Émile Clapeyron combined them into a single equation of state, and with Avogadro's idea it became the equation in this lecture. What it says is remarkable. Hydrogen, nitrogen and carbon dioxide are completely different substances. Yet, as dilute gases, they obey the same equation with the same constant. Their chemistry disappears. Only the number of molecules and their temperature remain.

The equation also joins two worlds. belongs to the world you can measure: pressures, volumes, moles. belongs to the world of single molecules. is the exchange rate between them: . Since 2019, both and have been fixed exactly by international agreement, and the kelvin itself is now defined through . The next lecture goes inside the box and derives the pressure from the motion of single molecules, which is where does its work.

Key concepts in this lesson