| This article may require cleanup to meet Wikipedia's quality standards. Please improve this article if you can. (November 2008) |
The correlation function in statistical mechanics is measure of the order in a system. Usually it is called
It tells us how microscopic variables at different positions are correlated. In a spin system, it is the thermal average of the scalar product of the spins at two lattice points over all possible orderings. The correlation function is hence,

Here the brackets mean the above-mentioned thermal average.
Even in a disordered phase, spins at different positions are correlated, i.e., if the distance r is
, the spins are almost parallel. The alignment that would naturally arise as a result of the interaction between spins is destroyed by thermal effects. At high temperatures one sees an exponential correlation with the correlation function being given asymptotically by

where r is the distance between spins and d is the dimension of the system. The correlation decays to zero exponentially with the distance between the spins.
Note that this is true not only above, but also below the critical temperature, although here the mean value of the spin is not 0.
Furthermore, η is a critical exponent.
As the temperature is lowered, thermal disordering is lowered, and in a continuous phase transition the correlation length diverges, namely

with another exponent ν.
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.
One very important correlation function is the radial distribution function which is seen often in statistical mechanics.