Phase-Space Volume and the Classical Partition Function
A classical system of point particles in three dimensions is described by a single point in a -dimensional phase space spanned by the coordinates and conjugate momenta . Its microscopic dynamics is governed by a Hamiltonian , and the canonical ensemble assigns to each microstate the Boltzmann weight , with . The partition function is the normalizing sum of these weights; because phase space is continuous, the sum becomes an integral over . A purely classical integral is dimensionally sick: carries units of action, so would not be a pure number and the entropy would inherit an undetermined additive constant. Both classical thermodynamics (which fixes entropy only up to a constant) and the deeper quantum theory (which counts discrete states) demand a normalization. Matching the classical limit of the quantum trace shows each pair must be divided by Planck's constant : phase space is tiled into cells of volume per degree of freedom. A second, subtler ingredient is the indistinguishability of identical particles. Permuting two identical atoms produces the same physical microstate, so the naive integral overcounts by . Dividing by — Correct Boltzmann Counting — makes the free energy extensive and dissolves the Gibbs Paradox. The full prescription,
is the foundation on which the classical ideal gas, the equipartition theorem, the virial theorem, and the Sackur-Tetrode equation are all built. From every equilibrium property follows by differentiation: , , . The construction packages the entire macroscopic thermodynamics of a classical system into one phase-space integral.
- The classical canonical partition function is the integral of over phase space, with the measure divided by (to make it dimensionless) and by (for indistinguishable particles).
- The factor is fixed by demanding agreement with the classical limit of the quantum partition function; it sets the elementary phase-space cell, per degree of freedom.
- The (Correct Boltzmann Counting) makes the free energy extensive and resolves the Gibbs Paradox; drop it and the entropy of mixing of two identical gases is spuriously nonzero.
- For a single free particle the whole integral collapses to with the thermal de Broglie wavelength — the natural length scale of the classical gas.
- Thermodynamics follows from ; for the ideal gas this reproduces , , and the Sackur-Tetrode entropy with its exact constant.
- Key idea: the classical partition function is the phase-space integral of the Boltzmann factor measured in units of per degree of freedom and corrected by for indistinguishability, converting a microscopic energy function into a complete macroscopic equation of state.
Package all of statistical thermodynamics into one integral, . The counts phase-space cells so is a pure number; the removes the overcounting of identical relabelings. Then and every equation of state is a derivative away.
Where this lives today
Every molecular-dynamics and Monte-Carlo simulation implicitly rests on equation (1): the sampled configurations are drawn from and thermodynamic averages are phase-space integrals evaluated stochastically. The rarely appears explicitly in a simulation (only entropy differences are usually needed), but it becomes essential whenever an absolute chemical potential or an equilibrium constant is required — for example in ab-initio thermodynamics of catalysts, where the translational partition function sets reaction rates. The thermal de Broglie wavelength that drops out of is also the diagnostic used in cold-atom laboratories to announce quantum degeneracy: when , the classical partition function fails and Bose-Einstein or Fermi-Dirac statistics take over.
The physical picture
Picture phase space tiled into tiny boxes of volume per coordinate–momentum pair. Quantum mechanics tells us each box holds exactly one state, because the uncertainty principle forbids resolving position and momentum finer than . The classical integral is therefore literally a count of quantum states in the high-temperature, dense-spectrum limit — the is not a fudge factor but the bridge to the quantum world. The Boltzmann factor acts like a fog that thins exponentially with energy. is the total illuminated volume of phase space: low-energy regions (deep wells, slow particles) glow brightly and dominate, while high-energy regions are exponentially suppressed. Every thermodynamic quantity is a weighted average over this glowing cloud, and — the log of the total glow — is the free energy up to a factor of .
The is pure bookkeeping. In a gas of identical atoms, "atom here, atom there" and its label-swapped twin are the same physical state. The integral over all of phase space counts both, so we divide by the number of relabelings, . This factor is invisible in the equations of motion — the dynamics never asks which atom is which — but it is decisive for the entropy, and it is exactly what the quantum counting of indistinguishable particles reduces to in the dilute limit.
The core equations
The canonical partition function is the sum of Boltzmann weights over all microstates. In a continuous classical phase space that sum is an integral, and two normalizations — one quantum (), one combinatorial () — turn the bare integral into a well-defined pure number.
where: — canonical partition function of identical particles; — classical Hamiltonian; — inverse temperature; — Planck's constant, the phase-space cell size per degree of freedom; — Boltzmann counting factor for indistinguishability; — phase-space volume element. Physically, is the total Boltzmann-weighted phase-space volume measured in units of . The single most important consequence is that the momentum integral is always Gaussian for a kinetic-energy Hamiltonian, and it collapses to a length: the thermal de Broglie wavelength. For one free particle in a box of volume ,
where: — container volume; — particle mass; — thermal de Broglie wavelength, set by matter waves of momentum (its origin is from de Broglie matter waves). The classicality criterion is : when the average interparticle spacing dwarfs , wavepackets do not overlap and classical counting is legitimate. All of thermodynamics is then extracted by differentiating . These "bridge relations" convert the single scalar into the full equation of state.
where: — Helmholtz free energy; — internal energy; — pressure. Reading: is (minus) the free energy in units of ; its -derivative is the mean energy; its -derivative is the pressure. Second derivatives give fluctuations and response functions.
The goal is to evaluate the phase-space integral for the ideal gas explicitly, show that the momentum part is a product of Gaussian integrals that collapse to the thermal de Broglie wavelength, and confirm that the two normalizations and together make dimensionless and its free energy extensive. This is the load-bearing calculation of the whole classical framework: it is where "an integral with units of action" becomes "a count of quantum states," and where indistinguishability enters the entropy.
Step 1. For an ideal gas is a sum of independent single-particle kinetic energies with no potential, so the Boltzmann factor factorizes: and the -fold integral becomes a product of identical single-particle integrals, with .
Step 2. The position integral is trivial, . The momentum integral is a product of three one-dimensional Gaussians, , so .
Step 3. Assemble with , equation (2). Why is a pure number: and (since and give ), so the units cancel exactly — the is precisely what carries the action units of .
Step 4. Now the extensivity test. Take logs: . With Stirling , this is , so depends on and only through the intensive ratio times an overall . Why the is essential: without it carries a spurious term, so scales as — superextensive — and mixing two identical gases would falsely raise the entropy (the Gibbs Paradox). The Stirling from is exactly the term that restores .
Step 5. Differentiate to recover the equation of state: (so ), (from the in ), and — the Sackur-Tetrode entropy with its exact constant. Verified: the Gaussian momentum integral , the dimensionlessness of , the Stirling cancellation of the spurious (extensive ), and the ideal-gas , , with the constant are all confirmed symbolically in verify_aq-sm-classical-phase-space-partition-function.py.
Go deeper · Derivation B · 1 minWhy one phase-space cell has volume h — matching the classical integral to a quantum count
The goal is to justify the from first principles rather than assert it, by comparing the number of quantum states of a particle in a box directly to the classical phase-space volume it occupies, in the limit of a densely packed spectrum. This is what "the classical limit of the quantum trace" means concretely, and it fixes the cell size to be Planck's constant with no free parameter.
Step 1. A particle in a one-dimensional box of length has quantized momenta (from and , i.e. ), for . Consecutive allowed momenta are spaced by .
Step 2. Count states up to momentum : . Allowing motion in both directions () the number of states with momentum magnitude below is , so the number of states in a momentum interval over the length is counting both signs, i.e. per signed cell .
Step 3. Written as a phase-space area, once integrated over . Why this pins the cell to : the count of quantum states equals the classical phase-space area divided by per pair — no other constant works, and it generalizes to for degrees of freedom.
Step 4. Therefore in the high- / dense-spectrum limit, and the classical partition function inherits exactly the of equation (1). The residual is the further reduction for indistinguishable particles, established in the previous card. Verified: the 1D box momentum spacing , the state count , and the resulting phase-space density are confirmed numerically (state count vs. area/h agree to machine precision for a range of ) in the verify script.
Limiting cases
The one classical integral contains several physical regimes as limits.
| Case | Result | Meaning |
|---|---|---|
| Dilute, high : | Classical counting valid; wavepackets do not overlap. | |
| Separable Hamiltonian | Independent modes factorize; equipartition and Maxwell-Boltzmann follow. | |
| Drop the | Superextensive free energy; Gibbs paradox reappears. | |
| Drop the | has units of action | Entropy fixed only up to a constant; no absolute . |
| Dense, low : | classical form fails | Quantum statistics (Bose/Fermi) required; no longer exact. |
Worked examples
Example 1 — Building for argon at room temperature (enumerate the integral, apply the Gaussian, get a length). Take one argon atom, , in a box at .
Step 1. Enumerate the integral: . The position part is ; the momentum part is .
Step 2. Apply the Gaussian: ; its power is . Divide by : the momentum integral over is , i.e. .
Step 3. Boundary number: , and — a huge pure number, and interatomic spacing ( at this density), confirming argon is deep in the classical regime.
Example 2 — The Sackur-Tetrode entropy of a mole of argon from .
Step 1. From equation (1), . For one mole at and , per atom.
Step 2. The ratio , so ; adding gives .
Step 3. Boundary number: . The measured standard entropy of argon gas is — a near-exact match. The constant, and the that makes dimensionless, are exactly what let this absolute number be quoted at all. Without the normalization no absolute entropy could be computed.
Origins · 1 minphase space and how this was discovered
Phase space — the -dimensional space of all positions and momenta — is the arena in which the classical partition function is built: the canonical integral sweeps over every phase-space point, weighting each by its Boltzmann factor. J. Willard Gibbs placed this ensemble picture on a rigorous footing in his 1902 Elementary Principles in Statistical Mechanics, introducing the phase-space ensemble formalism and confronting the overcounting of identical particles. The absolute normalization by — tiling phase space into cells of volume per position–momentum pair and thereby turning the integral into a genuine count of states — was fixed by Otto Sackur and Hugo Tetrode independently in 1911–12, who used it to compute the absolute entropy of a monatomic gas (the Sackur-Tetrode equation) and thereby gave the first quantitative role to Planck's constant in thermodynamics, years before full quantum mechanics existed.
Going further
References. Pathria & Beale, Statistical Mechanics, 3rd ed., Ch. 2–3 · Kardar, Statistical Physics of Particles, Ch. 4 · Reif, Fundamentals of Statistical and Thermal Physics, Ch. 7 · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 3 & 6 · Landau & Lifshitz, Statistical Physics Part 1, §29–31.
Provenance. All formulas are standard and recomputable: the Gaussian integral gives (Pathria §2.4); ideal-gas and , (Pathria §2.4, Kardar §4); Sackur-Tetrode (Pathria §2.5, Reif §7.3); the normalization from the classical limit of the quantum trace (Landau-Lifshitz §29–31). A verifier should confirm the Gaussian integrals, the Stirling step , and that reproduce the stated thermodynamics. Constants: , , . All checks are in verify_aq-sm-classical-phase-space-partition-function.py.
Builds on: Canonical Ensemble (Boltzmann factor) · Hamiltonian mechanics and phase space · Correct Boltzmann Counting · Thermal de Broglie Wavelength Leads to: Classical Ideal Gas · Equipartition Theorem · Sackur-Tetrode Equation · Gibbs Paradox · Virial Equation of State
Why does the classical integral need a factor of h at all — isn't h a quantum constant?
Exactly — and that is the point. A purely classical has units of action, so would carry units and the entropy would be defined only up to an arbitrary constant. Nature does fix that constant, and the value it chooses is Planck's constant per degree of freedom, because one quantum state occupies a phase-space cell of area . The classical partition function is thus a leading-order shadow of the quantum trace ; the is the fingerprint of quantum mechanics surviving into the classical limit.
Where does the 1/N! come from physically?
Two configurations that differ only by relabeling identical atoms — "atom 1 here, atom 2 there" versus "atom 2 here, atom 1 there" — are the same physical microstate. The unrestricted phase-space integral treats them as distinct and so overcounts by the number of permutations, . Dividing by removes the overcount. In the full quantum theory this is automatic (the many-body wavefunction is symmetric or antisymmetric under exchange), and the is precisely what that quantum counting reduces to when the gas is dilute enough that no two particles compete for the same single-particle state.
Why is the momentum integral always Gaussian?
Because kinetic energy is quadratic in momentum, , so the Boltzmann factor is a Gaussian in each momentum component. The momentum part of therefore always evaluates to regardless of the potential, and it collapses into the thermal de Broglie wavelength . Only the configurational (position) integral carries information about interactions — which is why, for an ideal gas, is trivial, and for interacting gases all the physics lives in the configuration integral (the cluster and virial expansions).
Does the h in the partition function ever affect a measurable quantity?
Yes, whenever an absolute entropy or chemical potential matters. Entropy differences (heating a gas, expanding it) are independent of the because it cancels. But the absolute standard entropy of a gas — the Sackur-Tetrode number quoted in tables — depends on explicitly, and the agreement of that number with calorimetric measurements was historically one of the first confirmations that has thermodynamic meaning. Equilibrium constants of gas-phase reactions, which involve translational partition functions , also carry the dependence.
What happens to Z as T → 0 in the classical formula?
The classical form has , so and as : the entropy computed from the classical formula runs to , which is unphysical (it violates the third law). This is a signal, not a bug — it says the classical description has broken down. Well before , the density criterion is reached, quantum statistics take over, and the correct low- entropy tends to a finite constant. The divergence marks exactly the temperature where you must switch to Bose-Einstein or Fermi-Dirac counting.
How is this integral related to what a molecular-dynamics simulation actually computes?
A molecular-dynamics or Monte-Carlo run samples configurations with probability , so time or ensemble averages over the run are Monte-Carlo estimates of the phase-space integrals in equation (1). The simulation never needs the because it reports averages and free-energy differences, in which the prefactor cancels. The likewise cancels for a fixed set of identical particles. The normalization becomes essential only when you compute an absolute free energy or couple to a particle reservoir (grand-canonical simulations), where the translational partition function and its enter directly.
Is the factorization Z = Z_1^N / N! exact or approximate?
It is exact for a genuinely non-interacting gas (no potential energy between particles), because then is a sum of single-particle terms and the Boltzmann factor factorizes cleanly; the only subtlety is the , which is the correct combinatorial factor for identical classical particles. It becomes an approximation in two ways: once interactions are present, the configuration integral no longer factorizes (that is what the virial expansion corrects), and once the gas is dense/cold enough that , the itself is only the dilute-limit approximation to quantum counting and must be replaced by Bose or Fermi statistics.