Chemistry Labs

Physical chemistry

Distribution functions, partition functions

How molecules are shared among speeds and energy levels: the Boltzmann weight, the Maxwell–Boltzmann speed law, and the partition function that packages a molecule's accessible states into one number.

IntuitionIntuition: temperature is a rule for sharing

A gas at 300 K contains roughly 10²³ molecules, yet nobody needs to know where each one is. What survives from that microscopic chaos is a distribution: the fraction of molecules in each speed range or energy level. Heating the sample does not simply "add energy"; it redistributes population — pushing a few more molecules into high-energy states while thinning the crowd at the bottom. The sharing rule turns out to be universal: each state is weighted by e^(−ε/k_BT).

For speeds in an ideal gas this rule becomes the Maxwell–Boltzmann law, a bell-shaped curve that flattens and shifts to higher v as T rises. Crucially, the curve never truly dies at high speed: it is exactly the exponentially thin "tail" of fast molecules that supplies the reactants for activated chemistry.

Compare N₂ at 100, 300 and 1000 K, then three gases (H₂, N₂, CO₂) at the same temperature. Watch the maximum shift as √T and as 1/√m.

SchoolSchool: which molecules are fast, which are excited?

Definition: The Boltzmann distribution

At thermal equilibrium at temperature T, the probability that a molecule occupies a state of energy ε_i is proportional to e^(−ε_i/k_BT), with k_B = 1.381×10⁻²³ J K⁻¹. States higher in energy are occupied, but exponentially more sparsely; the ratio of two populations depends only on the energy gap: N_i/N_j = e^(−(ε_i−ε_j)/k_BT).

At room temperature k_BT ≈ 4.1×10⁻²¹ J ≈ 25.7 meV (2.5 kJ mol⁻¹). Any level lying several times k_BT above the ground state is essentially empty — which is why most molecules sit in their electronic ground state and lowest vibrational level at 300 K. Temperature is what relaxes this censorship.

NiNj=gigjexp⁡ ⁣(−εi−εjkBT)Pi=gi e−εi/kBTq\frac{N_i}{N_j}=\frac{g_i}{g_j}\exp\!\left(-\frac{\varepsilon_i-\varepsilon_j}{k_BT}\right)\qquad P_i=\frac{g_i\,e^{-\varepsilon_i/k_BT}}{q}

Example: An excited spin population

A spectroscopic measurement places an excited level Δε = 500 cm⁻¹ above the ground state (both non-degenerate). What fraction of molecules occupies it at 300 K?

Solution

Convert to temperature units first: Δε/k_B = hc(500 cm⁻¹)/k_B ≈ 720 K. Then P_exc/P_0 = e^(−720/300) = e^(−2.4) ≈ 0.09 — about 9%. The lesson: a few hundred cm⁻¹ is enough to keep ~90% of the population in the ground state, yet 9% of an excited state is easily detected by spectroscopy.

UndergraduateUniversity: the partition function as a generator

The Boltzmann factor gives ratios; to get absolute populations one must normalise. The sum of Boltzmann weights over all states — the partition function q — is the normalising constant, but it is much more: nearly every thermodynamic property of an ideal gas can be generated from q and its temperature derivatives.

q=∑igi e−εi/kBT=∫0∞g(ε) e−ε/kBT dε(continuum)q=\sum_i g_i\,e^{-\varepsilon_i/k_BT}=\int_0^{\infty}g(\varepsilon)\,e^{-\varepsilon/k_BT}\,\mathrm{d}\varepsilon\quad(\text{continuum})

q counts the thermally accessible states, weighted by availability. At low T, q → g₀ (only the ground state counts); at high T, q grows — for rotation q_rot ≈ T/θ_rot grows linearly, for translation q_trans ∝ T^(3/2). Each degree of freedom contributes its own factor, so a molecule's total partition function factorises.

qtrans=VΛ3,  Λ=h2πmkBT;qrot≈Tσθrot;qvib=11−e−θvib/Tq_{\mathrm{trans}}=\frac{V}{\Lambda^3},\;\Lambda=\frac{h}{\sqrt{2\pi m k_BT}};\quad q_{\mathrm{rot}}\approx\frac{T}{\sigma\theta_{\mathrm{rot}}};\quad q_{\mathrm{vib}}=\frac{1}{1-e^{-\theta_{\mathrm{vib}}/T}}
Characteristic temperatures for a few molecules
Moleculeθ_rot (K)θ_vib (K)
H₂85.46215
N₂2.883390
CO₂ (bend)0.56960
Discrete version of the same law: P(J) for CO at three temperatures and for three molecules at 300 K. The maximum moves to higher J as T/θ_rot grows.

AdvancedAdvanced: degeneracies, limits, and where the law comes from

Two refinements complete the picture. First, degeneracy: rotational level J is (2J+1)-fold degenerate, so populations P(J) first rise before the Boltzmann tail cuts them — the maximum sits at J_max ≈ √(T/2θ_rot) − 1/2. Second, the classical limit: when k_BT exceeds typical level spacings, the quantum sum becomes an integral and q acquires simple power-law forms — this is why heat capacities approach classical values at high T.

f(v)=4π(m2πkBT)3/2v2e−mv2/2kBT;vmp=2kBTm,  vˉ=8kBTπm,  vrms=3kBTmf(v)=4\pi\left(\frac{m}{2\pi k_BT}\right)^{3/2}v^2 e^{-mv^2/2k_BT};\quad v_{\mathrm{mp}}=\sqrt{\frac{2k_BT}{m}},\;\bar v=\sqrt{\frac{8k_BT}{\pi m}},\;v_{\mathrm{rms}}=\sqrt{\frac{3k_BT}{m}}

References

  • Physical Chemistry: Quanta, Matter, and Change · P. Atkins, J. de Paula, R. Friedman, 2014
  • Statistical Mechanics · D. A. McQuarrie, 2000