Constructing free energies from partition functions

How thermodynamic potentials arise as (minus) inverse-temperature times the logarithm of partition functions.
Constructing free energies from partition functions

Partition functions are normalization constants for equilibrium ensembles, but their deeper role is that their logarithms produce the thermodynamic potentials governing macroscopic behavior (see and ).

Canonical free energy from the canonical partition function

In the (fixed T,V,NT,V,N), the partition function ZN(β,V)Z_N(\beta,V) is constructed by .

The Helmholtz free energy (as a function of (T,V,N)(T,V,N)) is defined by

F(T,V,N)  =  1βlogZN(β,V), F(T,V,N) \;=\; -\frac{1}{\beta}\,\log Z_N(\beta,V),

with β\beta the . Equivalently, using TT explicitly and the kBk_B,

F(T,V,N)  =  kBTlogZN(β,V). F(T,V,N) \;=\; -k_B T \,\log Z_N(\beta,V).

This agrees (in the thermodynamic limit and under standard regularity assumptions) with the thermodynamic .

Grand potential from the grand partition function

In the (fixed T,V,μT,V,\mu), the grand partition function Ξ(β,μ,V)\Xi(\beta,\mu,V) is constructed by .

The corresponding thermodynamic potential is the grand potential

Ω(T,V,μ)  =  1βlogΞ(β,μ,V), \Omega(T,V,\mu) \;=\; -\frac{1}{\beta}\,\log \Xi(\beta,\mu,V),

matching the thermodynamic .

Why the logarithm?

The use of logZ\log Z (and logΞ\log \Xi) reflects extensivity and additivity:

  • For (approximately) independent subsystems, partition functions multiply, while free energies add: if ZZ(1)Z(2)Z \approx Z^{(1)} Z^{(2)}, then β1logZβ1logZ(1)β1logZ(2)-\beta^{-1}\log Z \approx -\beta^{-1}\log Z^{(1)} - \beta^{-1}\log Z^{(2)}.
  • In the , one expects logZ\log Z to scale like volume, so FF scales like an extensive quantity.

Connection to Legendre structure

Switching which variables are held fixed corresponds to Legendre transforms between potentials. For example, the grand potential is the Legendre transform of FF with respect to particle number, as explained in . This mirrors the conjugacy between NN and the μ\mu.

Physical interpretation

  • FF measures the “useful work” available at fixed (T,V,N)(T,V,N) once entropic effects are included; minimizing FF at fixed (T,V,N)(T,V,N) characterizes equilibrium.
  • Ω\Omega is the potential adapted to particle exchange; minimizing Ω\Omega at fixed (T,V,μ)(T,V,\mu) characterizes equilibrium in the presence of a particle reservoir.
  • Derivatives of logZ\log Z and logΞ\log \Xi generate observable averages and fluctuations; see .