For a stable, self-gravitating system averaged over time, 2⟨T⟩ + ⟨U⟩ = 0 — twice the kinetic energy exactly cancels the (negative) potential. It means half the energy released by collapse goes into motion and half is radiated; it lets you weigh a galaxy cluster from how fast its members move. Fritz Zwicky used it in 1933 to find the first evidence of dark matter.
The demo takes a bound system’s U and shows T = −U/2 makes 2T+U vanish: live demo
“The virial theorem is only for gases.” — it holds for any stable system bound by an inverse-square force: stars, clusters, galaxies. cited
How fast it moves tells how much it weighs. physics
On i-13, for U=−100, T=50 makes 2T+U = 0 exactly: