Constructing observables from log partition functions
A central reason partition functions are useful is that derivatives of their logarithms generate equilibrium observables and their fluctuations. This is the concrete bridge between microscopic definitions (microstates and energies) and macroscopic thermodynamic response functions.
Throughout, expectations are ensemble averages taken in the relevant ensemble.
Canonical ensemble: derivatives of
Let be the canonical partition function (constructed in the canonical construction ). Then:
Energy and energy fluctuations
The mean energy is obtained from
The energy variance is the second derivative
which is the basic instance of the general principle that second derivatives of give variances .
This links directly to heat capacity: at fixed ,
connecting the fluctuation formula to heat capacity at constant volume and the specific-heat fluctuation relation .
Conjugate observables via parameter derivatives
Suppose the Hamiltonian depends on an external parameter (e.g. a field strength), . Then
Thus the observable conjugate to is obtained as a derivative of .
Grand canonical ensemble: derivatives of
Let be the grand partition function (constructed in the grand-canonical construction ). Then:
Mean particle number and its fluctuations
The mean particle number is
The particle-number variance is
and more generally mixed derivatives give covariances .
Energy–number covariance
Because depends on both and , mixed derivatives encode correlations between energy and particle number. A standard example is
where is the covariance of the joint fluctuations in the grand canonical ensemble.
Log partition functions as cumulant generators
A useful viewpoint is that and are cumulant generating objects for the observables conjugate to the parameters. This is formalized in constructions like cumulant generating functions and connected correlations as cumulants .
Physical interpretation
- First derivatives of or give equilibrium “equations of state” (mean values of conserved or conjugate quantities).
- Second derivatives quantify equilibrium fluctuations and linear response (susceptibilities), linking to susceptibility and related response coefficients.
- Taking the logarithm is essential: it converts products of partition functions (from composing subsystems) into sums, making derivatives match extensive thermodynamic behavior (see free energies from partition functions ).