Fluctuation formulas from log Z
In equilibrium statistical mechanics, the logarithm of the partition function is the central generator of both mean values and fluctuations. Starting from the canonical partition function in the canonical ensemble , one can systematically obtain fluctuation and response formulas by differentiating with respect to the parameters that couple to observables.
Setup: parameters conjugate to observables
Let a family of Hamiltonians depend smoothly on parameters , and define the canonical partition function
where is the inverse temperature and is the underlying measure on phase space (see phase-space volume element for the classical case). The associated ensemble average is
A particularly important (and common) parametrization is a linear coupling to observables :
In that case, each is a “field” conjugate to .
First derivatives: means
Differentiate under the integral sign (when justified; in practice this is ensured by standard dominated-convergence conditions). One obtains the general identity
For linear couplings , this becomes
A special case is differentiation with respect to :
Thus encodes the mean energy directly.
These identities are the core of constructing observables from log Z .
Second derivatives: variances and covariances
Second derivatives produce fluctuations. For linear couplings, the mixed second derivative is
where (see covariance in an ensemble ).
In particular,
recovering the variance formula as a derivative of .
For energy fluctuations (no needed),
since and .
These are the canonical “fluctuation formulas” (see also fluctuations of an observable ).
Physical interpretation: response = fluctuations
If is a physical field, then is a linear response coefficient (a susceptibility). From the identities above,
so response is controlled by equilibrium fluctuations. In common cases this is exactly the equilibrium form of a fluctuation–dissipation relation (compare with susceptibility ).
Higher derivatives: cumulants
More generally, all higher derivatives of generate higher-order connected moments (cumulants). This perspective is made explicit in the cumulant generating function construction and in connected correlations as cumulants .
Finally, the thermodynamic potentials inherit these derivative structures via (see Helmholtz free energy and free energy in statistical mechanics ): convexity/concavity properties of translate into stability conditions and positivity of variances.