Virial Theorem for Central Forces
In 1933 Fritz Zwicky pointed the Mount Wilson telescopes at the Coma cluster — a swarm of a thousand galaxies — and measured how fast its members were moving. Then he applied a theorem from 1870, proved by Rudolf Clausius for the kinetic theory of heat, that relates the average kinetic energy of any bound system to the average of its potential energy. The speeds were absurdly high: for the cluster to hang together, it had to contain vastly more mass than its starlight showed. Zwicky called the missing ingredient dunkle Materie — dark matter — and the theorem that exposed it, decades ahead of its acceptance, was the virial theorem. What makes the theorem remarkable is what it does not require. It never solves the orbit. It does not care whether the motion is periodic, or chaotic, or a thousand galaxies swarming at once. It demands only one thing — that the motion stay bounded — and from that alone it extracts an exact algebraic relation between time-averaged kinetic and potential energy. For a central power-law potential the relation is simply : one number, , fixes the entire energy budget of every bound orbit in that potential. This article builds the theorem from its engine — a bookkeeping quantity whose growth is forbidden by boundedness — then verifies it explicitly on the Kepler ellipse, scales it up to self-gravitating systems of many bodies, and puts numbers on its two greatest hits: why a satellite losing energy to drag speeds up, and how a velocity dispersion weighs a cluster of stars.
- The virial theorem relates time-averaged kinetic and potential energies for any bounded motion: , with no need to solve the orbit.
- For a power-law central potential , Euler's homogeneity theorem collapses this to .
- Kepler/Coulomb (): , so — the energy budget behind binding energies, the drag paradox, and negative heat capacity.
- Isotropic harmonic oscillator (): — energy equipartitioned on average, the classical seed of equipartition in statistical mechanics.
- The only input is boundedness: the generator stays finite, so its average rate of change over long times vanishes. Unbound (hyperbolic) motion breaks the theorem.
- The many-body gravitational version turns a measured velocity dispersion into a total mass — Zwicky's dark-matter argument and today's routine cluster-weighing tool.
- Key idea: for bounded motion in a homogeneous potential , the time-averaged kinetic and potential energies obey — a constraint that follows purely from boundedness, without solving the orbit.
Where this lives today
The virial theorem is the default scale in every branch of gravitational astrophysics. Star-formation surveys with ALMA commonly use the virial parameter — the dimensionless form of the virial mass estimate — with indicating that a cloud can be gravitationally bound in the simplest model; cosmological simulations define halo boundaries by the "virial radius"; and cluster masses from dispersion, X-ray temperature, and gravitational lensing are routinely cross-checked against each other, with the lensing maps confirming the presence of the unseen mass that Zwicky's 1933 virial argument had inferred. The Gaia mission's fourth data release, expected in December 2026, will sharpen the game further: with proper motions for individual stars in hundreds of clusters, both sides of become directly measurable, turning the theorem from an estimator into a consistency test of dynamical equilibrium itself. Away from gravity, the theorem quietly audits the microscopic world. Quantum chemistry codes report the ratio for converged electronic wavefunctions — Fock's quantum virial theorem demands exactly 2 for Coulomb systems, and deviations flag an unconverged basis set. The same check runs inside molecular-dynamics engines and stellar-structure codes, where a drifting virial residual is the standard smoke alarm for a broken integrator or an unphysical boundary condition. A theorem with no dynamics in it at all — just boundedness and a derivative — has become one of computation's most useful error bars.
The physical picture
Watch a comet on an eccentric orbit. Near perihelion it whips around the Sun at tremendous speed — kinetic energy dominates the ledger. Out near aphelion it crawls, almost all of its energy parked as potential. Instant by instant the split between and swings wildly. And yet the virial theorem says the time averages of these two wildly swinging quantities are locked in a rigid ratio: for gravity, is always exactly half of , for every bound orbit, at every eccentricity. The fast-and-close excursions and the slow-and-far excursions conspire, over each period, to a fixed exchange rate.
The engine behind this rigidity is almost embarrassingly simple. Build the scalar — a kind of phase-space radius that grows when the body moves outward and shrinks when it falls back. Along any orbit, wiggles. But if the motion is bounded — positions finite, speeds finite — then is trapped in a band forever. A quantity trapped in a band cannot have any long-run trend: average its rate of change over a long enough time and you get zero. That single statement, , is the virial theorem; everything else is unpacking the derivative.
Why does the derivative of know about energies? Because splits into exactly two pieces: , and — Clausius named the average of this second piece the virial, from the Latin vis, force. The factor of 2 in the theorem is nothing deeper than being twice the kinetic energy. And the exponent enters through a lovely piece of pure mathematics: for any potential homogeneous of degree , Euler's theorem says identically — the force term simply is times the potential energy, no averaging subtleties required. Keep one boundary post in view from the start: the theorem is about bounded motion. A hyperbolic flyby has growing without limit — the chord in the picture above never flattens — and the theorem simply does not apply. Boundedness is not a technicality; it is the entire content of the hypothesis.
The machinery
The time average that the theorem controls is the honest infinite-time average. For a periodic orbit it reduces to the average over one period, but the definition asks for no periodicity at all:
where: — any quantity evaluated along the trajectory; — the averaging window. For a Kepler ellipse of period , equals the one-period average; for a non-closing rosette orbit or a swarm of stars it is the long-run mean, which is exactly what observations of a cluster sample. The generator whose boundedness powers everything is the Clausius scalar:
where: — position from the force center; — momentum. Geometrically : it is positive while the body recedes, negative while it falls back, and for bounded motion it oscillates in a fixed band — the fact the whole theorem rests on. Differentiate once, using nothing but the product rule and Newton's second law, and the two energies appear:
where: — twice the kinetic energy (this is where the theorem's factor of 2 is born); — the force dotted into position, whose time average Clausius named the virial. Average both sides and use boundedness to kill the left side, and:
where: for a conservative force. Equation (4) is the general virial theorem: true for any conservative force and any bounded motion, central or not. It becomes an energy relation the moment the potential has a definite scaling behavior. That scaling input is Euler's theorem on homogeneous functions. If — true for any power law — then differentiating with respect to at gives an identity, not an approximation:
where: — the degree of homogeneity: for gravity and Coulomb, for the isotropic harmonic oscillator, and the limit (with ) covers the logarithmic potential of flat galactic rotation curves, for which exactly. Feeding (5) into (4) delivers the headline:
where: both averages are taken along the same bound trajectory. Since the total energy is conserved (so ), the theorem immediately parcels between the two accounts:
where: for gravity () this reads : a bound orbit's total energy is minus its average kinetic energy. That innocuous sign carries a shocking consequence — remove energy from an orbiting body and its average speed increases — unpacked in the warning and worked examples below.
Which relation answers which question
| you want | use | notes |
|---|---|---|
| any conservative force, bounded motion | , eq. (4) | the general form — no scaling assumed |
| power-law potential | , eq. (6) | Euler's identity does the work |
| energy budget from one average | eq. (7) | gravity: |
| flat rotation curve | the limit; independent of orbit size | |
| self-gravitating N-body system | , eq. (8) | Zwicky's scale; |
We are deriving for bounded motion in , from nothing but Newton's second law, one time average, and one scaling identity. The strategy: differentiate the generator , average the result over an infinite window, and let boundedness annihilate the left-hand side; Euler's homogeneity theorem then converts the surviving force term into a multiple of the potential energy. Watch where boundedness enters — it is used exactly once, and it is the entire hypothesis: every celebrated failure of the theorem (hyperbolic orbits, evaporating clusters) is a failure of that single step, never of the algebra.
Step 1. Differentiate the generator. With , the product rule and Newton's law give
Why and not : , which is twice — the theorem's factor of 2 is born here, in the mismatch between momentum-times-velocity and kinetic energy.
Step 2. Time-average both sides over a window and take :
Step 3. Kill the left side with boundedness. For bounded motion, — a fixed number — so the numerator is bounded while the denominator grows without limit:
Why this is the crux: for an unbound orbit grows linearly at late times ( and align as the body recedes), the limit is finite and nonzero, and the theorem dies. Periodicity, note, was never needed — only confinement.
Step 4. Convert the force term with Euler's identity. For , homogeneity of degree gives pointwise along the orbit, so and
Why no averaging subtlety survives: the identity holds at every instant, not just on average, so the conversion commutes with the time average exactly.
Go deeper · Derivation B · 1 minChecking the theorem on an explicit Kepler ellipse
The virial theorem claims and for a bound Kepler orbit with and semi-major axis — for every eccentricity. We verify this by brute force, and en route we prove the classic average rather than quoting it. The strategy: convert the time average to a true-anomaly average using angular momentum conservation (), integrate over the conic , and clean up with Kepler's second law in the form . The satisfying point to watch: the factor from the time-conversion softens the being averaged into a plain — the eccentric orbit's slow, distant leg gets exactly the extra time-weight needed to make the average come out independent of .
Step 1. Convert the time average of to an angle average. With ,
Why the weight matters: equal time is not equal angle — the body dawdles at large , so time-averaging emphasizes aphelion. The Jacobian encodes precisely that emphasis.
Step 2. Integrate over the ellipse. With and the standard integral ,
using and the semi-minor axis .
Step 3. Eliminate with Kepler's second law. The areal rate is , and one period sweeps the full ellipse area , so . Then
Why this is a small miracle: every trace of eccentricity has cancelled — the time-averaged inverse distance depends only on the orbit's energy scale , which is exactly what the virial theorem, blind to orbit shape, requires.
Step 4. Assemble the energy averages. Immediately ; and since the conserved total energy of a bound Kepler orbit is ,
Step 5. Check the virial relation: — the theorem, confirmed term by term, for all . As a counterpoint, the direct position average is — different functions of average differently, and only is this clean.
Go deeper · Derivation C · 2 minWeighing a star cluster with the many-body virial theorem
We are deriving the tool Zwicky used on Coma: for a self-gravitating system of bodies in a settled (bounded, statistically steady) state, , and from it the practical mass estimate . The strategy mirrors the single-particle proof with the generator promoted to a sum, ; the new content is that the pair-summed gravitational potential energy is itself homogeneous of degree in all coordinates at once, so Euler's identity applies to the whole configuration. The step to watch is the last one — converting the theorem into an observable requires modeling assumptions (isotropic velocities, a mass profile), and those assumptions, not the theorem, set the error bars.
Step 1. Promote the generator and differentiate. With ,
where and is the total gravitational force on body from all others.
Step 2. Apply Euler's identity to the pair potential. The total potential energy is homogeneous of degree under scaling all positions, so , i.e. . Why internal forces do not cancel here: they cancel in the total momentum, but weights each force by position — what survives is precisely the system's binding energy.
Step 3. Average and use boundedness (the cluster neither collapses nor evaporates over the averaging time):
Step 4. Model the two averages with observables. Kinetic: if velocities are isotropic, the line-of-sight dispersion seen in Doppler widths satisfies , so . Potential: for a uniform sphere of mass and radius , .
Step 5. Solve for the mass:
where: the prefactor 5 is the uniform-sphere value — realistic density profiles shift it by factors of order unity, which is why virial masses are quoted with structural caveats. Why the estimate is nonetheless robust: it needs no orbit solutions, no individual distances, only a dispersion and a size — two of the easiest quantities astronomy can measure. *Dimensionally ; applied to Coma ( km/s, Mpc) it gives kg , far above the luminous mass — Zwicky's 1933 discrepancy, confirmed by modern lensing.*
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Kepler / Coulomb () | , | binding energy equals average kinetic energy; negative heat capacity |
| isotropic oscillator () | equipartition on average — the seed of the statistical-mechanics theorem | |
| logarithmic potential () | , independent of orbit size | flat rotation curves: same at every radius |
| steep power law () | , | stiffer wells park more energy in motion than in position |
| unbound motion (, gravity) | theorem fails | grows without bound; |
| circular orbit, any | holds instantaneously | no averaging needed — and are separately constant |
Worked examples
1 · A satellite ledger, checked to the joule (confidence builder)
The ISS orbits at altitude km, so km, on a near-circular orbit. Using , verify the virial theorem explicitly per kilogram of station, and find the energy needed to send that kilogram to infinity.
Step 1. Orbital speed: .
Step 2. Kinetic energy per kilogram: . Potential energy per kilogram: .
Step 3. Check the theorem: . — and for a circular orbit this holds at every instant, no averaging required.
Step 4. Total energy: , confirming . The unbinding energy is : to escape, each kilogram needs a further — exactly as much energy again as its current kinetic energy. (Check: escape speed , so escape kinetic energy , and the top-up needed is .)
2 · Weighing a globular cluster from two numbers (exam level)
A globular cluster has line-of-sight velocity dispersion and half-light radius . Estimate its virial mass in solar masses ( kg, SI), and state what physics each factor of the formula carries.
Step 1. Apply the virial mass estimate (9): .
Step 2. Numerator: .
Step 3. Divide by : .
Step 4. In solar units: — a typical globular cluster, weighed without tracking a single stellar orbit.
Step 5. Audit the formula's anatomy. The is the kinetic piece converted from one observed component to three dimensions by isotropy, . The factor multiplying is a structure coefficient: for a uniform sphere it gives the coefficient , while using a half-light radius and a realistic density profile changes this coefficient by a factor of order unity. If the measured luminosity implied ten times less mass, you would have rediscovered dark matter, which is precisely what happened at cluster scale in 1933.
Origins · 1 minRudolf Clausius and how this was discovered
Clausius was the great bookkeeper of nineteenth-century physics. He gave thermodynamics its second law in the form still taught ("heat cannot of itself pass from a colder to a hotter body"), invented the concept and the very word entropy in 1865 — choosing Greek roots deliberately so the word would survive translation — and closed his famous paper with the pair of sentences: the energy of the universe is constant; the entropy of the universe tends to a maximum. The virial theorem came in 1870, in a short lecture titled "On a Mechanical Theorem Applicable to Heat": averaging was his device for connecting the microscopic kinetic energy of gas molecules to the pressure confining them, and he coined virial from the Latin vis, force. He never knew his averaging trick would one day weigh galaxy clusters and expose most of the matter in the universe as invisible — the theorem outgrew its inventor's century entirely.
Going further
Texts. Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., §3.4 (The Virial Theorem) · Landau & Lifshitz, Mechanics, 3rd ed., §10 · Morin, Introduction to Classical Mechanics, ch. 7 · Taylor, Classical Mechanics, §8 problems (time averages) · Binney & Tremaine, Galactic Dynamics, ch. 4 (the tensor virial theorem in astrophysics). The central results follow from differentiating to obtain , then applying Euler's homogeneity theorem to reach ; the Kepler averages used are and . Zwicky's Coma-cluster dark-matter inference (1933) is the historical application. Worked-example numbers on this page (ISS: km/s, J/kg; cluster: from km/s, pc) are illustrative arithmetic computed from the boxed formulas.
Builds on: Central Force Fundamentals · Reduction to the Radial Equation · The Two-Body Problem and Reduced Mass · Classification of Orbits by Energy. Leads to: The Kepler Problem · Kepler's Third Law: Period-Semimajor Relation · The Effective Potential.
Can I apply the virial theorem to a comet on a hyperbolic flyby?
No — and the failure is instructive rather than technical. On an unbound trajectory the body eventually recedes with nearly parallel to , so grows roughly linearly in time forever. The boundary term then tends to a finite nonzero number, and the step that sets — the only place boundedness is used — collapses. Concretely: an Kepler orbit spends almost all its time in the asymptotic region where and , so the long-time averages give . The theorem is not approximately true for unbound motion; it is simply about confined systems, which is exactly why it certifies that a cluster whose members obey it is gravitationally bound.
Is 2T = −V ever true at a single instant on an eccentric orbit, or only on average?
It is true instantaneously at exactly one radius. Per unit mass, reads , while vis-viva gives ; equating them yields , so the instantaneous virial balance holds precisely when the body crosses , the semi-major-axis distance — twice per orbit. Inside the orbit is kinetic-rich (), outside it potential-rich. Circular orbits sit permanently at , which is why they satisfy the relation at every moment. This also explains why the theorem is genuinely about averages: the fast inner excursions and slow outer ones must be weighted by the time spent in each, and the Kepler check in Derivation B shows that weighting is exactly what makes regardless of eccentricity.
Why does a satellite speed up when drag takes energy away? That still feels like a perpetual-motion trick
No trick — the energy audit balances perfectly once the potential account is included. For gravity, : total energy and average kinetic energy point in opposite directions. Drag drains , making it more negative, which shrinks (since ) and therefore raises . Where does the extra speed come from? Gravity: as the orbit spirals inward, the gravitational force does positive work. Of the potential energy released, exactly half goes into increased kinetic energy and half is surrendered to drag heating — the virial theorem's 2:1 ratio is the accountant enforcing the split. Astronomers call the flip side of this "negative heat capacity": a star or cluster that loses energy gets hotter. It is why stars contract and heat as they radiate, and why hardening binaries heat globular-cluster cores.
The theorem needs a power law. What if my potential is a sum of terms, like a Coulomb part plus a confining r² trap?
Use the general form, equation (4), and apply Euler's identity term by term. If with and , then pointwise, so . You no longer get a single clean ratio between and total , but you still get one exact linear constraint among three averages — often enough to pin down what you need when combined with energy conservation. This mixed form is the working version in practice: ions in a Paul-trap-plus-Coulomb system, stars in a disk-plus-halo galaxy potential, or quarkonium models with a Coulomb-plus-linear potential all use exactly this term-by-term bookkeeping.
How did Zwicky get from Doppler shifts to missing mass — and why did people believe the theorem rather than suspect the cluster was flying apart?
Zwicky measured redshifts of individual Coma galaxies, found a line-of-sight scatter near km/s, and fed and the cluster radius into : the answer exceeded the mass implied by starlight by a large factor (modern accounting puts the dark share near ninety percent, split between dark matter and hot gas). The escape hatch — "the cluster is not bound, it is dispersing" — fails on timescales: at km/s, Coma would evaporate in a few billion years, and finding many rich clusters today would then be wildly improbable; moreover an unbound swarm would show systematic expansion, not the observed settled profile. Modern confirmation is threefold and independent: X-ray gas temperature (a thermal virial measurement), and gravitational lensing (no dynamics at all) both give masses agreeing with the virial estimate.
Does the virial theorem survive quantum mechanics, or is it a classical accident?
It survives intact — Fock proved it in 1930 for stationary states. The quantum statement replaces time averages with expectation values in an energy eigenstate: , so for Coulomb systems exactly. Hydrogen's ground state wears the numbers openly: eV, eV, eV. The proof even parallels the classical one — the commutator plays the role of , and its expectation value vanishes in a stationary state just as vanishes for bounded motion. Quantum chemists use the ratio as a convergence diagnostic: a variational wavefunction that violates the virial ratio is provably not the true eigenstate.
Do I need the orbit to be periodic, or to know anything about its shape?
Neither — and this is the theorem's superpower. The proof used confinement (to kill the boundary term) and the scaling of the potential (to convert the force term); it never asked whether the orbit closes, precesses, or fills a torus chaotically. That is why the theorem applies verbatim to a precessing rosette in a galactic halo, to the non-periodic tangle of a triple-star system, and to the statistically steady swarm of a globular cluster, where no individual orbit is periodic at all. The practical caveat hides in the averaging window: needs times long compared to the system's internal orbital times. A cluster observed today gives a snapshot, and using it assumes the system has had time to settle ("virialize") — for systems still relaxing after a merger, virial mass estimates carry genuine systematic errors.