Let the pair potential be , so that in the dilute limit only one interacting pair need be retained at a time. The leading Mayer f-function expansion is
For each pair, translation of its center coordinate supplies and the other particles supply . Neglecting boundary corrections,
The Taylor expansion and in the thermodynamic limit give
Using and the ideal gas free energy,
With number density , this is , so is precisely the second virial coefficient.
The ideal gas free energy contributes . With and surface energy , the radius-dependent free energy is therefore
For equilibrium against external pressure , minimize .