1. Motivation: weighing what cannot be seen

In 1933 Fritz Zwicky noticed that the eight galaxies of the Coma cluster whose velocities Hubble and Humason had measured differed from one another by more than 2000 km/s. Applying the virial theorem, a relation between the kinetic and potential energy of a system in equilibrium, he computed how much mass would be needed to retain such fast galaxies: hundreds of times more than their light suggested. “If this were confirmed,” he wrote, “we would obtain the surprising result that dark matter is present in much greater quantity than luminous matter.”
This lesson builds the tools that convert velocities into masses: the collisionless Boltzmann equation, its moments (the Jeans equations, with which Eilers et al. obtained the rotation curve of lesson 2) and the virial theorem. First we justify the key hypothesis: that stars and galaxies do not collide.
2. Why “collisionless”? The relaxation time
2.1 One encounter
A star of mass passes at distance (impact parameter) from another, with relative velocity . If the deflection is small, the perpendicular force , with , integrated over time gives the change in perpendicular velocity
2.2 Accumulation of encounters
In one crossing of a system of stars and radius , the star undergoes encounters with impact parameter between and . The deflections have random directions, so the squares add:
with and (where the deflection ceases to be small). is the Coulomb logarithm. Since the typical velocity satisfies (virial), and ; then
2.3 Relaxation time
The number of crossings needed for is , and with :
(Binney & Tremaine §1.2.1, eq. 1.38). The function tiempoRelajacion(N, R, v) in src/lib/math/galaxias.ts
evaluates it. Let us compare with the age of the universe, years:
| System | Collisional? | |||||
|---|---|---|---|---|---|---|
| Open cluster | 2 pc | 1 km/s | 2 Myr | 28 Myr | yes | |
| Globular cluster | 5 pc | 10 km/s | 0.5 Myr | 0.4 Gyr | yes (it lives years) | |
| Galaxy | 10 kpc | 200 km/s | 50 Myr | yr | no | |
| Cluster of galaxies | 1.5 Mpc | 1000 km/s | 1.5 Gyr | 20 Gyr | marginal |
In a galaxy, exceeds the age of the universe by six orders of magnitude: the stars move in the mean potential and encounters are irrelevant. This is the collisionless hypothesis. In a globular cluster, by contrast, encounters do redistribute energy (mass segregation, core collapse): the Fokker–Planck equation is needed.
3. The collisionless Boltzmann equation

3.1 Distribution function and Liouville’s theorem
We describe the system by its distribution function : the number (or the mass) of stars in the element of phase space. Each star follows Hamilton’s equations , . The Hamiltonian flow preserves the volume of phase space (Liouville’s theorem): the divergence of the velocity field in six dimensions is , because does not depend on and does not depend on . Without collisions, no star enters or leaves a phase element moving with the flow, so that is constant along the trajectories:
This is the collisionless Boltzmann equation (CBE; Binney & Tremaine §4.1), or Vlasov equation. Together with Poisson’s equation, , it forms a closed, nonlinear system.
3.2 Jeans’s theorem
If is an integral of motion ( along each orbit), any satisfies the steady-state CBE. In a static spherical potential, with ; if moreover it is isotropic, . For the isothermal sphere of lesson 1, , whence .
4. Moments: the Jeans equations

We rarely know ; we do know its moments: the number density , the mean velocity and the dispersion tensor . Integrating the CBE over velocities (the term in is integrated by parts and vanishes because as ):
Multiplying the CBE by and integrating (again by parts in the last term, which gives ):
Subtracting times the continuity equation and writing :
These are the Jeans equations (1915): the Euler equation of a fluid whose “pressure” is the tensor , anisotropic in general. They are not closed (the next moment appears); one must assume something about the anisotropy.
4.1 Spherical, steady-state form
In spherical coordinates, with no net rotation and with , defining the anisotropy parameter :
Solving, the dynamical mass is
This is how elliptical galaxies and clusters are weighed from density and dispersion profiles; the mass–anisotropy degeneracy (unknown ) is the main limitation.
4.2 Axisymmetric form: the asymmetric drift
For a disk, the radial component of the Jeans equations in cylindrical coordinates , in steady state, is
With and one obtains
The difference is the asymmetric drift: the stars, because they have dispersion, rotate more slowly than the circular velocity. Eilers et al. (2019) apply exactly this equation to the red giants (with and a profile for ) to go from the measured to ; the correction is from a few km/s to 10 km/s, and its uncertainty dominates the 2–5 % systematic error.
5. The virial theorem

5.1 Virial tensor
We multiply the Jeans equation in momentum form (the second one of §4) by , integrate over all space and integrate by parts:
where is the kinetic-energy tensor (ordered + random) and the potential-energy tensor (Chandrasekhar). The left-hand side is with the inertia tensor. Taking the trace:
5.2 Scalar form and time average
For a steady-state system (or averaging over a time long compared with , so that ):
the scalar virial theorem. With and , where is a number of order unity that depends on the profile ( for the homogeneous sphere, for Plummer with , for Hernquist with ):
We only measure the line-of-sight component of the velocity; if the distribution is isotropic,
. With one obtains the estimator
(masaVirial in galaxias.ts); the exact coefficient depends on the profile and
on how is defined, which introduces factors of ~2.
The total energy is : a self-gravitating system has negative specific heat: if it loses energy, increases and it “heats up.” This is the root of the gravothermal instability of globular clusters.
6. Zwicky and the Coma cluster

6.1 The 1933 argument
Zwicky (1933, Helv. Phys. Acta 6, 110) used the redshifts of Hubble and Humason (1931) for eight galaxies in Coma, with line-of-sight dispersion km/s. He estimated the luminous mass as 800 galaxies of (the typical mass according to Hubble) and the size as light-years. With the virial theorem, the expected dispersion for that mass is
that is, the km/s he obtained, against the km/s observed. Since , the mass required is times the luminous one (Zwicky quotes a factor 400 with his assumptions about the luminosity). Hence his conclusion about “dunkle Materie.”
6.2 The 1937 version and the Hubble correction
In ApJ 86, 217 (1937), Zwicky refined the calculation: 1000 galaxies within a radius of light-years, a dispersion of 700 km/s (excluding one galaxy at 5100 km/s as a possible interloper), which gives a lower limit of for the mass of the cluster, per galaxy, and, with a mean luminosity of , a mass-to-light ratio .
All of this with the Hubble constant of the time, km/s/Mpc. Distances scale as , virial masses as and luminosities as , so that : with – km/s/Mpc Zwicky’s ratio is reduced by a factor , down to . It remains far larger than that of stellar populations (– in solar units): the conclusion survives the correction (Bertone & Hooper 2018, §III.A).
6.3 Coma today
Colless and Dunn (1996), with 465 velocities, measured for the main cluster (centered on NGC 4874) km/s () and km/s, with a virial mass of ( with ), consistent with X-ray estimates. The mass in stars is of the order of 2–3 % and the hot intracluster gas, visible in X-rays, contributes another 10–15 %: more than 80 % of the mass of Coma is dark matter. Our estimator with km/s and Mpc gives .
The crossing time of Coma is Gyr, one tenth of the age of the universe: the cluster has had time to virialize in its core, but the substructure (the NGC 4839 group that Colless and Dunn detect at 40′ from the center) warns that exactly.
7. Error analysis in virial masses

- Anisotropy. If , ; with radial orbits () the mass is overestimated.
- Interlopers and substructure. A background galaxy at 5100 km/s would inflate ; Zwicky already excluded it. Robust estimators (biweight) reduce the bias.
- The coefficient . Among reasonable profiles it varies by a factor 2; so does the appropriate radius (harmonic, half-mass, virial). That is why virial masses carry uncertainties of ~30 %.
- Number of galaxies. The statistical error of with velocities is : with (Zwicky 1933), 25 %; with (Colless & Dunn), 3 %.
8. Simulator
In the n-cuerpos simulator (numerical-methods lesson) you can check the virial theorem: with a
many-body configuration, record over time and verify that it oscillates around zero
once the system has undergone violent relaxation (a few ), even though and separately
fluctuate. With small , watch how close encounters transfer energy: this is the two-body
relaxation of §2, here with and therefore .
9. Problems
1. Deflection in an encounter (proof). Complete the integral of §2.1 and prove that in the impulsive approximation.
Show solution
. With and : .
2. Relaxation times. Reproduce the table of §2.3 with tiempoRelajacion and add the core of an elliptical
galaxy (, pc, km/s). Is it collisional?
Show solution
yr; yr. Collisionless, although closer to the limit than the whole galaxy.
3. First-order moment (proof). Starting from the CBE, derive in detail the second equation of §4, indicating where integration by parts is used and why the surface term vanishes.
Show solution
Multiply the CBE by and integrate over . First term: . Second: , since is an independent variable. Third: ; integrating by parts, , because faster than any power as (there are no stars with infinite velocity). What remains is .
4. Virial theorem and negative specific heat. Prove that for a virialized system and explain why, if a globular cluster loses energy through evaporation of stars, its core contracts and heats up.
Show solution
. If decreases ( negative), increases: the velocities grow and, since becomes more negative, the system contracts. A body that heats up when losing energy has negative specific heat; it cannot reach thermal equilibrium with a colder environment and collapses (gravothermal catastrophe, Lynden-Bell & Wood 1968).
5. Coma with Zwicky’s figures. Reproduce the calculation of §6.1: from and light-years obtain (the expected dispersion); then, with km/s, the virial mass. Repeat with km/s/Mpc instead of 558 and discuss what changes.
Show solution
km/s. Virial mass with the estimator : kg , about 270 times the assumed luminous mass (). With km/s/Mpc the distances are multiplied by : light-years and , of the order of the modern value; but the luminosity of the cluster grows (), so that drops by a factor 8.
6. Computational: virial theorem in N bodies. With a leapfrog integrator (numerical-methods lesson), generate particles with Plummer positions and isotropic velocities with (virial equilibrium). Integrate for 10 and plot and the virial ratio . Repeat with initial velocities doubled: what happens to ?
Show solution
import numpy as np
G=1; N=200; M=1; b=1
# Plummer positions by inversion of M(r)/M = u
u=np.random.rand(N); r=b/np.sqrt(u**(-2/3)-1)
th=np.arccos(2*np.random.rand(N)-1); ph=2*np.pi*np.random.rand(N)
x=np.c_[r*np.sin(th)*np.cos(ph), r*np.sin(th)*np.sin(ph), r*np.cos(th)]
W=-3*np.pi*G*M*M/(32*b); s=np.sqrt(-W/(3*M)) # virial 1D dispersion
v=np.random.normal(0,s,(N,3)); m=np.full(N,M/N)
def energia(x,v):
K=0.5*(m[:,None]*v**2).sum()
d=x[:,None,:]-x[None,:,:]; rr=np.sqrt((d**2).sum(-1)+1e-4)
W=-0.5*G*(m[:,None]*m[None,:]/rr)[~np.eye(N,dtype=bool)].sum()
return K,WIn equilibrium, oscillates around 1 with amplitude . With doubled velocities ( quadrupled), is positive, so is , and the system expands: half of the particles escape.
7. Asymmetric drift. At the solar radius, the giants of Eilers et al. have km/s, and , with . Estimate if km/s (ignore the cross term ).
Show solution
(km/s)²; km/s. Asymmetric drift km/s: ignoring it would underestimate by 5 %.
10. Self-assessment
✦ Self-assessment
11. Further reading
- Binney & Tremaine (2008), Galactic Dynamics, §1.2 (relaxation, eq. 1.38), §4.1 (CBE), §4.2 (Jeans’s theorem), §4.8 (Jeans equations, asymmetric drift, virial tensor), ch. 7 (kinetic theory: two-body relaxation in detail).
- Sparke & Gallagher (2007), ch. 3 (§3.2 two-body relaxation; §3.4 collisionless Boltzmann equation and Jeans equations) and §7.2 (rich clusters, virial masses).
- Jeans (1915), MNRAS 76, 70. Zwicky (1933), Helv. Phys. Acta 6, 110 (translation in Gen. Relativ. Gravit. 41, 207, 2009); Zwicky (1937), ApJ 86, 217, doi:10.1086/143864.
- Colless & Dunn (1996), ApJ 458, 435, arXiv:astro-ph/9508070.
- Bertone & Hooper (2018), Rev. Mod. Phys. 90, 045002, §III.A, for the history with figures.
- Chandrasekhar (1942), Principles of Stellar Dynamics, ch. 2, for the theory of encounters.
🍎 Teacher guide
- Time
- 3 classes of 90 min
- Learning outcome
- On completion, the student estimates relaxation times and justifies the collisionless hypothesis, derives the collisionless Boltzmann equation and its first two moments (Jeans equations), obtains the virial theorem from the virial tensor and applies it, with error analysis, to the mass of the Coma cluster following Zwicky's historical argument.
- Evidence of learning
- Submission of problems 3 (proof of the first-order moment) and 6 (N-body simulation with virial ratio), plus the Coma calculation of problem 5 with discussion of the dependence on H₀.
Materials
- Python 3 with NumPy and Matplotlib
- Binney & Tremaine, chs. 1 and 4
- Translation of Zwicky (1933) and Bertone & Hooper (2018), §III.A
- The portal's n-body simulator
Suggested sequence
Class 1. Relaxation and CBE (90 min). Derive and (§2, problem 1); build
the table of systems with tiempoRelajacion. Liouville’s theorem and CBE (§3). Close with Jeans’s theorem
for the isothermal sphere.
Class 2. Jeans and virial theorem (90 min). Moments of the CBE on the board (problem 3); spherical form and dynamical mass; asymmetric drift (problem 7) as a bridge to Eilers et al. Virial tensor and scalar form; negative specific heat (problem 4).
Class 3. Zwicky and Coma (90 min). Read in class the passage from Zwicky (1933); redo his numbers (problem 5); correction for ; modern Coma (Colless & Dunn). Error analysis (§7). Workshop: problem 6 in the simulator or in Python.
Common mistakes
- Confusing t_cross with t_relax, or believing that "collisionless" means that stars do not attract one another: they attract through the mean field.
- Forgetting the surface term when integrating by parts in the moments of the CBE, or integrating the gradient-of-Φ term over x instead of over v.
- Applying 2K + W = 0 to a system that is not in steady state (a forming cluster, substructure): the virial theorem requires a time average or equilibrium.
- Taking ⟨v²⟩ = σ_los² instead of 3σ_los² (isotropy) and forgetting that the coefficient α depends on the profile: virial masses carry factors of ~2.
- Thinking that the H₀ correction cancels Zwicky's result: it reduces M/L from ~500 to ~60, still far above stellar populations.