To distinguish the moment quantity from the gravitational constant, write it as . Newton's equations give and . Differentiating proves
Average from to , divide by , and apply the supplied long-time boundary condition. The result is
The PDF's intermediate formula omits this minus sign. It cannot follow from the preceding derivative identity: an attractive inverse-square circular orbit already has and , contradicting the printed positive-sign version. The later homogeneous-potential relation is consistent with the corrected sign.
Interpret as the total pair potential energy, with each pair counted once, for example . The printed pair sum leaves one particle index unspecified; an ordered-pair convention with the corresponding factor absorbed into has the same degree of homogeneity. Under a common dilation of all positions,
Differentiating with respect to at one is the Euler theorem for homogeneous functions. Since , it gives
Substitution into the correctly signed averaged identity proves the virial theorem for a homogeneous pair potential:
For , the conserved total energy can be evaluated using these averages:
Use the kinetic temperature convention , where for three-dimensional thermalized particles, or the same positive coefficient as a kinetic-temperature definition. At fixed particle number and interaction parameters,
Thus the equilibrium heat capacity is negative precisely when
subject to existence of the bounded equilibrium sequence assumed by the virial theorem. At the virial energy is zero and this derivative vanishes. At the written power-law potential is constant, its force vanishes, and the bounded-motion virial condition excludes nonzero kinetic energy; division by is not permissible. The Newtonian case recovers .
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.