I would like to know how I can go from a two argument function $g(x_1,x_2)$ formally correct to a function of the difference of the parameters $g(x_1-x_2)=g(x)$ this seems to involve integration over $x_2$ but I have no idea what to look for to find this.
I have this example from Chaikin/Lubensky, but the steps in between and the reasoning are missing. This is about the pair distribution function $g$.
$$\langle n(x_1)\rangle g(x_1,x_2)\langle n(x_2)\rangle= \langle \sum \limits_{\alpha \neq \alpha'} \delta(x_1- x_\alpha) \delta(x_2 - x_{\alpha'})\rangle$$
and then for a homogeneous fluid we have
$$\langle n\rangle^2 g(x_1-x_2)= {1 \over V } \int dx_2 \langle \sum \limits_{\alpha \neq \alpha'} \delta(x_1- x_\alpha) \delta(x_2 - x_{\alpha'})\rangle$$
What happens to the left side and why? Please be detailed. If possible I would really like to know how this can be done formally correct.