Molecular Partition Functions
Molecular partition functions factor the motion and internal structure of a molecule into translational, rotational, vibrational, and electronic contributions. This is where quantum energy levels become practical thermodynamic tools.
For many gases, the separability approximation is accurate enough that one can write the molecular partition function as a product. Each factor has a distinct temperature dependence, which explains heat capacities, entropies, and equilibrium constants.
Figure: Discrete spectral lines as observable evidence of molecular and atomic energy-level spacing. Image: Wikimedia Commons, OrangeDog, CC BY-SA 3.0.
Definitions
When molecular energy is approximately separable,
the molecular partition function factors:
The translational partition function for one molecule in volume is
where the thermal wavelength is
For a linear rigid rotor at temperatures high compared with its rotational temperature,
where is the symmetry number and
For a nonlinear rigid rotor,
For a harmonic oscillator vibration with vibrational temperature ,
when the zero of energy is set at the vibrational ground state. Including zero-point energy uses a different convention:
The electronic partition function is
Key results
Translational motion is usually the largest contributor to entropy because is proportional to volume and to :
For an ideal monatomic gas, translational energy gives
and
For a linear molecule at sufficiently high temperature, rotational energy contributes
For a nonlinear molecule,
A harmonic vibrational mode contributes
above the chosen zero of energy, and
Vibrations with are mostly frozen out, while rotations with small are thermally active at ordinary temperatures.
The symmetry number prevents overcounting indistinguishable rotational orientations. Homonuclear diatomics have , heteronuclear diatomics usually have .
The factorization is an approximation, not a theorem for all molecules. It assumes that the total molecular energy is a sum of nearly independent contributions. Rotation-vibration coupling, anharmonicity, electronic excitation changing geometry, and strong external fields can break the separation. Nevertheless, the factorization is accurate enough for many gases and gives direct insight into why different degrees of freedom become thermally active on different temperature scales.
Translational partition functions are enormous for molecules in ordinary containers because the spacing between translational energy levels is tiny. The thermal wavelength is usually much smaller than the container dimensions. The expression can be read as the number of thermal de Broglie-sized cells available to the molecule. Larger volume, larger mass, and higher temperature all increase the number of accessible translational states.
The rotational partition function depends strongly on molecular shape. Linear molecules have two rotational degrees of freedom because rotation around the molecular axis contributes little for point masses along that axis. Nonlinear molecules have three. The rotational temperatures , , and encode moments of inertia; large molecules with large moments of inertia have small rotational temperatures and many populated rotational levels even at low temperature. Symmetry numbers matter because rotating a symmetric molecule can produce an indistinguishable configuration already counted.
Vibrational partition functions show why equipartition fails at ordinary temperature for high-frequency modes. A classical harmonic oscillator would contribute to per mole of vibrational modes, but quantum spacing suppresses excitation when . As temperature rises, the vibrational heat capacity approaches the classical limit. This gradual activation explains why heat capacities of gases often increase with temperature.
Electronic partition functions are usually simple at room temperature because electronic gaps are large. Many closed-shell molecules have , often 1. At high temperatures, in atoms, radicals, transition-metal complexes, and plasmas, low-lying electronic states can contribute significantly. Electronic degeneracy also contributes entropy even when only the ground electronic term is populated.
Nuclear spin is often omitted in elementary thermodynamic partition functions, but it can matter in spectroscopy and in precise statistical mechanics. Homonuclear molecules such as have ortho and para nuclear-spin modifications with different allowed rotational levels. The interplay of nuclear spin symmetry and rotational wavefunction symmetry affects rotational populations and heat capacities at low temperature.
A practical thermodynamic calculation must use the proper standard state. The translational partition function contains volume, so converting molecular partition functions into standard molar entropies or equilibrium constants requires specifying a standard pressure or concentration. For an ideal gas, the standard molar volume at pressure is , and this volume enters the translational contribution.
The same partition functions connect to spectroscopy. Rotational constants measured by microwave spectroscopy determine moments of inertia used in . Vibrational wavenumbers measured by IR or Raman spectroscopy determine and zero-point energies. Electronic spectra identify excited states for . Thus spectroscopy supplies the molecular data that statistical thermodynamics needs.
Visual
| Contribution | Typical energy scale | Partition function trend | Heat capacity behavior |
|---|---|---|---|
| Translation | very small level spacing in macroscopic box | always active for gases | |
| Rotation | microwave, small | for linear rotors | active near room temperature for many molecules |
| Vibration | infrared, large | frozen at low , active at high | |
| Electronic | visible/UV or larger gaps | sum over electronic terms | often ground state only at ordinary |
Worked example 1: Translational partition function of argon
Problem. Estimate for one Ar atom in a container at . Use and .
Method. Compute and then .
- Mass:
- Thermal wavelength:
Using and :
- Volume:
- Partition function:
Checked answer. The value is enormous because translational energy levels in a macroscopic container are extremely closely spaced.
Worked example 2: Vibrational population of HCl
Problem. HCl has a vibrational wavenumber near . Estimate the fraction of molecules in relative to at using the harmonic oscillator.
Method. Adjacent vibrational levels are separated by , so
- Vibrational temperature:
- Exponent:
- Ratio:
Checked answer. Almost all HCl molecules are in at room temperature. This is why vibrational heat capacity is small at ordinary temperatures for high-frequency stretches.
Code
import numpy as np
h = 6.62607015e-34
k = 1.380649e-23
u = 1.66053906660e-27
c2 = 1.438776877 # K cm
def q_trans(V_m3, mass_u, T):
m = mass_u * u
Lambda = np.sqrt(h**2 / (2 * np.pi * m * k * T))
return V_m3 / Lambda**3
def vib_population_ratio(wavenumber_cm, T):
return np.exp(-c2 * wavenumber_cm / T)
print(q_trans(1.0e-3, 39.948, 298.15))
for T in [100, 298.15, 1000, 3000]:
print(T, vib_population_ratio(2886.0, T))
Common pitfalls
- Forgetting the volume dependence of . Translational entropy changes with volume.
- Using a rotational high-temperature approximation when is not large compared with .
- Omitting the symmetry number in rotational partition functions.
- Mixing zero-point conventions in vibrational partition functions.
- Assuming electronic excited states always matter. Many molecules have electronic gaps too large for thermal population at room temperature.
When building a molecular partition function, decide the energy zero before combining factors. If vibrational zero-point energy is included in , then it should also be included consistently when comparing reactants and products. If the zero is set at the vibrational ground state, zero-point energies must be added elsewhere for reaction energetics. Mixing conventions is one of the easiest ways to get wrong equilibrium constants.
Also check temperature scales before applying high-temperature formulas. Rotational approximations usually work when , but hydrogen and other light molecules can violate this at low temperature. Vibrational modes often require the opposite caution: many have of thousands of kelvins, so they are not classically active at room temperature. The phrase "degree of freedom" is therefore not enough; quantum spacing decides thermal activity.
Finally, distinguish molecular symmetry from degeneracy. The rotational symmetry number corrects overcounted indistinguishable orientations. Degeneracy counts distinct states of the same energy. Both appear as divisors or multipliers in statistical formulas, but they have different origins. Homonuclear molecules, nuclear spin species, and electronic terms are common places where this distinction matters.
A useful consistency check is to ask which contribution changes when a variable changes. Increasing volume affects translation but not rotation, vibration, or electronic terms for an isolated ideal gas molecule. Isotopic substitution affects translation, rotation, and vibration through mass, but usually not the electronic energy surface strongly. Heating affects every factor through Boltzmann accessibility, but the response is largest for modes with spacings comparable to .
For polyatomic molecules, count vibrational modes before multiplying vibrational partition functions. Each normal mode contributes a factor, but degeneracies and low-frequency torsions may require special treatment beyond the simple harmonic oscillator.
Low-frequency internal rotations are a common source of error because they are not quite vibrations and not quite free rotations. Treating them as harmonic oscillators can underestimate entropy.
For precise work, compare harmonic oscillator, hindered rotor, and free rotor limits before choosing the approximation.
The entropy can change appreciably.