AstroSpeedrunSearch
Lab

The expanding Universe

Data
A model of nine galaxies that follow Hubble’s law
Time
40 min
Uses
Sections S4, D6 and D9

In 1912 Vesto Slipher photographed the spectrum of the Andromeda nebula and found its lines shifted towards the blue, as if it came towards us at about 300 km/s. Over the next ten years he measured the spectra of dozens of other spiral nebulae, and nearly all of them were shifted towards the red. In 1929 Edwin Hubble put those velocities beside his own distances to the same galaxies and found that the farther a galaxy is, the faster it moves away. In this experiment we repeat that measurement. We calibrate the spectra ourselves, mark the lines ourselves and fit the law ourselves, so every error in the Hubble constant at the end comes either from our own measuring or from the galaxies themselves.

The physics

A galaxy's light holds the light of billions of stars, and the strongest lines that its stars leave in the violet are the two lines of calcium ions, the K line at 3933.66 Å and the H line at 3968.47 Å, both measured in air. In the spectrum of a galaxy that moves away from us, every line is moved to a longer wavelength by the same fraction of its own wavelength, the redshift z of (S.31). For a redshift much less than 1 the velocity is v=cz, and for the galaxies in this experiment, whose redshifts are less than 0.05, that is all we need.

Hubble's law says that a galaxy's velocity of recession is proportional to its distance,

v=H0d,

where the Hubble constant H0 is usually given in km/s per megaparsec. Its inverse 1/H0 has the units of time. It is the time that a galaxy moving at a steady speed would take to reach its present distance from a start in which every galaxy was in the same place, so it sets the scale of the age of the Universe. To turn it into years we write a megaparsec in kilometres, 3.086×1019 km, and a billion years in seconds, 3.156×1016 s. Their ratio is 977.8, so 1/H0 is 977.8/H0 billion years when H0 is in km/s per Mpc.

Each galaxy also moves through the space around it, pulled by its neighbours, at a few hundred km/s. This peculiar velocity adds to the velocity of the expansion, so a single nearby galaxy tells us almost nothing about H0. Far away, the expansion is many times larger and the peculiar velocity matters less, but distances to far galaxies are harder to measure.

Calibrating the spectra

A spectrograph spreads the light along a row of pixels, but it does not tell us the wavelength that falls on each pixel. To find it, the observer records a comparison lamp of helium and mercury gas on both sides of the galaxy's spectrum. The lamp gives bright lines at wavelengths known from the laboratory. Over a short stretch of spectrum the wavelength changes by the same amount from one pixel to the next, so two lamp lines of known wavelength fix the whole scale, as in Section D9. Here the two named lines are the mercury lines at 4046.56 Å and 4358.33 Å, and the spectrum runs from about 3870 Å to 4390 Å, close to 1 Å for each pixel. At the K line one ångström is a velocity of 76 km/s, so a mark that is one pixel out gives a velocity 76 km/s out.

Figure 1Nine galaxy spectra between lamp strips
View

GalaxyK line (Å)RedshiftVelocity (km/s)
The figure shows one exposure at a time, made from a model of nine galaxies, with the galaxy's spectrum in the middle band and the comparison lamp in the strips above and below it, and with short wavelengths on the left. The first exposure is the lamp alone. Tapping each of the two named mercury lines marks it, and Next goes on to the galaxies. The arrows move the mark made last by a fifth of a pixel. In each galaxy the two dark lines close together are the calcium lines K and H, with K on the left, and tapping the middle of the K line measures it. The closer view shows a quarter of the spectrum around the mark, pixel by pixel. The table gives the wavelength of each K line from your calibration, its redshift and the velocity, and a new set of galaxies starts again from the calibration.

The K line is the one to measure because in real galaxies the H line sits on top of a hydrogen line, Hε at 3970.07 Å, which pulls its middle a little to the red. A finger on the whole spectrum places the mark only to within several pixels, which is several hundred km/s, and the closer view, in which each pixel is two or three screen pixels wide even on a phone, lets us place it on the darkest column. The lamp marks matter as much as the galaxy marks. A calibration mark that is one pixel out on the left mercury line moves the K lines by between 0.73 and 1.37 pixels, all in the same direction, and so every velocity by up to 105 km/s. The arrows refine the lamp marks as well as the galaxy marks.

The Hubble diagram

The distances of the nine galaxies are given, as they would be in an exam. They come from Cepheids and supernovae, and each is uncertain by 8 per cent. The first galaxy, G1, is a nearby galaxy like Andromeda, at 0.78 Mpc.

Figure 2Velocity against distance

The plot appears here once the calibration and the K line of every galaxy in Figure 1 have been marked.

The figure shows the velocity of each galaxy from Figure 1 against its given distance, with a horizontal bar for the uncertainty of the distance. The table gives the two sums from which the slope of that line follows, and the velocity of the nearest galaxy. The line appears once the Hubble constant has been checked. The boxes check the Hubble constant and the Hubble time against your own measurements, and the value of each is shown after a second miss.

Hubble's law has no intercept, because a galaxy at no distance from us has no velocity of recession, so the line is fitted through the origin, as in Section D6. Least squares then gives the slope H0=∑dv/∑d2, with the uncertainty ∑r2/((n−1)∑d2), where each r is the velocity of a galaxy minus the velocity that the line gives at its distance. The Hubble time then follows from 977.8/H0.

What limits the answer

Three errors meet in this diagram. For the nearest galaxy the peculiar velocity is larger than the expansion, and for the next few, with peculiar velocities of up to 250 km/s in this model, it is still a large share of it. The nearest galaxy has 55 km/s of expansion and comes towards us at 300 km/s, so on its own it would give a negative Hubble constant. Far away the peculiar velocities hardly matter, but the distances are uncertain by 8 per cent, so at 200 Mpc a distance can be out by 16 Mpc, which is more than 1000 km/s of expansion. Those errors of the distance set the scatter of the points about the line, and so the uncertainty of the slope. Our own calibration adds a third error of a different kind. It moves every velocity the same way and by similar amounts, so it adds little scatter, and it hides in the slope instead. That is why a careful observer measures the lamp lines as carefully as the galaxies.

The uncertainty that the formula gives from the scatter of the points assumes that every point is equally uncertain. Here the far galaxies are the most uncertain, and they also pull the line towards themselves, which hides part of their own errors. In this model the formula gives a median uncertainty of 1.6 km/s per Mpc, while the slopes from many sets of galaxies, each marked perfectly, scatter by 2.8. So a slope 4 or 5 km/s per Mpc from the model's value is not a sign of a mistake. When the errors grow in proportion to the distance, a better estimate divides each galaxy's velocity by its distance, leaves out the nearest galaxy and averages the eight ratios. In this model that average scatters by 2.5 km/s per Mpc, a little less than the slope. An exam usually asks for the least-squares line all the same, and that is what the answer box checks.

A least-squares line through the origin counts each galaxy in proportion to its distance, so the far galaxies decide the slope and the nearby galaxy hardly moves it. The value of 70 km/s per Mpc in the model gives a Hubble time of 14.0 billion years, close to the age of the Universe found from the cosmic microwave background, 13.8 billion years. That near agreement is partly a coincidence of our epoch, since the expansion has not run at a steady rate.

Show the model

The spectra come from a model in which the galaxies follow Hubble's law with H0=70 km/s per Mpc, at distances from 16 to 210 Mpc, and each has a peculiar velocity drawn evenly between −250 and +250 km/s. The given distances scatter about the true ones by 8 per cent. The largest redshift is about 0.05, which moves the K line to at most 4130 Å, and the H line stays inside the spectrum. Each calcium line is drawn as a dip with a standard deviation of 4 Å, the width that stars moving at about 305 km/s inside a large galaxy would give, on a continuum that rises gently to the red, with noise added. The nearest galaxy comes towards us at 300 km/s, like Andromeda, and its peculiar velocity is the only one larger than 250 km/s. The model uses v=cz, which for the largest redshift here differs from the special-relativistic second line of (S.31) by 2.6 per cent. At redshifts like these the velocity of a galaxy is in any case better thought of as the stretching of space than as motion through it, and cz is the quantity that astronomers plot against distance. The model leaves out the hydrogen line beside H, the slight bending of the spectrum across the detector, and the redshift caused by the Earth's own motion round the Sun, up to 30 km/s, which observers remove before plotting.