Gibbs variational principle (canonical ensemble)
Statement
Fix inverse temperature and a Hamiltonian H on a classical phase space with reference measure . Let range over probability measures absolutely continuous with respect to , with density .
Define the entropy functional (Shannon/Gibbs entropy)
and the mean energy .
Then the canonical free energy satisfies the variational formula
and the unique minimizer is the canonical Gibbs measure with density , where is the canonical partition function .
Equivalently, for any ,
where is relative entropy (KL divergence) . In particular, .
Key hypotheses
- so the canonical ensemble exists.
- is absolutely continuous with respect to so that is meaningful (otherwise interpret ).
- Integrability conditions ensuring and are well-defined for the class of measures considered.
Conclusion
- The canonical Gibbs measure is characterized as the unique minimizer of the free-energy functional .
- The “suboptimality gap” to equilibrium is exactly times the KL divergence to the canonical state.
Cross-links to definitions
- Canonical ensemble , canonical partition function
- Gibbs/Shannon entropy (stat mech) , Shannon entropy (probability)
- Relative entropy (KL divergence)
- Statistical free energy
Proof idea / significance
Rewrite the functional at inverse temperature by adding and subtracting , then identify the remaining term as a KL divergence using the density . Nonnegativity of KL divergence (a form of Gibbs inequality ) yields the lower bound and characterizes the minimizer. This principle is the backbone of maximum-entropy and free-energy methods, and it underlies many convexity/duality results such as Legendre duality between free energy and entropy .