# The Pair Correlation Function


Of particular importance is the case n=2, or the correlation function $$g^{(2)} (r_1, r_2)$$ known as the pair correlation function. The explicit expression for $$g^{(2)} (r_1, r_2)$$ is

$g^{(2)} (r_1, r_2) = {V^2 N! \over N^2 (N - 2)!} \langle \delta (r_1 - r'_1) \delta (r_2 - r'_2)\rangle$

$= {V^2 (N - 1) \over NZ_N} \int dr_3 \cdots dr_N e^{-\beta U(r_1, \cdots , r_N)}$

$= {N (N - 1) \over p^2} \langle \delta (r_1 - r'_1) \delta (r_2 - r'_2) \rangle _{r'_1 \cdots r'_N}$

In general, for homogeneous systems in equilibrium, there are no special points in space, so that $$g^{(2)}$$ should depend only on the relative position of the particles or the difference $$r_1 - r_2$$. In this case, it proves useful to introduce the change of variables

$r = r_1 - r_2 R = {1 \over 2} (r_1 + r_2)$

$r_1 = R + {1 \over 2} r, r_2 = R - {1 \over 2} r$

Then, we obtain a new function $$\tilde {g} ^{(2)}$$, a function of $$r$$ and $$R$$:

$\tilde {g}^{(2)} (r, R) = {V^2 (N - 1) \over NZ_N} \int dr_3 \cdots dr_N e^{-\beta U (R + {1 \over 2} r, R - {1 \over 2} r, r_R, \cdots , r_N)}$

$= {N (N - 1) \over p^2} \left < \delta \left ( R + {1 \over 2} r - r'_1 \right ) \delta \left ( R - {1 \over 2} r - r'_2 \right ) \right >_{r'_1, \cdots r'_N}$

In general, we are only interested in the dependence on $$r$$. Thus, we integrate this expression over $$R$$ and obtain a new correlation function $$\tilde {g} (r)$$ defined by

$\tilde {g} (r) = {1 \over V} \int dR \tilde {g} ^{(2)} (r, R)$

$= {V (N - 1) \over NZ_N} \int dR dr_3 \cdots dr_N e^{-\beta U (R + \dfrac {1}{2}r, R-\dfrac {1}{2}r, rR, \cdots, rN )}$

$= {(N - 1) \over pZ_N } \int dR dr_3 \cdots dr_N e^{-\beta U (R + \dfrac {1}{2}r, R-\dfrac {1}{2}r, rR, \cdots, rN )}$

For an isotropic system such as a liquid or gas, where there is no preferred direction in space, only the maginitude or $$r, |r| \equiv r$$ is of relevance. Thus, we seek a choice of coordinates that involves r explicitly. The spherical-polar coordinates of the vector $$r$$ is the most natural choice. If $$r = (x, y, z )$$ then the spherical polar coordinates are

$x = r \sin \theta \cos \phi$

$y = r \sin \theta \sin \phi$

$x = r \cos \theta$

$dr = r^2 \sin \theta \, dr \, d\theta \, d\phi$

where $$\theta$$ and $$\phi$$ are the polar and azimuthal angles, respectively. Also, note that

$r = r n$

where

$n = \left ( \sin \theta \cos \phi, \sin \theta \sin \phi, \cos \theta \right )$

Thus, the function g(r) that depends only on the distance r between two particles is defined to be

$g(r) = { 1\over 4 \pi} \int \sin \theta d \theta d \phi \tilde {g} (r)$

$= {(N - 1) \over 4 \pi p Z_N} \int \sin \theta\, d\theta \, d \phi\, dR dr_3 \cdots dr_N e^{-\beta U (R + \dfrac {1}{2}r, R-\dfrac {1}{2}r, rR, \cdots, rN )}$

$= {(N - 1) \over 4 \pi p} \left < {\delta (r - r') \over rr'} \right > _{r^t, \theta^t, \phi^t, R^t, r^t_R, \cdots , r^t_N}$

$Integrating g(r) over the radial dependence, one finds that \[ 4 \pi p \int _0^{\infty} drr^2 g(r) = N - 1 \approx N$

The $$g(r)$$ function is important for many reasons. It tells us about the structure of complex, isotropic systems, as we will see below, it determines the thermodynamic quantities at the level of the pair potential approximation, and it can be measured in neutron and X-ray diffraction experiments. In such experiments, one observes the scattering of neutrons or X-rays from a particular sample. If a detector is placed at an angle $$\theta$$ from the wave-vector direction of an incident beam of particles, then the intensity $$I (\theta )$$ that one observes is proportional to the structure factor

$I (\theta) \sim {1 \over N} \left < \left | \sum _m e^{ik\cdot r_m} \right | ^2 \right >$

$= {1 \over N} \left < \sum _m e^{ik\cdot (r_m - r_n)} \right >$

$\equiv S (k)$

where $$k$$ is the vector difference in the wave vector between the incident and scattered neutrons or X-rays (since neutrons and X-rays are quantum mechanical particles, they must be represented by plane waves of the form $$exp (ik \cdot r )$$). By computing the ensemble average (see problem 4 of problem set #5), one finds that $$S (k) = S (k)$$ and S(k) is given by

$S(k) = 1 + {4 \pi p \over k} \int _0^{\infty} drr \sin (kr) g (r)$

Thus, if one can measure $$S(k)$$, $$g(r)$$ can be determined by Fourier transformation.

## Contributors and Attributions

This page titled The Pair Correlation Function is shared under a not declared license and was authored, remixed, and/or curated by Mark E. Tuckerman.