12.1 The Molecular Nature of Matter, the Gas Laws, and the Ideal Gas Equation
Everything in this chapter rests on one working picture of a gas: a huge number of molecules, each a tiny point of mass, flying about in straight lines at random, colliding elastically with each other and with the walls of their container, and otherwise exerting no force on one another at all. This is the ideal gas model. No real gas obeys it exactly, but dilute gases well above their liquefaction temperature (air in this room, for instance) come astonishingly close, which is exactly why it is worth building a whole theory around.
Experimentally, long before anyone could watch a single molecule, the behaviour this picture describes had already been pinned down by a handful of empirical laws. Each was found the same way: hold one of a gas’s three bulk variables, pressure , volume , or absolute temperature , fixed, and watch how the other two respond. The ideal gas equation is built on exactly these foundations, so they come first.
12.1.1 Boyle's law and Charles' law
Boyle’s law (seventeenth century): for a fixed amount of gas at a fixed temperature, pressure is inversely proportional to volume. Squeeze the gas into half the space and its pressure doubles; let it spread into three times the space and its pressure falls to a third.
Charles’ law: for a fixed amount of gas at a fixed pressure, volume is directly proportional to absolute temperature. Warm a gas from 300 K to 600 K at constant pressure and its volume doubles. (It must be kelvin: in Celsius the same change, 27°C to 327°C, would wrongly suggest a twelvefold expansion.)
Both are purely experimental statements, and both are only approximately true: real gases follow them closely at low pressures and at temperatures well above the point where they liquefy, and drift away from them otherwise. Neither says why a gas behaves this way; §12.3 will explain Boyle’s law molecule by molecule.
12.1.2 Combining them: the ideal gas equation
Boyle’s law alone says nothing about temperature, and Charles’ law nothing about pressure, but chained together they cover any change at all. Take a fixed amount of gas from some state to any other state in two steps, passing through an intermediate state of volume .
Step 1, at constant temperature , change the pressure from to . Boyle’s law applies:
Step 2, now at constant pressure , change the temperature from to . Charles’ law applies:
Substituting step 1’s into step 2:
Both end states were arbitrary, so the combination must take the same value in every state of the sample: , with a constant for that particular sample of gas.
What sets ? Avogadro’s law: equal volumes of all gases, at the same temperature and pressure, contain the same number of molecules. So at fixed and , a sample’s volume is proportional to how many moles it holds, and since , so is , with the same proportionality constant for every gas. Calling that constant , , and the three empirical laws collapse into one:
Here is the number of moles, the total number of molecules, the universal gas constant (8.314 J/mol·K), and the Boltzmann constant, simply the gas constant rewritten per molecule instead of per mole:
Worked example
Compress, then heat: following PV/T through two steps
A sealed sample of gas occupies 3.00 L at and 300 K. It is first compressed slowly at constant temperature to 2.00 L, then heated at constant pressure to 400 K. Find the pressure after step 1, the volume after step 2, and the number of moles in the sample.
Step 1 is Boyle’s law (temperature fixed at 300 K):
Step 2 is Charles’ law (pressure fixed at 1.50 × 105 Pa):
Check that really did survive both steps unchanged, working in SI units (1 L = 10−3 m3):
That constant is , so the sample holds of gas, a number neither Boyle’s nor Charles’ law could supply alone; it took Avogadro’s law to turn into a count of molecules.
The rest of this chapter’s job is to show that this equation, along with everything it implies about temperature and heat, is not a separate law of nature at all. It falls straight out of Newton’s laws applied to a swarm of colliding molecules, once you stop tracking individual molecules and start tracking their statistical averages.
Worked example
How many molecules are in a sealed litre flask?
A 1.0 litre flask is sealed at atmospheric pressure () and room temperature (300 K). Estimate the number of gas molecules inside it.
Rearranging for , with :
Roughly twenty-four thousand billion billion molecules, in a volume you could hold in one hand, every one of them obeying nothing more exotic than Newton’s laws.
12.2 Kinetic Theory of an Ideal Gas: Deriving Pressure
Here is the central derivation of the chapter: where gas pressure actually comes from. Picture a cubical box of side containing identical molecules, each of mass , moving randomly and never interacting with each other, only bouncing elastically off the walls.
Take one molecule with velocity component perpendicular to a particular wall. An elastic collision with a rigid wall simply reverses that component, , leaving its speed unchanged, so the molecule’s momentum change is , and by Newton’s third law the wall receives momentum on every such hit.
After bouncing off this wall, the molecule must cross the box, hit the opposite wall, and return, a round trip of distance , before it can strike this wall again. So it delivers a momentum kick of once every seconds, which is exactly a steady average force on the wall of:
Summing this over all molecules gives the total force on that wall, , where is the average of over all the molecules. Dividing by the wall’s area gives the pressure:
Nothing in the setup singled out the -direction, so by symmetry , and since for every molecule, each of these three equal pieces must be exactly one third of the total: . Substituting this in gives the chapter’s key result:
where is the gas’s mass density and is the mean square speed, averaged over every molecule in the box. Notice what this derivation never assumed: it never needed molecules to push against each other, only against the walls. A gas of molecules that never collided with one another at all would still, by this argument, exert a perfectly ordinary pressure.
Worked example
RMS speed of carbon dioxide from its density
A sample of carbon dioxide gas has density at a pressure of . Find the rms speed of its molecules.
Rearranging for :
A single equation, built purely from the mechanics of elastic collisions, already lets you read off a molecular speed from two bulk, everyday, thermometer-and-scale measurements.
12.3 Kinetic Interpretation of Temperature, and RMS Speed
The derivation above is mechanics alone, it never mentioned temperature. The link appears the moment you compare it with the §12.1 ideal gas equation. Both expressions give , so they must be equal:
The cancels, and rearranging gives one of the most important results in all of thermal physics:
The left side is the average translational kinetic energy per molecule. The right side is a multiple of absolute temperature alone. In other words, temperature is not some separate quantity that happens to be correlated with molecular motion, it is a direct, literal measure of the average kinetic energy of molecular motion, and nothing else about the gas (its pressure, its volume, which gas it even is) enters this relation at all. Taking the square root of gives the rms speed:
with the molar mass. This is exactly the quantity the molecules-in-a-box simulation on the concept page tracks, and it is worth being precise about what it depends on and what it does not. depends only on (for a fixed gas). It does not appear anywhere in terms of or separately, even though and were exactly what the §12.2 derivation was built from.
This is why squeezing the same gas into a smaller fixed box, at the same temperature, does not speed its molecules up at all. The pressure rises, but purely because the molecules now hit the (closer) walls more often, not because any molecule is moving any faster between hits. In the simulation, dragging the Volume slider visibly shrinks the box and visibly changes the pressure readout, while every single dot keeps exactly the speed it had before. Only dragging Temperature changes how fast the dots move. That separation, speed is set by alone, pressure is set by and the collision rate that controls, is the single most important idea in this section.
Worked example
Comparing hydrogen and oxygen at the same temperature
Find the rms speed of hydrogen () and of oxygen () molecules at 300 K, and compare them.
The ratio is , exactly , as the scaling demands. Both gases, at the same 300 K, carry the same average kinetic energy per molecule, ; hydrogen molecules only move faster because they carry sixteen times less mass to carry that same energy in.
12.4 Law of Equipartition of Energy
Section 12.3 derived by counting three independent translational directions, , , and , each contributing an equal share, , to the total. The law of equipartition of energy generalises this counting argument far beyond translation:
In thermal equilibrium, the total energy of a system is shared equally among every independent (quadratic) degree of freedom available to it, each contributing an average of , regardless of the nature of that degree of freedom or the temperature.
A “degree of freedom” here just means an independent way a molecule can store energy that enters its energy expression as a square, a velocity component, an angular velocity component, a spring-like displacement. Translation along , , and gives three such terms for any molecule; what changes between gases is what else is available besides translation.
12.4.1 Monatomic gases
A monatomic molecule (helium, argon, a single atom with essentially all its mass at a point) has only the three translational degrees of freedom. Its average energy per molecule is , exactly the §12.3 result, so for moles ( molecules), the total internal energy is:
12.4.2 Diatomic gases
A diatomic molecule (N2, O2, the air around you) is a tiny dumbbell. Besides the same three translational terms, it can also rotate, about two axes perpendicular to the bond, since it has essentially no moment of inertia about the bond axis itself, that spin stores no measurable energy. So a rigid diatomic molecule has degrees of freedom at moderate temperatures:
A real diatomic bond can also vibrate, which would add two more quadratic terms (vibrational kinetic and potential energy), pushing the total to degrees of freedom at high enough temperature. But vibration is quantised with a large energy gap, so at ordinary temperatures it stays almost entirely “frozen out”, which is exactly why N2 and O2 behave as 5-degree-of-freedom gases near room temperature and only drift toward the 7-degree value at much higher temperatures.
12.4.3 Polyatomic gases
Now take a molecule whose atoms do not all lie on one line: water (bent), ammonia (a squat pyramid), methane (a tetrahedron). It has the same three translational terms as every other molecule. The difference is rotation. A dumbbell lost one rotation because it has essentially no moment of inertia about its bond axis, the one line passing through both atoms. A non-linear molecule has no such line: whichever axis through its centre of mass you pick, some atoms sit off it, so the molecule has a real moment of inertia about all three perpendicular axes, and spinning about each one stores real energy. Writing out every quadratic term in its energy:
That is degrees of freedom for a rigid non-linear molecule at moderate temperatures (vibration frozen out, for the same reason as in the diatomic case). Each averages , so the average energy per molecule is , and for moles:
Notice that it is the shape, not the number of atoms, that decides the count. Carbon dioxide, O=C=O, has three atoms but they sit in a straight line, so like a dumbbell it has no moment of inertia about that line: a rigid CO2 molecule has only degrees of freedom and behaves, for specific-heat purposes, like a diatomic gas.
If some of the molecule’s vibrational modes do become active, at higher temperatures or for floppier molecules, each one adds two more quadratic terms (vibrational kinetic and potential energy), worth per molecule. With active vibrational modes:
12.5 Specific Heats of Gases from Equipartition
Equipartition hands over the internal energy of an ideal gas directly, and specific heats are just derivatives of that. The molar specific heat at constant volume is defined as the heat needed per mole per degree, with volume held fixed, so no work is done and all the heat goes into raising :
12.5.1 Monatomic gases
From :
12.5.2 Diatomic gases
From (rigid, moderate temperature):
12.5.3 Polyatomic gases
From (rigid, non-linear, moderate temperature):
These are the values often tabulated as “triatomic”, meaning a bent triatomic molecule like H2O; a linear one like CO2 takes the diatomic values instead. If vibrational modes are also active, differentiating instead gives:
All three cases are one pattern. If a molecule has quadratic energy terms in total, then , so:
(monatomic) gives , (rigid diatomic) gives , (rigid non-linear polyatomic) gives : every extra way of storing energy raises and pushes closer to 1.
The step used above, Mayer’s relation, is not specific to any one molecular shape, it holds for any ideal gas, and is worth deriving once in general. For mole, , so at constant pressure, . The first law gives , and since this same at constant pressure is by definition , matching coefficients gives:
The extra is simply the work a gas does pushing back its surroundings as it expands at constant pressure, work a gas held at constant volume never has to do, so it always takes more heat to raise its temperature by one degree at constant pressure than at constant volume.
Worked example
Heating a diatomic gas at constant volume
2.0 mol of nitrogen gas (treated as a rigid diatomic ideal gas) is heated at constant volume through 50 K. Find the increase in its internal energy. ()
At constant volume, all the heat becomes internal energy:
about 2.08 kJ, five-halves times what the same calculation would give for a monatomic gas of the same amount and temperature rise, exactly the extra rotational degrees of freedom at work.
Worked example
Heating methane at constant pressure
2.50 mol of methane (CH4, a tetrahedral, non-linear molecule, treated as rigid) is heated at constant pressure from 290 K to 330 K. Find its , , and , then the heat supplied, the rise in internal energy, and the work done by the gas. ()
Counting 3 translational + 3 rotational terms, §12.5.3 gives:
At constant pressure the heat supplied is set by , while the rise in internal energy is always set by , whatever the process:
Three-quarters of the heat stays in the gas as internal energy and one quarter leaves as work, the ratio being itself. Real methane near room temperature has a measured of about 35.4 J/mol·K, roughly 6% above , so the true heat needed here is closer to 3.54 kJ. That excess is the molecule’s lowest-frequency vibrations beginning to take up energy, a small nonzero , exactly the kind of gap between the rigid prediction and experiment that polyatomic gases typically show.
12.6 Specific Heat Capacity of Solids: the Dulong–Petit Law
Equipartition is not only a theory of gases. Applied to a solid, it predicts, with no adjustable constants at all, a molar specific heat that is the same for every solid element.
In a crystalline solid each atom is held near a fixed site in the lattice by the forces from its neighbours. It cannot wander through the material the way a gas molecule wanders through its box, and it cannot spin freely; what it can do is jiggle about its site. For small displacements the neighbours’ net force pulls it back roughly in proportion to how far it has moved, so each atom behaves like a tiny mass held by springs, a simple harmonic oscillator, free to vibrate independently along , , and .
Here is the counting difference that matters. A gas molecule’s translation along contributes one quadratic term, , because nothing pulls a free molecule back toward any particular point: its energy does not depend on where it is. An atom vibrating along stores energy in two ways at once, kinetic energy of its motion and elastic potential energy of its displacement from the lattice site (with the effective spring constant):
Two quadratic terms, so by equipartition this one-dimensional vibration averages , twice what a translational degree of freedom gets. (It is the same two-term count met for a vibrating diatomic bond in §12.4.2.) The three directions are independent, so for one atom:
One mole of the solid contains atoms, so its internal energy is:
To turn this into a specific heat, use the first law, . Heating a solid barely changes its volume, so the work term is negligible and . That is also why, unlike a gas, a solid has no meaningful difference between and ; there is just one molar specific heat:
Every solid element, whatever it is made of, should need about 25 J to warm one mole by one kelvin, and near room temperature most metals oblige: aluminium, copper, silver, tungsten, and lead all have measured molar specific heats between about 24 and 27 J/mol·K. Per kilogram rather than per mole, the law reads , with the molar mass. Heavier atoms mean fewer atoms in each kilogram, so fewer oscillators to share the heat, so a smaller specific heat per kilogram. That is why a kilogram of lead ( g/mol) needs only about a seventh as much heat as a kilogram of aluminium ( g/mol) for the same temperature rise, even though per mole the two are almost identical.
The law fails exactly where equipartition itself fails. Carbon in the form of diamond, very light atoms held by very stiff bonds, has a room-temperature molar specific heat of only about 6 J/mol·K, and every solid’s specific heat falls well below at low enough temperatures. Both are the same quantum “freezing out” that keeps a diatomic molecule’s vibration dormant in §12.4.2: when the thermal energy available is too small to excite a vibration fully, that oscillator cannot take its full share.
Worked example
Predicting the specific heat of iron from its molar mass alone
A 1.20 kg block of pure iron () is heated from 25°C to 225°C. Using only the Dulong–Petit law, predict iron’s specific heat per kilogram and the heat needed, then compare with iron’s measured specific heat, 449 J/kg·K.
Per kilogram, the predicted specific heat is:
and for a 200 K rise, the predicted heat (equivalently, mol, each needing per kelvin) is:
Using the measured specific heat instead:
The two agree to within half a percent. Equivalently, iron’s measured molar specific heat, , sits right on top of , a prediction made from nothing but the molar mass and the rule that every quadratic energy term gets .
12.7 Mean Free Path
Section 12.3’s rms speeds come out to hundreds of metres per second, faster than sound. Yet open a bottle of perfume across a still room and the smell visibly takes minutes to arrive, not milliseconds. The resolution is that a molecule almost never travels in a straight line for long: real molecules have a finite size, and they constantly collide with each other, each collision flinging them off in a new, effectively random direction.
The average distance a molecule covers between one collision and the next is its mean free path, . For a gas of molecules of effective diameter and number density , a reasonably careful count of how many other molecules lie within a molecule’s collision “tube” as it travels gives:
Using from the ideal gas equation, this can equally be written in terms of pressure and temperature directly, which is often more convenient:
Two features are worth remembering. First, shrinks as pressure rises (more molecules packed into the same space means more frequent collisions) and grows with temperature at fixed pressure. Second, is typically hundreds of molecular diameters even at atmospheric pressure, a molecule travels a long way, relatively speaking, before each collision, but it does so in a random zig-zag, not a straight line, which is exactly why diffusion is so much slower than the rms speed alone would suggest. The worked exercise below puts real numbers to both and the rate of collisions this implies.
— From the NCERT exercises
Two of the chapter’s own classic exercise questions, with original worked solutions.
NCERT Exercise 12.9
At what temperature is the root mean square speed of an atom in an argon gas cylinder equal to the rms speed of a helium gas atom at -20°C? (Atomic mass of Ar = 39.9 u, of He = 4.0 u.)
Solution
Since , equal rms speeds for the two gases require equal :
With :
Argon, being nearly ten times heavier per atom, needs a correspondingly much higher temperature to shake its atoms up to the same speed as helium’s.
NCERT Exercise 12.10
Estimate the mean free path and collision frequency of a nitrogen molecule in a cylinder of nitrogen at a pressure of 2.0 atm and temperature 17°C. Take the radius of a nitrogen molecule to be about 1.0 Å. Compare the collision time with the time the molecule moves freely between two successive collisions. (Molecular mass of N2 = 28.0 u.)
Solution
Diameter , , . Using the pressure form of the mean free path:
about 550 molecular diameters. The rms speed at this temperature:
so a molecule suffers, on average, a collision every:
Roughly four and a half billion collisions every second for every single molecule, despite each one travelling at over 500 m/s between hits. The question also asks how this free-flight time compares with the collision itself, which lasts only as long as the molecule takes to cross its own diameter :
roughly times shorter than the spent travelling freely between collisions, so a nitrogen molecule spends well over 99.8% of its time in free flight and only a vanishing fraction of it actually colliding.
