Thermal state from entropy maximization
A central construction of equilibrium statistical mechanics is: given only partial macroscopic information, choose the least biased microscopic distribution consistent with that information. This principle is implemented by maximizing the Gibbs/Shannon entropy .
Problem (choose a distribution from constraints)
Let denote a microstate in classical phase space , and let be the Hamiltonian function . A statistical state is a probability density normalized with respect to the phase-space volume element :
The (dimensionless) entropy functional is
and the physical entropy is with the Boltzmann constant .
Assume we only know the mean energy (a macroscopic constraint)
Solution (canonical Gibbs distribution)
Maximizing subject to normalization and fixed mean energy gives, via Lagrange multipliers, a unique maximizer of the form
The normalizing factor is the canonical partition function , and the resulting state is exactly the canonical ensemble . The multiplier is identified with the inverse temperature .
This provides a variational (information-theoretic) characterization of thermal equilibrium: among all distributions with the same mean energy, has maximal entropy.
Generalization (multiple constraints)
If, in addition to the mean energy, one constrains the mean values of other quantities (often conserved charges),
the same entropy-maximization procedure yields
which is the basis of the generalized Gibbs ensemble .
Interpretation via relative entropy
Entropy maximization can also be phrased as an optimization over information distance: the maximizer is the distribution that is “closest” to a chosen reference measure while satisfying the constraints, using the Kullback–Leibler divergence . The uniqueness/optimality is underwritten by the Gibbs inequality .
Physical meaning
- The constraints encode what is known macroscopically (here, the mean energy).
- The maximizer is the least structured microscopic state compatible with those constraints.
- When a small system is weakly coupled to a large heat bath, this construction matches the canonical state obtained from deriving the canonical ensemble from the microcanonical picture .