Skip to content

Statistical Mechanics

Definition 1 (Microstate): A complete specification of the state of a system, including the positions and momenta of all particles (or, in quantum mechanics, the quantum numbers of each particle).

Definition 2 (Macrostate): A specification of the system by macroscopic variables (e.g., NN, VV, EE, TT, PP).

A single macrostate corresponds to a vast number of microstates. The number of microstates WW for a given macrostate is related to entropy:

S=kBlnWS = k_B \ln W

Definition 3 (Microcanonical Ensemble): A collection of isolated systems, all with the same NN, VV, and EE. Every accessible microstate is equally probable.

For NN distinguishable particles distributed among energy levels εi\varepsilon_i with occupation numbers nin_i:

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

subject to ini=N\sum_i n_i = N and iniεi=E\sum_i n_i \varepsilon_i = E.

Theorem 1 (Boltzmann Distribution): In a system at temperature TT, the probability of finding a particle in state ii with energy εi\varepsilon_i is:

pi=eεi/kBTqp_i = \frac{e^{-\varepsilon_i/k_BT}}{q}

where qq is the molecular partition function:

q=ieεi/kBTq = \sum_i e^{-\varepsilon_i/k_BT}

The most probable distribution maximizes lnW\ln W subject to the constraints ni=N\sum n_i = N and niεi=E\sum n_i \varepsilon_i = E. Using Lagrange multipliers:

ni=Neεi/kBTjeεj/kBTn_i^* = N\frac{e^{-\varepsilon_i/k_BT}}{\sum_j e^{-\varepsilon_j/k_BT}}

  • States with lower energy are more populated.
  • The ratio of populations of two states:

njni=e(εjεi)/kBT\frac{n_j}{n_i} = e^{-(\varepsilon_j - \varepsilon_i)/k_BT}

Example 1: At 300 K, the population ratio of the first excited state (ε1\varepsilon_1) to the ground state (ε0=0\varepsilon_0 = 0) for an electronic transition of ε1=5×1019\varepsilon_1 = 5 \times 10^{-19} J:

n1n0=eε1/kBT=e5×1019/(1.381×1023×300)=e120.70\frac{n_1}{n_0} = e^{-\varepsilon_1/k_BT} = e^{-5 \times 10^{-19}/(1.381 \times 10^{-23} \times 300)} = e^{-120.7} \approx 0

Essentially no population in the excited electronic state at room temperature.

\blacksquare

Definition 4 (Canonical Ensemble): A collection of closed systems in thermal contact with a heat bath at temperature TT. All systems have the same NN, VV, TT but varying EE.

Theorem 2 (Canonical Partition Function): For NN distinguishable particles:

Q=jeEj/kBTQ = \sum_j e^{-E_j/k_BT}

where EjE_j is the energy of the jj-th system microstate. For NN indistinguishable particles:

Q=qNN!Q = \frac{q^N}{N!}

where qq is the molecular partition function. The N!N! accounts for indistinguishability (Boltzmann statistics, valid when nigin_i \ll g_i for all states).

The total molecular partition function factors into contributions:

q=qtransqrotqvibqelecq = q_{\text{trans}} \cdot q_{\text{rot}} \cdot q_{\text{vib}} \cdot q_{\text{elec}}

Theorem 3 (Translational Partition Function): For a particle of mass mm in volume VV:

qtrans=(2πmkBTh2)3/2Vq_{\text{trans}} = \left(\frac{2\pi m k_B T}{h^2}\right)^{3/2}V

This follows from treating translational motion as a particle in a 3D box and summing over energy levels (or integrating in the classical limit).

Example 2: Calculate qtransq_{\text{trans}} for N2\text{N}_2 (m=4.65×1026m = 4.65 \times 10^{-26} kg) at 298 K in V=0.0248V = 0.0248 m3^3 (1 mol at 1 atm).

Λ=h2πmkBT=6.626×10342π×4.65×1026×1.381×1023×298=1.76×1011 m\Lambda = \frac{h}{\sqrt{2\pi m k_B T}} = \frac{6.626 \times 10^{-34}}{\sqrt{2\pi \times 4.65 \times 10^{-26} \times 1.381 \times 10^{-23} \times 298}} = 1.76 \times 10^{-11} \text{ m}

qtrans=VΛ3=0.0248(1.76×1011)3=4.55×1028q_{\text{trans}} = \frac{V}{\Lambda^3} = \frac{0.0248}{(1.76 \times 10^{-11})^3} = 4.55 \times 10^{28}

\blacksquare

Theorem 4 (Rotational Partition Function): For a linear molecule with moment of inertia II:

qrot=TσΘrotq_{\text{rot}} = \frac{T}{\sigma\Theta_{\text{rot}}}

where Θrot=22IkB\Theta_{\text{rot}} = \frac{\hbar^2}{2Ik_B} is the rotational temperature and σ\sigma is the symmetry number (σ=1\sigma = 1 for heteronuclear, σ=2\sigma = 2 for homonuclear diatomics).

For a nonlinear molecule:

qrot=πσ(T3ΘAΘBΘC)1/2q_{\text{rot}} = \frac{\sqrt{\pi}}{\sigma}\left(\frac{T^3}{\Theta_A\,\Theta_B\,\Theta_C}\right)^{1/2}

where ΘA\Theta_A, ΘB\Theta_B, ΘC\Theta_C are the rotational temperatures about the three principal axes.

Theorem 5 (Vibrational Partition Function): For a harmonic oscillator with frequency ν\nu:

qvib=ehν/(2kBT)1ehν/(kBT)q_{\text{vib}} = \frac{e^{-h\nu/(2k_BT)}}{1 - e^{-h\nu/(k_BT)}}

where Θvib=hν/kB\Theta_{\text{vib}} = h\nu/k_B is the vibrational temperature. For the zero of energy at the bottom of the potential well (excluding zero-point energy):

qvib=11eΘvib/Tq_{\text{vib}} = \frac{1}{1 - e^{-\Theta_{\text{vib}}/T}}

For a molecule with 3N63N - 6 (nonlinear) or 3N53N - 5 (linear) vibrational modes:

qvib=iqvib,iq_{\text{vib}} = \prod_i q_{\text{vib},i}

Theorem 6 (Electronic Partition Function):

qelec=g0eε0/kBT+g1eε1/kBT+q_{\text{elec}} = g_0\,e^{-\varepsilon_0/k_BT} + g_1\,e^{-\varepsilon_1/k_BT} + \cdots

where gig_i is the degeneracy of level ii. For most molecules at ordinary temperatures, only the ground state contributes (qelecg0q_{\text{elec}} \approx g_0).

For atoms with accessible excited states (e.g., halogens), qelec>g0q_{\text{elec}} > g_0.

5. Thermodynamic Functions from Partition Functions

Section titled “5. Thermodynamic Functions from Partition Functions”

Theorem 7 (Internal Energy): For a system of NN molecules:

UU0=NkBT2(lnqT)VU - U_0 = Nk_BT^2\left(\frac{\partial \ln q}{\partial T}\right)_V

For each contribution:

Utrans=32NkBT,Urot,linear=NkBT,Urot,nonlinear=32NkBTU_{\text{trans}} = \frac{3}{2}Nk_BT, \quad U_{\text{rot,linear}} = Nk_BT, \quad U_{\text{rot,nonlinear}} = \frac{3}{2}Nk_BT

Uvib=iNhνiehνi/kBT1U_{\text{vib}} = \sum_i \frac{N h\nu_i}{e^{h\nu_i/k_BT} - 1}

Theorem 8 (Entropy from Partition Function):

S=UU0T+NkBlnq+NkB(distinguishable)S = \frac{U - U_0}{T} + Nk_B\ln q + Nk_B \quad (\text{distinguishable})

S=UU0T+NkBlnqN+NkB(indistinguishable)S = \frac{U - U_0}{T} + Nk_B\ln\frac{q}{N} + Nk_B \quad (\text{indistinguishable})

AA0=NkBTlnq(distinguishable)A - A_0 = -Nk_BT\ln q \quad (\text{distinguishable})

AA0=NkBTlnqNN!(indistinguishable)A - A_0 = -Nk_BT\ln\frac{q^N}{N!} \quad (\text{indistinguishable})

GG0=NkBTlnqN+NkBT(V/N)(lnqV)TG - G_0 = -Nk_BT\ln\frac{q}{N} + Nk_BT(V/N)\left(\frac{\partial \ln q}{\partial V}\right)_T

For an ideal gas:

GG0=nRTlnqNA+nRTG - G_0 = -nRT\ln\frac{q}{N_A} + nRT

Theorem 9 (Chemical Potential): For an ideal gas:

μ=kBTlnqN=kBTlnqNAP/kBT+kBTlnP=μ+kBTlnPP\mu = -k_BT\ln\frac{q}{N} = -k_BT\ln\frac{q}{N_A P/k_BT} + k_BT\ln P^\circ = \mu^\circ + k_BT\ln\frac{P}{P^\circ}

Theorem 10 (Sackur-Tetrode Equation): The translational entropy of NN indistinguishable ideal gas particles:

Strans=NkB[52+ln(VN(2πmkBTh2)3/2)]S_{\text{trans}} = Nk_B\left[\frac{5}{2} + \ln\left(\frac{V}{N}\left(\frac{2\pi m k_B T}{h^2}\right)^{3/2}\right)\right]

For nn moles:

Strans=nR[52+ln((2πmkBT)3/2kBTPh3)]S_{\text{trans}} = nR\left[\frac{5}{2} + \ln\left(\frac{(2\pi m k_B T)^{3/2} k_B T}{P\,h^3}\right)\right]

At T=298.15T = 298.15 K, P=1P = 1 bar:

Sm=R[52+ln((2πmkBT)3/2kBTPh3)]+Srot+Svib+SelecS^\circ_m = R\left[\frac{5}{2} + \ln\left(\frac{(2\pi m k_B T)^{3/2} k_B T}{P^\circ\,h^3}\right)\right] + S_{\text{rot}} + S_{\text{vib}} + S_{\text{elec}}

7.1 Equilibrium Constant from Partition Functions

Section titled “7.1 Equilibrium Constant from Partition Functions”

Theorem 11 (Statistical Equilibrium Constant): For the reaction 0=iνiAi0 = \sum_i \nu_i A_i:

K=i(qiNA)νieΔE0/RTK = \prod_i \left(\frac{q_i}{N_A}\right)^{\nu_i}\,e^{-\Delta E_0/RT}

where ΔE0\Delta E_0 is the energy difference between products and reactants at T=0T = 0.

The equilibrium constant relates to thermodynamic quantities:

ΔrG=RTlnK=ΔrHTΔrS\Delta_r G^\circ = -RT\ln K = \Delta_r H^\circ - T\Delta_r S^\circ

From statistical mechanics:

ΔrH=ΔE0+Δ(iνikBT2lnqiT)\Delta_r H^\circ = \Delta E_0 + \Delta\left(\sum_i \nu_i k_B T^2 \frac{\partial \ln q_i}{\partial T}\right)

ΔrS=R[iνilnqieNA+iνiTlnqiT]\Delta_r S^\circ = R\left[\sum_i \nu_i \ln\frac{q_i e}{N_A} + \sum_i \nu_i T\frac{\partial \ln q_i}{\partial T}\right]

The equilibrium isotope effect arises from differences in vibrational partition functions (mass dependence of Θvib\Theta_{\text{vib}}):

KHKDe(Θvib,HΘvib,D)/T\frac{K_H}{K_D} \approx e^{-(\Theta_{\text{vib},H} - \Theta_{\text{vib},D})/T}

8.1 Identical Particles and Indistinguishability

Section titled “8.1 Identical Particles and Indistinguishability”

Theorem 12: Quantum mechanically, identical particles are indistinguishable. The wavefunction must be:

  • Symmetric under exchange for bosons (integer spin): Ψ(1,2)=+Ψ(2,1)\Psi(1,2) = +\Psi(2,1)
  • Antisymmetric under exchange for fermions (half-integer spin): Ψ(1,2)=Ψ(2,1)\Psi(1,2) = -\Psi(2,1)

Definition 5 (Bose-Einstein Distribution): For bosons:

ni=1e(εiμ)/kBT1\langle n_i \rangle = \frac{1}{e^{(\varepsilon_i - \mu)/k_BT} - 1}

where ni\langle n_i \rangle is the mean occupation number of state ii and με0\mu \leq \varepsilon_0.

Applications:

  • Bose-Einstein condensation: Below a critical temperature, a macroscopic number of particles occupies the ground state.
  • Blackbody radiation: Planck distribution (photons are bosons).

Theorem 13 (Planck Distribution): Energy density of blackbody radiation:

u(ν)dν=8πhν3c31ehν/kBT1dνu(\nu)\,d\nu = \frac{8\pi h\nu^3}{c^3}\frac{1}{e^{h\nu/k_BT} - 1}\,d\nu

Definition 6 (Fermi-Dirac Distribution): For fermions:

ni=1e(εiμ)/kBT+1\langle n_i \rangle = \frac{1}{e^{(\varepsilon_i - \mu)/k_BT} + 1}

At T=0T = 0: ni=1\langle n_i \rangle = 1 for εi<μ=εF\varepsilon_i < \mu = \varepsilon_F (Fermi energy) and ni=0\langle n_i \rangle = 0 for εi>εF\varepsilon_i > \varepsilon_F.

The Fermi energy:

εF=22m(6π2NV)2/3\varepsilon_F = \frac{\hbar^2}{2m}\left(\frac{6\pi^2 N}{V}\right)^{2/3}

When e(εμ)/kBT1e^{(\varepsilon - \mu)/k_BT} \gg 1 (dilute, high-temperature limit), both Bose-Einstein and Fermi-Dirac distributions reduce to the Boltzmann distribution:

nie(εiμ)/kBT\langle n_i \rangle \approx e^{-(\varepsilon_i - \mu)/k_BT}

This is the condition nigin_i \ll g_i (many more states than particles), which holds for most gases at ordinary conditions.

Definition 7 (Electron Gas): In metals, conduction electrons are treated as a Fermi gas.

The Fermi-Dirac distribution gives:

  • At T=0T = 0: All states below εF\varepsilon_F are filled.
  • At finite TT: Electrons near εF\varepsilon_F are thermally excited; the distribution smears over kBT\sim k_BT.

The electronic heat capacity:

CV,elec=π22NkBTTFC_{V,\text{elec}} = \frac{\pi^2}{2}Nk_B\frac{T}{T_F}

where TF=εF/kB104T_F = \varepsilon_F/k_B \sim 10^4 K for metals. This explains why electronic contributions to heat capacity are much smaller than the classical prediction CV=32NkBC_V = \frac{3}{2}Nk_B.

Theorem 14 (Equipartition Theorem): Each quadratic degree of freedom contributes 12kBT\frac{1}{2}k_BT to the average energy per particle.

Degree of FreedomContribution to UU per mole
Translation (x,y,zx, y, z)32RT\frac{3}{2}RT
Rotation (linear molecule)RTRT
Rotation (nonlinear)32RT\frac{3}{2}RT
Vibration (each mode)RTRT (kinetic + potential)

The equipartition theorem is classical and fails when kBThνk_BT \ll h\nu (quantized energy levels are not approximately continuous). This explains the temperature dependence of heat capacities and the “freezing out” of vibrational modes at low TT.

CV,trans=32NkB=32nRC_{V,\text{trans}} = \frac{3}{2}Nk_B = \frac{3}{2}nR

Constant and equal to the equipartition value at all temperatures where the gas behaves ideally.

For a linear molecule:

CV,rot={0TΘrot32nRTΘrotC_{V,\text{rot}} = \begin{cases} 0 & T \ll \Theta_{\text{rot}} \\ \frac{3}{2}nR & T \gg \Theta_{\text{rot}} \end{cases}

Most diatomics have Θrot2\Theta_{\text{rot}} \sim 21010 K, so rotational heat capacity is fully excited at room temperature. Exception: H2\text{H}_2 has Θrot=85\Theta_{\text{rot}} = 85 K.

For a single harmonic mode:

CV,vib=nR(ΘvibT)2eΘvib/T(eΘvib/T1)2C_{V,\text{vib}} = nR\left(\frac{\Theta_{\text{vib}}}{T}\right)^2 \frac{e^{\Theta_{\text{vib}}/T}}{(e^{\Theta_{\text{vib}}/T} - 1)^2}

This is the Einstein model. At TΘvibT \gg \Theta_{\text{vib}}: CV,vibnRC_{V,\text{vib}} \to nR. At TΘvibT \ll \Theta_{\text{vib}}: CV,vib0C_{V,\text{vib}} \to 0.

Definition 8 (Grand Canonical Ensemble): Systems in contact with both a heat bath and a particle reservoir. Each system has the same VV, TT, μ\mu but varying NN and EE.

Theorem 15 (Grand Partition Function):

Ξ=N=0eNμ/kBTQ(N,V,T)=ini=0eni(μεi)/kBT\Xi = \sum_{N=0}^{\infty} e^{N\mu/k_BT}Q(N,V,T) = \prod_i \sum_{n_i=0}^{\infty} e^{n_i(\mu - \varepsilon_i)/k_BT}

For fermions: Ξ=i(1+e(μεi)/kBT)\Xi = \prod_i(1 + e^{(\mu - \varepsilon_i)/k_BT})

For bosons: Ξ=i(1e(μεi)/kBT)1\Xi = \prod_i(1 - e^{(\mu - \varepsilon_i)/k_BT})^{-1}

In the canonical ensemble:

(ΔE)2=E2E2=kBT2CV\langle(\Delta E)^2\rangle = \langle E^2\rangle - \langle E\rangle^2 = k_BT^2 C_V

The relative fluctuation (ΔE)2/E21/N0\langle(\Delta E)^2\rangle/\langle E\rangle^2 \sim 1/N \to 0 for macroscopic systems.

In the grand canonical ensemble:

(ΔN)2=kBT(Nμ)T,V=κTNkBT\langle(\Delta N)^2\rangle = k_BT\left(\frac{\partial N}{\partial \mu}\right)_{T,V} = \kappa_T\,N\,k_BT

where κT\kappa_T is the isothermal compressibility. Near the critical point, fluctuations diverge, leading to critical opalescence.

  1. Confusing the canonical and microcanonical ensembles. The microcanonical ensemble fixes EE; the canonical fixes TT. Fix: Use microcanonical for isolated systems and canonical for systems in contact with a heat bath.
  2. Forgetting the N!N! for indistinguishable particles. Q=qN/N!Q = q^N/N! (not Q=qNQ = q^N) for indistinguishable particles. Fix: Always include N!N! for gases; omit for solids (localized particles).
  3. Using classical equipartition for vibrational modes at low TT. Vibrational heat capacity is not constant; it freezes out below Θvib\Theta_{\text{vib}}. Fix: Use the Einstein model or full quantum partition function.
  4. Wrong symmetry number for rotation. σ=2\sigma = 2 for H2\text{H}_2 but σ=1\sigma = 1 for HD. Fix: Count the number of indistinguishable orientations of the molecule.
  5. Confusing ε0\varepsilon_0 and ΔE0\Delta E_0. ε0\varepsilon_0 is the ground state energy; ΔE0\Delta E_0 is the energy difference between products and reactants at T=0T = 0. Fix: In the equilibrium constant expression, ΔE0\Delta E_0 appears, not individual ε0\varepsilon_0 values.
  6. Applying Boltzmann statistics when quantum effects matter. The classical limit requires nigin_i \ll g_i. Fix: Use Bose-Einstein or Fermi-Dirac statistics at low TT or high density (e.g., electrons in metals, liquid helium).
  7. Mixing up energy zero-points. The vibrational partition function depends on where the zero of energy is defined. Fix: Be consistent; if U0U_0 is the zero-point energy, account for it in all thermodynamic functions.
  • Microstate vs macrostate: One macrostate corresponds to WW microstates; S=kBlnWS = k_B \ln W.
  • Boltzmann distribution: pi=eεi/kBT/qp_i = e^{-\varepsilon_i/k_BT}/q; connects molecular properties to TT.
  • Partition function: q=eεi/kBTq = \sum e^{-\varepsilon_i/k_BT}; factors into translational, rotational, vibrational, and electronic contributions.
  • Thermodynamic functions from qq: UU, SS, AA, GG, μ\mu, and KK can all be expressed.
  • Sackur-Tetrode: Translational entropy of ideal gases from quantum mechanics.
  • Quantum statistics: Bose-Einstein (bosons) and Fermi-Dirac (fermions); reduce to Boltzmann at high TT and low density.
  • Equipartition: Each quadratic degree of freedom contributes 12kBT\frac{1}{2}k_BT; fails for quantum regime.

Example 1: Calculating Entropy of an Ideal Gas

Section titled “Example 1: Calculating Entropy of an Ideal Gas”

Problem: Calculate the molar entropy of neon (Ne, monatomic, M = 20.18 g/mol) at 298 K and 1 atm using the Sackur-Tetrode equation. Solution: S = R[ln((2pi m k_B T/h^2)^(3/2) * (k_B T/P) * e^(5/2))]. With standard values, m = 20.18 x 10^-3 / 6.022e23 = 3.35 x 10^-26 kg. After substitution: S_m = 146.2 J K^-1 mol^-1 (literature value: 146.3 J K^-1 mol^-1).

Example 2: Boltzmann Distribution for a Two-Level System

Section titled “Example 2: Boltzmann Distribution for a Two-Level System”

Problem: A molecule has two energy levels: epsilon_0 = 0 and epsilon_1 = 5.0 x 10^-21 J. At T = 300 K, calculate the fraction of molecules in the excited state. Solution: Boltzmann factor = exp(-epsilon_1/k_B T) = exp(-5.0e-21/(1.38e-23 x 300)) = exp(-1.208) = 0.299. Fraction in excited state = 0.299/(1 + 0.299) = 0.230 or 23.0%.

TopicSiteLink
ThermodynamicsWyattsNotesView
Quantum ChemistryWyattsNotesView
Solid-State ChemistryWyattsNotesView
Statistical Mechanics — MIT 8.044MIT OCWView