For particles acting through two-body central forces alone one may use the thermodynamic relation
Using this relation, along with the Helmholtz energy function and the canonical partition function, one
arrives at the so-called
pressure equation (also known as the virial equation):
is a central potential and is the pair distribution function.