Virial theorem Created 2026-09-24 Updated 2026-10-13
The virial theorem relates the average value of a function along a trajectory to the forces that bind it. For an isolated system of particles interacting through Newtonian gravitational potential energy, it gives : the average kinetic energy is half the magnitude of the average negative potential energy. An eccentric Kepler orbit makes the distinction vivid: kinetic energy and potential energy vary throughout the orbit, although their sum is constant. The relation concerns their time averages, rather than their values at every instant. It underlies the virial mass estimate and the negative heat capacity of a virialized gravitational system.
Use constant positive particle masses , positions , mechanical momenta , and total kinetic energy . The auxiliary quantity is a sum of dot products, not the gravitational constant, which we denote here by :
This finite- identity is exact wherever Newton's second law holds along a regular trajectory; must include every force. The endpoint term is what a finite observation window leaves behind. For the infinite-time theorem, suppose the averages on the left exist and . A sufficient condition is uniformly bounded positions and velocities for finitely many particles. More generally suffices, even without those individual bounds. Bounded positions alone do not supply a bound on momenta, especially near a singular potential energy; nor does a small endpoint term prove thermodynamic equilibrium. Periodic motion with gives the identity without an endpoint term at that finite . For an isolated system, use an inertial centre of mass frame so translational drift does not contribute bulk kinetic energy.[ref]
For a differentiable potential energy that is a homogeneous function of degree , choose its additive constant so that the scaling law really holds. With conservative forces, the Euler theorem for homogeneous functions gives
Thus a harmonic oscillator has and . An isolated system with Newtonian gravitational potential energy has
Each interacting pair occurs once, and at infinite separation. Here the total energy is conserved. An external field or a mixture of different scaling powers requires its own force term; one cannot assign the whole potential energy a single degree . The virial theorem for a homogeneous pair potential states the corresponding general energy relation.