Indeed, to put a gas element of unit mass with specific volume
at a distance
around mass
from infinity, the
work equal to the gravitational potential
should be done; but then one should heat up the gas element,
which is equivalent to give it the specific internal energy
, and also do
-work to empty space in the
already present gas, hence
is relevant in calculating the binding energy of an isentropic envelope, where
.