# Correlation function (statistical mechanics)

Schematic equal-time spin correlation functions for ferromagnetic and antiferromagnetic materials both above and below ${\displaystyle T_{\text{Curie}}}$ versus the distance normalized by the correlation length, ${\displaystyle \xi }$. In all cases, correlations are strongest nearest to the origin, indicating that a spin has the strongest influence on its nearest neighbors. All correlations gradually decay as the distance from the spin at the origin increases. Above the Curie temperature, the correlation between spins tends to zero as the distance between the spins gets very large. In contrast, below ${\displaystyle T_{\text{Curie}}}$, the correlation between the spins does not tend toward zero at large distances, but instead decays to a level consistent with the long-range order of the system. The difference in these decay behaviors, where correlations between microscopic random variables become zero versus non-zero at large distances, is one way of defining short- versus long-range order.

In statistical mechanics, the correlation function is a measure of the order in a system, as characterized by a mathematical correlation function. Correlation functions describe how microscopic variables, such as spin and density, at different positions are related. More specifically, correlation functions quantify how microscopic variables co-vary with one another on average across space and time. A classic example of such spatial correlations is in ferro- and antiferromagnetic materials, where the spins prefer to align parallel and antiparallel with their nearest neighbors, respectively. The spatial correlation between spins in such materials is shown in the figure to the right.

## Definitions

The most common definition of a correlation function is the canonical ensemble (thermal) average of the scalar product of two random variables, ${\displaystyle s_{1}}$  and ${\displaystyle s_{2}}$ , at positions ${\displaystyle R}$  and ${\displaystyle R+r}$  and times ${\displaystyle t}$  and ${\displaystyle t+\tau }$ :

${\displaystyle C(r,\tau )=\langle \mathbf {s_{1}} (R,t)\cdot \mathbf {s_{2}} (R+r,t+\tau )\rangle \ -\langle \mathbf {s_{1}} (R,t)\rangle \langle \mathbf {s_{2}} (R+r,t+\tau )\rangle \,.}$

Here the brackets, ${\displaystyle \langle ...\rangle }$ , indicate the above-mentioned thermal average. It is a matter of convention whether one subtracts the uncorrelated average product of ${\displaystyle s_{1}}$  and ${\displaystyle s_{2}}$ , ${\displaystyle \langle \mathbf {s_{1}} (R,t)\rangle \langle \mathbf {s_{2}} (R+r,t+\tau )\rangle }$  from the correlated product, ${\displaystyle \langle \mathbf {s_{1}} (R,t)\cdot \mathbf {s_{2}} (R+r,t+\tau )\rangle }$ , with the convention differing among fields. The most common uses of correlation functions are when ${\displaystyle s_{1}}$  and ${\displaystyle s_{2}}$  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 or a pair correlation function). Correlation functions between the same random variable are autocorrelation functions. 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 ${\displaystyle s_{1}}$  and ${\displaystyle s_{2}}$  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, ${\displaystyle \tau }$ . In this case, we neglect the time evolution of the system, so the above definition is re-written with ${\displaystyle \tau =0}$ . This defines the equal-time correlation function, ${\displaystyle C(r,0)}$ . It is written as:

${\displaystyle C(r,0)=\langle \mathbf {s_{1}} (R,t)\cdot \mathbf {s_{2}} (R+r,t)\rangle \ -\langle \mathbf {s_{1}} (R,t)\rangle \langle \mathbf {s_{2}} (R+r,t)\rangle \,.}$

Often, one omits the reference time, ${\displaystyle t}$ , and reference radius, ${\displaystyle R}$ , by assuming equilibrium (and thus time invariance of the ensemble) and averaging over all sample positions, yielding:

${\displaystyle C(r)=\langle \mathbf {s_{1}} (0)\cdot \mathbf {s_{2}} (r)\rangle \ -\langle \mathbf {s_{1}} (0)\rangle \langle \mathbf {s_{2}} (r)\rangle \,.}$

where, again, the choice of whether to subtract the uncorrelated variables differs among fields. The Radial distribution function 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, ${\displaystyle R}$  and ${\displaystyle t}$ , influences the value of the same microscopic variable at a later time, ${\displaystyle t+\tau }$  (and usually at the same position). Such temporal correlations are quantified via equal-position correlation functions, ${\displaystyle C(0,\tau )}$ . They are defined analogously to above equal-time correlation functions, but we now neglect spatial dependencies by setting ${\displaystyle r=0}$ , yielding:

${\displaystyle C(0,\tau )=\langle \mathbf {s_{1}} (R,t)\cdot \mathbf {s_{2}} (R,t+\tau )\rangle \ -\langle \mathbf {s_{1}} (R,t)\rangle \langle \mathbf {s_{2}} (R,t+\tau )\rangle \,.}$

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:

${\displaystyle C(\tau )=\langle \mathbf {s_{1}} (0)\cdot \mathbf {s_{2}} (\tau )\rangle \ -\langle \mathbf {s_{1}} (0)\rangle \langle \mathbf {s_{2}} (\tau )\rangle \,.}$

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.

### Generalization beyond equilibrium correlation functions

All of the above correlation functions have been defined in the context of equilibrium statistical mechanics. However, it is possible to define correlation functions for systems away from equilibrium. Examining the general definition of ${\displaystyle C(r,\tau )}$ , it is clear that one can define the random variables used in these correlation functions, such as atomic positions and spins, away from equilibrium. As such, their scalar product is well-defined away from equilibrium. The operation which is no longer well-defined away from equilibrium is the average over the equilibrium ensemble. This averaging process for non-equilibrium system is typically replaced by averaging the scalar product across the entire sample. This is typical in scattering experiments and computer simulations, and is often used to measure the radial distribution functions of glasses.

One can also define averages over states for systems perturbed slightly from equilibrium. See, for example, http://xbeams.chem.yale.edu/~batista/vaa/node56.html

## Measuring correlation functions

Correlation functions are typically measured with scattering experiments. For example, x-ray scattering experiments directly measure electron-electron equal-time correlations.[1] From knowledge of elemental structure factors, one can also measure elemental pair correlation functions. See Radial distribution function for further information. Equal-time spin–spin correlation functions are measured with neutron scattering as opposed to x-ray scattering. Neutron scattering can also yield information on pair correlations as well. For systems composed of particles larger than about one micrometer, optical microscopy can be used to measure both equal-time and equal-position correlation functions. Optical microscopy is thus common for colloidal suspensions, especially in two dimensions.

## Time evolution of correlation functions

In 1931, Lars Onsager proposed that the regression of microscopic thermal fluctuations at equilibrium follows the macroscopic law of relaxation of small non-equilibrium disturbances.[2] This is known as the Onsager regression hypothesis. As the values of microscopic variables separated by large timescales, ${\displaystyle \tau }$ , should be uncorrelated beyond what we would expect from thermodynamic equilibrium, the evolution in time of a correlation function can be viewed from a physical standpoint as the system gradually 'forgetting' the initial conditions placed upon it via the specification of some microscopic variable. There is actually an intuitive connection between the time evolution of correlation functions and the time evolution of macroscopic systems: on average, the correlation function evolves in time in the same manner as if a system was prepared in the conditions specified by the correlation function's initial value and allowed to evolve.[1]

## The connection between phase transitions and correlation functions

Equal-time correlation functions, ${\displaystyle C(r,\tau =0)}$ , as a function of radius for a ferromagnetic spin system above, at, and below at its critical temperature, ${\displaystyle T_{C}}$ . Above ${\displaystyle T_{C}}$ , ${\displaystyle C(r,\tau =0)}$  exhibits a combined exponential and power-law dependence on distance: ${\displaystyle C(r,\tau =0)\propto r^{-(d-2+\eta )}e^{-r/\xi (T)}}$ . The power-law dependence dominates at distances short relative to the correlation length, ${\displaystyle \xi }$ , while the exponential dependence dominates at distances large relative to ${\displaystyle \xi }$ . At ${\displaystyle T_{C}}$ , the correlation length diverges, ${\displaystyle \xi (T_{C})=\infty }$ , resulting in solely power-law behavior: ${\displaystyle C(r,\tau =0)\propto r^{-(d-2+\eta )}}$ . ${\displaystyle T_{C}}$  is distinguished by the extreme non-locality of the spatial correlations between microscopic values of the relevant order parameter without long-range order. Below ${\displaystyle T_{C}}$ , the spins exhibit spontaneous ordering but finite correlation length again. Continuous order-disorder transitions can be understood as the process of the correlation length, ${\displaystyle \xi }$ , transitioning from being finite in the low-temperature, ordered state, to infinite at the critical point, and then again finite in a high-temperature, disordered state.

Continuous phase transitions, such as order-disorder transitions in metallic alloys and ferromagnetic-paramagnetic transitions, involve a transition from an ordered to a disordered state. In terms of correlation functions, the equal-time correlation function is non-zero for all lattice points below the critical temperature, and is non-negligible for only a fairly small radius above the critical temperature. As the phase transition is continuous, the length over which the microscopic variables are correlated, ${\displaystyle \xi }$ , must transition continuously from being infinite to finite when the material is heated through its critical temperature. This gives rise to a power-law dependence of the correlation function as a function of distance at the critical point. This is shown in the figure in the left for the case of a ferromagnetic material, with the quantitative details listed in the section on magnetism.

## Applications

### Magnetism

In a spin system, the equal-time correlation function is especially well-studied. It describes the canonical ensemble (thermal) average of the scalar product of the spins at two lattice points over all possible orderings: ${\displaystyle G(r)=\langle \mathbf {s} (R)\cdot \mathbf {s} (R+r)\rangle \ -\langle \mathbf {s} (R)\rangle \langle \mathbf {s} (R+r)\rangle \,.}$  Here the brackets mean the above-mentioned thermal average. Schematic plots of this function are shown for a ferromagnetic material below, at, and above its Curie temperature on the left.

Even in a magnetically disordered phase, spins at different positions are correlated, i.e., if the distance r is very small (compared to some length scale ${\displaystyle \xi }$ ), the interaction between the spins will cause them to be correlated. The alignment that would naturally arise as a result of the interaction between spins is destroyed by thermal effects. At high temperatures exponentially-decaying correlations are observed with increasing distance, with the correlation function being given asymptotically by

${\displaystyle G(r)\approx {\frac {1}{r^{d-2+\eta }}}\exp {\left({\frac {-r}{\xi }}\right)}\,,}$

where r is the distance between spins, and d is the dimension of the system, and ${\displaystyle \eta }$  is a critical exponent. At high temperatures, the correlation decays to zero exponentially with the distance between the spins. The same exponential decay as a function of radial distance is also observed below ${\displaystyle T_{c}}$ , but with the limit at large distances being the mean magnetization ${\displaystyle \langle M^{2}\rangle }$ .

As the temperature is lowered, thermal disordering is lowered, and in a continuous phase transition the correlation length diverges, as the correlation length must transition continuously from a finite value above the phase transition, to infinite below the phase transition:

${\displaystyle \xi \propto |T-T_{c}|^{-\nu }\,,}$

with another critical exponent ${\displaystyle \nu }$ .

This power law correlation is responsible for the scaling, seen in these transitions. All exponents mentioned are independent of temperature. They are in fact universal, i.e. found to be the same in a wide variety of systems.

### Radial distribution functions

One common correlation function is the radial distribution function which is seen often in statistical mechanics and fluid mechanics. The correlation function can be calculated in exactly solvable models (one-dimensional Bose gas, spin chains, Hubbard model) by means of Quantum inverse scattering method and Bethe ansatz. In an isotropic XY model, time and temperature correlations were evaluated by Its, Korepin, Izergin & Slavnov.[3]

#### Higher order correlation functions

Higher-order correlation functions involve multiple reference points, and are defined through a generalization of the above correlation function by taking the expected value of the product of more than two random variables:

${\displaystyle C_{i_{1}i_{2}\cdots i_{n}}(s_{1},s_{2},\cdots ,s_{n})=\langle X_{i_{1}}(s_{1})X_{i_{2}}(s_{2})\cdots X_{i_{n}}(s_{n})\rangle .}$

However, such higher order correlation functions are relatively difficult to interpret and measure. For example, in order to measure the higher-order analogues of pair distribution functions, coherent x-ray sources are needed. Both the theory of such analysis[4][5] and the experimental measurement of the needed X-ray cross-correlation functions[6] are areas of active research.

## References

1. ^ a b Sethna, James P. (2006). "Chapter 10: Correlations, response, and dissipation". Statistical Mechanics: Entropy, Order Parameters, and Complexity. Oxford University Press. ISBN 978-0198566779.
2. ^ Onsager, Lars (1931). "Reciprocal Relations in Irreversible Processes. I.". Physical Review. 38 (405): 2265–2279. Bibcode:1931PhRv...37..405O. doi:10.1103/PhysRev.37.405.
3. ^ A.R. Its, V.e. Korepin, A.G. Izergin & N.A. Slavnov (2009) Temperature Correlation of Quantum Spins from arxiv.org.
4. ^ Altarelli, M.; Kurta, R. P.; Vartanyants, I. A. (2010). "X-ray cross-correlation analysis and local symmetries of disordered systems: General theory". Physical Review B. 82 (10): 104207. arXiv:1006.5382. Bibcode:2010PhRvB..82j4207A. doi:10.1103/PhysRevB.82.104207.
5. ^ Lehmkühler, F.; Grübel, G.; Gutt, C. (2014). "Detecting orientational order in model systems by X-ray cross-correlation methods". Journal of Applied Crystallography. 47 (4): 1315. arXiv:1402.1432. doi:10.1107/S1600576714012424.
6. ^ Wochner, P.; Gutt, C.; Autenrieth, T.; Demmer, T.; Bugaev, V.; Ortiz, A. D.; Duri, A.; Zontone, F.; Grubel, G.; Dosch, H. (2009). "X-ray cross correlation analysis uncovers hidden local symmetries in disordered matter". Proceedings of the National Academy of Sciences. 106 (28): 11511–4. Bibcode:2009PNAS..10611511W. doi:10.1073/pnas.0905337106. PMC 2703671. PMID 20716512.