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

Problem Set 6: The spherical top hat, the largest galaxies that can cool, and the Press–Schechter normalisation

Two problems on nonlinear structure formation: the free-fall time, virial temperature and cooling time of a galaxy forming in a spherical top hat, and the mass scale that comparing them sets; and the normalisation of the Press–Schechter mass function and the excursion-set picture.

You need this first

Full reading path (53 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. The homogeneous expanding universe (8.286)
  6. The Doppler effect and special relativity (8.286)
  7. Cosmological redshift (8.286)
  8. Newton's laws of motion (8.01)
  9. The universal law of gravitation (8.01)
  10. Why a static universe cannot work (8.286)
  11. The expanding sphere and the equation for a(t) (8.286)
  12. The Friedmann equation (8.286)
  13. Open, closed and flat universes (8.286)
  14. The closed universe as a cycloid (8.286)
  15. The age of the universe and the Big Bang singularity (8.286)
  16. The age of a closed universe from H and Ω (8.286)
  17. The open universe and the age of any matter universe (8.286)
  18. Non-Euclidean geometry (8.286)
  19. The metric of a sphere and of a closed universe (8.286)
  20. Curvature and expansion: the Robertson–Walker metric (8.286)
  21. The geometry of open universes (8.286)
  22. The spacetime interval (8.286)
  23. The spacetime metric of the universe (8.286)
  24. The geodesic equation (8.286)
  25. Simplifying the geodesic equation (8.286)
  26. Falling into a black hole (8.286)
  27. Mass, energy and the dilution of radiation (8.286)
  28. Matter–radiation equality and the pressure of light (8.286)
  29. The horizon distance (8.286)
  30. The radiation-dominated universe (8.286)
  31. The cosmological constant and vacuum energy (8.286)
  32. The age of the universe with vacuum energy (8.286)
  33. How bright is a distant supernova? (8.286)
  34. The supernova evidence for acceleration (8.286)
  35. The puzzle of the vacuum energy, and Einstein's mistake about Friedmann (8.286)
  36. Black-body radiation (8.286)
  37. Neutrinos and counting particle species (8.286)
  38. The temperature of the early universe and decoupling (8.286)
  39. The horizon problem (8.286)
  40. The flatness problem (8.286)
  41. The Standard Model, gauge theories and grand unification (8.286)
  42. The Higgs field and spontaneous symmetry breaking (8.286)
  43. Topological defects and the magnetic monopole problem (8.286)
  44. The false vacuum and the mechanism of inflation (8.286)
  45. Exponential expansion, de Sitter space and the inflationary scenario (8.286)
  46. How inflation solves the problems of the Big Bang (8.286)
  47. How small ripples grow: linear perturbation theory (8.902)
  48. Why structure formation needs cold dark matter (8.902)
  49. Measuring structure: the power spectrum and the correlation function (8.902)
  50. When ripples collapse: the spherical collapse model (8.902)
  51. How many halos? The Press–Schechter mass function (8.902)
  52. Observing galaxies: magnitudes, types, luminosities and velocities (8.902)
  53. The virial theorem: what keeps a galaxy in balance (8.902)
On this page · 3 sections
  1. How to answer
  2. Problem 1
  3. Problem 2

This set practises the end of section 2 of the 8.902 notes: the spherical collapse model and the Press–Schechter mass function, both in the Lecture 16 notes, with the virial theorem from the start of the course. The problems follow MIT's Problem Set 6 (Fall 2023), the last set of the course, in our own words. MIT publishes no solutions for the problem sets of this course, so the hints and the solutions here are our own.

Several things differ from MIT's sheet. Its due date is left out. The sheet says that, unless stated otherwise, the universe is flat with ΩM=0.3\Omega_M = 0.3, ΩΛ=0.7\Omega_\Lambda = 0.7 and H0=71H_0 = 71 km/s/Mpc. Problem 1 states otherwise: it asks for an Einstein–de Sitter universe (flat, matter only). We keep MIT's H0=71H_0 = 71 km/s/Mpc there, so in Problem 1 the background is matter only with the critical density for that H0H_0 (our reading); a check in Problem 1(A) says what the flat model with ΩM=0.3\Omega_M = 0.3 would change. Problem 2 needs no cosmological numbers. Problem 1 asks for estimates, and an estimate depends on choices the sheet leaves open (which time is "the" free-fall time, what the gas is made of, how the cooling rate is defined): each part states the choice we make ("our reading", "our assumption"), and its answer box accepts that route within a few percent. MIT points to a textbook (Sparke and Gallagher) for cooling curves; the textbook is not used here, and the cooling time is defined in Problem 1(C) by us. Problem 2(B) asks the reader to read about the excursion-set formalism of Bond, Cole, Efstathiou and Kaiser (1991); our solution explains it in our own words, from the paper's bibliographic record and standard results, without the paper's text. The answer boxes of Problem 2 are our additions. MIT's Problem 3, a five-point bonus for drawing a galaxy, is left out.

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 choice box takes one click.

MIT's sheet gives points only for its bonus problem (five points), which is left out here. The points are ours: 60 for Problem 1 and 40 for Problem 2, 100 points in all; every split between parts is ours too. Parts that ask you to show or explain something have no box, or only a small one: 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.

The notation is that of the lessons. In Problem 1, zz is the redshift, H0H_0 the Hubble constant, ρˉ\bar\rho the mean (background) density, ξ\xi the sphere's density at turnaround in units of the background density then, ρta\rho_\text{ta} and RtaR_\text{ta} the sphere's density and radius at turnaround, RvirR_\text{vir} its radius after virialisation, MM its total mass, tfft_\text{ff} the free-fall time, TT the gas temperature, μ\mu the mean mass of a gas particle in units of the proton mass mpm_p, kBk_B Boltzmann's constant, fbf_b the fraction of the mass in baryons, nHn_\text{H} the number density of hydrogen nuclei, Λ(T)\Lambda(T) the cooling function (MIT's letter: here it is not the cosmological constant) and tcoolt_\text{cool} the cooling time. In Problem 2, δˉ\bar\delta is the density contrast smoothed on the scale of a mass MM, σR\sigma_R its standard deviation today, DD the growth factor, δc≈1.69\delta_c \approx 1.69 the critical linear density contrast, F(M,z)F(M, z) the collapsed fraction and S=σR2S = \sigma_R^2 the variance used as a "time" in the excursion-set picture.

Constants (CODATA 2018 for GG, kBk_B and mpm_p): G=6.67430×10−11G = 6.67430 \times 10^{-11} m³ kg⁻¹ s⁻², kB=1.380649×10−23k_B = 1.380649 \times 10^{-23} J/K, mp=1.672622×10−27m_p = 1.672622 \times 10^{-27} kg; the solar mass M⊙=1.98841×1030M_\odot = 1.98841 \times 10^{30} kg (from the IAU 2015 nominal solar mass parameter GM⊙=1.3271244×1020GM_\odot = 1.3271244 \times 10^{20} m³/s² of Resolution B3, divided by GG); 1 Mpc =3.0857×1022= 3.0857 \times 10^{22} m and 1 Myr =3.15576×1013= 3.15576 \times 10^{13} s (Julian years).

Problem 1#

Problem

A galaxy forming in a spherical top hat: free fall, heating and cooling

60 points

A galaxy forms from a spherical top hat, a uniform overdense sphere, in an Einstein–de Sitter universe. The sphere breaks away from the Hubble flow and reaches its maximum radius (turnaround) at redshift z=8z = 8. As MIT allows, you need not derive the sphere's overdensity at turnaround again: the notes find

Overdensity of the sphere at turnaround
ξ=ρtaρˉ(tta)=(3π4)2≈5.55\xi = \frac{\rho_\text{ta}}{\bar\rho(t_\text{ta})} = \left(\frac{3\pi}{4}\right)^2 \approx 5.55
In words

xi equals rho turnaround over the quantity rho bar ( t turnaround ), equals ( 3 pi over 4 ) squared is approximately 5.55

and, from the virial theorem, that the sphere settles at half its turnaround radius, Rvir=Rta/2R_\text{vir} = R_\text{ta}/2 (reading 1, eq. 446 and the line after it, p. 96). Our reading of the background: matter only, with the critical density for MIT's H0=71H_0 = 71 km/s/Mpc, so ρˉ=3H02(1+z)3/8πG\bar\rho = 3H_0^2(1+z)^3/8\pi G.

(A)12 points

What is the dynamical (free-fall) time of this forming galaxy? Our reading: the free-fall time is the time the sphere takes to fall from rest at turnaround to the centre. Give it in Myr (tolerance 2%).

Hint

At turnaround the sphere is at rest. A cold uniform sphere of density ρ\rho falling from rest reaches its centre after the time 3π/32Gρ\sqrt{3\pi/32G\rho} (stated by us; the solution derives it from the notes). So you need ρta\rho_\text{ta} in kg/m³.

Hint

ρta=ξ ρˉ\rho_\text{ta} = \xi\,\bar\rho at z=8z = 8, and 1+z=91 + z = 9. Convert H0H_0 to s⁻¹ first.

Solution

The idea. The overdensity sets the sphere's density at turnaround, and the density alone sets how long a cold sphere takes to fall in.

The density at turnaround

H0=71H_0 = 71 km/s/Mpc =2.301×10−18= 2.301 \times 10^{-18} s⁻¹, so the critical density today is 3H02/8πG=9.469×10−273H_0^2/8\pi G = 9.469 \times 10^{-27} kg/m³. At z=8z = 8 the background is 93=7299^3 = 729 times denser, ρˉ=6.903×10−24\bar\rho = 6.903 \times 10^{-24} kg/m³, and the sphere is ξ\xi times denser still: ρta=3.832×10−23\rho_\text{ta} = 3.832 \times 10^{-23} kg/m³.

The free-fall time, from the notes' solution

The notes' solution, eq. (435), reaches turnaround (y=1y = 1) at τξ=π/2\tau\sqrt\xi = \pi/2, and the motion is symmetric about turnaround, so the fall from y=1y = 1 back to y=0y = 0 also takes Δτ=π/(2ξ)\Delta\tau = \pi/(2\sqrt\xi), with τ=Htat\tau = H_\text{ta}t. With eq. (427), ξHta2=8πGρta/3\xi H_\text{ta}^2 = 8\pi G\rho_\text{ta}/3, and

Free-fall time of the sphere
tff=π2ξ Hta=3π32 Gρtat_\text{ff} = \frac{\pi}{2\sqrt\xi\,H_\text{ta}} = \sqrt{\frac{3\pi}{32\,G\rho_\text{ta}}}
In words

t free fall equals pi over the quantity 2 the square root of xi H turnaround, equals the square root of 3 pi over the quantity 32 G rho turnaround, end of root

Source: MIT 8.902 Problem Set 6 (Fall 2023), Problem 1(A), p. 1 (our own solution, from eqs. (427) and (435) of reading 1)

tff=3π/(32×6.6743×10−11×3.832×10−23)t_\text{ff} = \sqrt{3\pi/(32 \times 6.6743 \times 10^{-11} \times 3.832 \times 10^{-23})} s =1.073×1016= 1.073 \times 10^{16} s =340= 340 Myr.

Check

An independent route: turnaround happens at τ=2/3\tau = 2/3 and collapse at τ=4/3\tau = 4/3 (reading 1, p. 94), so the fall takes exactly as long as the time from the Big Bang to turnaround, the age of an Einstein–de Sitter universe at z=8z = 8: tta=2/[3H0(1+z)3/2]=2/(3×2.301×10−18×27)t_\text{ta} = 2/[3H_0(1+z)^{3/2}] = 2/(3 \times 2.301 \times 10^{-18} \times 27) s =340= 340 Myr. The two routes agree because ξ=(3π/4)2\xi = (3\pi/4)^2: this is where the overdensity enters. The galaxy collapses at 2tta=6802t_\text{ta} = 680 Myr, when 1+z=9/41/3=5.671 + z = 9/4^{1/3} = 5.67. A cruder estimate, 1/Gρta=6271/\sqrt{G\rho_\text{ta}} = 627 Myr, is 1.84 times longer; for an order-of-magnitude argument that would do too, but the box asks for the time defined above. (Our remark on MIT's default cosmology: in a flat universe with ΩM=0.3\Omega_M = 0.3 the universe at z=8z = 8 is still almost matter-only, but the matter density there is only 0.3 times the Einstein–de Sitter value for the same H0H_0; the time 2/3H(z)2/3H(z) is then 620 Myr, 1.82 times longer.)

(B)16 points

Suppose all the gravitational potential energy released in the collapse heats the gas, and nothing cools it. What is the gas temperature after virialisation? Take the density inside the sphere to be uniform and the gas to be ideal. Our reading and assumptions: the energy released is the potential energy given up as the sphere falls from turnaround to its virial radius; per unit mass it becomes the thermal energy per unit mass of the gas, 32kBT/(μmp)\frac32k_BT/(\mu m_p); and the gas is fully ionised hydrogen, so μ=1/2\mu = 1/2. Write the result as T=T12 (M/1012M⊙)pT = T_{12}\,(M/10^{12}M_\odot)^p. Give T12T_{12} in units of 10610^6 K (tolerance 2%) and the exponent pp as a decimal (tolerance 1%).

Hint

A uniform sphere of mass MM and radius RR has the potential energy −35GM2/R-\frac35GM^2/R (stated by us). How much is released between RtaR_\text{ta} and Rta/2R_\text{ta}/2?

Hint

RtaR_\text{ta} follows from M=4π3Rta3ρtaM = \frac{4\pi}{3}R_\text{ta}^3\rho_\text{ta}, with ρta\rho_\text{ta} from part (A). How does M/RtaM/R_\text{ta} grow with MM when ρta\rho_\text{ta} is fixed?

Solution

The idea. Falling from RtaR_\text{ta} to Rta/2R_\text{ta}/2 releases as much energy as the sphere had bound at turnaround; shared over all the mass, it sets the temperature.

The energy released

35GM2(1Rta/2−1Rta)=35GM2Rta\frac35GM^2\left(\frac{1}{R_\text{ta}/2} - \frac{1}{R_\text{ta}}\right) = \frac35\frac{GM^2}{R_\text{ta}}. Per unit mass this is 35GM/Rta\frac35GM/R_\text{ta}. Setting it equal to 32kBT/(μmp)\frac32k_BT/(\mu m_p):

Temperature after virialisation
kBT=25 GMμmpRta,Rta=(3M4πρta)1/3k_BT = \frac25\,\frac{G M \mu m_p}{R_\text{ta}}, \qquad R_\text{ta} = \left(\frac{3M}{4\pi\rho_\text{ta}}\right)^{1/3}
In words

k B capital T equals two fifths G capital M mu m p over R turnaround, R turnaround equals ( 3 capital M over the quantity 4 pi rho turnaround, ) to the power one third

Source: MIT 8.902 Problem Set 6 (Fall 2023), Problem 1(B), p. 1 (our own solution)

The number

For M=1012M⊙=1.988×1042M = 10^{12}M_\odot = 1.988 \times 10^{42} kg: Rta=2.314×1021R_\text{ta} = 2.314 \times 10^{21} m =75.0= 75.0 kpc (and Rvir=37.5R_\text{vir} = 37.5 kpc), and kBT=0.4×6.6743×10−11×1.988×1042×0.5×1.6726×10−27/2.314×1021k_BT = 0.4 \times 6.6743 \times 10^{-11} \times 1.988 \times 10^{42} \times 0.5 \times 1.6726 \times 10^{-27}/2.314 \times 10^{21} J, so T=1.39×106T = 1.39 \times 10^6 K.

Since Rta∝M1/3R_\text{ta} \propto M^{1/3} at fixed ρta\rho_\text{ta}, T∝M/M1/3=M2/3T \propto M/M^{1/3} = M^{2/3}:

Virial temperature of the galaxy
T≈1.39×106 K(M1012M⊙)2/3T \approx 1.39\times10^{6}\ \text{K}\left(\frac{M}{10^{12}M_\odot}\right)^{2/3}
In words

capital T is approximately 1.39 times 10 to the power 6 kelvin ( capital M over the quantity 10 to the power 12 solar masses, ) to the power two thirds

Source: MIT 8.902 Problem Set 6 (Fall 2023), Problem 1(B), p. 1 (our own solution)

so p=2/3=0.667p = 2/3 = 0.667.

Check

The virial theorem gives the same: after virialisation the kinetic (here thermal) energy is half the magnitude of the potential energy, 12×35GM2/Rvir=35GM2/Rta\frac12 \times \frac35GM^2/R_\text{vir} = \frac35GM^2/R_\text{ta}, the released energy above. If instead the whole potential energy at the virial radius, 35GM2/Rvir\frac35GM^2/R_\text{vir}, went into heat, TT would be twice as large, 2.78×1062.78 \times 10^6 K; that breaks energy conservation, because the sphere already had the energy −35GM2/Rta-\frac35GM^2/R_\text{ta} at turnaround. With μ=0.6\mu = 0.6 (ionised gas with helium) instead of our 12\frac12, TT would be 1.67×1061.67 \times 10^6 K. A million kelvin is the temperature of the hot gas seen in X-rays around massive galaxies: at these temperatures hydrogen is fully ionised, as assumed.

(C)16 points

If the gas starts at this temperature, estimate its cooling time. A fraction fb=0.05f_b = 0.05 of the mass is baryons, and the cooling function is Λ(T)=10−23\Lambda(T) = 10^{-23} erg cm³ s⁻¹ at these temperatures (MIT's values). Our assumptions: the gas, still fully ionised hydrogen, fills the virialised sphere uniformly; it radiates the energy nH2Λn_\text{H}^2\Lambda per unit volume and time (with the electron density equal to nHn_\text{H}); and the cooling time is its thermal energy per unit volume divided by that rate. Give nHn_\text{H} in units of 10−310^{-3} cm⁻³ and tcoolt_\text{cool} for M=1012M⊙M = 10^{12}M_\odot in Myr (tolerance 2% each).

Hint

The virialised sphere has 8 times the density at turnaround (half the radius). The gas density is fbf_b times that.

Hint

Each hydrogen nucleus brings one electron: the thermal energy per unit volume is 32(nH+ne)kBT\frac32(n_\text{H} + n_e)k_BT. Work in cgs units, where Λ\Lambda is given.

Solution

The idea. The gas holds 3nHkBT3n_\text{H}k_BT of heat per unit volume and loses nH2Λn_\text{H}^2\Lambda per unit volume and time: the ratio is the time it takes to radiate its heat away.

The gas density

ρvir=8ρta=3.066×10−22\rho_\text{vir} = 8\rho_\text{ta} = 3.066 \times 10^{-22} kg/m³, so the gas has fbρvir=1.533×10−23f_b\rho_\text{vir} = 1.533 \times 10^{-23} kg/m³ and nH=1.533×10−23/1.6726×10−27n_\text{H} = 1.533 \times 10^{-23}/1.6726 \times 10^{-27} m⁻³ =9.16×103= 9.16 \times 10^3 m⁻³ =9.16×10−3= 9.16 \times 10^{-3} cm⁻³. It does not depend on MM.

The cooling time

Cooling time of the gas
tcool=32(nH+ne)kBTnH2Λ=3kBTnHΛt_\text{cool} = \frac{\tfrac32(n_\text{H} + n_e)k_BT}{n_\text{H}^2\Lambda} = \frac{3k_BT}{n_\text{H}\Lambda}
In words

t cool equals the quantity three halves the quantity n hydrogen plus n sub e, k B capital T, all over the quantity n hydrogen squared capital lambda, equals 3 k B capital T over the quantity n hydrogen capital lambda

Source: MIT 8.902 Problem Set 6 (Fall 2023), Problem 1(C), p. 1 (our own definition and solution)

With kB=1.380649×10−16k_B = 1.380649 \times 10^{-16} erg/K and T=1.39×106T = 1.39 \times 10^6 K: tcool=3×1.380649×10−16×1.39×106/(9.16×10−3×10−23)t_\text{cool} = 3 \times 1.380649 \times 10^{-16} \times 1.39 \times 10^6/(9.16 \times 10^{-3} \times 10^{-23}) s =6.28×1015= 6.28 \times 10^{15} s =199= 199 Myr.

Check

The units: erg/(cm⁻³ × erg cm³ s⁻¹) == s. Another check of ρvir\rho_\text{vir}: it should be 18π2≈17818\pi^2 \approx 178 times the background density at collapse (reading 1, eq. 447, p. 96), and the background then is ρˉ(z=8)/4\bar\rho(z{=}8)/4; 178×6.903×10−24/4=3.066×10−22178 \times 6.903 \times 10^{-24}/4 = 3.066 \times 10^{-22} kg/m³, the same. Since nHn_\text{H} is fixed and T∝M2/3T \propto M^{2/3}, tcool∝M2/3t_\text{cool} \propto M^{2/3} too: heavier galaxies are hotter and cool more slowly.

(D)16 points

One criterion for galaxy formation is that the gas must cool faster than the sphere collapses, tcool<tfft_\text{cool} < t_\text{ff}. Comparing parts (A) and (C), what is the largest mass of a galaxy that meets it? Give it in units of 1012M⊙10^{12}M_\odot (tolerance 3%).

Hint

tfft_\text{ff} does not depend on MM; tcoolt_\text{cool} grows as a power of MM that part (C) gives.

Solution

The idea. Below some mass the gas cools before the sphere has finished falling in, and it can sink and form stars; above it, the gas stays hot.

The mass

tcool=199 Myr (M/1012M⊙)2/3t_\text{cool} = 199\ \text{Myr}\,(M/10^{12}M_\odot)^{2/3} equals tff=340t_\text{ff} = 340 Myr when

Largest mass that cools within a free-fall time
Mmax=1012M⊙(tfftcool(1012M⊙))3/2=1012M⊙(340199)3/2≈2.2×1012 M⊙M_\text{max} = 10^{12}M_\odot\left(\frac{t_\text{ff}}{t_\text{cool}(10^{12}M_\odot)}\right)^{3/2} = 10^{12}M_\odot\left(\frac{340}{199}\right)^{3/2} \approx 2.2\times10^{12}\,M_\odot
In words

capital M max equals 10 to the power 12 solar masses ( t free fall over the quantity t cool (10 to the power 12 solar masses ), ) to the power three halves equals 10 to the power 12 solar masses ( 340 over 199 ) to the power three halves is approximately 2.2 times 10 to the power 12 solar masses

Source: MIT 8.902 Problem Set 6 (Fall 2023), Problem 1(D), p. 1 (our own solution)

Check

At MmaxM_\text{max} the temperature is 1.39×106 K×2.232/3=2.37×1061.39 \times 10^6\ \text{K} \times 2.23^{2/3} = 2.37 \times 10^6 K and tcool=199×2.232/3t_\text{cool} = 199 \times 2.23^{2/3} Myr =340= 340 Myr =tff= t_\text{ff}, as it should be. The answer is about 1012M⊙10^{12}M_\odot, the halo mass of galaxies like the Milky Way, near the top of the range of single galaxies: heavier systems (groups and clusters) keep most of their gas hot, which is why they hold hot X-ray gas rather than one giant galaxy. The exact number depends on our choices (μ\mu, the cooling function, the free-fall time); only its order of magnitude is meant.

Problem 2#

Problem

The Press–Schechter normalisation and the excursion-set formalism

40 points

In the Press–Schechter argument the fraction of space where the smoothed linear density contrast exceeds δc\delta_c is taken to be the fraction of the mass in halos of mass MM or more:

Collapsed fraction
F(M,z)=12 erfc ⁣(δc2 σRD(z))F(M, z) = \frac12\,\text{erfc}\!\left(\frac{\delta_c}{\sqrt2\,\sigma_R D(z)}\right)
In words

capital F ( capital M, z) equals one half erfc ( delta c over the quantity the square root of 2 sigma R capital D (z), )

where σR\sigma_R falls as MM grows. Every bit of mass should belong to a halo of some mass, so the fractions in all mass intervals should add up to one (reading 1, eq. 457, p. 97).

(A)20 points

Show that the normalisation is wrong: integrate the volume fraction ∣∂F/∂M∣ dM|\partial F/\partial M|\,dM over all masses and show that it accounts for only half of the mass. Then (our addition) find the fraction of all mass that plain Press–Schechter puts in halos heavier than the characteristic mass M∗M_*, where σRD=δc\sigma_R D = \delta_c (as a decimal, tolerance 1%).

Hint

You do not need the derivative: the integral of ∣∂F/∂M∣|\partial F/\partial M| is a difference of two values of FF. What does σR\sigma_R do as M→0M \to 0 and as M→∞M \to \infty?

Solution

The idea. FF is a cumulative fraction, so integrating its derivative only gives its two end values.

The integral

FF falls as MM grows, so ∣∂F/∂M∣=−∂F/∂M|\partial F/\partial M| = -\partial F/\partial M and

Total fraction of the mass in halos
∫0∞∣∂F∂M∣dM=F(M→0)−F(M→∞)=12 erfc(0)−12 erfc(∞)=12\int_0^\infty \left|\frac{\partial F}{\partial M}\right| dM = F(M \to 0) - F(M \to \infty) = \frac12\,\text{erfc}(0) - \frac12\,\text{erfc}(\infty) = \frac12
In words

the integral from 0 to infinity of the absolute value of partial capital F over partial capital M d capital M equals capital F ( capital M goes to 0) minus capital F ( capital M goes to infinity ) equals one half erfc (0) minus one half erfc ( infinity ) equals one half

Source: MIT 8.902 Problem Set 6 (Fall 2023), Problem 2(A), p. 1 (our own solution)

As M→∞M \to \infty, the smoothing scale grows, σR→0\sigma_R \to 0, the argument of erfc goes to infinity and F→0F \to 0. As M→0M \to 0, σR→∞\sigma_R \to \infty (true for a power spectrum P∝knP \propto k^n with n>−3n > -3 on small scales, where σR2∝M−(n+3)/3\sigma_R^2 \propto M^{-(n+3)/3}, finite for a top-hat window only if n<1n < 1; for cold dark matter it grows only slowly towards small masses, and the argument assumes that it keeps growing), the argument goes to zero and F→12erfc(0)=12F \to \frac12\text{erfc}(0) = \frac12. Only half the mass is ever counted as collapsed.

Why half

A Gaussian with zero mean is above any threshold at most half of the time, however wide it is: as σR→∞\sigma_R \to \infty the threshold δc\delta_c becomes negligible, and exactly the half of space with δˉ>0\bar\delta > 0 is counted. The underdense half, δˉ<0\bar\delta < 0 on the small scale, is never counted, although much of it lies inside larger regions that have collapsed.

Our addition: the mass above M_*

At M∗M_*, δc/(σRD)=1\delta_c/(\sigma_RD) = 1, so F=12erfc(1/2)=0.159F = \frac12\text{erfc}(1/\sqrt2) = 0.159: the Gaussian tail beyond one standard deviation.

Check

Numerically, with σR∝M−1/4\sigma_R \propto M^{-1/4} or M−1/2M^{-1/2}, integrating ∣∂F/∂ln⁡M∣|\partial F/\partial \ln M| over ln⁡M\ln M gives 0.5000 (our calculation). With the factor 2 of the notes the fraction above M∗M_* becomes 0.317.

(B)20 points

An alternative derivation of the mass function is the excursion-set formalism, or extended Press–Schechter (Bond et al. 1991; MIT's sheet spells it "Excusion"). Explain its basic idea, and how it fixes the "fudge factor" problem of part (A). Mark your explanation yourself against the solution. Then (our additions) say in the boxes which window function makes the steps of the walk independent, and where the missing factor 2 comes from.

Hint

Fix one point in space and smooth the density field around it on a scale RR that starts very large and shrinks. Plot δˉ\bar\delta against S=σR2S = \sigma_R^2, which grows as RR shrinks. What does the curve look like?

Hint

Plain Press–Schechter asks only whether the curve is above δc\delta_c at S(M)S(M). What about a curve that was above it at a smaller SS?

Solution

The idea. Follow the smoothed density contrast at one point as the smoothing scale shrinks: it wanders like a random walk, and a point belongs to the largest halo whose scale first crosses δc\delta_c.

The walk

Fix a point and smooth the linear density field around it on a scale RR, from R=∞R = \infty (where δˉ=0\bar\delta = 0 and S=σR2=0S = \sigma_R^2 = 0) down to small RR (large SS). Each step to a smaller RR adds the Fourier modes in a new shell of kk. With a window that is a sharp cut in kk-space, each step adds new modes only, which are independent of the earlier ones in a Gaussian field: δˉ(S)\bar\delta(S) is then a random walk (Brownian motion) in the "time" SS, with ⟨δˉ2⟩=S\langle\bar\delta^2\rangle = S. Every point of space has its own walk.

The rule

A point is in a halo of mass larger than MM if its walk has crossed the barrier δc\delta_c (evolved with DD) at some S<S(M)S < S(M), that is on some scale larger than R(M)R(M). The mass of the halo it belongs to is set by the first crossing, the largest scale on which the region has collapsed. Plain Press–Schechter only asks whether the walk is above δc\delta_c at S(M)S(M) itself, and misses walks that crossed on a larger scale and then wandered back below: the cloud-in-cloud problem.

The factor 2

For a walk with independent steps, take any walk that has crossed δc\delta_c before SS and reflect the part after its first crossing in the line δˉ=δc\bar\delta = \delta_c. Reflection maps the walks that end below δc\delta_c onto walks that end above it, with equal probability. So the walks that crossed and are now below are exactly as many as those now above, and the fraction that has crossed is twice the plain answer:

Excursion-set collapsed fraction
FES(M,z)=2×12 erfc ⁣(δc2S D(z))=erfc ⁣(δc2 σRD(z))F_\text{ES}(M, z) = 2 \times \frac12\,\text{erfc}\!\left(\frac{\delta_c}{\sqrt{2S}\,D(z)}\right) = \text{erfc}\!\left(\frac{\delta_c}{\sqrt2\,\sigma_R D(z)}\right)
In words

capital F E S ( capital M, z) equals 2 times one half erfc ( delta c over the quantity the square root of 2 S capital D (z), ) equals erfc ( delta c over the quantity the square root of 2 sigma R capital D (z), )

Source: MIT 8.902 Problem Set 6 (Fall 2023), Problem 2(B), p. 1 (our own solution)

As M→0M \to 0 it goes to 1: every walk eventually crosses the barrier, and all the mass is in halos. The factor 2 that the notes put in by hand (reading 1, eq. 458, p. 97) now follows from the argument, for a sharp-kk window. This is the result of Bond, Cole, Efstathiou and Kaiser (1991) as it is usually stated.

Check

With a top-hat or Gaussian window in real space the steps are correlated: the reflection argument is no longer exact, and the first-crossing fraction has to be found numerically. The formalism also gives more than the mass function: following the same walk to two barriers (two redshifts) gives the probability that a halo of mass M1M_1 at z1z_1 was part of a halo of mass M2M_2 at z2z_2, the merger histories of halos. That is why it is called "extended".

Symbols on this page

Show the 64 symbols used here
δ\delta delta.
The density contrast, δ = (ρ − ρ̄)/ρ̄: how much denser than average a region is. δ_c is the critical value for collapse. Say it: “delta”.
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
Λ\Lambda capital lambda.
The cooling function: gas of hydrogen density n_H radiates the energy n_H²Λ per unit volume and time (MIT's letter; not the cosmological constant here). Unit: W m³ (here erg cm³ s⁻¹). Say it: “capital lambda”.
μ\mu mu.
The mean mass of a gas particle in units of the proton mass. Say it: “mu” (sounds like “myoo”).
ξ\xi xi.
The sphere's density at turnaround in units of the background density at that time (MIT's ρ_halo/ρ_universe). 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”.
σ\sigma sigma.
The standard deviation of the smoothed linear density contrast on the scale of a mass M (σ_R). Say it: “sigma”.
τ\tau tau.
The notes' dimensionless time, τ = H_ta t. Say it: “tau” (sounds like “rhymes with cow”).
Ω\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”.
∝\propto proportional to.
Is proportional to: doubling one doubles the other. Say it: “is proportional to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
×\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”.
∂\partial partial.
Partial derivative: the rate of change with one variable, holding the others fixed. Say it: “partial”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
ρˉ\bar\rho bar.
A mean (average) value, such as ρ̄; in 8.902 also a smoothed field (δ̄). Say it: “bar”.
HH H.
The Hubble parameter H = ȧ/a: the expansion rate of the universe at a given time. Unit: 1/s (usually km/s/Mpc). Say it: “H”.
zz z.
The redshift. Say it: “z”.
GG G.
Newton's gravitational constant. Unit: m³ kg⁻¹ s⁻². Say it: “G”.
kk k.
The wavenumber of a Fourier mode of the density field. Unit: 1/m (comoving). Say it: “k”.
TT T.
The temperature of the gas. Unit: K. Say it: “capital T”.
H0H_{0} Hubble constant.
The Hubble constant (MIT's value: 71 km/s/Mpc). Unit: km/s/Mpc. Say it: “H nought”.
Ωvac\Omega_{\text{vac}} vacuum density parameter.
The present density parameter of the cosmological constant in MIT's default cosmology. Say it: “capital omega vac”.
M⊙M_{\odot} solar mass.
One solar mass, about 1.99 × 10³⁰ kg. Unit: kg. Say it: “solar masses”.
δc\delta_{c} collapse threshold.
The critical linear density contrast for collapse. Say it: “delta c”.
σR\sigma_{R} sigma R.
The standard deviation today of the linear density contrast smoothed on the scale R(M) of a mass M. Say it: “sigma R”.
yy y.
The sphere's radius in units of its turnaround radius (the notes' y). Say it: “y”.
tt t.
The time since the Big Bang. Unit: s. Say it: “t”.
dd d.
The d of a derivative or of a small interval, as in dM. Say it: “d”.
nn n.
The index of a power-law power spectrum, P ∝ kⁿ. Say it: “n”.
FF F.
The collapsed fraction: the fraction of the mass in halos of mass M or more. Say it: “capital F”.
PP P.
The power spectrum of the linear density fluctuations. Say it: “capital P”.
DD D.
The linear growth factor, 1 today. Say it: “capital D”.
pp p.
The exponent of the mass in the gas temperature, T ∝ M^p. Say it: “p”.
MM M.
The total mass of the forming galaxy (Problem 1), or the mass of a halo (Problem 2). Unit: kg (usually M_⊙). Say it: “capital M”.
RR R.
The radius of a uniform sphere (Problem 1), or the smoothing scale R(M) of a mass M (Problem 2). Unit: m. Say it: “R”.
SS S.
The variance σ_R² of the smoothed density contrast, used as the 'time' of the random walk in the excursion-set picture. Say it: “S”.
mpm_{p} proton mass.
The mass of the proton. Unit: kg. Say it: “m p”.
kBk_{B} Boltzmann constant.
Boltzmann's constant. Unit: J/K. Say it: “k B”.
M∗M_{*} characteristic mass.
The characteristic halo mass, at which σ_R D = δ_c. Unit: kg (usually M_⊙). Say it: “capital M star”.
RtaR_{\text{ta}} turnaround radius.
The radius of the sphere at turnaround. Unit: m (here kpc). Say it: “R turnaround”.
HtaH_{\text{ta}} Hubble parameter at turnaround.
The Hubble parameter of the background universe at turnaround. Unit: 1/s. Say it: “H turnaround”.
ρta\rho_{\text{ta}} density at turnaround.
The density of the sphere at turnaround. Unit: kg/m³. Say it: “rho turnaround”.
ttat_{\text{ta}} turnaround time.
The time of turnaround, counted from the Big Bang. Unit: s (here Myr). Say it: “t turnaround”.
RvirR_{\text{vir}} virial radius.
The radius of the sphere after virialisation. Unit: m (here kpc). Say it: “R vir”.
M1M_{1} M one.
The mass of a halo at the redshift z₁, in a merger history. Unit: kg (usually M_⊙). Say it: “capital M sub 1”.
M2M_{2} M two.
The mass of a halo at the redshift z₂, in a merger history. Unit: kg (usually M_⊙). Say it: “capital M sub 2”.
z1z_{1} z sub 1.
The first of two redshifts compared in a merger history. Say it: “z sub 1”.
z2z_{2} z sub 2.
The second of two redshifts compared in a merger history. Say it: “z sub 2”.
tfft_{\text{ff}} t free-fall.
The free-fall (dynamical) time: here the time the sphere takes to fall from rest at turnaround to the centre. Unit: s (here Myr). Say it: “t free fall”.
nen_{e} n e.
The number density of free electrons in the gas. Unit: m⁻³ (here cm⁻³). Say it: “n sub e”.
nHn_{H} hydrogen number density.
The number density of hydrogen nuclei in the gas. Unit: m⁻³ (here cm⁻³). Say it: “n hydrogen”.
T12T_{12} T one two.
The gas temperature of a galaxy of 10¹² solar masses, the factor in front of the power of M. Unit: K (here 10⁶ K). Say it: “capital T one two”.
ΩM\Omega_{M} density parameter.
The present density parameter of matter in MIT's default cosmology. Say it: “capital omega capital M”.
MmaxM_{\text{max}} M max.
The largest mass of a galaxy whose gas can cool within a free-fall time. Unit: kg (here 10¹² M_⊙). Say it: “capital M max”.
ρvir\rho_{\text{vir}} rho vir.
The mean density of the sphere after virialisation. Unit: kg/m³. Say it: “rho vir”.
tcoolt_{\text{cool}} t cool.
The cooling time of the gas: its thermal energy per unit volume divided by the energy it radiates per unit volume and time. Unit: s (here Myr). Say it: “t cool”.
FESF_{\text{ES}} F excursion set.
The collapsed fraction given by the excursion-set formalism. Say it: “capital F E S”.
fbf_{b} f b.
The fraction of the mass in baryons. Say it: “f b”.

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

Words on this page

Show the 67 words used here

Also used

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.
Press–Schechter.
A simple method for predicting how many dark matter halos of each mass exist, from the statistics of the smoothed early density ripples. Explained in How many halos? The Press–Schechter mass function.
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.
MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
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.
Einstein–de Sitter universe.
A model universe that is flat and contains only matter, which expands for ever while slowing down. Explained in The cosmological principle and the expanding universe.
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?.
free fall.
Motion under gravity alone, with no other force such as air drag or a support acting. Explained in Free fall.
extended Press–Schechter.
A refinement of the Press–Schechter method that follows the smoothed density as a random walk to count halos without missing any. Explained in How many halos? The Press–Schechter mass function.
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.
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.
Hubble constant.
Today's expansion rate of the universe: how much faster a galaxy recedes for each extra unit of distance, in km/s per megaparsec. Explained in Towards the universe: redshift, stretched light from moving sources.
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.
turnaround.
The moment when an overdense region of the universe stops expanding, reaches its largest size, and begins to fall back in. Explained in When ripples collapse: the spherical collapse model.
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.
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.
cosmological constant.
A constant term Einstein added to his equations of gravity, equivalent to an energy density of empty space that never changes. Explained in Dark energy and the accelerating universe.
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.
standard deviation.
A measure of how widely values are spread around their average, in the same units as the values: the square root of the variance. Explained in Probability: one random variable.
growth factor.
The factor D(t) by which small density ripples have grown since some starting time, set equal to one today. Explained in How small ripples grow: linear perturbation theory.
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.
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.
uniform.
The same at every point, or unchanging in time: a uniform rod has the same density all along it. Explained in The electric field.
Hubble flow.
The motion of galaxies away from each other caused by the expansion of the universe alone, without their own extra motions. Explained in The expanding sphere and the equation for a(t).
Eq..
Equation: followed by its number in the source, as in Eq. 3.12; Eqs. means equations.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
symmetric.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
Big Bang.
The hot, dense early state from which the whole observable universe has been expanding for about 13.8 billion years. Explained in The Big Bang.
flat universe.
A universe with exactly the critical density, whose space has no curvature and which expands forever, ever more slowly. Explained in Open, closed and flat universes.
gravitational potential energy.
The energy a body has because of where it sits in a gravitational field, which turns into kinetic energy as it falls. Explained in Work.
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.
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.
ionization.
Removing one or more electrons from an atom or molecule, leaving it electrically charged. Explained in The Bohr atom and spectral lines.
magnitude.
The size of a quantity without its direction or sign; for a vector, the length of its arrow. Explained in Vectors.
heat.
Energy that passes between bodies because their temperatures differ, rather than by one doing mechanical work on the other. Explained in Temperature and thermal energy.
conserved.
Keeping the same total value as time passes, as energy and momentum do when nothing outside changes them. Explained in Conservation of energy.
X-ray.
Light of very short wavelength, from about 0.01 to 10 nanometres, between ultraviolet light and gamma rays. Explained in Light and the electromagnetic spectrum.
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".
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.
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.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
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.
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.
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.
Gaussian.
The bell-shaped curve e to the minus x squared, or a quantity spread out with that shape; also called a normal distribution. Explained in Probability: sums of random variables and the central limit theorem.
et al..
And others: written after the first author's name when a paper has several authors.
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.
random walk.
A path made of steps in random directions; after N steps of length λ the typical distance from the start is only about λ√N. Explained in Mean free path, effusion, sound and diffusion.
Brownian motion.
The jittery, random motion of a small particle in a liquid or gas, caused by molecules hitting it unevenly from all sides. Explained in Temperature and thermal energy.
cloud-in-cloud problem.
The flaw in the simple Press–Schechter count that a point below the threshold on one scale may still be inside a larger collapsed halo. Explained in How many halos? The Press–Schechter mass function.
correlation.
How strongly two quantities tend to vary together; for random quantities, the average of their product minus the product of their averages. Explained in Random variables: independence, the binomial distribution and the central limit theorem.

Academic

problem set.
A weekly sheet of exercises that students work through and hand in, to practise what the lectures taught.
model.
A simplified description of a real system, usually in equations, that keeps what matters and leaves out the rest.
assumption.
Something accepted as true, without proof, so that an argument or calculation can proceed; to assume is to accept it so.
formalism.
A particular mathematical way of writing and working with a theory.
on paper.
In theory or in a calculation, as opposed to in a real experiment or in reality.
notation.
A system of symbols used to write ideas down briefly, such as dy/dx for a derivative.
derive.
To obtain a result by reasoning or calculation from other known results.
order of magnitude.
A factor of about ten; an order-of-magnitude estimate gets only the power of ten right.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.
criterion.
A test or rule used to decide something, such as whether a system is stable.
accounts for.
Explains, makes up a stated share of, or takes into account something.
negligible.
So small that leaving it out makes no noticeable difference to the result.
numerically.
In terms of actual numbers rather than symbols; often worked out step by step, by computer, instead of from an exact formula.
fudge factor.
A number put into a formula to make it agree with the answer wanted, without a full justification.
by hand.
Worked out with pen and paper, without a computer; or put in deliberately rather than following from the theory.

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