
In
statistical mechanics
In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. Sometimes called statistical physics or statistical thermodynamics, its applicati ...
, the correlation function is a measure of the order in a system, as characterized by a mathematical
correlation function
A correlation function is a function that gives the statistical correlation between random variables, contingent on the spatial or temporal distance between those variables. If one considers the correlation function between random variables ...
. Correlation functions describe how microscopic variables, such as spin and density, at different positions or times are related. More specifically, correlation functions measure quantitatively the extent to which microscopic variables fluctuate together, on average, across space and/or time. Keep in mind that correlation doesn’t automatically equate to causation. So, even if there’s a non-zero correlation between two points in space or time, it doesn’t mean there is a direct causal link between them. Sometimes, a correlation can exist without any causal relationship. This could be purely coincidental or due to other underlying factors, known as confounding variables, which cause both points to covary (statistically).
A classic example of spatial correlation can be seen in ferromagnetic and antiferromagnetic materials. In these materials, atomic spins tend to align in parallel and antiparallel configurations with their adjacent counterparts, respectively. The figure on the right visually represents this spatial correlation between spins in such materials.
Definitions
The most common definition of a correlation function is the
canonical ensemble
In statistical mechanics, a canonical ensemble is the statistical ensemble that represents the possible states of a mechanical system in thermal equilibrium with a heat bath at a fixed temperature. The system can exchange energy with the hea ...
(thermal) average of the scalar product of two random variables,
and
, at positions
and
and times
and
:
Here the brackets,
, indicate the above-mentioned thermal average. It is important to note here, however, that while the brackets are called an average, they are calculated as an
expected value
In probability theory, the expected value (also called expectation, expectancy, expectation operator, mathematical expectation, mean, expectation value, or first Moment (mathematics), moment) is a generalization of the weighted average. Informa ...
, not an average value. It is a matter of convention whether one subtracts the uncorrelated average product of
and
,
from the correlated product,
, with the convention differing among fields. The most common uses of correlation functions are when
and
describe the same variable, such as a spin-spin correlation function, or a particle position-position correlation function in an elemental liquid or a solid (often called a
Radial distribution function
In statistical mechanics, the radial distribution function, (or pair correlation function) g(r) in a system of particles (atoms, molecules, colloids, etc.), describes how density varies as a function of distance from a reference particle.
If ...
or a pair correlation function). Correlation functions between the same random variable are
autocorrelation function
Autocorrelation, sometimes known as serial correlation in the discrete time case, measures the correlation of a signal with a delayed copy of itself. Essentially, it quantifies the similarity between observations of a random variable at differe ...
s. However, in statistical mechanics, not all correlation functions are autocorrelation functions. For example, in multicomponent condensed phases, the pair correlation function between different elements is often of interest. Such mixed-element pair correlation functions are an example of
cross-correlation functions, as the random variables
and
represent the average variations in density as a function position for two distinct elements.
Equilibrium equal-time (spatial) correlation functions
Often, one is interested in solely the ''spatial'' influence of a given random variable, say the direction of a spin, on its local environment, without considering later times,
. In this case, we neglect the time evolution of the system, so the above definition is re-written with
. This defines the equal-time correlation function,
. It is written as:
Often, one omits the reference time,
, and reference radius,
, by assuming equilibrium (and thus time invariance of the ensemble) and averaging over all sample positions, yielding:
where, again, the choice of whether to subtract the uncorrelated variables differs among fields. The
Radial distribution function
In statistical mechanics, the radial distribution function, (or pair correlation function) g(r) in a system of particles (atoms, molecules, colloids, etc.), describes how density varies as a function of distance from a reference particle.
If ...
is an example of an equal-time correlation function where the uncorrelated reference is generally not subtracted. Other equal-time spin-spin correlation functions are shown on this page for a variety of materials and conditions.
Equilibrium equal-position (temporal) correlation functions
One might also be interested in the ''temporal'' evolution of microscopic variables. In other words, how the value of a microscopic variable at a given position and time,
and
, influences the value of the same microscopic variable at a later time,
(and usually at the same position). Such temporal correlations are quantified via equal-position correlation functions,
. They are defined analogously to above equal-time correlation functions, but we now neglect spatial dependencies by setting
, yielding:
Assuming equilibrium (and thus time invariance of the ensemble) and averaging over all sites in the sample gives a simpler expression for the equal-position correlation function as for the equal-time correlation function:
The above assumption may seem non-intuitive at first: how can an ensemble which is time-invariant have a non-uniform temporal correlation function? Temporal correlations remain relevant to talk about in equilibrium systems because a time-invariant, ''macroscopic'' ensemble can still have non-trivial temporal dynamics ''microscopically''. One example is in diffusion. A single-phase system at equilibrium has a homogeneous composition macroscopically. However, if one watches the microscopic movement of each atom, fluctuations in composition are constantly occurring due to the quasi-random walks taken by the individual atoms. Statistical mechanics allows one to make insightful statements about the temporal behavior of such fluctuations of equilibrium systems. This is discussed below in the section on the
temporal evolution of correlation functions and Onsager's regression hypothesis.
Time correlation function
Time correlation function plays a significant role in nonequilibrium statistical mechanics as partition function does in equilibrium statistical mechanics.
For instance, transport coefficients are closely related to time correlation functions through the
Fourier transform
In mathematics, the Fourier transform (FT) is an integral transform that takes a function as input then outputs another function that describes the extent to which various frequencies are present in the original function. The output of the tr ...
; and the
Green-Kubo relations,
used to calculate relaxation and dissipation processes in a system, are expressed in terms of equilibrium time correlation functions. The time correlation function of two observable
and
is defined as,
and this definition applies for both classical and quantum version. For stationary (equilibrium) system, the time origin is irrelevant, and
, with
as the time difference.
The explicit expression of classical time correlation function is,
where
is the value of
at time
,
is the value of
at time
given the initial state
, and
is the phase space distribution function for the initial state. If the
ergodicity
In mathematics, ergodicity expresses the idea that a point of a moving system, either a dynamical system or a stochastic process, will eventually visit all parts of the space that the system moves in, in a uniform and random sense. This implies th ...
is assumed, then the ensemble average is the same as time average in a long time; mathematically,
scanning different time window
gives the time correlation function. As
, the correlation function
, while as
, we may assume the correlation vanishes and
.
Correspondingly, the quantum time correlation function is, in the canonical ensemble,
[
]