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.
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, ΩΛ=0.7 and H0=71 km/s/Mpc. Problem 1 states otherwise: it asks for an Einstein–de Sitter universe (flat, matter only). We keep MIT's H0=71 km/s/Mpc there, so in Problem 1 the background is matter only with the critical density for that H0 (our reading); a check in Problem 1(A) says what the flat model with Ω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-setformalism 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.
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, z is the redshift, H0 the Hubble constant, ρˉ the mean (background) density, ξ the sphere's density at turnaround in units of the background density then, ρta and Rta the sphere's density and radius at turnaround, Rvir its radius after virialisation, M its total mass, tff the free-fall time, T the gas temperature, μ the mean mass of a gas particle in units of the proton mass mp, kB Boltzmann's constant, fb the fraction of the mass in baryons, nH the number density of hydrogen nuclei, Λ(T) the cooling function (MIT's letter: here it is not the cosmological constant) and tcool the cooling time. In Problem 2, δˉ is the density contrast smoothed on the scale of a mass M, σR its standard deviation today, D the growth factor, δc≈1.69 the critical lineardensity contrast, F(M,z) the collapsed fraction and S=σR2 the variance used as a "time" in the excursion-set picture.
Constants (CODATA 2018 for G, kB and mp): G=6.67430×10−11 m³ kg⁻¹ s⁻², kB=1.380649×10−23 J/K, mp=1.672622×10−27 kg; the solar mass M⊙=1.98841×1030 kg (from the IAU 2015 nominal solar mass parameter GM⊙=1.3271244×1020 m³/s² of Resolution B3, divided by G); 1 Mpc=3.0857×1022 m and 1 Myr =3.15576×1013 s (Julian years).
and, from the virial theorem, that the sphere settles at half its turnaround radius, Rvir=Rta/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=71 km/s/Mpc, so ρˉ=3H02(1+z)3/8π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 ρ falling from rest reaches its centre after the time 3π/32Gρ (stated by us; the solution derives it from the notes). So you need ρta in kg/m³.
Hint
ρta=ξρˉ at z=8, and 1+z=9. Convert H0 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=71 km/s/Mpc =2.301×10−18 s⁻¹, so the critical density today is 3H02/8πG=9.469×10−27 kg/m³. At z=8 the background is 93=729 times denser, ρˉ=6.903×10−24 kg/m³, and the sphere is ξ times denser still: ρta=3.832×10−23 kg/m³.
The free-fall time, from the notes' solution
The notes' solution, eq. (435), reaches turnaround (y=1) at τξ=π/2, and the motion is symmetric about turnaround, so the fall from y=1 back to y=0 also takes Δτ=π/(2ξ), with τ=Htat. With eq. (427), ξHta2=8πGρta/3, and
Free-fall time of the sphere
tff=2ξHtaπ=32Gρta3π
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
tff=3π/(32×6.6743×10−11×3.832×10−23) s =1.073×1016 s =340 Myr.
Check
An independent route: turnaround happens at τ=2/3 and collapse at τ=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=8: tta=2/[3H0(1+z)3/2]=2/(3×2.301×10−18×27) s =340 Myr. The two routes agree because ξ=(3π/4)2: this is where the overdensity enters. The galaxy collapses at 2tta=680 Myr, when 1+z=9/41/3=5.67. A cruder estimate, 1/Gρ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 the universe at z=8 is still almost matter-only, but the matter density there is only 0.3 times the Einstein–de Sitter value for the same H0; the time 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, 23kBT/(μmp); and the gas is fully ionised hydrogen, so μ=1/2. Write the result as T=T12(M/1012M⊙)p. Give T12 in units of 106 K (tolerance 2%) and the exponent p as a decimal (tolerance 1%).
Hint
A uniform sphere of mass M and radius R has the potential energy −53GM2/R (stated by us). How much is released between Rta and Rta/2?
Hint
Rta follows from M=34πRta3ρta, with ρta from part (A). How does M/Rta grow with M when ρta is fixed?
Solution
The idea. Falling from Rta to Rta/2 releases as much energy as the sphere had bound at turnaround; shared over all the mass, it sets the temperature.
The energy released
53GM2(Rta/21−Rta1)=53RtaGM2. Per unit mass this is 53GM/Rta. Setting it equal to 23kBT/(μmp):
Temperature after virialisation
kBT=52RtaGMμmp,Rta=(4πρta3M)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
For M=1012M⊙=1.988×1042 kg: Rta=2.314×1021 m =75.0 kpc (and Rvir=37.5 kpc), and kBT=0.4×6.6743×10−11×1.988×1042×0.5×1.6726×10−27/2.314×1021 J, so T=1.39×106 K.
Since Rta∝M1/3 at fixed ρta, T∝M/M1/3=M2/3:
Virial temperature of the galaxy
T≈1.39×106K(1012M⊙M)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
The virial theorem gives the same: after virialisation the kinetic (here thermal) energy is half the magnitude of the potential energy, 21×53GM2/Rvir=53GM2/Rta, the released energy above. If instead the whole potential energy at the virial radius, 53GM2/Rvir, went into heat, T would be twice as large, 2.78×106 K; that breaks energy conservation, because the sphere already had the energy −53GM2/Rta at turnaround. With μ=0.6 (ionised gas with helium) instead of our 21, T would be 1.67×106 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.05 of the mass is baryons, and the cooling function is Λ(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 energynH2Λ per unit volume and time (with the electron density equal to nH); and the cooling time is its thermal energy per unit volume divided by that rate. Give nH in units of 10−3 cm⁻³ and tcool for M=1012M⊙ in Myr (tolerance 2% each).
Hint
The virialised sphere has 8 times the density at turnaround (half the radius). The gas density is fb times that.
Hint
Each hydrogen nucleus brings one electron: the thermal energy per unit volume is 23(nH+ne)kBT. Work in cgs units, where Λ is given.
Solution
The idea. The gas holds 3nHkBT of heat per unit volume and loses nH2Λ 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 kg/m³, so the gas has fbρvir=1.533×10−23 kg/m³ and nH=1.533×10−23/1.6726×10−27 m⁻³ =9.16×103 m⁻³ =9.16×10−3 cm⁻³. It does not depend on M.
The cooling time
Cooling time of the gas
tcool=nH2Λ23(nH+ne)kBT=nHΛ3kBT
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
With kB=1.380649×10−16 erg/K and T=1.39×106 K: tcool=3×1.380649×10−16×1.39×106/(9.16×10−3×10−23) s =6.28×1015 s =199 Myr.
Check
The units: erg/(cm⁻³ × erg cm³ s⁻¹) = s. Another check of ρvir: it should be 18π2≈178 times the background density at collapse (reading 1, eq. 447, p. 96), and the background then is ρˉ(z=8)/4; 178×6.903×10−24/4=3.066×10−22 kg/m³, the same. Since nH is fixed and T∝M2/3, tcool∝M2/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<tff. Comparing parts (A) and (C), what is the largest mass of a galaxy that meets it? Give it in units of 1012M⊙ (tolerance 3%).
Hint
tff does not depend on M; tcool grows as a power of M 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=199Myr(M/1012M⊙)2/3 equals tff=340 Myr when
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
At Mmax the temperature is 1.39×106K×2.232/3=2.37×106 K and tcool=199×2.232/3 Myr =340 Myr =tff, as it should be. The answer is about 1012M⊙, 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 (μ, the cooling function, the free-fall time); only its order of magnitude is meant.
where σR falls as M 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 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∗, where σRD=δc (as a decimal, tolerance 1%).
Hint
You do not need the derivative: the integral of ∣∂F/∂M∣ is a difference of two values of F. What does σR do as M→0 and as M→∞?
Solution
The idea.F is a cumulative fraction, so integrating its derivative only gives its two end values.
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
As M→∞, the smoothing scale grows, σR→0, the argument of erfc goes to infinity and F→0. As M→0, σR→∞ (true for a power spectrum P∝kn with n>−3 on small scales, where σR2∝M−(n+3)/3, finite for a top-hat window only if n<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→21erfc(0)=21. 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→∞ the threshold δc becomes negligible, and exactly the half of space with δˉ>0 is counted. The underdense half, δˉ<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∗, δc/(σRD)=1, so F=21erfc(1/2)=0.159: the Gaussian tail beyond one standard deviation.
Check
Numerically, with σR∝M−1/4 or M−1/2, integrating ∣∂F/∂lnM∣ over lnM gives 0.5000 (our calculation). With the factor 2 of the notes the fraction above M∗ becomes 0.317.
(B)20 points
An alternative derivation of the mass function is the excursion-setformalism, 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 R that starts very large and shrinks. Plot δˉ against S=σR2, which grows as R shrinks. What does the curve look like?
Hint
Plain Press–Schechter asks only whether the curve is above δc at S(M). What about a curve that was above it at a smaller S?
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.
The walk
Fix a point and smooth the linear density field around it on a scale R, from R=∞ (where δˉ=0 and S=σR2=0) down to small R (large S). Each step to a smaller R adds the Fourier modes in a new shell of k. With a window that is a sharp cut in k-space, each step adds new modes only, which are independent of the earlier ones in a Gaussian field: δˉ(S) is then a random walk (Brownian motion) in the "time" S, with ⟨δˉ2⟩=S. Every point of space has its own walk.
The rule
A point is in a halo of mass larger than M if its walk has crossed the barrier δc (evolved with D) at someS<S(M), that is on some scale larger than 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 at 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 before S and reflect the part after its first crossing in the line δˉ=δc. Reflection maps the walks that end below δ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:
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), )
As M→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-k 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 M1 at z1 was part of a halo of mass M2 at z2, the merger histories of halos. That is why it is called "extended".
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”.
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”).
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”.
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”.
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”.
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.
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.
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.
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.
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.
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).
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).