The virial theorem: what keeps a galaxy in balance
A galaxy is a collisionless fluid of stars and dark matter, with some collisional gas, held together by its own gravity. For any such system in a steady state the virial theorem says 2T + U = 0: twice the kinetic energy balances the potential energy. Applied to a galaxy of 10¹¹ solar masses and 10 kpc it predicts speeds of about 200 km/s, as observed; applied to gas in a box it gives the ideal gas law.
Lecture 2 of 8.902 asks what holds a galaxy together and how its stars move. The notes start from a definition: a galaxy is stars and dark matter, which behave as a collisionless fluid, orbiting together with gas, which does collide, in a gravitational potential they create together. The first tool for understanding such a system is the virial theorem, which this page derives and applies. (The notes then begin section 2.B on relaxation times, which the next page covers.)
G equals one half the sum over i of m sub i d over d t ( vector r sub i dot vector r sub i ) equals one half d over d t the sum over i of m sub i r sub i squared equals one half d capital I over d t
d G over d t equals the sum over i of p i dot dot vector r sub i plus the sum over i of vector p sub i dot r i dot equals the sum over i of vector F i dot vector r sub i plus 2 capital T
[The notes write the sum over i, and the vanishing self-force with a repeated index i; the index of the sum should be j, and the self-force is the term with j = k.] Arrange the Fjk⋅rk in a matrix and split the double sum into the parts below and above the diagonal (eqs. 35–37). Since the forces are equal and opposite, Fkj=−Fjk, the part above the diagonal can be relabelled to look like the part below it (eqs. 38–39), and the two combine:
Combining the two halves
k=1∑NFk⋅rk=k=2∑Nj=1∑k−1Fjk⋅(rk−rj)
In words
the sum of sub k equals 1 ^ capital N vector F sub k dot vector r k equals the sum of sub k equals 2 ^ capital N the sum over j equals 1 of to the power k minus 1, end of power, vector F sub j k dot the quantity vector r k minus vector r sub j
Only the separations of the pairs matter. Now suppose each pair force comes from a potential V that depends only on the distance rjk=∣rk−rj∣:
Force from a pair potential
Fjk=−∇kV(rjk)=−drdV(rjkrk−rj)
In words
vector F sub j k equals minus del sub k capital V ( r j k ) equals minus d capital V over d r, times ( the quantity vector r k minus vector r sub j, all over r j k )
the sum of sub k equals 1 ^ capital N vector F sub k dot vector r k equals minus the sum of sub k equals 2 ^ capital N the sum over j equals 1 of to the power k minus 1, end of power, d capital V over d r, times the quantity the absolute value of vector r k minus vector r sub j squared, all over r j k equals minus the sum of sub k equals 2 ^ capital N the sum over j equals 1 of to the power k minus 1, end of power, d capital V over d r, times r j k
and the double sum becomes n times the total potential energy, counting each pair once:
Force term for a power law
k=1∑NFk⋅rk=−nk=2∑Nj=1∑k−1V(rjk)=−nVtot
In words
the sum of sub k equals 1 ^ capital N vector F sub k dot vector r k equals minus n the sum of sub k equals 2 ^ capital N the sum over j equals 1 of to the power k minus 1, end of power, capital V ( r j k ) equals minus n capital V total
so (eq. 45, where the notes misprint the force as a letter I)
The virial equation
dtdG=2T−nVtot,and for gravity(n=−1,U=Vtot):21dt2d2I=2T+U
In words
d G over d t equals 2 capital T minus n capital V total, and for gravity (n equals minus 1, U equals capital V total ): one half d squared capital I over d t squared equals 2 capital T plus U
Average over a long time span τ, written with angle brackets (the notes use a calligraphic T for this time span; it is renamed here to avoid confusion with the kinetic energy):
Time average of the virial equation
⟨dtdG⟩=τ1∫0τdtdGdt=τG(τ)−G(0)=2⟨T⟩−n⟨Vtot⟩
In words
the average of d G over d t equals 1 over tau, times the integral from 0 to tau of d G over d t, times d t equals the quantity G( tau ) minus G(0), all over tau equals 2 the average of capital T minus n the average of capital V total
For a system in a steady state, G stays bounded, so the middle term vanishes for a long enough average:
The virial theorem
0=2⟨T⟩−n⟨Vtot⟩,0=2⟨T⟩+⟨U⟩for n=−1
In words
0 equals 2 the average of capital T minus n the average of capital V total, 0 equals 2 the average of capital T plus the average of U for n equals minus 1
Apply 2T+U=0 to a galaxy of N stars of equal mass m, total mass M=Nm, with a typical speed v:
Kinetic energy of the galaxy
T=21i∑mivi2≈21Mvˉ2=21Mv2
In words
capital T equals one half the sum over i of m sub i v sub i squared is approximately one half capital M v bar squared equals one half capital M v squared
v equals the square root of 0.0043 solar masses to the power minus 1 parsecs ( kilometres per second ) squared times 10 to the power 11 solar masses over the quantity 10 000 parsecs, end of root, is approximately the square root of 4 times 10 to the power 4 kilometres per second is approximately 200 kilometres per second
in good agreement with the rotation speeds of the previous page.
Worked example
Weighing a galaxy cluster
Galaxies in a large cluster move with typical speeds of about 1000 km/s, within a radius of about 1 Mpc. Use v=GM/R to estimate the cluster's mass.
Rearranging
M=v2R/G=(1000)2×106/0.0043=2.3×1014M⊙.
What it means
The stars in all the cluster's galaxies add up to only a few percent of this. This kind of estimate is how Zwicky found the "missing mass" in the Coma cluster in the 1930s (see the Ferreras page on galaxy clusters), one of the oldest pieces of evidence for dark matter. (Not in the Lecture 2 notes; it applies the same formula.)
The theorem also works for gas in a container, where the forces on the particles come from the walls. An ideal gas of N particles at temperature T has kinetic energy
Kinetic energy of an ideal gas
K=23NkT
In words
capital K equals three halves capital N k capital T
(written K here to avoid confusion with the temperature; k is Boltzmann's constant). A wall element dA pushes on the gas with force dF=−PdA (eq. 55). Summing F⋅r over the whole wall and using the divergence theorem,
Force term from the pressure
−21⟨i∑Fi⋅r⟩=2P∮r⋅dA,∮r⋅dA=∫∇⋅rdV=3∫dV=3V
In words
minus one half the average of the sum over i of vector F i dot vector r equals capital P 2 the loop integral of vector r dot d vector A, the loop integral of vector r dot d vector A equals the integral of del dot vector r d capital V equals 3 the integral of d capital V equals 3 capital V
[The notes reach this result with some unusual bookkeeping, writing the wall term as a potential with n=2; the form above, with the wall forces put directly into eq. (33), is the standard one.]
Of a gas or a set of particles: whose particles almost never hit one another, so each moves only under the overall forces. Explained in Mean free path, effusion, sound and diffusion.
How hard a body is to set spinning about an axis: each bit of mass times its squared distance from the axis, all added up. Explained in Rotation and angular momentum.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
Energy stored in the arrangement of a system, such as a raised weight or a stretched spring, that a conservative force can give back. Explained in Gravitational potential energy.
A condition that no longer changes with time, or for a driven system the lasting motion left once start-up effects die away. Explained in Driven oscillators and resonance.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
A group of hundreds to thousands of galaxies held together by their shared gravity: the largest bound objects in the universe. Explained in Galaxy clusters: Zwicky's missing mass.
The theorem that the flux of a vector field out of a closed surface equals the integral of its divergence over the region inside. Explained in Flux through graphs and the divergence theorem.
In calculations, careful tracking of terms, signs, indices or factors so that none is lost.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).