This set practises the lessons on the cosmological principle and the expanding universe, the Friedmann equations and the density parameters and redshift and cosmic distances, with the flat rotation curves of the lesson on observing galaxies. The cycloid of Problem 1 is the closed universe of 8.286. The two problems follow MIT's Problem Set 5, 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.
Two things differ from MIT's sheet in substance. First, in Problem 1(e) MIT's sheet writes the mass inside a radius as ; for a circular orbit , so we drop the 2 (our correction, explained in the solution of that part). Second, for Problem 2, MIT hands out a data file: the light-curve fits of the Supernova Legacy Survey (SNLS) three-year sample, from Guy et al. (2010). That catalogue is not used here. In its place, Problem 2 gives a table of 20 supernovae that we generated ourselves from a stated model with random scatter (our choice, in place of MIT's data file). The supernovae are not real, but they behave like real ones, and every question of MIT's Problem 2 can be answered with them. Our assumptions and values are marked where they stand.
As on MIT's sheet, assume , , and km/s/Mpc unless a problem says otherwise. and are the notes' and , the density parameters of matter and of the cosmological constant today, and is the curvature term.
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.5, in the unit the box names. Unless a box asks for more digits, give 3 significant figures and keep 4 in intermediate steps; an answer with only 2 significant figures may or may not be accepted. A choice box takes one click.
Both problems need a computer for some steps: a root of an equation, integrals that cannot be done by hand, and a fit. Use any tool you like (a spreadsheet, a few lines of Python, a calculator that integrates). The hints say how to set each step up.
MIT gives Problem 2 double weight in grading and no other points. The points here are ours and keep that ratio: 30 for Problem 1 and 60 for Problem 2, 90 points in all; every split between parts is ours too. MIT's part (B) of Problem 2 is split here into three parts, (b1) to (b3). Parts that ask you to derive something, make a plot or turn in a fit 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: m³ kg⁻¹ s⁻², kg, 1 kpc m, 1 Gyr s and km/s.
Problem 1#
The mass of the Local Group: the timing argument
The Local Group has two large galaxies, of about the luminosity of the Schechter function: the Milky Way and the Andromeda galaxy, M31. M31 is the one large galaxy that is coming towards us: its light is blueshifted. The idea of the problem is that the two galaxies flew apart with the expansion after the big bang, until their own gravity stopped them and turned them back.
MIT's numbers: once the Sun's motion around the Milky Way is taken out, M31 approaches us at 121 km/s, so the relative velocity is km/s. Cepheid variables put M31 at a distance of about 700 kpc. By Birkhoff's theorem the pair can be treated as a small closed universe, whose separation and time since the big bang follow a cycloid:
In words
r equals capital A the quantity 1 minus cos eta, t equals B the quantity eta minus sine eta
Here and are constants (not the Oort constants of the Milky Way's rotation) and the parameter runs from 0 to , from the big bang to the moment the two galaxies meet.
(a)4 points
Show that the relative velocity is
In words
v equals r over t, times sine eta the quantity eta minus sine eta, over the quantity 1 minus cos eta, all squared
Hint
Both and depend on : .
Hint
At the end, remove and with the two cycloid equations themselves, so that only , and are left.
Solution
The idea. Differentiate along the curve, then use the curve to replace the constants by the observed and .
The derivative
and , so .
Removing A and B
From the cycloid, and . Then , and multiplying by gives MIT's expression.
Check
The sign follows : positive for (moving apart), zero at (greatest separation), negative for (falling together). Near the start, , and , so : the expansion rate of a matter-dominated universe, as it should be for a pair that at first expands with the universe.
(b)6 points
Starting from Newtonian mechanics, show that the total mass of the pair satisfies
In words
G capital M sub T equals capital A cubed over B squared equals r cubed over t squared, times the quantity eta minus sine eta, all squared over the quantity 1 minus cos eta, all cubed
Hint
Treat the separation as the radius of a sphere containing the mass , as the notes do for the expanding universe: then , and is a constant. Use the speed of part (a) in its form with .
Hint
Write with . The energy must be the same at every : compare the terms with and the terms without it.
Solution
The idea. The cycloid solves Newton's equation for one value of only. Find it by asking the energy to stay constant along the curve.
Newton's law and its energy
For two point masses moving straight apart, Newton's law for their separation is , with the sum of the two masses: the same law as for the surface of the notes' uniform sphere. Multiplying by and integrating gives the notes' energy equation in our letters:
In words
one half a dot squared equals 4 pi G rho nought a nought cubed over 3, times 1 over a plus kappa tilde
with and : , a constant.
The energy on the cycloid
From part (a), , and . So
.
For this to hold at every , the terms with give , and the others give . Together, , so . Putting in and from part (a) gives the second form.
Check
The energy is : the pair is bound, as a closed universe is. Units: is m³/s², the units of .
(c)5 points
Take the age of the universe, years (MIT's value), as the time since the pair started to move apart. With the result of part (a) and the observed and , find the present value of (tolerance 1%).
Hint
Form the number from the observations: it must equal . Watch the units: in km and in s.
Hint
is negative, so : the root lies between and . Solve numerically (bisection is enough).
Solution
The idea. One equation, one unknown: the observed ratio fixes where on the cycloid we are.
The observed ratio
s s and km km, so .
The root
The function is 0 at and falls without limit as , so it takes the value once in between: at (246°).
Check
Putting back: , , , and . Since , the pair has already turned around: it is falling together, as the blueshift says.
(d)5 points
With the of part (c), find the total mass of the pair, in units of (tolerance 2%). The total luminosity of the two galaxies is about (MIT's value). Find the mass-to-light ratio, in solar units (tolerance 3%).
Hint
Use the second form of part (b), all in SI units, and divide by .
Solution
The idea. Once is known, the cycloid's constants follow from and , and so does the mass.
The constants
kpc and Gyr.
The mass
m³/s². Dividing by m³/s² gives .
Mass to light
.
Check
The stars of a galaxy give a few solar masses per solar luminosity. A ratio over a hundred means that most of the mass of the Local Group is dark: this is one of the classic arguments for dark matter halos far larger than the visible galaxies.
(e)5 points
MIT's sheet recalls that the Milky Way has a flat rotation curve, so that its mass grows in proportion to the radius if it sits in a spherical dark-matter halo. Take a circular speed km/s (our value) and give the Milky Way half the mass of part (d) (MIT allows equal masses; in reality M31 is somewhat heavier). Out to what radius must its dark matter reach to hold that mass? (MIT's sheet writes ; for a circular orbit , so we drop the 2: our correction, see the solution.) Give it in kpc (tolerance 3%). Are the halos of the two galaxies separate, or do they overlap?
Hint
For a circular orbit in a spherical mass distribution, the notes balance the centripetal acceleration against gravity: . (MIT's sheet writes ; see the solution for why we drop the 2.)
Solution
The idea. A flat rotation curve means , so a mass fixes a radius.
The radius
The notes' circular orbit,
In words
m v sub c squared over r equals G capital M m over r squared
gives . With and kpc (km/s)² : kpc.
Separate or overlapping
Two halos of 177 kpc each reach 355 kpc together, about half of the 700 kpc between the galaxies: on this estimate the halos are separate, though not by much on the scale of the Local Group (and a heavier M31 has a larger halo).
Check
MIT's sheet writes . For a spherical halo the factor 2 does not belong there: the notes' eq. (22) gives exactly. (A factor 2 appears in , written with the velocity dispersion of an isothermal halo; that may be its origin.) With the sheet's formula the radius doubles, to 355 kpc, and the two halos would just meet (710 kpc against 700). Either way the answer is that the halos are a few hundred kpc across, comparable with the distance between the galaxies.
(f)5 points
What is the greatest separation the pair ever reached, in kpc (tolerance 2%)? How old was the universe then, in Gyr (tolerance 2%)? How long from now until the Milky Way and M31 collide, in Gyr (tolerance 3%)? Sketch from to the collision and mark today.
Hint
The separation is greatest where . The collision is the end of the cycloid.
Solution
The idea. With and known, the whole history is the cycloid.
Turnaround
At : kpc, at Gyr.
Collision
At : Gyr, that is Gyr from now.
Check
The cycloid is symmetric about , so the collision comes as long after turnaround as turnaround came after the big bang: at twice 8.26 Gyr, the above. Today, at of , the pair is well into its fall, which is why the remaining time is short. The estimate ignores the angular motion of M31 across the sky and the cosmological constant, so the real meeting may differ.
Problem 2#
Cosmology from Type Ia supernovae
The 2011 Nobel Prize in Physics went to members of the two teams that found, with distant supernovae, that the expansion is speeding up. Type Ia supernovae are good standard candles: once corrected, they all have nearly the same peak luminosity, so their apparent brightness measures their luminosity distance, and the luminosity distance against redshift depends on the cosmological parameters.
MIT's problem goes through this the way a real survey does, in two stages. The full analysis fits every parameter at once with a Markov chain Monte Carlo; here, first, a few "nuisance" parameters that describe the supernovae are fitted in a flat universe, where only one cosmological parameter is free (, with ). Then those nuisance parameters are held fixed while and are both free.
(a)12 points
Plot the luminosity distance against up to , and again up to (the range of the supernova data), for five universes:
- : flat, matter only;
- : flat, only;
- : flat, the present model;
- : closed, matter only;
- : open, matter only.
Use the right form of for flat, open and closed universes. As a check of your code (our addition), give at in Mpc for , and (tolerance 1% each).
Hint
The notes give , with the comoving distance and . What is the curvature in terms of ?
Hint
Today the notes' (eq. (298)) gives . So for (open) is , where , and for (closed) the sinh becomes a sin with .
Solution
The idea. One integral, , and one curvature function cover all five cases.
The formulas
The notes' comoving distance and luminosity distance:
In words
chi equals c over H nought, times the integral from a emitted to a observed of d a over the quantity a squared E(a)
In words
capital D sub L equals the quantity 1 plus z, f sub k ( chi )
with of eq. (315) (reading 2, p. 72). With the integral becomes , , and with (reading 1, eq. (298), p. 68):
- flat: ;
- open: ;
- closed: .
Here Mpc.
The numbers at
Flat : , so Mpc.
Closed , : and , so Mpc.
Open , : and , so Mpc.
Check
Every curve starts along Hubble's law, . More matter brakes the expansion and puts a source of given closer; a cosmological constant pushes it further. The matter-only formula in the caption reproduces the two matter-only numbers above (and the notes' Einstein–de Sitter result for , , reading 2, eq. (324), p. 73).
(b1)6 points
The data (our choice, in place of MIT's data file). A light-curve fitter such as SALT2 or SiFTO (MIT's set uses SiFTO) turns each supernova's light curve into three numbers: the peak apparent magnitude , a shape (stretch) parameter and a colour parameter . Brighter supernovae fade more slowly (larger stretch), and redder ones look fainter, so the distance modulus is formed with corrections for both:
In words
mu sub i ( alpha, beta, capital M ) equals m sub i star minus capital M plus alpha s sub i minus beta c sub i
where , and the absolute magnitude are the nuisance parameters, the same for every supernova. The table gives 20 supernovae. Our is the stretch minus one, so that a typical supernova has near 0 (our convention). The last three columns are the standard deviations of , and ; we take their covariances to be zero (our simplification).
| SN | |||||||
|---|---|---|---|---|---|---|---|
| 1 | 0.02 | 15.63 | 0.017 | 0.051 | 0.021 | 0.021 | 0.021 |
| 2 | 0.03 | 16.59 | −0.078 | 0.013 | 0.021 | 0.022 | 0.021 |
| 3 | 0.04 | 17.00 | −0.030 | 0.042 | 0.022 | 0.022 | 0.022 |
| 4 | 0.05 | 17.86 | −0.295 | 0.061 | 0.022 | 0.022 | 0.022 |
| 5 | 0.07 | 17.49 | 0.198 | −0.086 | 0.023 | 0.024 | 0.023 |
| 6 | 0.10 | 19.09 | 0.134 | 0.137 | 0.024 | 0.025 | 0.024 |
| 7 | 0.15 | 20.57 | −0.064 | 0.214 | 0.026 | 0.028 | 0.026 |
| 8 | 0.22 | 20.27 | 0.099 | −0.177 | 0.029 | 0.031 | 0.029 |
| 9 | 0.30 | 20.89 | 0.073 | −0.113 | 0.032 | 0.035 | 0.032 |
| 10 | 0.37 | 21.90 | −0.098 | −0.187 | 0.035 | 0.038 | 0.035 |
| 11 | 0.40 | 22.60 | 0.174 | 0.119 | 0.036 | 0.040 | 0.036 |
| 12 | 0.44 | 22.55 | −0.065 | −0.023 | 0.038 | 0.042 | 0.038 |
| 13 | 0.51 | 23.36 | −0.032 | 0.122 | 0.040 | 0.046 | 0.040 |
| 14 | 0.58 | 23.83 | −0.136 | −0.012 | 0.043 | 0.049 | 0.043 |
| 15 | 0.65 | 23.61 | 0.043 | 0.062 | 0.046 | 0.053 | 0.046 |
| 16 | 0.72 | 24.04 | −0.009 | 0.021 | 0.049 | 0.056 | 0.049 |
| 17 | 0.79 | 24.18 | 0.039 | −0.067 | 0.052 | 0.060 | 0.052 |
| 18 | 0.86 | 24.87 | −0.117 | 0.177 | 0.054 | 0.063 | 0.054 |
| 19 | 0.93 | 24.19 | −0.030 | −0.069 | 0.057 | 0.066 | 0.057 |
| 20 | 1.00 | 24.75 | −0.165 | −0.039 | 0.060 | 0.070 | 0.060 |
The model behind the table is stated in the solution of (b2); work out the fit before you read it.
The fit compares with the distance modulus of the model, . It minimises
In words
chi squared equals the sum over i is in SN of the quantity mu sub i minus mu cosmo, all squared over the quantity sigma sub i squared plus sigma int squared
where is the intrinsic scatter of the corrected supernovae and the variance of , here without covariances:
In words
sigma sub i squared equals Var ( m sub i star ) plus alpha squared Var ( s sub i ) plus beta squared Var ( c sub i ) plus 2 alpha Cov ( m sub i star, s sub i ) minus 2 beta Cov ( m sub i star, c sub i ) minus 2 alpha beta Cov ( s sub i, c sub i )
The redshifts are taken as exact. MIT's sheet attaches the value 0.10 to ; we read it as magnitudes (our reading), the usual size of the scatter, and our table was made with that scatter.
Two first numbers, to check the pieces of your code (our addition). (1) The distance modulus at in the flat model with , in magnitudes (tolerance 0.02). (2) The uncertainty of supernova 20 at MIT's starting values , in magnitudes (tolerance 2%).
Hint
The notes' distance modulus, (reading 3, eq. (14), p. 7), becomes with in Mpc.
Solution
The idea. Check the two building blocks of separately before fitting.
The model distance modulus
for , so Mpc and .
The uncertainty
Without covariances, , so .
Check
At Hubble's law alone would give Mpc and : the factor and the integral add 0.6 magnitudes, which is why the low-redshift formula is not enough for these data.
(b2)12 points
Fit , , and in a flat universe (). Since depends on and , minimising directly would push and towards large values. Use MIT's algorithm instead:
- Start from , , and some value of .
- Repeat until nothing changes: compute every ; then, with those held fixed, minimise over .
Turn in your best-fit , , and , and a plot of the with their final against , with the curve of your best fit and two more for larger and smaller by 0.2 (still flat). This part has no box: compare with the solution and mark yourself.
Hint
With the fixed and fixed, is a quadratic function of , and , so they follow from a weighted linear least-squares fit. That leaves a one-dimensional search over .
Hint
Why does fixing the help? With and in the denominator too, growing them inflates every and lowers without fitting the data any better.
Solution
The idea. Alternate: weights from the current and , then a fit with those weights, until the two agree.
The result
With our table the iteration settles after four rounds at
, , , ,
with for 20 supernovae and 4 parameters (16 degrees of freedom). The range where rises by less than 1 above its minimum (with , and fitted again at each ) is . Values within about 0.02 of these, from a slightly different stopping rule or rounding, are fine.
The model behind the table
We made the table in Python (NumPy's default_rng(2)): a flat universe with and km/s/Mpc, , and ; true stretches and colours drawn with standard deviations 0.12 and 0.10; an intrinsic scatter of 0.10 magnitudes; and measurement errors of the sizes in the table added to , and . The fit finds , and close to the input. comes out lower: the measured colours carry their own errors, which weakens the apparent link between colour and brightness (the bias of a fit with errors in the variables), and with 20 supernovae chance alone moves by a few tenths.
Check
The per degree of freedom is , close to 1: the errors and the intrinsic scatter account for the spread of the points. (With read literally, magnitudes, the fit gives nearly the same parameters but , far below 16: that scatter would be too large for these data.)
(b3)6 points
How sensitive are the supernovae to ? As one measure (our addition), find by how many magnitudes at is smaller in a flat universe with than in one with (tolerance 3%). Then comment: what does this mean for measuring with supernovae?
Hint
and are the same in both, so only the integral changes: of the ratio of the two integrals.
Solution
The idea. A change of 0.2 in is a change of a fifth of a magnitude at , and much less below.
The number
for and for , so magnitudes.
The comment
The difference grows with redshift: it is 0.01 magnitudes at and about 0.2 at . Each supernova scatters by 0.1 to 0.2 magnitudes, so a single one says almost nothing; comes from many supernovae at high redshift, and the low-redshift ones fix the zero point . That is why our 20 supernovae give only to about , and why real surveys need hundreds.
Check
Larger means a smaller (part (a)), so a smaller : the sign is right.
(c)8 points
When the acceleration was first announced, many doubted the cosmological constant, and one worry was dust between the galaxies. How would intergalactic dust change the comparison of part (a), and why was it a concern? Then choose the statement below that describes the effect (our addition).
Solution
The idea. A cosmological constant shows itself as supernovae that are fainter than a matter-only universe predicts. Anything else that makes them fainter can fake it.
The effect
Dust absorbs light, so it adds a positive amount to every , and the more dust lies along the path, the more it adds. More distant supernovae shine through more intergalactic space, so the extra dimming grows with . The derived and the inferred then come out too large at high : the points rise above the matter-only curves of part (a), towards the curves with .
Why it is a concern, and the way out
Without a test, a universe with matter only plus some grey dust could look like one with . Ordinary dust also reddens light, and the colour term corrects for that, but very large ("grey") grains would dim without reddening and escape the correction. The worry faded because dust can only make the supernovae fainter and fainter as grows, while a cosmological constant predicts that beyond of about 1 the supernovae come back towards the curve of an open, matter-only universe (the expansion was still decelerating then); supernovae at showed that turn.
Check
The second choice would be right for dust in the supernova's own galaxy that is the same on average at every ; intergalactic dust grows with the path, so it does change the shape. Scattering by dust does not change redshift.
(d)16 points
Now let the universe be curved. Keep , and at their values from (b2), compute over a grid of and , and draw the contours where exceeds its minimum by 2.3, 6.2 and 11.8 (for two parameters these correspond roughly to 1, 2 and 3 standard deviations). Is a flat universe favoured? The contours are long, narrow ellipses: explain in a few sentences why this degeneracy between matter and dark energy exists and why the ellipses lean the way they do. Answer the two choice questions (our addition), then compare your plot and explanation with the solution.
Hint
Leave out the corner of the plane where the model has no big bang: there becomes negative between today and the redshifts you need (large , small ).
Hint
The supernovae measure over . Ask which combinations of and give nearly the same there: more matter makes smaller, more makes it larger.
Solution
The idea. Supernovae below measure essentially one combination of and : roughly how much the expansion has accelerated. Matter decelerates, accelerates, so more of one can be traded for more of the other.
The grid
On a grid with steps of 0.01 (with , leaving out models without a big bang), the minimum lies at , slightly closed, with . The best flat model, , has only 0.11 higher, well inside the first contour. The region within 2.3 of the minimum stretches from to 0.87, with between 0.20 and 1.49. The open matter-only model is 21.3 above the minimum, far outside the 11.8 contour, and the flat matter-only model is 78 above it: whatever the curvature, these data need .
Flat or not
A flat universe fits as well as the best curved one, but so do many curved ones along the ellipse: the supernovae alone do not decide the curvature. Other measurements break the degeneracy: the position of the first acoustic peak of the CMB fixes close to 1, along a line that crosses the supernova ellipse.
Why the ellipse leans
At low redshift, with the deceleration parameter (a standard expansion, stated by us). To lowest order the data fix , that is, : a line of slope . At near 0.5 to 1, matter matters more (its density grows as ), and the line of constant steepens. Near the minimum of our grid, changes least along the direction in which rises by 1.36 for each unit of (from the second derivatives of there). So the long axis runs from small and to large ones, nearly at right angles to the flat line.
Check
The first choice of the second question describes the flat line itself, the direction that the CMB constrains; that the two directions cross is exactly why combining them works so well. The second choice, the line of constant with slope , is right only for supernovae very close to us; at the redshifts of these data the line is steeper, as the step above shows.