Chemistry‹›⌂ 0:00 studied

Module 24 · 5 min read · Free chapter

Statistical thermodynamics: configurations, the Boltzmann distribution and molecular partition functions

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: from molecules to thermodynamics

Classical thermodynamics works with bulk quantities like U, S and G but says nothing about molecules. Spectroscopy, on the other hand, gives molecular energy levels. Statistical thermodynamics is the bridge: it takes the levels, asks how 10²³ molecules share the available energy, and returns U, S, G and K.

The central quantity is the partition function, a weighted count of how many energy states the molecules can reach at a given temperature.

Configurations, weight and the Boltzmann distribution

Configuration. A list {n₀, n₁, n₂, …} saying how many of N molecules sit in each level. Each configuration can be realised by many microstates. Its weight is

W=N!n0! n1! n2!⋯W = \frac{N!}{n_0!\, n_1!\, n_2! \cdots}

Example. Four molecules sharing 3 units of energy over levels 0, 1, 2, 3: the configuration {2, 1, 0, 1} (two in level 0, one in level 1, one in level 3) has W = 4!⁄(2! 1! 1!) = 12, while {3, 0, 0, 1} has W = 4. For large N one configuration has overwhelmingly the largest W. This is the dominant configuration, and the system is almost always found in it.

Stirling's approximation. For large N, ln⁡N!≈Nln⁡N−N\ln N! \approx N\ln N - N.

Boltzmann distribution. Maximising ln W with N and total energy E fixed (Lagrange multipliers) gives

niN=gi e−εi/kTq,q=∑igi e−εi/kT\frac{n_i}{N} = \frac{g_i\, e^{-\varepsilon_i/kT}}{q}, \qquad q = \sum_i g_i\, e^{-\varepsilon_i/kT}

gᵢ is the degeneracy of level i. The ratio of two populations is njni=gjgi e−(εj−εi)/kT\dfrac{n_j}{n_i} = \dfrac{g_j}{g_i}\, e^{-(\varepsilon_j - \varepsilon_i)/kT}.

Boltzmann's entropy. S=kln⁡WS = k \ln W. A perfect crystal at 0 K has W = 1 and S = 0, the statistical form of the third law. Residual entropy, such as R ln 2 for disordered CO, comes from W > 1 at 0 K.

Molecular partition functions

Meaning. q is roughly the number of states thermally accessible at temperature T. At T → 0, q → g₀; as T rises, q grows.

If the energy is a sum of independent parts, q factorises: q=qtrans qrot qvib qelecq = q_{\text{trans}}\, q_{\text{rot}}\, q_{\text{vib}}\, q_{\text{elec}}.

Motion Partition function Typical size at 298 K
Translation qtrans=VΛ3q_{\text{trans}} = \dfrac{V}{\Lambda^3}, Λ=h2πmkT\Lambda = \dfrac{h}{\sqrt{2\pi m kT}} about 10⁷ per molecule for Ar at 1 bar
Rotation (linear) qrot=kTσhcBq_{\text{rot}} = \dfrac{kT}{\sigma h c B} HCl about 20, N₂ about 52
Vibration qvib=11−e−hcν~/kTq_{\text{vib}} = \dfrac{1}{1 - e^{-hc\tilde{\nu}/kT}} HCl 1.00, I₂ 1.55
Electronic qelec≈g0q_{\text{elec}} \approx g_0 1 for most molecules, 2 for NO or a doublet atom

Symmetry number σ. σ = 1 for HCl or CO and σ = 2 for H₂, N₂ or CO₂. A homonuclear molecule looks the same after a 180° turn, so only half the rotational states are distinct.

Worked numbers at 298 K. kT⁄hc = 207 cm⁻¹.

  1. HCl, B = 10.6 cm⁻¹: q_rot = 207⁄10.6 ≈ 20.
  2. N₂, B = 2.0 cm⁻¹, σ = 2: q_rot = 207⁄4.0 ≈ 52.
  3. HCl, ν̃ = 2990 cm⁻¹: hcν̃⁄kT ≈ 14.4, so q_vib ≈ 1.000. Almost every molecule is in v = 0.
  4. I₂, ν̃ = 214 cm⁻¹: hcν̃⁄kT ≈ 1.03, so q_vib ≈ 1.55. A third of molecules are vibrationally excited.

The huge q_trans shows why molecules almost never compete for the same translational state, so Boltzmann statistics works for ordinary gases.

From partition functions to thermodynamics

For N independent molecules the canonical partition function is Q=qNQ = q^N for distinguishable (localised, as in a crystal) particles and Q=qNN!Q = \dfrac{q^N}{N!} for indistinguishable gas molecules.

Key relations.

U−U(0)=kT2(∂ln⁡Q∂T)V,A−A(0)=−kTln⁡QU - U(0) = kT^2\left(\frac{\partial \ln Q}{\partial T}\right)_V, \qquad A - A(0) = -kT\ln Q
S=U−U(0)T+kln⁡Q,p=kT(∂ln⁡Q∂V)TS = \frac{U - U(0)}{T} + k\ln Q, \qquad p = kT\left(\frac{\partial \ln Q}{\partial V}\right)_T

Checks that it works.

  1. Since q_trans is proportional to V, p=NkTVp = \dfrac{NkT}{V}: the ideal-gas law falls out.
  2. Since q_trans is proportional to T3/2T^{3/2}, U=32RTU = \dfrac{3}{2}RT per mole for translation.
  3. A linear rotor with q_rot proportional to T adds RT; a non-linear one adds (3⁄2)RT.
  4. A fully active vibration adds RT (kinetic plus potential), but only when kT is much greater than hcν̃.

Heat capacity of a diatomic gas. At room temperature translation (3⁄2 R) plus rotation (R) are fully active and vibration is frozen, so CV,m≈52RC_{V,m} \approx \dfrac{5}{2}R. Only at high temperature does it climb towards (7⁄2)R.

Equilibrium constant. For a gas reaction, K is fixed by the standard molar partition functions and the energy change at 0 K:

K=∏J(qJ,m∘NA)νJe−ΔrE0/RTK = \prod_J \left(\frac{q^\circ_{J,m}}{N_A}\right)^{\nu_J} e^{-\Delta_r E_0/RT}

This lets K be computed from spectroscopic data alone.

Exam lens: how NET and JAM ask this

Typical questions: weight of a configuration; population ratio of two levels with degeneracies; partition function of a two-level or three-level system; q_rot with the right symmetry number; which motion is frozen at room temperature; deriving U or Cv from a given q; residual entropy of CO or N₂O (R ln 2).

Quick revision

  • W = N!⁄Πnᵢ!; ln N! ≈ N ln N − N; S = k ln W.
  • niN=gie−εi/kTq\dfrac{n_i}{N} = \dfrac{g_i e^{-\varepsilon_i/kT}}{q}; q=∑gie−εi/kTq = \sum g_i e^{-\varepsilon_i/kT}.
  • q_trans = V⁄Λ³; q_rot = kT⁄(σhcB); qvib=11−e−hcν~/kTq_{\text{vib}} = \dfrac{1}{1 - e^{-hc\tilde{\nu}/kT}}; q_elec ≈ g₀.
  • Q = qᴺ⁄N! (gas); U = kT²(∂ln Q⁄∂T); A = −kT ln Q.
  • 298 K: kT⁄hc = 207 cm⁻¹; diatomic Cv ≈ (5⁄2)R.

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. Define configuration, weight and dominant configuration. Derive the Boltzmann distribution law and state its constraints.

    Show answer points
    • Configuration {n₀, n₁, …}; weight W = N!/Πnᵢ!
    • Large N: one configuration has overwhelming W (dominant)
    • Maximise ln W with Σnᵢ = N and Σnᵢεᵢ = E fixed
    • Stirling: ln N! ≈ N ln N − N; Lagrange multipliers α, β
    • nᵢ/N = gᵢe^(−εᵢ/kT)/q, β = 1/kT
    • S = k ln W links to entropy
  2. Write the translational, rotational, vibrational and electronic partition functions. Calculate q_rot for HCl (B = 10.6 cm⁻¹) and N₂ (B = 2.0 cm⁻¹) at 298 K.

    Show answer points
    • q_trans = V/Λ³, Λ = h/√(2πmkT)
    • q_rot = kT/(σhcB) (linear, high T); σ = 1 hetero, 2 homo
    • q_vib = 1/(1 − e^(−hcν̃/kT)); q_elec ≈ g₀
    • kT/hc at 298 K = 207 cm⁻¹
    • HCl: 207/10.6 ≈ 20
    • N₂: 207/(2 × 2.0) ≈ 52
  3. Show how U and p follow from the canonical partition function, and derive the ideal gas law and the translational energy of a monatomic gas.

    Show answer points
    • Q = qᴺ/N! for indistinguishable molecules
    • U − U(0) = kT²(∂ln Q/∂T)_V; p = kT(∂ln Q/∂V)_T
    • q_trans ∝ V T^(3/2)
    • p = NkT/V: ideal-gas law
    • U = (3/2)NkT = (3/2)RT per mole
    • Cv = (3/2)R
  4. Compare the vibrational partition functions of HCl (2990 cm⁻¹) and I₂ (214 cm⁻¹) at 298 K. Why is Cv of most diatomic gases about (5/2)R at room temperature?

    Show answer points
    • hcν̃/kT: HCl 14.4, I₂ 1.03
    • q_vib HCl ≈ 1.000; I₂ ≈ 1.55
    • HCl vibration frozen; I₂ partly excited
    • Translation 3/2 R + rotation R fully active
    • Vibration contributes ≈ 0 for stiff light bonds → Cv ≈ 5/2 R
    • At high T approaches 7/2 R
  5. A system has two non-degenerate levels 0 and ε. Write q and the fraction in the upper level. What happens as T → ∞?

    Show answer points
    • q = 1 + e^(−ε/kT)
    • Upper fraction = e^(−ε/kT)/(1 + e^(−ε/kT))
    • T → 0: all in lower level, q → 1
    • T → ∞: q → 2, populations equal (½ each), never inverted

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

More in this module: Advanced physical chemistry

Official sources

Facts in this chapter were checked against these official sources.

  1. IGNOU MSc MCH-013 Block 1: Gibbs and Helmholtz functions; introduction to statistical thermodynamics
  2. LibreTexts Chemistry, Physical and Theoretical Chemistry: statistical thermodynamics and partition functions