See also: Course-wide Conventions & Notation
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.
Deriving Pressure from Particle-Wall Collisions¶
Source
import matplotlib.pyplot as plt
from myst_nb import glue
def plot_container_2d(offset=0.2):
"""Plot a 2D schematic of a gas particle in a container."""
fig, ax = plt.subplots(figsize=(12, 4))
# Dimensions
Lx, Lz = 10, 2
# Draw container
ax.plot([0, Lx, Lx, 0, 0], [0, 0, Lz, Lz, 0], color='black')
ax.fill_between([0, Lx], 0, Lz, color='lightgray')
# Gas particle
ax.plot(0.5 * Lx, 0.75 * Lz, 'o', color='blue', markersize=20, zorder=10)
ax.text(0.5 * Lx, 0.75 * Lz, "$m$", color='white',
ha='center', va='center', zorder=20, fontsize=12)
# Velocity arrows
ax.annotate("", xy=(0.5 * Lx, 0.75 * Lz), xytext=(Lx, 0.75 * Lz),
arrowprops=dict(arrowstyle="<-", color='red'))
ax.text(Lx * 2 / 3, 0.75 * Lz + offset, "$v_x$", color='red', fontsize=12, ha='center', va='center')
ax.annotate("", xy=(Lx, 0.5 * Lz), xytext=(0, 0.5 * Lz),
arrowprops=dict(arrowstyle="<-", color='red'))
ax.text(Lx * 5 / 6, 0.5 * Lz + offset, "$-v_x$", color='red', fontsize=12, ha='center', va='center')
ax.annotate("", xy=(0, 0.25 * Lz), xytext=(0.5 * Lx, 0.25 * Lz),
arrowprops=dict(arrowstyle="<-", color='red'))
ax.text(0.25 * Lx, 0.25 * Lz + offset, "$v_x$", color='red', fontsize=12, ha='center', va='center')
# Length indicators
ax.annotate("", xy=(0, -offset), xytext=(Lx, -offset),
arrowprops=dict(arrowstyle="<->", color='black'))
ax.text(Lx / 2, -2 * offset, "$L_x$", color='black', fontsize=12, ha='center', va='center')
ax.annotate("", xy=(-offset, 0), xytext=(-offset, Lz),
arrowprops=dict(arrowstyle="<->", color='black'))
ax.text(-2 * offset, Lz / 2, "$L_z$", color='black', fontsize=12, ha='center', va='center')
ax.set_xlim(-1, Lx+1)
ax.set_ylim(-1, Lz+1)
ax.axis('off')
return fig
fig = plot_container_2d()
plt.show()
plt.close(fig)
Two-dimensional schematic of a single gas particle in a cuboid container (gray). Velocity components are shown in red. The length is not depicted, as it extends perpendicular to the plane of view.
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¶
For identical particles with isotropic motion in a volume , the total pressure is
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. (6) with the ideal-gas equation of state, (discussed in Section 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.
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. (6), 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 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 for 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 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 shifted to higher speeds.
Higher temperatures shift the distribution to higher speeds and make it broader.
Source
import numpy as np
import matplotlib.pyplot as plt
from scipy.constants import k as k_B, N_A
def f_MB(v, M_kg_per_mol, T):
"""Maxwell–Boltzmann speed distribution f(v) for an ideal gas.
Parameters
----------
v : array
Speeds (m/s).
M_kg_per_mol : float
Molar mass (kg/mol).
T : float
Temperature (K).
Returns
-------
f : array
Probability density (s/m).
"""
m = M_kg_per_mol / N_A # mass per molecule (kg)
prefactor = 4 * np.pi * (m / (2 * np.pi * k_B * T)) ** 1.5
return prefactor * v**2 * np.exp(-m * v**2 / (2 * k_B * T))
# Molar masses (kg/mol)
M_He = 4.002602e-3
M_N2 = 28.0134e-3
M_CO2 = 44.0095e-3
cases = [
(M_CO2, 300, r"CO$_2$ (300 K)"),
(M_N2, 300, r"N$_2$ (300 K)"),
(M_N2, 600, r"N$_2$ (600 K)"),
(M_He, 300, r"He (300 K)"),
]
v = np.linspace(0, 4000, 4000)
fig, ax = plt.subplots(figsize=(6, 4))
for M, T, label in cases:
ax.plot(v, f_MB(v, M, T), label=label)
ax.set_xlabel("Speed $v$ (m/s)")
ax.set_ylabel(r"Probability density $f(v)$")
ax.set_xlim(0, 4000)
ax.grid(True)
ax.legend(frameon=False)
plt.tight_layout()
plt.show()
plt.close(fig)
Maxwell–Boltzmann speed distributions for different gases and temperatures.
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 .