Consider the quantity
summed over the particles in a system. Assume that each particle () is subjected to external forces and internal interparticle forces, exerted for example by particle through potentials
This is why is significant:
{\bf Proof}.
(1)
The last term is the kinetic energy
The first is the potential energy for the potentials
then
(2)
Next we show that
if the system is enclosed in a box and the walls are under external pressure. A particle on a wall will experience , where is the pressure per particle exerted by the wall. Add up all of these contributions over particles ( outward-direct, origin at box center), and time average over a very long time,
(3)
So what is this used for?
In molecular dynamics one keeps track of particle positions and momenta, so the virial theorem can be used to compute pressures. The virial hypothesis is that because any particle in a system confined by walls or interparticle forces will sample a very large phase space (set of values) over time
In a system confined only by interparticle forces we have
Qualifier problems for circular orbits in central potentials, since for such cases
As I mentioned above, the averages here can be time averages, or position averages
Dynamics (711) We will use such averages quite frequently to separate secular (oscillatory) and nonsecular (accumulating) perturbations by averaging over a period (or by averaging over eccentric anomaly values)
Statistical mechanics (715)
The virial theorem says that for
and for a freely gravitating system and .
Assemble a ball of constant density matter by bringing in a new layer of thickness from infinity where the gravitational potential vanishes; an external agent moving the masses will do work
and in a closed system this plus the work done by the gravitational field add up to zero.
Consider the work done by the gravitational field as a Hamiltonian potential
and treat the dust/gas to be ideal and nonrelativistic, and we have no external pressure applied, it is self-gravitating.
Because
As shrinks, goes up, which is sensible for a collapsing cloud, but the total energy decreases
and therefore a freely gravitating mass of matter has a negative specific heat. It cannot be placed in thermal equailibrium with any system that has positive specific heat.