See also: Course-wide Conventions & Notation
Run the code: Notebook for Section 1.2, in which you can change and rerun the Python cells of this section in your browser.
Overview and Learning Objectives¶
Kinetic theory provides a microscopic route to macroscopic gas behavior by modeling a gas as a large number of rapidly moving particles that undergo elastic collisions. In this section, we derive the pressure of an ideal gas from particle–wall momentum transfer, connect temperature to average kinetic energy, and interpret molecular speed distributions.
Learning objectives:
List the assumptions of kinetic theory used to model an ideal gas.
Derive the relation from particle–wall momentum transfer.
Use to relate temperature to molecular motion.
Compute characteristic speeds () and interpret the Maxwell–Boltzmann distribution.
Core Ideas and Derivations¶
Foundational Assumptions of Kinetic Theory¶
Large Number of Particles:
A gas contains a very large number of identical particles moving randomly in all directions.Point Particles:
Each particle’s size is negligible compared to the average distance between particles.Elastic Collisions:
Collisions between particles and between particles and the container walls conserve both momentum and kinetic energy.No Long-Range Interparticle Forces:
Particles exert no forces on one another except during collisions (i.e., there are no long-range attractive or repulsive forces).Classical Mechanics Applies:
Particle motion follows Newton’s second law:where is the net force on a particle, is its linear momentum, and is time.
Assumptions 2 and 4 are approximations, because real molecules have a finite size and exert forces on one another. Section 1.3 and Section 1.4 examine the conditions under which these approximations hold and the models that replace them when they fail.
Deriving Pressure from Particle-Wall Collisions¶
Source
import sys
import matplotlib.pyplot as plt
from matplotlib.patches import Circle, Rectangle
sys.path.append("..") # the book folder, which holds figstyle
import figstyle as fs
def draw(c):
fig, ax = plt.subplots(figsize=(6.4, 2.1), constrained_layout=True)
Lx, Lz = 10.0, 2.4
ax.add_patch(Rectangle((0, 0), Lx, Lz, fc=c.fill, ec=c.ink, lw=1.6))
# The particle and its three legs: toward the right wall, back across the box, and forward again.
y_out, y_back, y_again = 0.78 * Lz, 0.50 * Lz, 0.22 * Lz
ax.add_patch(Circle((0.5 * Lx, y_out), 0.24, fc=c.blue, ec="none", zorder=5))
ax.text(0.5 * Lx, y_out, "$m$", color=fs.on(c.blue), ha="center", va="center", zorder=6)
fs.arrow(ax, (0.5 * Lx + 0.35, y_out), (Lx - 0.08, y_out), c.vermilion)
fs.arrow(ax, (Lx - 0.08, y_back), (0.08, y_back), c.vermilion)
fs.arrow(ax, (0.08, y_again), (0.5 * Lx, y_again), c.vermilion)
for x, y, label in [(0.76 * Lx, y_out, "$v_x$"), (0.76 * Lx, y_back, "$-v_x$"), (0.24 * Lx, y_again, "$v_x$")]:
ax.text(x, y + 0.12, label, color=c.vermilion, ha="center", va="bottom")
# Dimensions of the container
kw = dict(arrowstyle="<->", color=c.muted, lw=1.0, shrinkA=0, shrinkB=0)
ax.annotate("", xy=(0, -0.35), xytext=(Lx, -0.35), arrowprops=kw)
ax.text(Lx / 2, -0.55, "$L_x$", ha="center", va="top", color=c.muted)
ax.annotate("", xy=(-0.3, 0), xytext=(-0.3, Lz), arrowprops=kw)
ax.text(-0.5, Lz / 2, "$L_z$", ha="right", va="center", color=c.muted)
ax.set(xlim=(-1.2, Lx + 0.3), ylim=(-1.1, Lz + 0.2), aspect="equal")
ax.axis("off")
return fig
fs.show(draw, alt="A rectangular container of length L x and height L z that holds one particle of mass m. Arrows show "
"the particle moving to the right wall with velocity v x, crossing the whole box to the left wall "
"with velocity minus v x, and moving to the right again with velocity v x.")Figure 1.2.1:Two-dimensional schematic of a single gas particle of mass in a cuboid container. The particle moves toward the right wall with velocity component , crosses the container with after the collision, and moves to the right again after the collision with the left wall. The length is perpendicular to the plane of the drawing.
Microscopic Picture of Pressure¶
Pressure is the force exerted per unit area on the container walls. Microscopically, it arises from momentum transfer during particle–wall collisions.
Particle Momentum Change¶
Consider an elastic collision of a particle of mass with a wall perpendicular to the -axis. The -component of the velocity reverses (). If we take to denote the magnitude of the -component, then the magnitude of the particle’s momentum change is
Time Between Collisions¶
If the container has length in the -direction, the time between successive collisions of the same particle with that wall is
Force on the Wall¶
A single particle’s average force on the wall (in the -direction) is then
Total Pressure¶
The wall perpendicular to the -axis has area . Summing the single-particle forces over identical particles and dividing by this area gives the pressure on the wall,
where is the -component of the velocity of the -th particle, is the volume of the container, and
is the mean of the squared -components.
The speed of the -th particle satisfies , so that . Because the particles move randomly in all directions (isotropic motion), no direction is preferred, and
For identical particles with isotropic motion in a volume , the total pressure is therefore
where is the speed of the -th particle. Using the mean-square speed , we obtain
This equation shows how macroscopic pressure depends on the microscopic particle speeds.
Kinetic Energy and Temperature¶
The average translational kinetic energy per particle is
Equating Eq. (1.2.9) with the ideal-gas equation of state, (discussed in Section 1.3), gives
where is the Boltzmann constant and is the absolute temperature. This result—often presented as an application of equipartition—shows that temperature is directly proportional to the average translational kinetic energy of the particles.
The square root of the mean-square speed is the root-mean-square (rms) speed. From Eq. (1.2.11),
Complete Derivation of the Relationship Between Kinetic Energy and Temperature
1. Kinetic Energy of a Single Particle
Consider a single particle with mass and speed . Its translational kinetic energy is
2. Total Kinetic Energy of Particles
For particles with masses and respective speeds , the total translational kinetic energy is
If all particles are identical with mass , this simplifies to
3. Defining the Average of the Speed Squared
Define the mean-square speed
so that
Substituting back gives
4. Relating Pressure to Kinetic Energy
From Eq. (1.2.9), the pressure in a volume can be written as
Recognizing that , we obtain
5. Equating to the Ideal-Gas Equation of State
For an ideal gas (discussed in Section 1.3),
Equating the two expressions for ,
and solving for gives
6. Average Kinetic Energy Per Particle (Equipartition Theorem)
Dividing by yields the average kinetic energy per particle:
Each translational degree of freedom contributes to the average kinetic energy.
Maxwell–Boltzmann Speed Distribution¶
The rms speed is a useful single-number summary, but in thermal equilibrium a gas has a distribution of particle speeds.
For an ideal gas in three dimensions, the Maxwell–Boltzmann speed distribution gives the probability density of molecular speeds, where is the probability of finding a molecule with speed between and :
It is normalized so that .
Most probable speed and mean speed¶
From we can define several “typical” speeds:
The rms speed (from Eq. (1.2.12)) is
For any Maxwell–Boltzmann distribution, these satisfy
Comparing gases and temperatures¶
The Maxwell–Boltzmann curves below illustrate two trends:
Lighter gases (smaller ) have distributions that are shifted to higher speeds and are broader.
Higher temperatures shift the distribution to higher speeds and make it broader.
Source
import numpy as np
from scipy.constants import k as k_B, N_A
def f_MB(v, M, T):
"""Maxwell–Boltzmann distribution of speeds (s/m) for molar mass M (kg/mol) at temperature T (K)."""
m = M / N_A
return 4 * np.pi * (m / (2 * np.pi * k_B * T)) ** 1.5 * v**2 * np.exp(-m * v**2 / (2 * k_B * T))
def draw(c):
# Color names the gas. The dashed curve is the same gas at the higher temperature.
cases = [(44.0095e-3, 300, c.vermilion, "-", r"CO$_2$, 300 K", (520, 2.25)),
(28.0134e-3, 300, c.blue, "-", r"N$_2$, 300 K", (640, 1.82)),
(28.0134e-3, 600, c.blue, "--", r"N$_2$, 600 K", (930, 1.20)),
(4.002602e-3, 300, c.green, "-", "He, 300 K", (1680, 0.60))]
v = np.linspace(0, 3000, 2000)
fig, ax = plt.subplots(figsize=(6, 3.8), constrained_layout=True)
for M, T, color, style, label, (x, y) in cases:
ax.plot(v, 1e3 * f_MB(v, M, T), color=color, ls=style)
ax.text(x, y, label, color=color, ha="left", va="bottom")
ax.set(xlabel="Speed $v$ (m/s)", ylabel=r"Probability density $f(v)$ ($10^{-3}$ s/m)", xlim=(0, 3000), ylim=(0, 2.5))
return fig
fs.show(draw, alt="Maxwell–Boltzmann distributions of molecular speeds from 0 to 3000 meters per second. Carbon dioxide "
"at 300 K has the narrowest curve, with its peak near 340 meters per second. Nitrogen at 300 K "
"peaks near 420, nitrogen at 600 K near 600, and helium at 300 K has the broadest curve, with its "
"peak near 1100 meters per second.")Figure 1.2.2:Maxwell–Boltzmann speed distributions of three gases at 300 K (solid) and of N at 600 K (dashed).
Gas in a Box¶
The simulation in Figure 1.2.3 brings the results of this section together. Two hundred particles move in a cubic box and collide elastically with the walls and with one another. The pressure is calculated from the momentum that the particles deliver to the six walls, as in the derivation of Eq. (1.2.9), and it is shown beside the ideal-gas value . The histogram of the particle speeds is drawn with the Maxwell–Boltzmann distribution of Eq. (1.2.25).
Figure 1.2.3:Particles of a gas in a cubic box, seen from one side. The pressure from the collisions with the walls is shown beside the ideal-gas value , as an average and for successive intervals of 10 ps. The bars are the speeds of the particles, and the curve is the Maxwell–Boltzmann distribution of Eq. (1.2.25).
Three things to try:
Reduce the number of particles to 20, and compare the pressure in successive intervals with the pressure at 300 particles.
Give every particle the same speed, and watch how the histogram of the speeds changes with time.
Change the gas from N to He at the same temperature, and compare the pressure and the speeds before and after the change.
Worked Example¶
Root-mean-square speed at room temperature¶
Estimate the rms speed of molecules at .
Assumptions. Ideal-gas kinetic theory and equipartition; .
Take .
Insert numbers
Evaluate
Result. .
Concept Checks¶
Which kinetic-theory assumption is most directly violated at high pressures or low temperatures?
Why does pressure depend on (or ) rather than on ?
How would doubling the absolute temperature change ?
What physical information is encoded in the width of the Maxwell–Boltzmann speed distribution?
Key Takeaways¶
Pressure arises from momentum transfer during particle–wall collisions.
For an ideal gas, temperature measures average translational kinetic energy.
Characteristic molecular speeds scale as .
The Maxwell–Boltzmann distribution explains why gases contain a range of speeds even at fixed .