Phase-Space Volume and the Classical Partition Function

A classical system of NN point particles in three dimensions is described by a single point in a 6N6N-dimensional phase space spanned by the coordinates qiq_i and conjugate momenta pip_i. Its microscopic dynamics is governed by a Hamiltonian H(q,p)H(q,p), and the canonical ensemble assigns to each microstate the Boltzmann weight e−βHe^{-\beta H}, with β=1/(kBT)\beta=1/(k_BT). The partition function ZZ is the normalizing sum of these weights; because phase space is continuous, the sum becomes an integral over d3Nq d3Np\mathrm{d}^{3N}q\,\mathrm{d}^{3N}p. A purely classical integral is dimensionally sick: dq dp\mathrm{d}q\,\mathrm{d}p carries units of action, so ZZ 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 Tr e−βH^\mathrm{Tr}\,e^{-\beta\hat H} shows each pair (qi,pi)(q_i,p_i) must be divided by Planck's constant hh: phase space is tiled into cells of volume hh 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 N!N!. Dividing by N!N! — Correct Boltzmann Counting — makes the free energy extensive and dissolves the Gibbs Paradox. The full prescription,

ZN=1N! h3N∫e−βH d3Nq d3Np,Z_N=\frac{1}{N!\,h^{3N}}\int e^{-\beta H}\,\mathrm{d}^{3N}q\,\mathrm{d}^{3N}p,

is the foundation on which the classical ideal gas, the equipartition theorem, the virial theorem, and the Sackur-Tetrode equation are all built. From ZZ every equilibrium property follows by differentiation: F=−kBTln⁡ZF=-k_BT\ln Z, ⟨H⟩=−∂βln⁡Z\langle H\rangle=-\partial_\beta\ln Z, P=kBT ∂Vln⁡ZP=k_BT\,\partial_V\ln Z. The construction packages the entire macroscopic thermodynamics of a classical system into one phase-space integral.

Key takeaways
  • The classical canonical partition function is the integral of e−βH(q,p)e^{-\beta H(q,p)} over phase space, with the measure d3Nq d3Np\mathrm{d}^{3N}q\,\mathrm{d}^{3N}p divided by h3Nh^{3N} (to make it dimensionless) and by N!N! (for indistinguishable particles).
  • The factor h3Nh^{3N} is fixed by demanding agreement with the classical limit of the quantum partition function; it sets the elementary phase-space cell, Δq Δp=h\Delta q\,\Delta p=h per degree of freedom.
  • The 1/N!1/N! (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 Z1=V/λth3Z_1=V/\lambda_{\rm th}^3 with the thermal de Broglie wavelength λth=h/2πmkBT\lambda_{\rm th}=h/\sqrt{2\pi m k_BT} — the natural length scale of the classical gas.
  • Thermodynamics follows from F=−kBTln⁡ZF=-k_BT\ln Z; for the ideal gas this reproduces PV=NkBTPV=Nk_BT, U=32NkBTU=\tfrac32 Nk_BT, and the Sackur-Tetrode entropy with its exact 52\tfrac52 constant.
  • Key idea: the classical partition function is the phase-space integral of the Boltzmann factor measured in units of hh per degree of freedom and corrected by N!N! for indistinguishability, converting a microscopic energy function into a complete macroscopic equation of state.
The core insight

Package all of statistical thermodynamics into one integral, ZN=1N! h3N∫e−βH(q,p) d3Nq d3NpZ_N=\dfrac{1}{N!\,h^{3N}}\int e^{-\beta H(q,p)}\,\mathrm{d}^{3N}q\,\mathrm{d}^{3N}p. The h3Nh^{3N} counts phase-space cells so ZZ is a pure number; the N!N! removes the overcounting of identical relabelings. Then F=−kBTln⁡ZF=-k_BT\ln Z 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 e−βHe^{-\beta H} and thermodynamic averages are phase-space integrals evaluated stochastically. The h3Nh^{3N} 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 V/λth3V/\lambda_{\rm th}^3 sets reaction rates. The thermal de Broglie wavelength λth\lambda_{\rm th} that drops out of Z1Z_1 is also the diagnostic used in cold-atom laboratories to announce quantum degeneracy: when nλth3→1n\lambda_{\rm th}^3\to1, 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 hh 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 Δq Δp∼h\Delta q\,\Delta p\sim h. The classical integral ∫dq dp/h\int \mathrm{d}q\,\mathrm{d}p/h is therefore literally a count of quantum states in the high-temperature, dense-spectrum limit — the hh is not a fudge factor but the bridge to the quantum world. The Boltzmann factor e−βHe^{-\beta H} acts like a fog that thins exponentially with energy. ZZ 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 ln⁡Z\ln Z — the log of the total glow — is the free energy up to a factor of −kBT-k_BT.

Figure
Phase space tiled into cells of area h per position–momentum pair; the Boltzmann fog e^(−βH) weights each cell, brightest at low energy. One cell holds one quantum state, so the classical integral divided by h counts states.
q → p one cell = area h = one state bright = low energy, e^(−βH) large

The 1/N!1/N! 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, N!N!. 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.

Figure
Payoff: with the h^(3N) N! normalization the free energy F = −kT ln Z is extensive (doubling N,V doubles F). Without the 1/N!, ln Z gains a spurious N ln N and F is superextensive — the Gibbs paradox.
system size N → −F / kT no 1/N!: superextensive (∝ N ln N) with 1/N!: extensive (∝ N) Stirling ln N! ≈ N ln N − N cancels the spurious N ln N

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 (h3Nh^{3N}), one combinatorial (N!N!) — turn the bare integral into a well-defined pure number.

ZN=1N! h3N∫e−βH(q,p) d3Nq d3Np(1)Z_N=\frac{1}{N!\,h^{3N}}\int e^{-\beta H(q,p)}\,\mathrm{d}^{3N}q\,\mathrm{d}^{3N}p \qquad (1)

where: ZNZ_N — canonical partition function of NN identical particles; H(q,p)H(q,p) — classical Hamiltonian; β=1/(kBT)\beta=1/(k_BT) — inverse temperature; hh — Planck's constant, the phase-space cell size per degree of freedom; N!N! — Boltzmann counting factor for indistinguishability; d3Nq d3Np\mathrm{d}^{3N}q\,\mathrm{d}^{3N}p — phase-space volume element. Physically, ZNZ_N is the total Boltzmann-weighted phase-space volume measured in units of h3Nh^{3N}. 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 VV,

Z1=1h3∫V ⁣d3q∫e−βp2/2m d3p=Vλth3,λth=h2πmkBT(2)Z_1=\frac{1}{h^3}\int_V\!\mathrm{d}^3q\int e^{-\beta p^2/2m}\,\mathrm{d}^3p=\frac{V}{\lambda_{\rm th}^3},\qquad \lambda_{\rm th}=\frac{h}{\sqrt{2\pi m k_BT}} \qquad (2)

where: VV — container volume; mm — particle mass; λth\lambda_{\rm th} — thermal de Broglie wavelength, set by matter waves of momentum p∼mkBTp\sim\sqrt{mk_BT} (its origin is λ=h/p\lambda=h/p from de Broglie matter waves). The classicality criterion is V/N≫λth3V/N\gg\lambda_{\rm th}^3: when the average interparticle spacing dwarfs λth\lambda_{\rm th}, wavepackets do not overlap and classical counting is legitimate. All of thermodynamics is then extracted by differentiating ln⁡ZN\ln Z_N. These "bridge relations" convert the single scalar ln⁡Z\ln Z into the full equation of state.

F=−kBTln⁡ZN,U=⟨H⟩=−∂ln⁡ZN∂β,P=kBT ∂ln⁡ZN∂V(3)F=-k_BT\ln Z_N,\qquad U=\langle H\rangle=-\frac{\partial\ln Z_N}{\partial\beta},\qquad P=k_BT\,\frac{\partial\ln Z_N}{\partial V} \qquad (3)

where: FF — Helmholtz free energy; UU — internal energy; PP — pressure. Reading: ln⁡Z\ln Z is (minus) the free energy in units of kBTk_BT; its β\beta-derivative is the mean energy; its VV-derivative is the pressure. Second derivatives give fluctuations and response functions.

Derivation AThe momentum Gaussian, the h^(3N) N! normalization, and why Z is a pure number

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 h3Nh^{3N} and N!N! together make ZNZ_N 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 H=∑i=1Npi2/2mH=\sum_{i=1}^N \mathbf p_i^2/2m is a sum of independent single-particle kinetic energies with no potential, so the Boltzmann factor factorizes: e−βH=∏ie−βpi2/2me^{-\beta H}=\prod_i e^{-\beta \mathbf p_i^2/2m} and the 3N3N-fold integral becomes a product of NN identical single-particle integrals, ZN=1N! Z1 NZ_N=\tfrac{1}{N!}\,Z_1^{\,N} with Z1=1h3∫Vd3q∫e−βp2/2md3pZ_1=\tfrac{1}{h^3}\int_V \mathrm d^3q\int e^{-\beta \mathbf p^2/2m}\mathrm d^3p.

Step 2. The position integral is trivial, ∫Vd3q=V\int_V\mathrm d^3q=V. The momentum integral is a product of three one-dimensional Gaussians, ∫−∞∞e−βpx2/2mdpx=2πm/β\int_{-\infty}^{\infty}e^{-\beta p_x^2/2m}\mathrm dp_x=\sqrt{2\pi m/\beta}, so ∫e−βp2/2md3p=(2πm/β)3/2=(2πmkBT)3/2\int e^{-\beta \mathbf p^2/2m}\mathrm d^3p=(2\pi m/\beta)^{3/2}=(2\pi m k_BT)^{3/2}.

Step 3. Assemble Z1=Vh3(2πmkBT)3/2=Vλth3Z_1=\dfrac{V}{h^3}(2\pi m k_BT)^{3/2}=\dfrac{V}{\lambda_{\rm th}^3} with λth=h/2πmkBT\lambda_{\rm th}=h/\sqrt{2\pi m k_BT}, equation (2). Why Z1Z_1 is a pure number: [V]=m3[V]=\mathrm{m^3} and [λth3]=m3[\lambda_{\rm th}^3]=\mathrm{m^3} (since [h]=J s[h]=\mathrm{J\,s} and [mkBT]=kg m/s[\sqrt{mk_BT}]=\mathrm{kg\,m/s} give [λth]=m[\lambda_{\rm th}]=\mathrm m), so the units cancel exactly — the h3h^3 is precisely what carries the action units of d3q d3p\mathrm d^3q\,\mathrm d^3p.

Step 4. Now the extensivity test. Take logs: ln⁡ZN=Nln⁡(V/λth3)−ln⁡N!\ln Z_N=N\ln(V/\lambda_{\rm th}^3)-\ln N!. With Stirling ln⁡N!≈Nln⁡N−N\ln N!\approx N\ln N-N, this is ln⁡ZN≈Nln⁡ ⁣(VNλth3)+N\ln Z_N\approx N\ln\!\big(\tfrac{V}{N\lambda_{\rm th}^3}\big)+N, so F=−kBTln⁡ZN=−NkBT[ln⁡(V/Nλth3)+1]F=-k_BT\ln Z_N=-Nk_BT[\ln(V/N\lambda_{\rm th}^3)+1] depends on VV and NN only through the intensive ratio V/NV/N times an overall NN. Why the N!N! is essential: without it ln⁡Z=Nln⁡(V/λth3)\ln Z=N\ln(V/\lambda_{\rm th}^3) carries a spurious Nln⁡VN\ln V term, so FF scales as Nln⁡NN\ln N — superextensive — and mixing two identical gases would falsely raise the entropy (the Gibbs Paradox). The Stirling −Nln⁡N-N\ln N from ln⁡N!\ln N! is exactly the term that restores V→V/NV\to V/N.

Step 5. Differentiate to recover the equation of state: P=kBT ∂Vln⁡ZN=NkBT/VP=k_BT\,\partial_V\ln Z_N=Nk_BT/V (so PV=NkBTPV=Nk_BT), U=−∂βln⁡ZN=32NkBTU=-\partial_\beta\ln Z_N=\tfrac32 Nk_BT (from the β−3N/2\beta^{-3N/2} in λth−3N\lambda_{\rm th}^{-3N}), and S=(U−F)/T=NkB[ln⁡(V/Nλth3)+52]S=(U-F)/T=Nk_B[\ln(V/N\lambda_{\rm th}^3)+\tfrac52] — the Sackur-Tetrode entropy with its exact 52\tfrac52 constant. Verified: the Gaussian momentum integral (2πmkBT)3/2(2\pi m k_BT)^{3/2}, the dimensionlessness of Z1=V/λth3Z_1=V/\lambda_{\rm th}^3, the Stirling cancellation of the spurious Nln⁡NN\ln N (extensive FF), and the ideal-gas PV=NkBTPV=Nk_BT, U=32NkBTU=\tfrac32 Nk_BT, SS with the 52\tfrac52 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
Derivation BWhy one phase-space cell has volume h — matching the classical integral to a quantum count

The goal is to justify the h3Nh^{3N} 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 LL has quantized momenta pn=n h/(2L)p_n=n\,h/(2L) (from kn=nπ/Lk_n=n\pi/L and p=ℏkp=\hbar k, i.e. pn=nπℏ/L=nh/2Lp_n=n\pi\hbar/L=n h/2L), for n=1,2,…n=1,2,\dots. Consecutive allowed momenta are spaced by Δp=h/(2L)\Delta p=h/(2L).

Step 2. Count states up to momentum pp: n(p)=p/Δp=2Lp/hn(p)=p/\Delta p=2Lp/h. Allowing motion in both directions (±p\pm p) the number of states with momentum magnitude below pp is 2Lp/h2Lp/h, so the number of states in a momentum interval dp\mathrm dp over the length LL is dn=L dph/...=L dph×2\mathrm dn=\dfrac{L\,\mathrm dp}{h/... }=\dfrac{L\,\mathrm dp}{h}\times 2 counting both signs, i.e. per signed cell dn=L dp/h\mathrm dn=L\,\mathrm dp/h.

Step 3. Written as a phase-space area, dn=dq dph\mathrm dn=\dfrac{\mathrm dq\,\mathrm dp}{h} once integrated over ∫0Ldq=L\int_0^L\mathrm dq=L. Why this pins the cell to hh: the count of quantum states equals the classical phase-space area divided by hh per (q,p)(q,p) pair — no other constant works, and it generalizes to d3Nq d3Np/h3N\mathrm d^{3N}q\,\mathrm d^{3N}p/h^{3N} for 3N3N degrees of freedom.

Step 4. Therefore ∑states→1h3N∫d3Nq d3Np\sum_{\text{states}}\to\dfrac{1}{h^{3N}}\int \mathrm d^{3N}q\,\mathrm d^{3N}p in the high-TT / dense-spectrum limit, and the classical partition function inherits exactly the h3Nh^{3N} of equation (1). The residual 1/N!1/N! is the further reduction for indistinguishable particles, established in the previous card. Verified: the 1D box momentum spacing Δp=h/2L\Delta p=h/2L, the state count n(p)=2Lp/hn(p)=2Lp/h, and the resulting phase-space density dn=dq dp/h\mathrm dn=\mathrm dq\,\mathrm dp/h are confirmed numerically (state count vs. area/h agree to machine precision for a range of L,pL,p) in the verify script.

Limiting cases

The one classical integral contains several physical regimes as limits.

CaseResultMeaning
Dilute, high TT: V/N≫λth3V/N\gg\lambda_{\rm th}^3ZN=1N!(V/λth3)NZ_N=\tfrac{1}{N!}(V/\lambda_{\rm th}^3)^NClassical counting valid; wavepackets do not overlap.
Separable HamiltonianZ=∏aZaZ=\prod_a Z_aIndependent modes factorize; equipartition and Maxwell-Boltzmann follow.
Drop the N!N!F∼−NkBTln⁡VF\sim -Nk_BT\ln VSuperextensive free energy; Gibbs paradox reappears.
Drop the h3Nh^{3N}ZZ has units of action3N^{3N}Entropy fixed only up to a constant; no absolute SS.
Dense, low TT: V/N≲λth3V/N\lesssim\lambda_{\rm th}^3classical form failsQuantum statistics (Bose/Fermi) required; 1/N!1/N! no longer exact.

Worked examples

Example 1 — Building Z1Z_1 for argon at room temperature (enumerate the integral, apply the Gaussian, get a length). Take one argon atom, m=6.63×10−26 kgm=6.63\times10^{-26}\,\mathrm{kg}, in a 1 cm3=10−6 m31\,\mathrm{cm^3}=10^{-6}\,\mathrm{m^3} box at T=300 KT=300\,\mathrm K.

Step 1. Enumerate the integral: Z1=1h3∫Vd3q∫e−βp2/2md3pZ_1=\tfrac{1}{h^3}\int_V\mathrm d^3q\int e^{-\beta p^2/2m}\mathrm d^3p. The position part is V=10−6 m3V=10^{-6}\,\mathrm{m^3}; the momentum part is (2πmkBT)3/2(2\pi m k_BT)^{3/2}.

Step 2. Apply the Gaussian: 2πmkBT=2π(6.63×10−26)(1.381×10−23)(300)=1.725×10−45 kg2m2s−22\pi m k_BT=2\pi(6.63\times10^{-26})(1.381\times10^{-23})(300)=1.725\times10^{-45}\,\mathrm{kg^2 m^2 s^{-2}}; its 3/23/2 power is (1.725×10−45)3/2=7.17×10−68(1.725\times10^{-45})^{3/2}=7.17\times10^{-68}. Divide by h3=(6.626×10−34)3=2.91×10−100h^3=(6.626\times10^{-34})^3=2.91\times10^{-100}: the momentum integral over h3h^3 is 2.46×1032 m−32.46\times10^{32}\,\mathrm{m^{-3}}, i.e. λth−3\lambda_{\rm th}^{-3}.

Step 3. Boundary number: λth=(2.46×1032)−1/3=1.60×10−11 m≈0.16 A˚\lambda_{\rm th}=(2.46\times10^{32})^{-1/3}=1.60\times10^{-11}\,\mathrm m\approx\mathbf{0.16\,\text{Å}}, and Z1=V/λth3=(10−6)(2.46×1032)=2.46×1026Z_1=V/\lambda_{\rm th}^3=(10^{-6})(2.46\times10^{32})=\mathbf{2.46\times10^{26}} — a huge pure number, and λth≪\lambda_{\rm th}\ll interatomic spacing (∼3 nm\sim3\,\mathrm{nm} at this density), confirming argon is deep in the classical regime.

Example 2 — The Sackur-Tetrode entropy of a mole of argon from ln⁡ZN\ln Z_N.

Step 1. From equation (1), S=NkB[ln⁡(V/Nλth3)+52]S=Nk_B[\ln(V/N\lambda_{\rm th}^3)+\tfrac52]. For one mole at T=300 KT=300\,\mathrm K and P=1.013×105 PaP=1.013\times10^5\,\mathrm{Pa}, V/N=kBT/P=(1.381×10−23)(300)/(1.013×105)=4.09×10−26 m3V/N=k_BT/P=(1.381\times10^{-23})(300)/(1.013\times10^5)=4.09\times10^{-26}\,\mathrm{m^3} per atom.

Step 2. The ratio V/Nλth3=(4.09×10−26)(2.46×1032)=1.007×107V/N\lambda_{\rm th}^3=(4.09\times10^{-26})(2.46\times10^{32})=1.007\times10^{7}, so ln⁡(V/Nλth3)=16.13\ln(V/N\lambda_{\rm th}^3)=16.13; adding 52\tfrac52 gives 18.6318.63.

Step 3. Boundary number: S=nR×18.63=(1)(8.314)(18.63)=154.9 J mol−1K−1S=nR\times18.63=(1)(8.314)(18.63)=\mathbf{154.9\,J\,mol^{-1}K^{-1}}. The measured standard entropy of argon gas is 154.8 J mol−1K−1154.8\,\mathrm{J\,mol^{-1}K^{-1}} — a near-exact match. The 52\tfrac52 constant, and the h3Nh^{3N} that makes ZZ dimensionless, are exactly what let this absolute number be quoted at all. Without the h3Nh^{3N} normalization no absolute entropy could be computed.

Origins · 1 minphase space and how this was discovered
PS
phase space
statistical-mechanics concept · Gibbs 1902; Sackur & Tetrode 1911–12; Landau's classical-limit argument

Phase space — the 6N6N-dimensional space of all positions and momenta — is the arena in which the classical partition function is built: the canonical integral ∫e−βH d3Nq d3Np\int e^{-\beta H}\,d^{3N}q\,d^{3N}p 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 N!N! overcounting of identical particles. The absolute normalization by h3Nh^{3N} — tiling phase space into cells of volume hh 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.

History
1902
— Gibbs publishes Elementary Principles in Statistical Mechanics, formalizing ensembles and the partition function.
1902
— Gibbs confronts the N!N! overcounting of identical particles in the entropy.
1911
— Sackur uses phase-space cells of size hh to compute an absolute gas entropy.
1912
— Tetrode independently fixes the same h3h^{3} normalization, giving the Sackur-Tetrode equation.
1927
— Nordheim, Fowler and others connect the classical limit of the quantum trace to the h3Nh^{3N} factor.

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 ∫e−αx2dx=π/α\int e^{-\alpha x^2}\mathrm{d}x=\sqrt{\pi/\alpha} gives λth=h/2πmkBT\lambda_{\rm th}=h/\sqrt{2\pi m k_BT} (Pathria §2.4); ideal-gas ZN=(V/λth3)N/N!Z_N=(V/\lambda_{\rm th}^3)^N/N! and PV=NkBTPV=Nk_BT, U=32NkBTU=\tfrac32Nk_BT (Pathria §2.4, Kardar §4); Sackur-Tetrode S=NkB[ln⁡(V/Nλth3)+5/2]S=Nk_B[\ln(V/N\lambda_{\rm th}^3)+5/2] (Pathria §2.5, Reif §7.3); the h3Nh^{3N} normalization from the classical limit of the quantum trace (Landau-Lifshitz §29–31). A verifier should confirm the Gaussian integrals, the Stirling step ln⁡N!≈Nln⁡N−N\ln N!\approx N\ln N-N, and that ∂V,∂β\partial_V,\partial_\beta reproduce the stated thermodynamics. Constants: h=6.626×10−34 J sh=6.626\times10^{-34}\,\mathrm{J\,s}, kB=1.380649×10−23 J/Kk_B=1.380649\times10^{-23}\,\mathrm{J/K}, R=8.314 J mol−1K−1R=8.314\,\mathrm{J\,mol^{-1}K^{-1}}. 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 ∫dq dp\int\mathrm dq\,\mathrm dp has units of action, so ZZ would carry units and the entropy S=kBln⁡(… )S=k_B\ln(\dots) 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 hh. The classical partition function is thus a leading-order shadow of the quantum trace Tr e−βH^\mathrm{Tr}\,e^{-\beta\hat H}; the hh 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, N!N!. Dividing by N!N! removes the overcount. In the full quantum theory this is automatic (the many-body wavefunction is symmetric or antisymmetric under exchange), and the 1/N!1/N! 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, Hkin=∑pi2/2mH_{\rm kin}=\sum p_i^2/2m, so the Boltzmann factor e−βp2/2me^{-\beta p^2/2m} is a Gaussian in each momentum component. The momentum part of ZZ therefore always evaluates to (2πmkBT)3N/2(2\pi m k_BT)^{3N/2} regardless of the potential, and it collapses into the thermal de Broglie wavelength λth−3N\lambda_{\rm th}^{-3N}. Only the configurational (position) integral carries information about interactions — which is why, for an ideal gas, ZZ 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 hh because it cancels. But the absolute standard entropy of a gas — the Sackur-Tetrode number quoted in tables — depends on hh explicitly, and the agreement of that number with calorimetric measurements was historically one of the first confirmations that hh has thermodynamic meaning. Equilibrium constants of gas-phase reactions, which involve translational partition functions V/λth3V/\lambda_{\rm th}^3, also carry the hh dependence.

What happens to Z as T → 0 in the classical formula?

The classical form Z1=V/λth3Z_1=V/\lambda_{\rm th}^3 has λth∝T−1/2\lambda_{\rm th}\propto T^{-1/2}, so Z1→0Z_1\to0 and ln⁡Z→−∞\ln Z\to-\infty as T→0T\to0: the entropy computed from the classical formula runs to −∞-\infty, 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 T=0T=0, the density criterion nλth3∼1n\lambda_{\rm th}^3\sim1 is reached, quantum statistics take over, and the correct low-TT 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 ∝e−βH\propto e^{-\beta H}, 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 h3Nh^{3N} because it reports averages and free-energy differences, in which the prefactor cancels. The N!N! 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 λth\lambda_{\rm th} 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 HH is a sum of single-particle terms and the Boltzmann factor factorizes cleanly; the only subtlety is the 1/N!1/N!, 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 nλth3≳1n\lambda_{\rm th}^3\gtrsim1, the 1/N!1/N! itself is only the dilute-limit approximation to quantum counting and must be replaced by Bose or Fermi statistics.

Before this