BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Problem Set 3: Particles in a simulated universe, the multipole error, puffed-up galaxies and galaxy bias

Four exercises from Chapter 4 of the book: the mass and force resolution of a dark-matter simulation, the error of the monopole approximation in a tree code, how a galaxy grows when its gas is blown out quickly or slowly, and galaxy bias with the link between the power spectrum and the correlation function.

You need this first

Full reading path (62 pages)
  1. Vectors (8.01)
  2. Position and velocity in one dimension (8.01)
  3. Acceleration in one dimension (8.01)
  4. Motion in two dimensions and projectiles (8.01)
  5. Newton's laws of motion (8.01)
  6. The universal law of gravitation (8.01)
  7. The homogeneous expanding universe (8.286)
  8. Why a static universe cannot work (8.286)
  9. The expanding sphere and the equation for a(t) (8.286)
  10. The Friedmann equation (8.286)
  11. Open, closed and flat universes (8.286)
  12. The dark matter problem: weighing the sky with gravity (Ferreras)
  13. The Doppler effect and special relativity (8.286)
  14. Rotation curves: the flat signature of dark matter (Ferreras)
  15. Galaxy clusters: Zwicky's missing mass (Ferreras)
  16. Counting the ordinary matter: stars, gas, and systems without dark matter (Ferreras)
  17. Cosmological redshift (8.286)
  18. The closed universe as a cycloid (8.286)
  19. The age of the universe and the Big Bang singularity (8.286)
  20. The age of a closed universe from H and Ω (8.286)
  21. The open universe and the age of any matter universe (8.286)
  22. Non-Euclidean geometry (8.286)
  23. The metric of a sphere and of a closed universe (8.286)
  24. Curvature and expansion: the Robertson–Walker metric (8.286)
  25. The geometry of open universes (8.286)
  26. The spacetime interval (8.286)
  27. The spacetime metric of the universe (8.286)
  28. The geodesic equation (8.286)
  29. Simplifying the geodesic equation (8.286)
  30. Falling into a black hole (8.286)
  31. Mass, energy and the dilution of radiation (8.286)
  32. Matter–radiation equality and the pressure of light (8.286)
  33. The horizon distance (8.286)
  34. The radiation-dominated universe (8.286)
  35. The cosmological constant and vacuum energy (8.286)
  36. The age of the universe with vacuum energy (8.286)
  37. How bright is a distant supernova? (8.286)
  38. Gravitational lensing: weighing mass by bending light (Ferreras)
  39. Weak lensing, the Bullet Cluster and MACHOs (Ferreras)
  40. The supernova evidence for acceleration (8.286)
  41. The puzzle of the vacuum energy, and Einstein's mistake about Friedmann (8.286)
  42. Black-body radiation (8.286)
  43. Neutrinos and counting particle species (8.286)
  44. The temperature of the early universe and decoupling (8.286)
  45. The horizon problem (8.286)
  46. The flatness problem (8.286)
  47. The Standard Model, gauge theories and grand unification (8.286)
  48. The Higgs field and spontaneous symmetry breaking (8.286)
  49. Topological defects and the magnetic monopole problem (8.286)
  50. The false vacuum and the mechanism of inflation (8.286)
  51. Exponential expansion, de Sitter space and the inflationary scenario (8.286)
  52. How inflation solves the problems of the Big Bang (8.286)
  53. How small ripples grow: linear perturbation theory (8.902)
  54. Why structure formation needs cold dark matter (8.902)
  55. Measuring structure: the power spectrum and the correlation function (8.902)
  56. When ripples collapse: the spherical collapse model (8.902)
  57. Dark matter halos: mass, profile, concentration, shape and spin (Ferreras)
  58. Simulating galaxy formation: gravity, gas and "subgrid" physics (Ferreras)
  59. How many halos? The Press–Schechter mass function (8.902)
  60. Galaxies in halos: mass functions, halo occupation and abundance matching (Ferreras)
  61. Observing galaxies: magnitudes, types, luminosities and velocities (8.902)
  62. The virial theorem: what keeps a galaxy in balance (8.902)
On this page · 5 sections
  1. How to answer
  2. Problem 1
  3. Problem 2
  4. Problem 3
  5. Problem 4

This set practises Chapter 4 of Ignacio Ferreras's Fundamentals of Dark Matter (UCL Press, 2025, licensed CC BY-NC 4.0): simulating galaxy formation and galaxies in halos, with spherical collapse, the virial theorem and the power spectrum from 8.902. The four problems are the book's Exercises 4.1 to 4.4, in the book's order, rewritten in our own words. The book prints no solutions to its exercises, so the hints and the solutions here are ours.

Several things differ from the book. Its four exercises are short, so each problem has one or two parts of our own, marked "(our addition)"; every answer box is ours too. Where the book leaves a number open, we choose one and say so ("our choice"). Exercise 4.2 refers to a small sketch in the book: we describe the arrangement in words instead. Exercise 4.4 refers to the author's other book for the Fourier pair of the power spectrum and the correlation function, and to a figure of measured power spectra that the book takes from the Planck collaboration; neither is used here. We state what is needed from the 8.902 lessons, and the slopes of the spectrum are the ones the exercise quotes.

How to answer#

Work each problem on paper first. Then type your result in the answer box and press Check. A number box accepts any value within the tolerance written next to it; type decimals, for example 0.25 or 1.2e5, in the unit the box names. A formula box accepts any formula equal to the right one: type it with *, /, ^ and brackets, for example a*b/c or (x + 1)^2/sqrt(x). A choice box takes one click.

The book gives no points. The points are ours: 26 for Problem 1, 24 each for Problems 2 and 3 and 26 for Problem 4, 100 points in all, and every split between parts is ours too. Parts that ask you to show something have no box: open the solution and mark yourself. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.

Constants and units: G=6.67430×10−11G = 6.67430 \times 10^{-11} m³ kg⁻¹ s⁻² (CODATA 2018), M⊙=1.98841×1030M_\odot = 1.98841 \times 10^{30} kg (the IAU 2015 nominal solar mass parameter divided by GG), 1 Mpc =3.0857×1022= 3.0857 \times 10^{22} m.

Problem 1#

Problem

How finely can a simulation resolve forces?

26 points

A simulation follows the dark matter of a flat ΛCDM universe with Ωm,0=0.3\Omega_{m,0} = 0.3 and h=0.7h = 0.7 (so H0=70H_0 = 70 km/s/Mpc), both the book's values. Each synthetic particle has the mass m1=107 M⊙m_1 = 10^7\,M_\odot. Close encounters are tamed by the softened (Plummer) potential, with softening length ϵ\epsilon:

Softened potential of one particle
Φ(r;ϵ)=−G m1r2+ϵ2\Phi(r; \epsilon) = -\frac{G\,m_1}{\sqrt{r^2 + \epsilon^2}}
In words

capital phi (r; epsilon ) equals minus capital G m one over the square root of r squared plus epsilon squared, end of root

The book asks for a rough estimate of the force resolution ϵ\epsilon that suits the average density of a halo, as the spherical collapse model gives it (Exercise 4.1, p. 78). For that density the book quotes (p. 71) a mean density inside a halo of Δ≈178\Delta \approx 178 times the background matter density for halos that formed at the redshifts where most galaxies formed, and Δ≈330\Delta \approx 330 for halos forming today.

(A)4 points

What is the mean matter density ρˉm,0\bar\rho_{m,0} of this universe today? Give it in units of 1010 M⊙10^{10}\,M_\odot per Mpc³ (tolerance 2%).

Hint

The matter density is the fraction Ωm,0\Omega_{m,0} of the critical density 3H02/8πG3H_0^2/8\pi G. Convert H0H_0 to s⁻¹ before you start.

Solution

The idea. The critical density follows from H0H_0 alone; the matter is 30% of it.

The critical density

H0=70H_0 = 70 km/s/Mpc =2.269×10−18= 2.269 \times 10^{-18} s⁻¹, so ρc,0=3H02/8πG=9.20×10−27\rho_{c,0} = 3H_0^2/8\pi G = 9.20 \times 10^{-27} kg/m³. One Mpc³ is 2.938×10672.938 \times 10^{67} m³, so ρc,0=1.360×1011 M⊙\rho_{c,0} = 1.360 \times 10^{11}\,M_\odot per Mpc³.

The matter density

ρˉm,0=0.3 ρc,0=4.08×1010 M⊙\bar\rho_{m,0} = 0.3\,\rho_{c,0} = 4.08 \times 10^{10}\,M_\odot per Mpc³.

Check

A handy form to remember is ρc,0=2.775×1011 h2 M⊙\rho_{c,0} = 2.775 \times 10^{11}\,h^2\,M_\odot per Mpc³; with h2=0.49h^2 = 0.49 it gives the same 1.36×10111.36 \times 10^{11}. The same number appears in the worked example of the lesson dark matter halos.

(B)8 points

Take a halo that is forming today, with mean density Δ=330\Delta = 330 times ρˉm,0\bar\rho_{m,0}. On average, how far apart are neighbouring synthetic particles inside it? Use the mean spacing d=(m1/ρh)1/3d = (m_1/\rho_h)^{1/3}, where ρh\rho_h is the halo's mean density. Give dd in kpc (tolerance 2%).

Hint

Each particle has, on average, a volume m1/ρhm_1/\rho_h to itself. A cube of that volume has the side dd.

Solution

The idea. The halo is Δ\Delta times denser than the mean, so its particles are Δ1/3\Delta^{1/3} times closer together than on average.

The halo density

Mean density inside a halo
ρh=Δ ρˉm(z)=Δ ρˉm,0 (1+z)3\rho_h = \Delta\,\bar\rho_m(z) = \Delta\,\bar\rho_{m,0}\,(1+z)^3
In words

rho h equals capital delta rho m bar (z) equals capital delta rho m nought bar the quantity 1 plus z, all cubed

Source: I. Ferreras, Fundamentals of Dark Matter (UCL Press, 2025), Chapter 4 exercises, Exercise 4.1, p. 78, with Δ from p. 71 (our own solution)

Today (z=0z = 0): ρh=330×4.08×1010=1.346×1013 M⊙\rho_h = 330 \times 4.08 \times 10^{10} = 1.346 \times 10^{13}\,M_\odot per Mpc³.

The spacing

Mean spacing of the particles
d=(m1ρh)1/3d = \left(\frac{m_1}{\rho_h}\right)^{1/3}
In words

d equals ( m one over rho h ) to the power one third

d=(107/1.346×1013)1/3d = (10^7/1.346 \times 10^{13})^{1/3} Mpc =(7.43×10−7)1/3= (7.43 \times 10^{-7})^{1/3} Mpc =9.06×10−3= 9.06 \times 10^{-3} Mpc =9.06= 9.06 kpc.

Check

The mean spacing in the whole universe is (107/4.08×1010)1/3(10^7/4.08 \times 10^{10})^{1/3} Mpc =62.6= 62.6 kpc, and 62.6/3301/3=62.6/6.91=9.0662.6/330^{1/3} = 62.6/6.91 = 9.06 kpc. A halo of 1012 M⊙10^{12}\,M_\odot, like the Milky Way's, holds 1012/107=10510^{12}/10^7 = 10^5 particles at this mass resolution, and its radius at this density is (3×1012/4πρh)1/3=261(3 \times 10^{12}/4\pi\rho_h)^{1/3} = 261 kpc: its radius is about 29 spacings.

(C)5 points

Which softening length suits this mass resolution and this halo density?

Solution

The idea. A synthetic particle stands for an enormous number of real dark matter particles, which do not scatter off each other. Any force that the simulation computes on scales below the particle spacing comes from the graininess of the model, not from the real dark matter.

Why not far smaller

Inside a halo, a particle has neighbours about d≈9d \approx 9 kpc away. Below that distance the force on it is dominated by its nearest neighbour, and close passages between two synthetic particles would kick them around: two-body relaxation that the real, collisionless dark matter does not have. The softening is there to switch this off, so ϵ\epsilon must not be many orders of magnitude below dd. A parsec-sized ϵ\epsilon would only make the time steps tiny and the noise worse.

Why not much larger

The force must still follow the structure of the halo, which is resolved by the particles down to scales of order dd. With ϵ\epsilon of tens of kpc (or the box-average spacing, 62.6 kpc), a Milky-Way halo of radius 261 kpc would be blurred over a large fraction of its radius, and smaller halos would be smeared out altogether.

The estimate

So ϵ\epsilon is a fraction of dd: of order 1 to 3 kpc, a few to ten times below d≈9d \approx 9 kpc, for m1=107 M⊙m_1 = 10^7\,M_\odot. It sits below the spacing of a typical halo because halos are denser in their centres, where the spacing is smaller, and halos that formed early are denser still (part D). The best force resolution quoted in the book, about 100 pc (p. 78), needs smaller particle masses or zoom-in runs: d∝m11/3d \propto m_1^{1/3}.

(D)5 points

(Our addition.) A halo that virialised at z=2z = 2 (our choice), with the book's Δ=178\Delta = 178 times the background density at that redshift, keeps its density afterwards. What is the mean particle spacing dd inside it, as a physical distance? Give dd in kpc (tolerance 2%).

Hint

The background matter density was higher at z=2z = 2. By what factor?

Solution

The idea. The background was (1+z)3=27(1+z)^3 = 27 times denser at z=2z = 2, which more than makes up for the smaller Δ\Delta.

The density

ρh=178×27×4.08×1010=1.961×1014 M⊙\rho_h = 178 \times 27 \times 4.08 \times 10^{10} = 1.961 \times 10^{14}\,M_\odot per Mpc³: 14.6 times the density of the halo of part B.

The spacing

d=(107/1.961×1014)1/3d = (10^7/1.961 \times 10^{14})^{1/3} Mpc =3.71×10−3= 3.71 \times 10^{-3} Mpc =3.71= 3.71 kpc.

Check

The ratio to part B is (14.6)1/3=2.44(14.6)^{1/3} = 2.44, and 9.06/2.44=3.719.06/2.44 = 3.71 kpc. Halos that formed early, which host most galaxies, are the densest, and they set how small ϵ\epsilon must be. (The spacing in comoving units would be 3 times larger; the softening of a simulation is usually fixed in comoving units at early times and in physical units later on.)

(E)4 points

(Our addition.) The lesson's example is a box 100 Mpc on a side (comoving). How many particles of mass m1m_1 are needed to fill it at the mean matter density? Give the number of particles along one side of the cube, N1/3N^{1/3} (tolerance 1%).

Hint

The total mass in the box is ρˉm,0\bar\rho_{m,0} times its comoving volume.

Solution

The idea. Mass in the box divided by mass per particle.

The count

N=ρˉm,0 (100 Mpc)3/m1=4.08×1010×106/107=4.08×109N = \bar\rho_{m,0}\,(100\ \text{Mpc})^3/m_1 = 4.08 \times 10^{10} \times 10^6/10^7 = 4.08 \times 10^9, so N1/3=1598N^{1/3} = 1598: a run with about 160031600^3 particles.

Check

1598×62.61598 \times 62.6 kpc =100= 100 Mpc: the number along a side times the mean spacing is the side of the box. With direct summation such a run would need N2≈1.7×1019N^2 \approx 1.7 \times 10^{19} pair forces per time step, which is why the tree codes of the next problem are used.

Problem 2#

Problem

How wrong is the monopole approximation?

24 points

A tree code replaces the pull of a distant group of particles by that of a single particle with the group's total mass at the group's centre of mass: the monopole approximation, the lowest term of a multipole expansion. The book asks for its error in a simple arrangement, which we describe in words (the book shows it in a sketch). Four particles, each of mass mm, sit at the corners of a square whose diagonals lie along the xx and yy axes: two at (±s,y)(\pm s, y) and two at (0,y±s)(0, y \pm s), with s>0s > 0. Their centre of mass is the point (0,y)(0, y). A test particle of mass mtm_t sits at the origin, a distance y>sy > s below the centre of the square. (The book calls the half-diagonal Δ\Delta; we write ss, because Problem 1 uses Δ\Delta for the density contrast. All four particles lie in one plane, but the forces are those of ordinary three-dimensional gravity, which falls off as the inverse square of the distance.)

In the monopole approximation the test particle feels the pull of a mass 4m4m at the distance yy:

Force in the monopole approximation
Fmono=4 G m mty2F_\text{mono} = \frac{4\,G\,m\,m_t}{y^2}
In words

capital F mono equals 4 capital G m m t over y squared

(A)8 points

Find the exact force on the test particle, in units of G m mtG\,m\,m_t: that is, find Fexact/(G m mt)F_\text{exact}/(G\,m\,m_t) as a function of yy and ss. (By symmetry the total force points along +y+y.)

Hint

The two particles on the yy axis are at the distances y−sy - s and y+sy + s, and pull straight along +y+y.

Hint

Each of the two side particles is at the distance y2+s2\sqrt{y^2 + s^2}. Only part of its pull is along yy: which fraction?

Solution

The idea. Add the four pulls as vectors. The xx-components cancel in pairs; the yy-components add.

The particles on the axis

They are at the distances y−sy - s and y+sy + s, straight above the test particle: G m mt[(y−s)−2+(y+s)−2]G\,m\,m_t\left[(y - s)^{-2} + (y + s)^{-2}\right] along +y+y.

The side particles

Each is at the distance y2+s2\sqrt{y^2 + s^2}, and its pull makes an angle with the yy axis whose cosine is y/y2+s2y/\sqrt{y^2 + s^2}. Together they give 2 G m mt y/(y2+s2)3/22\,G\,m\,m_t\,y/(y^2 + s^2)^{3/2} along +y+y.

The total

Exact force on the test particle
FexactG m mt=1(y−s)2+1(y+s)2+2y(y2+s2)3/2\frac{F_\text{exact}}{G\,m\,m_t} = \frac{1}{(y - s)^2} + \frac{1}{(y + s)^2} + \frac{2y}{\left(y^2 + s^2\right)^{3/2}}
In words

capital F exact over the quantity capital G m m t, equals 1 over the quantity y minus s, all squared plus 1 over the quantity y plus s, all squared plus 2 y over the quantity the quantity y squared plus s squared, all to the power three halves

Check

For s→0s \to 0 the four terms become 1/y21/y^2 each, 4/y24/y^2: the monopole force, as it must be when the four particles merge. The units are those of 1/y21/y^2, as for 4/y24/y^2.

(B)7 points

For a distant group, y≫sy \gg s, expand the relative error in powers of s/ys/y. Show that there is no term linear in s/ys/y, and find the coefficient CC of the leading term:

Leading relative error
Fexact−FmonoFmono≈C(sy)2\frac{F_\text{exact} - F_\text{mono}}{F_\text{mono}} \approx C\left(\frac{s}{y}\right)^2
In words

the quantity capital F exact minus capital F mono, all over capital F mono is approximately capital C ( s over y ) squared

Give CC (tolerance 1%).

Hint

Write each term with x=s/yx = s/y and expand: (1±x)−2(1 \pm x)^{-2} and (1+x2)−3/2(1 + x^2)^{-3/2} to second order in xx.

Solution

The idea. Factor out 1/y21/y^2 and use the binomial series.

The expansions

With x=s/yx = s/y: (1−x)−2+(1+x)−2=2+6x2(1 - x)^{-2} + (1 + x)^{-2} = 2 + 6x^2 plus terms in x4x^4 and higher, since the odd terms ±2x\pm 2x cancel. And 2(1+x2)−3/2=2−3x22(1 + x^2)^{-3/2} = 2 - 3x^2, again plus terms in x4x^4 and higher. So

Exact force for a distant group
FexactG m mt=1y2[4+3(sy)2+… ]\frac{F_\text{exact}}{G\,m\,m_t} = \frac{1}{y^2}\left[4 + 3\left(\frac{s}{y}\right)^2 + \dots\right]
In words

capital F exact over the quantity capital G m m t, equals 1 over y squared, times the quantity 4 plus 3 ( s over y ) squared plus and so on

and the relative error is 34(s/y)2\frac34(s/y)^2: C=0.75C = 0.75.

Why there is no linear term

A term linear in s/ys/y would be the dipole term. A dipole moment measured from the centre of mass is zero by the definition of the centre of mass, for any group of particles. Expanding about the centre of mass is what makes the monopole approximation good to second order: the leading error is the quadrupole term.

Check

The sign makes sense: on the axis, the near particle's pull grows by (2x+3x2)/y2(2x + 3x^2)/y^2 and the far one's changes by (−2x+3x2)/y2(-2x + 3x^2)/y^2, so the axis pair pulls harder than 2/y22/y^2 by 6x2/y26x^2/y^2; the side pair, farther away and pulling at an angle, pulls less than 2/y22/y^2 by 3x2/y23x^2/y^2. The net is +3x2/y2+3x^2/y^2: the monopole slightly underestimates the force here.

(C)5 points

How large is the exact relative error, (Fexact−Fmono)/Fmono(F_\text{exact} - F_\text{mono})/F_\text{mono}, when the group is at y=5sy = 5s (our choice)? Give it in percent (tolerance 1%).

Hint

Use the exact force of part A with s=1s = 1 and y=5y = 5, not the expansion.

Solution

The idea. Put the numbers into the exact force.

The terms

With s=1s = 1, y=5y = 5: 1/16=0.062501/16 = 0.06250, 1/36=0.027781/36 = 0.02778, 2×5/263/2=10/132.57=0.075432 \times 5/26^{3/2} = 10/132.57 = 0.07543. The sum is 0.165710.16571, while 4/25=0.164/25 = 0.16.

The error

0.16571/0.16−1=0.03570.16571/0.16 - 1 = 0.0357: 3.57%.

Check

The leading term of part B gives 0.75/25=0.0300.75/25 = 0.030, or 3.0%: close, and a little lower, because the next term, of order (s/y)4(s/y)^4, is positive here. At y=5sy = 5s the group spans an angle of about 2s/y=0.42s/y = 0.4 radian (23°) as seen from the test particle, and the monopole is already wrong by a few percent.

(D)4 points

(Our addition.) A tree code "opens" a group, summing its particles one by one, when the monopole would be too inaccurate. Here, for which smallest y/sy/s is the exact relative error 1%? Give y/sy/s (tolerance 1%).

Hint

The leading term of part B gives a first guess. The error of part C shows which way the exact answer lies from it; then solve with the exact force, for example by trying values.

Solution

The idea. Start from the expansion, then refine with the exact force.

First guess

34(s/y)2=0.01\frac34(s/y)^2 = 0.01 gives y/s=75=8.66y/s = \sqrt{75} = 8.66.

Refine

At y/s=8.66y/s = 8.66 the exact error is 1.06%, a little too large, so the group must be farther away. Solving Fexact/Fmono−1=0.01F_\text{exact}/F_\text{mono} - 1 = 0.01 numerically gives y/s=8.91y/s = 8.91 (at y/s=8.91y/s = 8.91 the exact error is 1.00%).

Check

The group then spans about 2s/y=0.222s/y = 0.22 radian (13°). Tree codes use exactly this kind of rule: a cell is accepted as one particle when its size divided by its distance is below an opening angle of a few tenths of a radian, and the error falls as the square of that angle when the expansion is about the centre of mass.

Problem 3#

Problem

Puffing up a galaxy by blowing out its gas

24 points

One way to make a galaxy larger is to throw out a large part of its gas, for example by the energy of an active nucleus (AGN): "puffing up". Model the galaxy as a self-gravitating system of mass MiM_i and size RiR_i in virial equilibrium, which loses gas until its mass is MfM_f, and then settles into a new equilibrium of size RfR_f. Write α≡Mi/Mf\alpha \equiv M_i/M_f. Simple arguments (the book's words) are enough: take the potential energy as W=−c GM2/RW = -c\,GM^2/R, where the constant cc depends only on the shape of the mass distribution, and assume that the shape stays the same, so that the gas is lost evenly from the whole galaxy.

(A)6 points

Show that if the gas is lost much faster than a dynamical time (the time a star takes to cross the galaxy), then Ri/Rf=2−αR_i/R_f = 2 - \alpha. What happens if α≥2\alpha \geq 2?

Hint

Just after a sudden loss, the remaining stars are still where they were and still move as fast as before. What are their kinetic and potential energies then?

Hint

The new equilibrium has the same total energy as the system just after the loss, and obeys the virial theorem 2K+W=02K + W = 0, so its energy is E=W/2E = W/2.

Solution

The idea. A sudden loss keeps the positions and velocities, but removes mass: the remaining system has the old kinetic energy per unit mass in a shallower potential, so it is less bound and expands.

Before

By the virial theorem, 2K+W=02K + W = 0, the kinetic energy per unit mass is K/Mi=c GMi/(2Ri)K/M_i = c\,GM_i/(2R_i).

Just after the loss

The mass MfM_f remains, with the same kinetic energy per unit mass and the same size: K′=Mf c GMi/(2Ri)K' = M_f\,c\,GM_i/(2R_i) and W′=−c GMf2/RiW' = -c\,GM_f^2/R_i. Its energy is

Energy just after a sudden loss
E=K′+W′=c G MfRi(Mi2−Mf)E = K' + W' = \frac{c\,G\,M_f}{R_i}\left(\frac{M_i}{2} - M_f\right)
In words

E equals capital K prime plus W prime equals c capital G capital M sub f over capital R sub i, times the quantity capital M sub i over 2 minus capital M sub f

The new equilibrium

After it has settled, E=Wf/2=−c GMf2/(2Rf)E = W_f/2 = -c\,GM_f^2/(2R_f), with the same EE. Dividing both sides by c GMf2c\,GM_f^2:

Size after a sudden loss
−12Rf=1Ri(α2−1)⟹RiRf=2−α-\frac{1}{2R_f} = \frac{1}{R_i}\left(\frac{\alpha}{2} - 1\right) \quad\Longrightarrow\quad \frac{R_i}{R_f} = 2 - \alpha
In words

minus 1 over the quantity 2 capital R sub f, equals 1 over capital R sub i, times the quantity alpha over 2 minus 1, which gives capital R sub i over capital R sub f equals 2 minus alpha

Check

With no loss, α=1\alpha = 1, the size stays the same. If α≥2\alpha \geq 2, that is if half the mass or more is lost at once, E≥0E \geq 0: the remaining system is no longer bound and flies apart. Losing a third of the mass (α=1.5\alpha = 1.5) already doubles the size.

(B)5 points

Show that if the gas is lost slowly, over many dynamical times, then Ri/Rf=1/αR_i/R_f = 1/\alpha. Which kind of loss puffs a galaxy up more?

Hint

When the potential changes slowly, the orbits change slowly too, and some quantities of each orbit stay constant (adiabatic invariants). For a star on a circular orbit, which conserved quantity can you use?

Solution

The idea. In a slow change each orbit adjusts gradually, keeping its adiabatic invariants. For a circular orbit, the angular momentum per unit mass rvrv is conserved, since the force stays central (true for a loss at any rate; what slowness adds is that each orbit stays circular, so v2=GM/rv^2 = GM/r still holds at the end).

Circular orbits

On a circular orbit of radius rr around a mass MM, v2=GM/rv^2 = GM/r, so (rv)2=GMr(rv)^2 = GMr. Constant rvrv means constant MrMr for every star, and so for the galaxy as a whole:

Size after a slow loss
MiRi=MfRf⟹RiRf=MfMi=1αM_i R_i = M_f R_f \quad\Longrightarrow\quad \frac{R_i}{R_f} = \frac{M_f}{M_i} = \frac{1}{\alpha}
In words

capital M sub i capital R sub i equals capital M sub f capital R sub f which gives capital R sub i over capital R sub f equals capital M sub f over capital M sub i equals 1 over alpha

Comparing the two

For α>1\alpha > 1, 2−α<1/α2 - \alpha < 1/\alpha, because α(2−α)=1−(α−1)2<1\alpha(2 - \alpha) = 1 - (\alpha - 1)^2 < 1. So the sudden loss always puffs the galaxy up more. For a small loss, α=1+η\alpha = 1 + \eta, the fast case gives Rf/Ri≈1+ηR_f/R_i \approx 1 + \eta and the slow case also 1+η1 + \eta: they differ only at second order. For large losses they differ greatly: the slow case gives a finite size for any α\alpha, the fast case unbinds the galaxy at α=2\alpha = 2.

Check

A slow loss can never unbind the galaxy: every star stays on a (wider) bound orbit. The two cases bracket what real outflows do, which last for a time that may be similar to the dynamical time.

(C)5 points

(Our addition.) Let f=1−Mf/Mif = 1 - M_f/M_i be the fraction of the mass that is lost. For a sudden loss, find Rf/RiR_f/R_i as a function of ff.

Hint

Write α\alpha in terms of ff first, then use part A.

Solution

The idea. α=Mi/Mf=1/(1−f)\alpha = M_i/M_f = 1/(1 - f).

Substitute

Ri/Rf=2−1/(1−f)=(1−2f)/(1−f)R_i/R_f = 2 - 1/(1 - f) = (1 - 2f)/(1 - f), so

Size after a sudden loss of a fraction f
RfRi=1−f1−2f\frac{R_f}{R_i} = \frac{1 - f}{1 - 2f}
In words

capital R sub f over capital R sub i equals the quantity 1 minus f, all over the quantity 1 minus 2 f

Check

For f=0f = 0 the size is unchanged; as f→1/2f \to 1/2 the size grows without limit, the unbinding of part A. For small ff, Rf/Ri≈1+fR_f/R_i \approx 1 + f, the same as the slow case 1/(1−f)≈1+f1/(1 - f) \approx 1 + f to first order.

(D)8 points

(Our addition.) Now let dark matter in. Inside the galaxy's radius, dark matter makes up 60% of the mass and stars and gas 40% (our choice). The AGN blows out half of these baryons; the dark matter stays. Treat stars, gas and dark matter as one system as above (a rough model: in reality the halo responds on its own time scale). Find Rf/RiR_f/R_i for a sudden loss and for a slow loss (tolerance 1% each).

Hint

What fraction ff of the total mass is lost?

Solution

The idea. The dark matter adds to the mass that holds the galaxy together but is not blown out, so the same outflow is a smaller fraction of the total.

The fraction lost

Half of 40%: f=0.2f = 0.2, so α=1/0.8=1.25\alpha = 1/0.8 = 1.25.

The sizes

Sudden: Rf/Ri=0.8/0.6=1.333R_f/R_i = 0.8/0.6 = 1.333. Slow: Rf/Ri=1/0.8=1.25R_f/R_i = 1/0.8 = 1.25.

The role of dark matter

Without the dark matter, losing half the baryons is f=0.5f = 0.5, α=2\alpha = 2: a sudden loss would unbind what is left, and even a slow one would double the size. With the dark matter, the galaxy grows by only a third, or a quarter. The dark matter dominates the potential and anchors the galaxy, so puffing-up works best where baryons dominate the mass, as in the centres of compact galaxies, for which it has been proposed as one way to grow in size.

Problem 4#

Problem

Galaxy bias and the slope of the correlation function

26 points

The density contrast of a component is δ=ρ/⟨ρ⟩−1\delta = \rho/\langle\rho\rangle - 1, and the book defines the bias of galaxies through it, as the ratio of the galaxies' density contrast to that of the dark matter:

Bias from the density contrast
b(r)≡δg(r)δDM(r)b(r) \equiv \frac{\delta_g(r)}{\delta_\text{DM}(r)}
In words

b(r) is defined as delta sub g (r) over the quantity delta sub D M (r)

The two-point correlation function of a component is the average ξ(r)=⟨δ(x⃗) δ(x⃗+r⃗)⟩\xi(r) = \langle\delta(\vec x)\,\delta(\vec x + \vec r)\rangle over all positions x⃗\vec x (the power spectrum). The power spectrum P(k)P(k) and ξ(r)\xi(r) are a Fourier pair: for an isotropic field, with the convention of that lesson,

Correlation function from the power spectrum
ξ(r)=12π2∫0∞P(k) sin⁡krkr k2 dk\xi(r) = \frac{1}{2\pi^2}\int_0^\infty P(k)\,\frac{\sin kr}{kr}\,k^2\,dk
In words

xi (r) equals 1 over the quantity 2 pi squared, times the integral from 0 to infinity of P(k) sine k r over the quantity k r, times k squared d k

Source: M. Vogelsberger, MIT 8.902 Astrophysics II (Fall 2023), Lecture 14 notes, eq. (408), p. 89, eq. (408), p. 89 (there in three dimensions; this form follows after the angular integral)

Galaxies are observed to have a power-law correlation function:

Galaxy correlation function
ξ(r)=(rr0)−γ\xi(r) = \left(\frac{r}{r_0}\right)^{-\gamma}
In words

xi (r) equals ( r over r nought ) to the power minus gamma

(A)4 points

Show that the definition of bb through the density contrast gives the relation between bias and the correlation functions that the book uses (eq. 4.15, p. 97): b=(ξg/ξDM)1/2b = (\xi_g/\xi_\text{DM})^{1/2}. What must you assume about bb?

Hint

Put δg=b δDM\delta_g = b\,\delta_\text{DM} into the average that defines ξg\xi_g.

Solution

The idea. The correlation function is quadratic in δ\delta, so a factor bb in δ\delta becomes b2b^2 in ξ\xi.

The step

If δg(x⃗)=b δDM(x⃗)\delta_g(\vec x) = b\,\delta_\text{DM}(\vec x) with the same bb at x⃗\vec x and at x⃗+r⃗\vec x + \vec r, then

Bias and the correlation functions
ξg(r)=⟨b δDM(x⃗)  b δDM(x⃗+r⃗)⟩=b2 ξDM(r)⟹b=(ξgξDM)1/2\xi_g(r) = \langle b\,\delta_\text{DM}(\vec x)\; b\,\delta_\text{DM}(\vec x + \vec r)\rangle = b^2\,\xi_\text{DM}(r) \quad\Longrightarrow\quad b = \left(\frac{\xi_g}{\xi_\text{DM}}\right)^{1/2}
In words

xi sub g (r) equals the average of b delta sub D M ( vector x ) b delta sub D M the quantity vector x plus vector r, equals b squared xi sub D M (r) which gives b equals ( xi sub g over xi sub D M ) to the power one half

The assumption

bb must be a constant (or vary only slowly with scale), the same everywhere, so that it can be taken out of the average. This "linear, deterministic" bias holds well on large scales; on small scales, inside halos (the 1-halo term), it fails, and bb then depends on rr. The positive square root is taken because galaxies sit where the dark matter is dense: δg\delta_g has the sign of δDM\delta_\text{DM}.

(B)6 points

Let the power spectrum be a power law, P(k)∝knP(k) \propto k^n. Find the slope γ\gamma of the correlation function, ξ∝r−γ\xi \propto r^{-\gamma}, in terms of nn.

Hint

In the integral, change the variable to u=kru = kr. Which power of rr comes out in front?

Solution

The idea. A power law has no scale of its own, so the only length is rr, and the integral gives a power of rr times a pure number.

Change of variable

With P=A knP = A\,k^n and u=kru = kr, k=u/rk = u/r and dk=du/rdk = du/r:

Correlation function for a power-law spectrum
ξ(r)=A2π2 r−(n+3)∫0∞u n+1sin⁡u  du  ∝  r−(n+3)\xi(r) = \frac{A}{2\pi^2}\,r^{-(n+3)}\int_0^\infty u^{\,n+1}\sin u\;du \;\propto\; r^{-(n+3)}
In words

xi (r) equals A over the quantity 2 pi squared, times r to the power minus the quantity n plus 3, end of power, the integral from 0 to infinity of u to the power n plus 1, end of power, sine u d u is proportional to r to the power minus the quantity n plus 3, end of power

so γ=n+3\gamma = n + 3.

When it holds

The integral converges only for −3<n<−1-3 < n < -1 (at small uu it behaves like un+2u^{n+2}, at large uu it oscillates with the amplitude un+1u^{n+1}, which must fall). For n=−2n = -2, for instance, it is ∫0∞sin⁡u/u du=π/2\int_0^\infty \sin u/u\,du = \pi/2, and ξ∝1/r\xi \propto 1/r. Outside that range the pure power law is not a consistent spectrum on all scales, and the shape of ξ\xi depends on where the spectrum bends.

Check

The dimensions agree: in three dimensions P(k) k3P(k)\,k^3 is dimensionless (it is the variance per logarithmic interval of kk), so ξ(r)\xi(r) scales like P(1/r) r−3∝r−n−3P(1/r)\,r^{-3} \propto r^{-n-3}.

(C)5 points

Which slope nn of the power spectrum corresponds to the observed γ=1.8\gamma = 1.8? Give nn (tolerance 1%).

Solution

The idea. Invert part B.

Invert

n=γ−3=1.8−3=−1.2n = \gamma - 3 = 1.8 - 3 = -1.2.

Check

−1.2-1.2 lies in the range −3<n<−1-3 < n < -1 where the relation of part B holds, so the inversion is consistent.

(D)5 points

(Our addition.) A sample of red galaxies has the correlation length r0=5r_0 = 5 Mpc, while the dark matter, on the same scales, follows a power law with the same γ=1.8\gamma = 1.8 and r0=4r_0 = 4 Mpc (our numbers). What is the bias of these galaxies (tolerance 1%)?

Hint

With the same slope, the ratio ξg/ξDM\xi_g/\xi_\text{DM} is the same at every rr. Write it with the two correlation lengths.

Solution

The idea. The ratio of two power laws with the same slope is a constant.

The ratio

ξg/ξDM=(r/5)−1.8/(r/4)−1.8=(5/4)1.8=1.494\xi_g/\xi_\text{DM} = (r/5)^{-1.8}/(r/4)^{-1.8} = (5/4)^{1.8} = 1.494, the same at every rr.

The bias

b=(1.494)1/2=(5/4)0.9=1.222b = (1.494)^{1/2} = (5/4)^{0.9} = 1.222.

Check

The galaxies are more clustered than the dark matter (r0r_0 larger), so b>1b > 1, as expected for red galaxies, which formed in the rarer, higher peaks of the density field. Without the square root one would get 1.494, which is b2b^2.

(E)6 points

The book quotes that the measured dark-matter power spectrum has n≈1n \approx 1 on very large scales and turns over to n≈−2n \approx -2 on smaller scales. How do those slopes compare with the galaxies' γ≈1.8\gamma \approx 1.8, measured on scales of a few Mpc?

Solution

The idea. Each slope of the spectrum maps onto a slope of ξ\xi on the matching scales, r∼1/kr \sim 1/k; the observed slope tells us where on the spectrum galaxy clustering sits.

The two limits

With γ=n+3\gamma = n + 3: the small-scale slope n≈−2n \approx -2 gives γ≈1\gamma \approx 1, flatter than observed. The large-scale slope n≈1n \approx 1 would formally give γ=4\gamma = 4, but it lies outside the range where part B holds: on the largest scales ξ\xi is not a power law at all (it becomes small and even changes sign). Neither limit gives 1.8.

The reading

The observed γ≈1.8\gamma \approx 1.8 corresponds to an effective slope n≈−1.2n \approx -1.2 (part C), between the two limits. The peak of the spectrum, where it turns over, lies near the horizon scale at matter–radiation equality (the power spectrum lesson), wavelengths of hundreds of Mpc, far above the few Mpc probed here. On few-Mpc scales the cold dark matter spectrum is past its peak but still curving slowly towards n≈−2n \approx -2, and nonlinear growth makes it shallower still, so its effective slope there is intermediate. A pure power-law fit on these scales is an approximation. The match is not exact for two more reasons: on scales below 1 to 2 Mpc the clustering of galaxies is set by galaxies within one halo, not by the linear spectrum, and on all scales galaxies are biased tracers whose bias may change with scale. These are the effects that halo occupation models are built to describe.

Symbols on this page

Show the 76 symbols used here
α\alpha alpha.
The ratio of the galaxy's initial to final mass, α = M_i/M_f. Say it: “alpha”.
γ\gamma gamma.
The slope of the power-law correlation function, ξ ∝ r^(−γ). Say it: “gamma”.
δ\delta delta.
The density contrast, δ = ρ/⟨ρ⟩ − 1. Say it: “delta”.
Δ\Delta capital delta.
The density contrast of a halo: its mean density divided by the background matter density. Say it: “capital delta”.
ε\varepsilon epsilon.
The softening length of the simulation: below it the force between two particles is smoothed away (the force resolution). Unit: m (here kpc). Say it: “epsilon”.
ξ\xi xi.
The two-point correlation function ξ(r): the excess chance of finding two galaxies (or two mass elements) a distance r apart. Say it: “xi” (sounds like “ksee or zye”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ρ\rho rho.
Density: mass (or energy divided by c²) per unit volume. ρ_c is the critical density, ρ̄ the mean density. Unit: kg/m³ (on some pages an energy density in natural units: GeV⁴, eV/cm³). Say it: “rho”.
Ω\Omega capital omega.
The density parameter Ω = ρ/ρ_c. Subscripts pick one ingredient: Ω_m matter, Ω_vac (or Ω_Λ) vacuum energy, Ω_r radiation, Ω_k curvature. Say it: “capital omega”.
⊙\odot Sun symbol.
The Sun: M_⊙ is one solar mass, about 1.99 × 10³⁰ kg. Say it: “solar”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
∼\sim tilde (similar).
Is of the order of: roughly equal, to within a factor of a few. Say it: “is of order”.
∝\propto proportional to.
Is proportional to: doubling one doubles the other. Say it: “is proportional to”.
≡\equiv identical to.
Is defined as (or is identically equal to). Say it: “is defined as”.
≫\gg much greater than.
Is much greater than. Say it: “is much greater than”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⟨\langle angle brackets.
The average (mean value) of what is inside, ⟨…⟩. Say it: “the average of”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
ρˉ\bar\rho bar.
A mean (average) value, such as ρ̄; in 8.902 also a smoothed field (δ̄). Say it: “bar”.
zz z.
The redshift. Say it: “z”.
GG G.
Newton's gravitational constant, G ≈ 6.674 × 10⁻¹¹ m³ kg⁻¹ s⁻². Unit: m³/(kg·s²). Say it: “capital G”.
cc c.
A number of order one in W = −cGM²/R, set by the shape of the mass distribution. Say it: “c”.
kk k.
The wavenumber of a Fourier mode of the density field. Unit: 1/m. Say it: “k”.
H0H_{0} Hubble constant.
The Hubble constant: today's value of H, about 67–73 km/s/Mpc. Unit: 1/s (usually km/s/Mpc). Say it: “capital H nought”.
ρm\rho_{m} rho sub m.
The mass density of matter (dark matter and baryons). Unit: kg/m³. Say it: “rho m”.
Ωm\Omega_{m} matter density parameter.
The matter density as a fraction of the critical density, ρ_m/ρ_c; ',0' means today (about 0.3). Say it: “capital omega m”.
M⊙M_{\odot} solar mass.
One solar mass, about 1.99 × 10³⁰ kg. Unit: kg. Say it: “solar masses”.
Φ\Phi capital phi.
The softened (Plummer) potential of one simulation particle at the distance r. Unit: J/kg. Say it: “capital phi”.
xx x.
The ratio x = s/y in the expansion of Problem 2; in Problem 4, x⃗ is a position in space. Say it: “x”.
yy y.
The distance from the test particle to the group's centre of mass, measured along the y axis. Unit: m. Say it: “y”.
dd d.
The mean spacing between neighbouring simulation particles. Unit: m (here kpc). Say it: “d”.
nn n.
The slope of the power spectrum, P ∝ kⁿ. Say it: “n”.
mm m.
The mass of each of the four particles of the group in Problem 2. Unit: kg. Say it: “m”.
ff f.
The fraction of the galaxy's mass that is lost, f = 1 − M_f/M_i. Say it: “f”.
vv v.
The orbital speed of a star on a circular orbit. Unit: m/s. Say it: “v”.
rr r.
A distance: from a simulation particle in Problem 1, between two points in Problem 4. Say it: “r”.
PP P.
The power spectrum P(k) of the density contrast. Say it: “P”.
AA A.
The amplitude of the power-law spectrum, P = A kⁿ. Say it: “A”.
CC C.
The coefficient of the leading term of the monopole's relative error, written in powers of s/y. Say it: “capital C”.
bb b.
The bias: the ratio of the galaxies' density contrast to the dark matter's. Say it: “b”.
ss s.
Half the diagonal of the square of four particles: each particle's distance from the group's centre of mass. Unit: m. Say it: “s”.
hh h.
The Hubble constant in units of 100 km/s/Mpc. Say it: “h”.
NN N.
The number of particles in the simulation box. Say it: “capital N”.
MM M.
The mass of the galaxy (any stage). Unit: kg. Say it: “capital M”.
RR R.
The size of the galaxy (any stage). Unit: m. Say it: “capital R”.
m1m_{1} m one.
The mass of one synthetic dark matter particle in the simulation. Unit: kg (here M⊙). Say it: “m one”.
uu u.
The dimensionless variable u = kr of the integral. Say it: “u”.
EE E.
The total energy (kinetic plus potential) of the galaxy. Unit: J. Say it: “E”.
r0r_{0} r nought.
The correlation length, the separation at which ξ = 1. Unit: m (here Mpc). Say it: “r nought”.
WW W.
The potential energy of the galaxy, W = −cGM²/R. Unit: J. Say it: “W”.
ρm,0\rho_{m,0} matter density today.
Today's mean matter density, Ω_m,0 times the critical density. Unit: kg/m³ (here M⊙/Mpc³). Say it: “rho m nought”.
KK K.
The kinetic energy of the galaxy's stars and gas. Unit: J. Say it: “capital K”.
MiM_{i} initial enclosed mass.
The galaxy's mass before it loses gas. Unit: kg. Say it: “capital M sub i”.
MfM_{f} final enclosed mass.
The galaxy's mass after it has lost gas. Unit: kg. Say it: “capital M sub f”.
ξg\xi_{g} galaxy correlation function.
The two-point correlation function of the galaxies. Say it: “xi sub g”.
ξDM\xi_{\text{DM}} dark matter correlation function.
The two-point correlation function of the dark matter. Say it: “xi sub D M”.
δg\delta_{g} galaxy density contrast.
The density contrast of the galaxies. Say it: “delta sub g”.
δDM\delta_{\text{DM}} dark matter density contrast.
The density contrast of the dark matter. Say it: “delta sub D M”.
η\eta eta.
A small excess of the mass ratio over one, α = 1 + η. Say it: “eta”.
RiR_{i} R i.
The galaxy's size before it loses gas. Unit: m. Say it: “capital R sub i”.
mtm_{t} turnoff mass.
The mass of the test particle that feels the group's pull. Unit: kg. Say it: “m t”.
RfR_{f} R_f.
The galaxy's size once it has settled again after losing gas. Unit: m. Say it: “capital R sub f”.
W′W' W prime.
The potential energy of the remaining mass just after a sudden loss of gas. Unit: J. Say it: “W prime”.
WfW_{f} W f.
The potential energy of the galaxy in its new equilibrium. Unit: J. Say it: “W sub f”.
K′K' K prime.
The kinetic energy of the remaining mass just after a sudden loss of gas. Unit: J. Say it: “capital K prime”.
ρc,0\rho_{c,0} critical density today.
The critical density today, 3H₀²/8πG. Unit: kg/m³ (here M⊙/Mpc³). Say it: “rho c nought”.
ρh\rho_{h} halo density.
The mean density inside a dark matter halo. Unit: kg/m³ (here M⊙/Mpc³). Say it: “rho h”.
FmonoF_{\text{mono}} F mono.
The force on the test particle in the monopole approximation. Unit: N. Say it: “capital F mono”.
FexactF_{\text{exact}} F exact.
The exact force on the test particle: the sum of the four separate pulls. Unit: N. Say it: “capital F exact”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 89 words used here

Also used

dark matter.
Matter that gives out no light and is detected only through its gravity; there is about five times more of it than ordinary matter. Explained in Towards the universe: weighing the Sun and the Galaxy with orbits.
galaxy formation.
The whole process by which gas falls into dark matter halos, cools, forms stars and becomes the galaxies we see. Explained in Substructure: the missing satellites and "too big to fail".
galaxy.
A huge system of stars, gas and dust, from thousands to over a trillion stars, held together by gravity inside a dark matter halo. Explained in Towards the universe: weighing the Sun and the Galaxy with orbits.
halo.
A large, roughly round cloud of dark matter, held together by its own gravity, inside which a galaxy or a cluster of galaxies sits. Explained in When ripples collapse: the spherical collapse model.
spherical collapse model.
A simple, exactly solvable model in which one uniform, slightly overdense sphere expands, stops, collapses and forms a halo. Explained in When ripples collapse: the spherical collapse model.
virial theorem.
For a bound system in a steady state, a fixed link between average kinetic and potential energy; for gravity, 2T + U = 0. Explained in Rydberg atoms, the virial theorem and the shapes of hydrogen orbits.
power spectrum.
How strong the ripples of a random field, such as the density of matter or the CMB temperature, are on each scale of size. Explained in Measuring structure: the power spectrum and the correlation function.
correlation function.
A function that measures how strongly the value of a fluctuating quantity at one time or place is related to its value at another. Explained in Probability: two or more random variables.
spectrum.
The spread of light or other radiation over its wavelengths, or the full set of values a quantity such as energy can take. Explained in Light and the electromagnetic spectrum.
megaparsec.
A million parsecs, about 3.26 million light-years: the usual unit for distances between galaxies. Explained in Towards the universe: redshift, stretched light from moving sources.
ΛCDM.
The standard model of cosmology: a flat universe containing a cosmological constant (Λ), cold dark matter and ordinary matter. Explained in The supernova evidence for acceleration.
softening length.
A small distance below which a simulation weakens the force between particles, to avoid huge forces at tiny separations. Explained in Simulating galaxy formation: gravity, gas and "subgrid" physics.
density.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
redshift.
A stretching of light to longer wavelengths, so lines in a spectrum appear shifted towards the red. Explained in Towards the universe: an expanding gas cools.
critical density.
The density that makes the universe exactly flat for its expansion rate; for matter alone it divides endless expansion from recollapse. Explained in Towards the universe: will an expanding ball of matter stop?.
scatter.
Of light or particles: to be knocked off their path into new directions by something they meet, such as an electron, atom or nucleus. Explained in Electric and magnetic dipole radiation.
collisionless.
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.
noise.
Random, unpredictable fluctuations in a signal such as a current, a voltage or a measurement, on top of the value we want. Explained in Brownian motion, the Einstein relation and noise.
zoom-in simulation.
A simulation that re-runs one small region of a larger run at much higher resolution, keeping the rest coarse. Explained in Simulating galaxy formation: gravity, gas and "subgrid" physics.
virial equilibrium.
The settled state of a bound system whose kinetic and potential energies obey the virial theorem; to virialise is to reach it. Explained in When ripples collapse: the spherical collapse model.
physical distance.
The distance between two points as rulers would measure it at one moment of cosmic time, which grows as the universe expands. Explained in Observing an FRW universe: redshift, distances, flatness and horizons.
comoving.
Moving along with the expansion of the universe, or measured on a grid that stretches with it, so the expansion itself is divided out. Explained in The homogeneous expanding universe.
comoving volume.
A volume measured in comoving coordinates, which stays the same as the universe expands; counts per comoving volume remove the effect of expansion. Explained in Observational cosmology: redshift and cosmic distances.
tree code.
A fast way of computing gravity in a simulation by grouping distant particles into cells and treating each cell as one mass. Explained in Simulating galaxy formation: gravity, gas and "subgrid" physics.
centre of mass.
The mass-weighted average position of a body or system: the point that moves as if all the mass and all outside forces were there. Explained in Torque and balance.
monopole.
The simplest part of a distant object's field, depending only on its total charge or mass, as if all of it sat at one point. Explained in The multipole expansion with traceless symmetric tensors.
multipole expansion.
Writing the far field of a charge or mass distribution as a sum of simpler terms that fade ever faster with distance. Explained in The multipole expansion with traceless symmetric tensors.
test body.
An idealised body so small and light that it does not disturb the gravity around it, with no charge, size or spin. Explained in Tensor densities, covariant divergences and the geodesic equation.
density contrast.
How much denser or thinner than average a region is, as a fraction of the average density. Explained in How small ripples grow: linear perturbation theory.
inverse.
The thing that undoes another: a matrix times its inverse gives the identity matrix, as a function followed by its inverse gives back the start. Explained in Planes through three points, and matrices.
symmetry.
A change, such as a reflection, a rotation or a shift, that leaves something looking exactly the same. Explained in The derivative: slope of the tangent line and rate of change.
vector.
A quantity with both a size and a direction, such as a velocity or a force, drawn as an arrow. Explained in Vectors.
linear.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
dipole.
A pair of equal and opposite charges or poles close together, or anything whose field far away looks like such a pair. Explained in The electric field.
dipole moment.
The strength and direction of a dipole: the charge times the separation, as an arrow from the negative to the positive charge. Explained in Field lines, charging and electric dipoles.
quadrupole.
The third term of a multipole expansion: how a source is stretched or squashed, or the ℓ = 2 pattern over a sphere. Explained in The multipole expansion with traceless symmetric tensors.
radian.
The natural unit of angle: the angle whose arc on a circle is as long as the radius. A full turn is 2π radians. Explained in Angles, radians and trigonometry.
energy.
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.
active galactic nucleus.
The centre of a galaxy that gives off huge amounts of light not made by stars, powered by a supermassive black hole swallowing gas. Explained in The G-dwarf problem and active galactic nuclei.
equilibrium.
A state that does not change by itself, because the influences acting on it balance. Explained in Newton's first law: inertia.
potential energy.
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.
velocity.
How fast and in which direction something moves: the change in position in each unit of time. Explained in Speed and velocity.
kinetic energy.
The energy a body has because it is moving. Explained in Kinetic energy and the work–energy theorem.
adiabatic invariant.
A quantity, such as an oscillator's energy divided by its frequency, that stays almost constant when the system is changed slowly. Explained in Adiabatic invariants, classical and quantum.
circular orbit.
An orbit at constant distance from the centre, where gravity supplies exactly the needed inward force. Explained in Orbits in galaxies: epicycles, Oort constants and the Tully–Fisher relation.
conserved.
Keeping the same total value as time passes, as energy and momentum do when nothing outside changes them. Explained in Conservation of energy.
angular momentum.
The turning version of momentum: for a particle, its position from a chosen point crossed with its momentum, r × p. Explained in Kepler's laws and orbits.
without limit.
Without any upper bound: growing larger and larger, past every value.
baryon.
A particle made of three quarks, such as a proton or a neutron; in cosmology, ordinary matter as opposed to dark matter. Explained in Cores or cusps? How baryons reshape dark matter halos.
two-point correlation function.
How much more likely than by chance it is to find two galaxies a given distance apart: zero for random placing, positive for clustering. Explained in Measuring structure: the power spectrum and the correlation function.
field.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
power law.
A relation in which one quantity is proportional to another raised to a fixed power, such as y ∝ x³. Explained in Quadratics and power laws.
Eq..
Equation: followed by its number in the source, as in Eq. 3.12; Eqs. means equations.
deterministic.
Of a system: its rules fix its whole future exactly once its present state is known, with no chance involved. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
1-halo term.
The part of galaxy clustering from pairs in the same halo (1-halo term), as opposed to pairs in different halos (2-halo term). Explained in Galaxies in halos: mass functions, halo occupation and abundance matching.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
converge.
To settle towards a definite finite value: an integral, series or sequence converges when its partial results approach a limit. Explained in Improper integrals.
amplitude.
The size of an oscillation or wave: the largest distance from its middle position, or the number multiplying the sine. Explained in Oscillations and simple harmonic motion.
dimension.
The number of independent directions in a space: one for a line, two for a plane, three for ordinary space. Explained in Position and velocity in one dimension.
dimensionless.
Having no unit, because the units cancel: a ratio such as v/c is the same number in any system of units. Explained in Friction and drag.
variance.
A measure of spread: the average of the squared distance of each value from the mean. Explained in Observables, the measurement postulate and uncertainty.
logarithm.
The power to which a fixed base must be raised to give a number: log₁₀ 1000 = 3 because 10³ = 1000. Explained in Exponentials and logarithms.
interval.
A stretch between two values or two moments; in maths, all the numbers between two end points. Explained in Time dilation, length contraction and the interval.
correlation length.
The separation at which pairs of galaxies are twice as common as for randomly placed galaxies. Explained in Measuring structure: the power spectrum and the correlation function.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
matter–radiation equality.
The moment, about 50,000 years after the Big Bang, when matter and radiation had the same energy density; after it matter dominated. Explained in Matter–radiation equality and the pressure of light.
wavelength.
The distance from one crest of a wave to the next. Explained in Waves: speed, frequency, wavelength.
cold dark matter.
Dark matter made of particles that moved slowly in the early universe, so small clumps could form first and merge into larger ones. Explained in Observing galaxies: magnitudes, types, luminosities and velocities.
nonlinear.
Not linear: containing squares, products or other functions of the unknowns, so effects do not simply add. Explained in Resistive forces: drag and terminal velocity.
halo occupation distribution.
A statistical rule for how many galaxies, centrals and satellites, live in a halo of a given mass. Explained in Galaxies in halos: mass functions, halo occupation and abundance matching.

Academic

on paper.
In theory or in a calculation, as opposed to in a real experiment or in reality.
rough estimate.
A quick, approximate value, worked out without care for small details.
model.
A simplified description of a real system, usually in equations, that keeps what matters and leaves out the rest.
dominate.
To be the largest contribution, so that the others hardly matter.
order of magnitude.
A factor of about ten; an order-of-magnitude estimate gets only the power of ten right.
of order.
Roughly equal to, within a factor of a few; of order one means neither much bigger nor much smaller than one.
approximation.
Close to, but not exactly, the true value; an approximation is such a value or formula, chosen because it is simpler.
error.
The difference between a measured or computed value and the true one; often how large that difference may be.
falls off.
Decreases as something grows, usually with distance.
to first order.
Keeping terms only up to a stated power of a small quantity: to first order keeps the first power and drops squares and higher powers.
accuracy.
Closeness to the true value: an accurate measurement or calculation gives a result near the right answer.
numerically.
In terms of actual numbers rather than symbols; often worked out step by step, by computer, instead of from an exact formula.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.
assumption.
Something accepted as true, without proof, so that an argument or calculation can proceed; to assume is to accept it so.
isotropic.
The same in every direction.
convention.
An agreed choice, such as which direction counts as positive, that could have been made differently.
consistent.
Agreeing with, and not contradicting, something else, such as the data, another result, or itself.
formally.
Following the rules or symbols exactly as written, sometimes without checking that each step makes sense.

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).

Credits and license

This page is a rewritten explanation based on I. Ferreras, Fundamentals of Dark Matter (UCL Press, 2025), Chapter 4 exercises of Ignacio Ferreras, Fundamentals of Dark Matter (UCL Press, 2025), an open textbook licensed under CC BY-NC 4.0. Attribution: Ferreras, I. 2025. Fundamentals of Dark Matter. London: UCL Press. https://doi.org/10.14324/111.9781800084704

Changes: the text is rewritten in our own words, with our own worked examples; every diagram and plot is generated by this site, and figures from other copyright holders in the book are not used.

The author and UCL Press do not endorse this site. This page is licensed CC BY-NC-SA 4.0: you may share and adapt it for non-commercial use with attribution, under the same license.