Physics Tutor
Language: English

Kinetic Theory of Gases

Pressure and temperature explained by countless molecules flying, colliding and bouncing off the walls: their impacts explain , and the temperature measures their mean kinetic energy, .

Molecules bouncing in a closed box: their hits on the walls make the pressure, and heating them makes it rise.
Molecules bouncing in a closed box: their hits on the walls make the pressure, and heating them makes it rise.

Before this topic: Temperature and Heat, Momentum and Collisions

Beginner

Key ideas

  • A gas is a swarm of tiny molecules, far apart, flying in straight lines and bouncing off each other and the walls.
  • Each hit on a wall is a tiny push; countless hits every second blend into a steady push: the gas pressure.
  • Put more gas into the same space and more molecules hit each bit of wall, so the pressure goes up.
  • Temperature measures how fast the molecules move: heat a gas and they hit harder and more often, so the pressure rises.
  • At absolute zero (0 K, −273 °C) the molecules would move as little as possible: nothing can be colder.

A balloon looks still, yet the air inside it is a swarm of molecules racing about.

Step 1: what a gas is. In a gas they are far apart, with mostly empty space between them, and nothing holds them together. Each one flies in a straight line until it hits another molecule or a wall, bounces, and flies on. The empty space is why you can squeeze air in a bicycle pump but hardly squeeze water at all, and why the smell of toast reaches every room of a house within minutes.

Step 2: where pressure comes from. Every molecule that hits a wall gives it a tiny shove. Think of rain on a tin roof: a few drops make separate taps, but a downpour blends into one steady roar. Molecules are so numerous that their hits blend into a steady push on every bit of wall: the gas pressure.

Step 3: more gas, more pressure. Pump more air into a tyre and more molecules strike each patch of wall every second, so the pressure rises.

Step 4: temperature is motion. The temperature of a gas measures how fast its molecules move on average. Heat it and they speed up, so they hit the walls harder and more often: two reasons for the pressure to rise. At absolute zero, 0 K or −273 °C, the motion would be the smallest possible.

Check yourself: a sealed can of air warms in the sun. Does the number of molecules inside change? Does the pressure? Answer: the number does not change; the pressure rises, because the same molecules move faster.

In the animation, yellow flashes mark hits on the walls. When the flame comes on, molecules that touch the hot floor turn orange and speed up, and the pressure needle climbs.

Intermediate

Key ideas

  • Ideal gas law: , with in kelvins, and .
  • Mean translational kinetic energy per molecule: , the same for every gas at a given temperature.
  • At fixed and , is constant: doubling the kelvin temperature doubles the pressure.
  • with in kg/mol: at the same lighter molecules move faster (N₂ at 300 K: about 517 m/s).

The ideal gas and what we measure

A gas presses steadily on its walls, yet its molecules touch them only in separate hits. Kinetic theory pictures a gas as an enormous number of molecules, tiny compared with the gaps between them, flying straight in random directions. They bounce elastically off the walls and off each other and exert no forces between collisions. This model is the ideal gas; air at room conditions follows it to within about 0.1 %.

Four quantities describe the gas as a whole. The pressure is the force per unit area on the walls, in pascals (); the air around you is at about 101 kPa. The volume is in cubic metres (1 L = 0.001 m³). The temperature must be in kelvins: add 273.15 to the Celsius reading, so 27 °C is 300 K. The amount is the number of molecules or of moles , with the Avogadro constant .

The ideal gas law

Experiments on many gases and the molecular model lead to the same equation of state, together with the link between its two constants:

Here is the gas constant for a mole and is the Boltzmann constant, the same constant for a single molecule. The law does not care which gas it is: at 300 K and 100 kPa a mole of helium or of nitrogen fills .

Hold two variables fixed and the older gas laws appear: at fixed and , is constant; at fixed , is constant (Boyle's law); at fixed , is constant (Charles's law), so a balloon taken out into the frost shrinks. A shortcut: with in litres, comes out in J/L, which is kPa; two moles at 300 K in a rigid 10 L tank are at .

Pressure and temperature, molecule by molecule

Pressure is the combined effect of impacts. A molecule of mass that hits a wall with velocity component comes back with , handing the wall a momentum . A faster molecule pushes harder at each hit and returns sooner, so its share grows as . Adding up all the molecules, with random motion sharing equally among three directions, gives

where is the mean of the squared speeds.

Now compare this with . Since , the two agree only if

Temperature measures the mean kinetic energy of the molecules' motion from place to place, and nothing else. At 300 K the molecules of every gas carry on average .

Solving for the speed gives the root-mean-square speed, the square root of :

with the molar mass in kg/mol. For nitrogen, and at 300 K, faster than sound; helium, with , reaches 1370 m/s at the same temperature. Equal energies mean that lighter molecules move faster, as , and heating raises every speed as .

Worked example: heating the gas in the animation

The box holds nitrogen at 27 °C () and , and the clamped piston keeps and fixed. Once the flame is on, a molecule bouncing off the hot floor for the first time leaves with its kinetic energy doubled and its speed multiplied by . When all have done so, the mean kinetic energy, and with it the kelvin temperature, has doubled:


The mean kinetic energy per molecule rises from to .

Follow the readouts: the orange and the blue climb together, their ratio fixed at . Each molecule turns orange when it first touches the floor, and the purple arrow of a heated molecule grows by about 41 %. The run ends before every molecule has reached the floor: two of the sixteen are still blue, so the readouts stop at about 586 K and 195 kPa, with the gauge needle just below its 200 kPa mark.

Worked example: a tyre warming up

On a cold morning at 7 °C a tyre gauge reads 230 kPa; after an hour's driving the air inside is at 42 °C. If the volume hardly changes, what does the gauge read now, and how much air does the 25 L tyre hold?

A tyre gauge shows the excess over the atmosphere, so convert to absolute pressure and kelvins: , , . At fixed volume

so the gauge reads . The temperature rose by 12.5 % but the gauge reading by 18 %, because the atmosphere's share stays the same; that is why tyre pressures are specified cold.

For the amount, kilopascals times litres give joules: , about molecules. With a molar mass of 0.029 kg/mol for air, that is roughly 100 g of air carrying a quarter of the car's weight.

Reading the pressure–temperature line

Plot the pressure in a sealed, rigid container against temperature and you get a straight line. Against kelvins it passes through the origin with slope : for the animation's gas, from 100 kPa at 300 K to 200 kPa at 600 K, a slope of . Against degrees Celsius it reaches zero pressure at −273 °C, and the lines for different amounts of gas, with different slopes, all point to that one temperature. Such extrapolations gave the first estimates of absolute zero, though real gases liquefy before reaching it.

At fixed temperature the pressure–volume graph is a hyperbola instead, , lying higher for a hotter gas: halve the volume and the pressure doubles.

Common mistakes

Where you meet it

Tyres, bicycle pumps and weather balloons swelling as they rise into thinner air all follow . A hot-air balloon floats because air at 100 °C holds about 20 % fewer molecules per cubic metre than air at 27 °C at the same pressure, since . First Law of Thermodynamics and Heat Engines builds on this molecular energy, and The Second Law of Thermodynamics and Entropy explains why heat flows from hot to cold.

Advanced

Key ideas

  • Bounces on a piston give ; with the mean kinetic energy is , per degree of freedom.
  • A slowly pushed piston speeds up the molecules it hits: compression heats the gas, with for atoms.
  • Boltzmann factor : the air thins as with height, and speeds follow .
  • , all : heating moves the peak of right and makes it lower and broader.
  • Frozen vibrations leave of N₂ near , not the classical : an early clue to quantum mechanics.

Pressure as a flow of momentum

A gas pushes on its container because its molecules keep striking the walls. Each strike hands the wall a little momentum, and pressure is nothing more than the rate at which momentum arrives per unit area. Following that flow step by step links a quantity we can measure, the pressure , to one we cannot see, the speeds of the molecules.

Figure 1
Figure 1. Molecules with velocity component that reach the patch within start inside a slab of length . Below, one hit enlarged: becomes , so the wall receives . All hits together make the force . Not to scale.
Legend
Area of the patch of wall, drawn in perspective.
Velocity component of a molecule perpendicular to the wall, towards it.
A short time interval.
Distance such a molecule covers in : the length of the slab, whose volume is .
Mass of one molecule.
Momentum of the molecule before the hit; afterwards it is , so the wall receives .
Force of all the hits on the patch: the momentum handed over per unit time.

Figure 1 looks at a patch of wall of area , perpendicular to the axis. For the push only the velocity component matters, the part of a molecule's velocity aimed straight at the wall; motion along the wall hands it no momentum. So sort the molecules into groups by their , and follow one group with a given , heading for the wall. Say it has of the molecules in the volume , so of them in each unit of volume.

Which molecules of this group reach the patch during a short time ? Each covers towards the wall in that time, so it arrives only if it starts within that distance of the patch. These are the molecules inside the shaded slab of Figure 1, of length and volume . Molecules farther back arrive later, and those moving away never arrive. The slab therefore holds molecules of the group, and all of them hit the patch.

The enlarged hit below the slab shows what each arrival does. The bounce is elastic, so the velocity component turns from into and the momentum from into , where is the mass of one molecule. Momentum is conserved, so the wall receives the difference, .

Now multiply the number of hits by the momentum per hit: in the group delivers . Notice that appears twice. A faster molecule arrives more often and also strikes harder, so the push grows as . The force is momentum per unit time, so divide by ; the pressure is force per unit area, , so divide by . The group's share of the pressure is .

Adding the shares of all the groups heading for the wall gives

The motion is random, so for every group with there is an equally large group with . The sum over the half moving towards the wall is therefore half the sum over all molecules, that is , where angle brackets mean the average over all the molecules. This half cancels the factor 2 of the bounce:

Last, the squared speed is , and random directions favour no axis, so each component carries a third of it: . Hence

which is the formula the expert layer of the animation writes.

Three features of this result are easy to overlook. First, it needs only the mean of , not any particular distribution of speeds. Second, collisions between molecules do not change it: a collision only passes momentum from one molecule to another, and the momentum still reaches the wall in the end. Third, in a mixture each kind of molecule adds its own term, so the partial pressures of the components add up to the total (Dalton's law).

To put in numbers, use the measured gas law , where is the Boltzmann constant. Nitrogen at 300 K and 100 kPa holds molecules per cubic metre. Each square centimetre of wall takes about hits per second (the rate is , with the mean speed found below). With so many separate impacts, the push feels perfectly steady.

Temperature and equipartition

The pressure formula becomes far more than a formula once it meets experiment, because it tells us what temperature is. Multiply it by and write as twice the mean kinetic energy:

Experiment says . Comparing the two,

Temperature measures the mean kinetic energy of the molecules' motion from place to place: at 300 K it is , or 0.039 eV, per molecule. Since the three directions share equally, each direction holds on average .

This is the simplest case of equipartition: in classical equilibrium every term of a molecule's energy that is quadratic in a velocity or a coordinate, such as , averages . A diatomic molecule such as nitrogen can also rotate about the two axes perpendicular to its bond, which adds two more quadratic terms, so its mean energy is . (Spinning about the bond itself does not count: nearly all the mass lies on that axis, so its moment of inertia is tiny and, like the vibration discussed under the limits below, this motion is frozen out.)

Per mole, multiply by the Avogadro number ; with the gas constant the internal energy of nitrogen is . Raising the temperature by 1 K at constant volume therefore takes the molar heat capacity , against for helium or argon, whose atoms only move from place to place.

Why heavy and light molecules share the energy

Equipartition makes a bold claim: in a mixture, a heavy molecule and a light one carry the same mean kinetic energy, so the heavy one must move more slowly. The mechanism is the collisions between them, and one collision drawn the right way shows how it works.

Figure 2
Figure 2. One elastic collision in velocity space, for . The centre-of-mass velocity and the length of stay the same; only the direction changes, from to , so the two tips swing about the end of along the dashed arcs.
Legend
Origin of velocity space: every velocity arrow starts here.
Mass of the heavy molecule, drawn in gold.
Mass of the light molecule, drawn in blue; here .
Velocity of the heavy molecule before the collision.
Velocity of the light molecule before the collision.
Relative velocity : the arrow from the tip of to the tip of .
Centre-of-mass velocity : it ends on , nearer the heavy tip, at distances from the tips in the inverse ratio of the masses.
Relative velocity after the collision: the same length as , in a new direction.

Figure 2 is drawn in velocity space: every velocity is an arrow from one common origin , so the motion of a molecule is fully given by where its arrow ends. The heavy molecule, of mass , has the gold velocity ; the light one, of mass , has the blue . The green arrow from the tip of to the tip of is their relative velocity, .

The orange arrow is the centre-of-mass velocity , with . It is an average of and weighted by mass, so its tip lies on , nearer the heavier tip: the distances to the two tips are in the inverse ratio of the masses, to the heavy tip and to the light one. With it ends one third of the way along from the heavy tip. Reading the figure from the end of ,

What can a collision change? The total momentum is conserved, so stays put. Substituting the two velocities above, the kinetic energy splits into , so an elastic collision, which conserves it, also keeps the length of . Only the direction of can change: it turns into . In Figure 2 the two tips therefore swing about the end of along the dashed arcs, the heavy tip on the small one, of radius , and the light tip on the large one, of radius .

Now the step to equilibrium. Each molecule collides billions of times a second with partners arriving from all sides, so after a few collisions the direction of has forgotten where it started and bears no relation to . The two are uncorrelated, and the average of their dot product vanishes: . Multiplying out the product gives

The velocities of two molecules about to meet are independent and point in random directions, so as well. Averaging leaves : the same mean kinetic energy. The heavier molecule is slower by exactly the factor that keeps its energy equal; with its root-mean-square speed is lower by .

Squeezing a gas: the moving piston

Push a piston into a gas without letting heat flow and the gas gets hotter. Kinetic theory shows exactly where the piston's work goes: into faster molecules, one bounce at a time.

Figure 3
Figure 3. A molecule bouncing off a piston that moves in at speed . It arrives with and, seen from the box, leaves with : its old speed plus an extra from the moving wall. Not to scale ().
Legend
Speed at which the piston moves into the gas; each hit adds to the molecule's speed.
Speed of the molecule towards the piston before the hit, measured in the box.
Speed with which the molecule leaves the piston, measured in the box.

In Figure 3 the piston moves inwards at a speed much smaller than the molecular speeds, and one molecule approaches it with the speed (upper arrow). The bounce is easiest to see from the piston's own frame, where the wall is at rest. There the molecule approaches at , because the piston is coming towards it, and a bounce off a resting wall reverses the velocity without changing its size, so it leaves at . Back in the box's frame we add the piston's own speed in the direction of the rebound, so the molecule leaves with instead of . In the lower arrow of Figure 3 the blue part is the old and the orange part is the extra that the moving wall adds.

Each hit therefore raises the molecule's energy by

where the last term is dropped because .

Count the hits as in Figure 1: a group strikes the piston face, of area , times per second, and each strike adds . Summed over the groups this is times the very sum that gave the pressure, so the gas gains energy at the rate . Meanwhile the piston sweeps out the volume each second, so the volume changes at the rate . In other words : the piston's work appears, in full, as faster molecules.

With no heat flowing in, and for point molecules that only move from place to place, put into :

Dividing by gives , and integrating gives . Since is proportional to , this is

The same steps work for any molecule. With quadratic energy terms, and with : 5/3 for atoms () and 7/5 for nitrogen and oxygen (). A diesel engine squeezes air about eighteen-fold; starting from 300 K this heats it to , some 950 K, hot enough to ignite the fuel without a spark.

Light in a box with mirrored walls obeys the same counting of hits and momentum. A photon carries momentum instead of and moves at , so where the derivation multiplied momentum by speed, becomes the photon energy . The pressure is then a third of the energy per unit volume , . With , the rule gives : an adiabatic exponent of 4/3.

The Boltzmann factor

So far only averages have appeared. To find how the speeds themselves are spread, we need a broader rule of statistical mechanics: in equilibrium at temperature , a state of energy has a probability proportional to the Boltzmann factor . States with energy much larger than are rare.

Applied to potential energy, a molecule at height has the extra energy , so the number of molecules per unit volume falls with height as . It drops by a factor every of height, which is 9.1 km for nitrogen at 300 K. The real atmosphere is colder higher up, which makes the fall steeper; on top of Mount Everest the pressure is about a third of its sea-level value.

Applied to kinetic energy, , the exponential of a sum is a product of exponentials. Each velocity component is therefore independent of the others and follows its own Gaussian weight, , centred on zero: for any single component, values near zero are the most likely.

The speed distribution

Each velocity component is most likely near zero, and yet hardly any molecule is nearly at rest. Turning the weight of each velocity into a distribution of speeds resolves this, and gives the three characteristic speeds of a gas.

Figure 4
Figure 4. The speed distribution at two temperatures, . The strip of width holds the fraction of the molecules, and each curve encloses an area of 1. Dashed lines mark at , in true proportion.
Legend
Speed of a molecule.
Distribution of speeds: the fraction of molecules per unit speed, so a strip of width holds .
Width of the strip: a small range of speeds.
Most probable speed, at the peak of .
Mean speed: the average of over all the molecules.
Root-mean-square speed, : the speed of a molecule with the mean kinetic energy.
Temperature of the blue curve.
Higher temperature of the orange curve, here : the curve is lower and wider but encloses the same area.

Figure 4 plots the speed distribution . Its meaning is set by the thin strip: is the fraction of molecules with speeds between and , which is the area of the strip of width under the curve. Every molecule has some speed, so the whole area under each curve is 1.

To build , collect every velocity whose length lies between and . In velocity space these arrows end in a thin spherical shell of radius and thickness , whose volume is . Each of them has the Gaussian weight . Multiplying the two and fixing the constant so that the area is 1 gives the Maxwell–Boltzmann distribution

The two factors pull in opposite directions. The factor empties the region near zero speed, because there are few velocities of small length, even though each component on its own is most likely near zero. The exponential cuts off the fast tail. The peak lies between the two.

Three speeds summarise the curve. The most probable speed is at the peak, where the slope of is zero: , so . The root-mean-square speed follows at once from . The mean speed is the average of weighted by , an integral that gives

All three are proportional to , in the fixed ratio 1 : 1.128 : 1.225, and the dashed lines of Figure 4 mark them in this true proportion. For nitrogen at 300 K they are 422, 476 and 517 m/s.

The orange curve is the same gas at the higher temperature . All three speeds lie farther right by the factor , so the curve is stretched sideways by . Its area must stay equal to 1, so its peak is lower by the same factor.

Reading the histogram

The expert layer of the animation draws as eight bars, each 200 m/s wide, from 0 to 1600 m/s. Their heights come from the formula at the temperature on the readout, not from counting the sixteen molecules on the screen, which would be far too few. At 300 K the tallest bar, from 400 to 600 m/s, holds 36 % of the molecules, and the dashed marker stands at 517 m/s. At 586 K the peak has moved to , the 400–600 and 600–800 m/s bars are almost equal at 26 % each, and the marker and the readout show 723 m/s, larger by .

Because the area under stays equal to 1, a widening curve must drop, as the orange curve of Figure 4 does: the height of the peak falls as . The fast tail changes most. The fraction of molecules faster than 1000 m/s grows from 1.1 % at 300 K to 12.5 % at 586 K, more than tenfold for less than a doubling of . Evaporation and chemical reactions need a minimum energy, which only the molecules in this tail have, so their rates also climb steeply with temperature.

Worked problem: heating the gas two ways

Take one mole of the animation's nitrogen at 300 K and 100 kPa, so its volume is . (a) How much heat must the flame supply to bring it to 600 K with the piston clamped? (b) What compression, with no heat exchanged, reaches the same 600 K, and at what final pressure and cost in work?

(a) With the piston clamped the volume does not change, so the gas does no work and all the heat goes into internal energy. Real nitrogen stores per molecule, or per mole, so

Only 3.74 kJ of it, the of motion from place to place, shows up in the speeds and in the pressure, which doubles to 200 kPa because the temperature doubles at fixed volume. The other 2.49 kJ sets the molecules spinning, a motion the animation's point molecules cannot show.

(b) With no heat exchanged, stays constant, with for nitrogen. Solving for the volume ratio,

and the gas law then gives the final pressure:

The gas must be squeezed from 24.9 L to 4.4 L, and it ends at more than five times the pressure reached in (a). No heat flows, so the piston's work equals the rise in internal energy, again 6.24 kJ, because the final temperature is the same. A monatomic gas, with , would need only , ending at 566 kPa after 3.74 kJ of work.

Limits of validity

The ideal gas assumes molecules that are small and far apart. That holds well for nitrogen at 300 K and 100 kPa: the mean spacing is 3.5 nm, about nine molecular diameters, and the molecules themselves fill only 0.06 % of the volume.

The van der Waals equation , for moles, corrects for both effects: the constant for the attraction between molecules, which lowers the pressure, and for their own volume, which raises it. Under these conditions each correction is about 0.2 % and the two nearly cancel. At high density or near the boiling point, 77 K, they grow and no longer cancel; below the critical temperature the equation even describes condensation into a liquid.

Equipartition is a classical result, and its failures were early signs of quantum mechanics. A vibrating bond would add another per molecule (one quadratic term for its motion, one for its stretch) and raise of nitrogen to , yet at room temperature it is . The reason: vibrational energy comes in quanta of 0.29 eV, eleven times , so the Boltzmann factor leaves hardly any molecule excited and the vibration is frozen. Hydrogen below a few tens of kelvins loses even its rotations.

The classical picture fails completely once the thermal de Broglie wavelength , the quantum size of a molecule at temperature , approaches the spacing between molecules. For nitrogen at 300 K it is 0.019 nm, far below 3.5 nm, but not so in liquid helium near 2 K or for the electrons in a metal.

Collisions between molecules, left out of the animation, do not alter an ideal gas's pressure but set its other properties. With a molecular diameter , a nitrogen molecule at room conditions travels on average a mean free path between collisions; at its mean speed of 476 m/s that is about collisions a second. These collisions bring any starting distribution to the Maxwell–Boltzmann form within nanoseconds, and they govern diffusion, viscosity and heat conduction; the animation's bars show the equilibrium they would establish. Relativity plays no part: .

Where this leads

The energy , the work and the adiabat are the working parts of First Law of Thermodynamics and Heat Engines. In The Second Law of Thermodynamics and Entropy, counting the ways of sharing energy among molecules, the idea behind the Boltzmann factor, becomes entropy. Blackbody Radiation and the Quantum shows equipartition failing again, for the modes of light in a cavity, and Semiconductors, Diodes and LEDs uses to count conducting electrons. The speed of sound, for nitrogen at 300 K, with here the molar mass, links back to Sound and the Doppler Effect, and the mean free path explains why the viscosity of a gas, behind the drag in Drag and Terminal Velocity, hardly depends on its pressure.

Key formulas

Ideal gas law

The state of a dilute gas is fixed by its pressure, volume, temperature and amount, and one equation links all four. Written per mole it uses , written per molecule it uses ; the two forms agree because . Kinetic theory explains it: the pressure of the impacts, , equals because the mean kinetic energy is .

Symbols
absolute pressure of the gas
volume of the gas
amount of gas in moles
molar gas constant,
absolute temperature
number of molecules
Boltzmann constant,

When it holds: For dilute gases far from condensation, with the temperature in kelvins and the absolute pressure. At high density or near liquefaction, the van der Waals equation does better.

Example: One mole at 300 K and 100 kPa fills , that is 24.9 L, whatever the gas.

Pressure from molecular impacts

Each molecule that bounces off a wall hands it a momentum , and faster molecules also come back more often, so the force per unit area is the number density times . Random motion spreads equally over three directions, which gives the factor . Only the mean of matters, not the shape of the speed distribution.

Symbols
pressure on the walls
number of molecules
volume of the gas
mass of one molecule
mean of the squared molecular speeds

When it holds: For an ideal gas whose molecules move equally in all directions; collisions between molecules do not change it. Attractions between molecules in a dense gas add corrections.

Example: Nitrogen at 300 K: , and give .

Mean translational kinetic energy

Comparing the impact formula for the pressure with shows that temperature measures the mean kinetic energy of the molecules' motion from place to place: for each of the three directions. The mass does not appear, so at a given temperature every gas has the same mean kinetic energy per molecule, and lighter molecules move faster.

Symbols
mean translational kinetic energy of one molecule
mass of one molecule
speed of a molecule
Boltzmann constant
absolute temperature

When it holds: Holds for the motion of molecules from place to place in any classical system in thermal equilibrium, gas or liquid. It fails where quantum effects dominate, as for electrons in a metal or helium near absolute zero. Rotations and vibrations carry energy in addition to this.

Example: At 300 K: per molecule, for helium and nitrogen alike; at 600 K, in the heated animation, it doubles to .

Root-mean-square speed

Solving for the speed gives the square root of the mean squared speed. Per mole, becomes , which is handier because molar masses are tabulated. The speed grows as and falls as .

Symbols
root-mean-square speed of the molecules
Boltzmann constant
absolute temperature
mass of one molecule
molar gas constant
molar mass, in kilograms per mole

When it holds: For a classical gas in thermal equilibrium, with in kg/mol. It is slightly larger than the average speed: .

Example: Nitrogen at 300 K: ; heated to 600 K in the animation, .

Maxwell–Boltzmann speed distribution

Each velocity component follows a Gaussian set by the Boltzmann factor . Collecting all the directions with the same speed multiplies it by the area of a sphere in velocity space, so starts at zero, peaks at and then falls off exponentially. The prefactor makes the total area 1, so is the fraction of molecules with speeds between and .

Symbols
fraction of molecules per unit interval of speed
molecular speed
mass of one molecule
Boltzmann constant
absolute temperature

When it holds: For a classical ideal gas in thermal equilibrium; collisions establish it within a few collision times. Gases out of equilibrium, such as a molecular beam, and quantum gases at very low temperature follow other distributions.

Example: Nitrogen at 300 K peaks at 422 m/s, and only 1.1 % of its molecules are faster than 1000 m/s; at 586 K that fraction is 12.5 %.

Gas constant and Boltzmann constant

is the gas constant for a mole of molecules and the same constant for one molecule, so they differ by a factor equal to the number of molecules in a mole. This is what makes and equal, since . The constant turns a temperature into a typical energy per molecule.

Symbols
molar gas constant
Avogadro constant, molecules per mole
Boltzmann constant

When it holds: Exact: since 2019 the SI fixes and .

Example: .

Glossary

Kinetic theory
The explanation of a gas's bulk properties (pressure, temperature, heat capacity, viscosity) by applying Newton's laws to its molecules and averaging over enormous numbers of them. Pressure becomes momentum delivered by impacts, and temperature becomes mean kinetic energy.
Ideal gas
A model gas of point-like molecules that exert no forces on each other except in brief elastic collisions. It obeys exactly; real gases come close when they are dilute and far from condensing, air at room conditions to about 0.1 %.
Gas pressure
The steady push of a gas on a surface, made of countless molecular impacts, each of which hands the wall a momentum . It acts equally in all directions and grows with the number of molecules per unit volume and with .
Elastic collision
A collision in which no kinetic energy is lost. A molecule bouncing elastically off a wall keeps its speed but reverses , so it still transfers a momentum : elastic does not mean that nothing is exchanged.
Absolute zero
The lowest possible temperature, 0 K or −273.15 °C, where the classical motion of the molecules would stop and an ideal gas would exert no pressure; quantum mechanics leaves a small zero-point motion. Gas-law temperatures are counted from it, in kelvins.
Gas laws
Boyle's law ( constant at fixed ), Charles's law ( constant at fixed ) and the pressure law ( constant at fixed ). All three are special cases of the ideal gas law, with in kelvins.
Root-mean-square speed
The square root of the mean squared speed, , the speed that fixes the mean kinetic energy. It is about 9 % larger than the ordinary average speed: 517 against 476 m/s for nitrogen at 300 K.
Equipartition of energy
In classical thermal equilibrium every quadratic term in a molecule's energy, such as , averages . It fails for motions whose energy quanta are much larger than , like the vibration of nitrogen at room temperature, which is frozen.
Boltzmann factor
The factor that gives the relative probability of a state of energy in equilibrium at temperature . It makes the air thin out with height and makes very fast molecules rare.
Maxwell–Boltzmann distribution
The distribution of molecular speeds in a gas in equilibrium, . It starts at zero, peaks at and has a long fast tail; heating moves the peak to the right and makes it lower and broader.
Adiabatic compression
Compression with no heat exchanged. The molecules rebound faster from the advancing piston, so the work done heats the gas and stays constant, with for atoms and 7/5 for air.
Mean free path
The average distance a molecule travels between collisions with other molecules, about 68 nm in air at room conditions. These collisions do not change the pressure of an ideal gas, but they control diffusion, viscosity and heat conduction.
Quantities
PressureForce per unit area exerted by the gas on any surface, . Sea-level air is at about 101 kPa; the gas law needs the absolute value, not a gauge reading.
VolumeThe space the gas fills, that is, the volume of its container; .
Absolute temperatureTemperature counted from absolute zero: the Celsius value plus 273.15. It is proportional to the mean translational kinetic energy of the molecules.
Amount of substanceThe number of moles, , where the Avogadro constant is the number of molecules in a mole.
Number of moleculesHow many molecules the gas contains: about in each cubic metre of air at room conditions.
Boltzmann constant converts a temperature into an energy per molecule: at 300 K. It is written in lessons where already means something else.
Molar gas constant, the Boltzmann constant for a whole mole of molecules, .
Molecular massThe mass of one molecule: for nitrogen, whose molecule has a mass of 28 u.
Molar massThe mass of one mole, . In the formulas it must be in kg/mol: 0.028 for nitrogen, not 28.
Root-mean-square speed, the typical molecular speed: 517 m/s for nitrogen at 300 K, growing as .

Quiz

  1. Beginner What causes the pressure of a gas on the walls of its container?

    1. The weight of the gas pressing down
    2. Molecules at rest repelling each other
    3. Molecules hitting the walls and bouncing off
    4. The walls pulling the gas towards them
    Show answer

    Answer: C. Molecules hitting the walls and bouncing off

    Each bounce gives the wall a tiny push; the combined effect of countless hits per second is a steady force per unit area, the pressure.

  2. Beginner A sealed can of gas is heated. What happens to its molecules?

    1. They move faster on average
    2. They get bigger
    3. There are more of them
    4. They slow down and spread out
    Show answer

    Answer: A. They move faster on average

    Temperature measures the molecules' kinetic energy. Heating speeds them up, so they hit the walls harder and more often and the pressure rises.

  3. Intermediate A rigid container holds gas at 27 °C and 100 kPa. It is heated to 327 °C. What is the new pressure?

    1. 1211 kPa
    2. 200 kPa
    3. 100 kPa
    4. 400 kPa
    Show answer

    Answer: B. 200 kPa

    At constant volume p/T is constant, with T in kelvins: 300 K → 600 K doubles the pressure to 200 kPa. Using degrees Celsius (327/27) gives the absurd 1211 kPa.

  4. Intermediate Helium and nitrogen are at the same temperature. Which statement is correct?

    1. Nitrogen molecules move faster because they are heavier
    2. Both kinds of molecule have the same average speed
    3. Helium molecules have more kinetic energy because they are lighter
    4. Their molecules have the same average kinetic energy, but helium molecules move faster
    Show answer

    Answer: D. Their molecules have the same average kinetic energy, but helium molecules move faster

    ⟨½·m·v²⟩ = (3/2)·k·T depends only on T. With equal kinetic energy, the lighter helium atoms must move faster.

  5. Intermediate What is the average translational kinetic energy of a gas molecule at 300 K? (k = 1.38 × 10⁻²³ J/K)

    1. 6.2 × 10⁻²¹ J
    2. 4.1 × 10⁻²¹ J
    3. 2.1 × 10⁻²¹ J
    4. 1.2 × 10⁻²⁰ J
    Show answer

    Answer: A. 6.2 × 10⁻²¹ J

    (3/2)·k·T = 1.5 × 1.38 × 10⁻²³ × 300 ≈ 6.2 × 10⁻²¹ J. The value k·T alone is 4.1 × 10⁻²¹ J.

  6. Advanced A molecule of mass m with velocity component vₓ bounces elastically off a wall perpendicular to x. How much momentum does it transfer to the wall?

    1. m·vₓ
    2. Zero, because the collision is elastic
    3. 2m·vₓ
    4. ½·m·vₓ²
    Show answer

    Answer: C. 2m·vₓ

    Its x-momentum goes from +m·vₓ to −m·vₓ, a change of 2m·vₓ, which the wall receives. Elastic means kinetic energy is conserved, not that no momentum is exchanged.

  7. Advanced Each velocity component of a gas molecule, such as vₓ, is most likely to be near zero, yet the Maxwell–Boltzmann speed distribution f(v) falls to zero as v → 0. Why?

    1. Collisions with the walls and with other molecules keep speeding slow molecules up, so none stay near rest
    2. The spherical shell of velocity vectors with speeds between v and v + dv has volume 4π·v²·dv, which shrinks to zero as v → 0
    3. The Boltzmann factor e^(−m·v²/(2kT)) is zero at v = 0, so no molecule can be found at rest
    4. By equipartition every molecule carries at least (3/2)·k·T, so its kinetic energy can never be zero
    Show answer

    Answer: B. The spherical shell of velocity vectors with speeds between v and v + dv has volume 4π·v²·dv, which shrinks to zero as v → 0

    The Boltzmann factor is largest at v = 0 (it equals 1 there), and equipartition fixes only the average energy, not a minimum. But the velocity vectors with speeds between v and v + dv fill a spherical shell of volume 4π·v²·dv, which vanishes as v → 0, so f(v) ∝ v²·e^(−m·v²/(2kT)) starts at zero and peaks at v_p = √(2kT/m).

  8. Advanced As a gas is heated, how does its Maxwell–Boltzmann speed distribution change?

    1. The peak moves to higher speeds and becomes taller
    2. All molecules end up with the same, higher speed
    3. Its shape is unchanged; only the number of molecules grows
    4. The peak moves to higher speeds and becomes lower and broader
    Show answer

    Answer: D. The peak moves to higher speeds and becomes lower and broader

    The most probable speed √(2kT/m) increases, and since the area under f(v) stays equal to 1, the wider curve must also be lower.