Mean-field variational construction
Mean-field theory can be formulated cleanly as a constrained minimization of the canonical free energy . The key idea is to replace the true interacting equilibrium measure by a simpler trial measure (often a product measure) and choose it by a variational principle.
Variational principle for the canonical free energy
For a Hamiltonian at inverse temperature $\beta$ , the canonical ensemble has partition function and free energy
(or an integral, for continuous microstates).
Let be any trial probability distribution on microstates. Define its entropy as the Gibbs/Shannon entropy and denote by the expectation under . Then one has the exact identity
where is the true Gibbs distribution and is the relative entropy (KL divergence) . Since by Gibbs' inequality , this implies the variational upper bound
with equality if and only if .
This is an “energy minus temperature times entropy” competition, consistent with entropy maximization under constraints and with the Legendre-structure viewpoint in constructing $F$ from $S$ .
Mean-field restriction: product trial measures
The mean-field approximation chooses a restricted family of trial measures, typically factorized:
so correlations are neglected at the level of the ansatz. Minimizing the bound over this family yields self-consistency equations for the one-site marginals (or for order parameters such as magnetization).
This mean-field variational viewpoint is closely related to the Bogoliubov variational bound , which produces the same type of upper bound by comparison with a solvable reference Hamiltonian.
Example: Curie–Weiss/Ising mean-field equation
For Ising spins with a mean-field Hamiltonian
a translation-invariant product ansatz is characterized by the magnetization . The resulting mean-field free-energy density can be written as a function of :
Stationarity yields the self-consistency equation
Physical interpretation
Mean-field theory replaces the fluctuating influence of neighbors by an average “molecular field,” while still accounting for thermal disorder through the entropy term. Minimizers of the variational functional approximate equilibrium macrostates; differentiating the resulting approximate free energy yields approximate response functions such as the susceptibility .