The virial expansion expresses the free energy or pressure of a dilute system as a power series in number density whose coefficients encode few-body interactions.
For particles with pair potential , the second virial coefficient is
with the integration measure adapted to the available relative configurations. Repulsion contributes positively and attraction negatively.

Articles by others on the same topic (1)

The virial expansion is a series expansion used in statistical mechanics and thermodynamics to describe the behavior of gases. It relates the pressure of a gas to its density and temperature through a power series in density. The significance of the virial expansion lies in its ability to account for interactions between particles in a gas, which are not considered in the ideal gas law.