Astronomy and Space Exploration ES

Higher Education / Cosmology

Cosmological distances

Comoving, luminosity and angular-diameter distance in FLRW: derivation from the metric, integrals in ΛCDM, the maximum of the angular-diameter distance, numerical evaluation with Planck 2018 and the Hubble diagram of type Ia supernovae.

⏱ 180 min null geodesicsimproper integralsTaylor series expansionone-dimensional optimizationSimpson quadratureuncertainty propagationlogarithms revision

By the end you will be able to:
  • Derive from the FLRW metric the comoving, transverse, angular-diameter and luminosity distances and the Etherington relation.
  • Expand the luminosity distance as a series in z and relate the second order to the deceleration parameter q₀.
  • Prove that the angular-diameter distance has a maximum and compute its position in Einstein–de Sitter and in ΛCDM.
  • Evaluate the distances numerically with the Planck 2018 parameters and bound the quadrature and propagation errors.
  • Interpret the Hubble diagram of type Ia supernovae (Riess 1998, Perlmutter 1999) as a measurement of Ω_m and Ω_Λ.

1. Motivation: how far away is a supernova at z = 0.5?

Illustration: Motivation: how far away is a supernova at z = 0.5?

In 1998 two teams measured the apparent brightness of type Ia supernovae with redshifts 0.16≲z≲0.830.16 \lesssim z \lesssim 0.83 and found them to be between 10 % and 15 % farther away than predicted by a universe without a cosmological constant (Riess et al. 1998; Perlmutter et al. 1999). For that sentence to make sense one has to say what “distance” means in an expanding universe: the separation between emitter and receiver changed while the light was traveling, space may be curved and the light arrives redshifted. In FLRW several distances coexist, all equal to cz/H0cz/H_0 for z≪1z \ll 1 and all different beyond that. This lesson derives them one by one, computes them with the Planck 2018 parameters and shows how supernovae used them to discover the cosmic acceleration.

2. Radial comoving distance

Illustration: Radial comoving distance

We start from the FLRW metric of the previous lesson, with a(t0)=1a(t_0) = 1 and the comoving coordinate rr:

ds2=−c2dt2+a(t)2[dr2+Sk(r)2 dΩ2].ds^2 = -c^2 dt^2 + a(t)^2\left[dr^2 + S_k(r)^2\,d\Omega^2\right].

A radial photon (dΩ=0d\Omega = 0, ds=0ds = 0) satisfies c dt=a drc\,dt = a\,dr. For a photon emitted at tet_e and received today, the comoving distance (line of sight) is the coordinate rr of the emitter:

DC≡r=∫tet0c dta(t).D_C \equiv r = \int_{t_e}^{t_0}\frac{c\,dt}{a(t)} .

To express it in terms of what we measure, zz, we use 1+z=1/a1 + z = 1/a, whence dz=−da/a2dz = -da/a^2 and, with H=a˙/aH = \dot a/a, dt=da/(aH)dt = da/(aH). Then c dt/a=c da/(a2H)=−c dz/H(z)c\,dt/a = c\,da/(a^2 H) = -c\,dz/H(z) and

  DC(z)=c∫0zdz′H(z′)=DH∫0zdz′E(z′)  ,DH≡cH0,E(z)=Ωr(1+z)4+Ωm(1+z)3+Ωk(1+z)2+ΩΛ,\boxed{\;D_C(z) = c\int_0^z \frac{dz'}{H(z')} = D_H\int_0^z\frac{dz'}{E(z')}\;}, \qquad D_H \equiv \frac{c}{H_0},\quad E(z) = \sqrt{\Omega_r(1+z)^4 + \Omega_m(1+z)^3 + \Omega_k(1+z)^2 + \Omega_\Lambda},

where DHD_H is the Hubble distance (DH=4430.9D_H = 4430.9 Mpc for H0=67.66H_0 = 67.66 km s⁻¹ Mpc⁻¹) and Ωr,Ωm,Ωk,ΩΛ\Omega_r, \Omega_m, \Omega_k, \Omega_\Lambda the present density parameters of radiation, matter, curvature and cosmological constant. DCD_C is the proper distance today between us and the emitter (Hogg 1999, §4); it is not directly observable, but all the others are built from it.

3. Transverse comoving distance and angular-diameter distance

Illustration: Transverse comoving distance and angular-diameter distance

Two photons emitted at the same instant tet_e from the ends of a ruler of proper length ℓ\ell, perpendicular to the line of sight and located at coordinate rr, arrive separated by an angle θ\theta. In the metric, the proper length of a transverse arc at tet_e is ℓ=a(te) Sk(r) θ\ell = a(t_e)\,S_k(r)\,\theta. We define the transverse comoving distance DM≡Sk(DC)D_M \equiv S_k(D_C), which with Ωk=−kc2/(R0H0)2\Omega_k = -kc^2/(R_0 H_0)^2 reads

DM={DHΩk sinh⁡ ⁣(Ωk DCDH)Ωk>0DCΩk=0DH∣Ωk∣ sin⁡ ⁣(∣Ωk∣ DCDH)Ωk<0D_M = \begin{cases} \dfrac{D_H}{\sqrt{\Omega_k}}\,\sinh\!\left(\sqrt{\Omega_k}\,\dfrac{D_C}{D_H}\right) & \Omega_k > 0 \\[8pt] D_C & \Omega_k = 0 \\[4pt] \dfrac{D_H}{\sqrt{|\Omega_k|}}\,\sin\!\left(\sqrt{|\Omega_k|}\,\dfrac{D_C}{D_H}\right) & \Omega_k < 0 \end{cases}

(Hogg 1999, eq. 16). The angular-diameter distance is, by definition, the one that makes the Euclidean relation ℓ=DA θ\ell = D_A\,\theta valid:

  DA=a(te) DM=DM1+z  .\boxed{\;D_A = a(t_e)\,D_M = \frac{D_M}{1+z}\;}.

The factor 1/(1+z)1/(1+z) has a surprising consequence: while DMD_M grows with zz but saturates (the integral of 1/E1/E converges), the denominator grows without bound, so DAD_A reaches a maximum and then decreases: very distant galaxies look larger on the sky than nearer ones (§6).

4. Luminosity distance and the Etherington relation

Illustration: Luminosity distance and the Etherington relation

A source of bolometric luminosity LL (energy per unit time in its rest frame) emits photons that today are spread over a sphere centered on the source. The proper area of that sphere, measured today (a=1a = 1), is 4πDM24\pi D_M^2 (the “angular” radius of the sphere is Sk(r)S_k(r)). But the received flux is smaller than L/4πDM2L/4\pi D_M^2 by two independent factors of (1+z)(1+z):

  1. each photon arrives with energy hν0=hνe/(1+z)h\nu_0 = h\nu_e/(1+z);
  2. photons emitted in an interval δte\delta t_e arrive in δt0=(1+z) δte\delta t_0 = (1+z)\,\delta t_e (cosmological time dilation, a consequence of ∫c dt/a=r\int c\,dt/a = r being constant for two successive wavefronts).

Therefore F=L/[4πDM2(1+z)2]F = L/[4\pi D_M^2 (1+z)^2] and, defining DLD_L through the Euclidean law F=L/4πDL2F = L/4\pi D_L^2,

  DL=(1+z) DM=(1+z)2DA  .\boxed{\;D_L = (1+z)\,D_M = (1+z)^2 D_A\;}.

The equality DL=(1+z)2DAD_L = (1+z)^2 D_A is the Etherington reciprocity relation (1933): it does not depend on the Friedmann equations, only on photons following null geodesics and their number being conserved, so it is a test of general relativity itself on cosmic scales. The gap DL≠DAD_L \ne D_A at z≳0.1z \gtrsim 0.1 is enormous: at z=1z = 1 they differ by a factor of 4.

Distance modulus

In magnitudes, m−M=5log⁡10(DL/10 pc)m - M = 5\log_{10}(D_L/10\ \mathrm{pc}). With DLD_L in Mpc,

μ(z)≡m−M=5log⁡10 ⁣(DLMpc)+25.\mu(z) \equiv m - M = 5\log_{10}\!\left(\frac{D_L}{\mathrm{Mpc}}\right) + 25 .

If the flux is measured in a band rather than bolometrically, one must add the K correction, which takes into account that the observed spectrum is shifted relative to the filter (Hogg 1999, §13; Hogg et al. 2002).

5. Low-redshift expansion: the Hubble law and q₀

Illustration: Low-redshift expansion: the Hubble law and q₀

For z≪1z \ll 1 we expand 1/E(z)1/E(z) around z=0z = 0. Since E(0)=1E(0) = 1 and, differentiating E2E^2,

dEdz∣0=12(4Ωr+3Ωm+2Ωk)=1+q0,q0=Ωr+12Ωm−ΩΛ,\left.\frac{dE}{dz}\right|_0 = \tfrac12\left(4\Omega_r + 3\Omega_m + 2\Omega_k\right) = 1 + q_0, \qquad q_0 = \Omega_r + \tfrac12\Omega_m - \Omega_\Lambda ,

(use Ωk=1−Ωr−Ωm−ΩΛ\Omega_k = 1 - \Omega_r - \Omega_m - \Omega_\Lambda), we have 1/E≈1−(1+q0)z1/E \approx 1 - (1+q_0)z and

DC≈DH[z−12(1+q0)z2],DL=(1+z)DM≈DH[z+12(1−q0) z2+O(z3)],D_C \approx D_H\left[z - \tfrac12(1+q_0)z^2\right], \qquad D_L = (1+z)D_M \approx D_H\left[z + \tfrac12(1-q_0)\,z^2 + O(z^3)\right],

(to this order the curvature does not enter DMD_M, since Sk(x)=x+O(x3)S_k(x) = x + O(x^3)). The linear term is the Hubble law, DL≈cz/H0D_L \approx cz/H_0; the quadratic one measures the deceleration: in an accelerating universe (q0<0q_0 < 0) the sources at a given zz are farther away and look fainter. For Planck 2018, q0=9.1×10−5+0.3111/2−0.6889=−0.533q_0 = 9.1\times10^{-5} + 0.3111/2 - 0.6889 = -0.533.

6. The maximum of the angular-diameter distance

Illustration: The maximum of the angular-diameter distance

Einstein–de Sitter (exact solution)

With Ωm=1\Omega_m = 1, E=(1+z)3/2E = (1+z)^{3/2} and

DC=DH∫0z(1+z′)−3/2dz′=2DH[1−(1+z)−1/2],DA=2DH1+z[1−(1+z)−1/2].D_C = D_H\int_0^z (1+z')^{-3/2}dz' = 2D_H\left[1 - (1+z)^{-1/2}\right], \qquad D_A = \frac{2D_H}{1+z}\left[1 - (1+z)^{-1/2}\right].

Let x≡(1+z)−1/2∈(0,1]x \equiv (1+z)^{-1/2} \in (0, 1]. Then DA=2DH x2(1−x)D_A = 2D_H\,x^2(1-x), whose derivative 2DH(2x−3x2)2D_H(2x - 3x^2) vanishes at x=2/3x = 2/3, that is 1+z=9/41 + z = 9/4:

zmax⁡=54,DA,max⁡=2DH⋅49⋅13=827DH≈0.296 DH.z_{\max} = \tfrac54, \qquad D_{A,\max} = 2D_H\cdot\tfrac49\cdot\tfrac13 = \tfrac{8}{27}D_H \approx 0.296\,D_H .

ΛCDM (general condition)

In a flat universe, DA=DC/(1+z)D_A = D_C/(1+z) and dDC/dz=DH/E(z)dD_C/dz = D_H/E(z). The condition dDA/dz=0dD_A/dz = 0 is

DHE(z) 11+z−DC(1+z)2=0⟺DC(zmax⁡)=(1+zmax⁡) DHE(zmax⁡),\frac{D_H}{E(z)}\,\frac{1}{1+z} - \frac{D_C}{(1+z)^2} = 0 \quad\Longleftrightarrow\quad D_C(z_{\max}) = \frac{(1+z_{\max})\,D_H}{E(z_{\max})} ,

which must be solved numerically. In src/lib/math/distanciasCosmologicas.ts, zMaximoDiametroAngular locates it by golden-section search (the problem is unimodal); the test checks zmax⁡=5/4z_{\max} = 5/4 in EdS with error <10−4< 10^{-4}. For Planck 2018 (+BAO) the result is

zmax⁡=1.59,DA,max⁡=1792 Mpc,z_{\max} = 1.59, \qquad D_{A,\max} = 1792\ \mathrm{Mpc} ,

so that 1′′1'' corresponds at most to 1792 Mpc×4.848×10−6=8.71792\ \mathrm{Mpc} \times 4.848\times10^{-6} = 8.7 kpc. A galaxy of 10 kpc never looks smaller than 1.15′′1.15'', whether it is at z=1.6z = 1.6 or at z=10z = 10. In the Milne universe (Ωm=ΩΛ=0\Omega_m = \Omega_\Lambda = 0) there is no maximum: DA→DH/2D_A \to D_H/2 monotonically (problem 2).

7. Results with Planck 2018

Illustration: Results with Planck 2018

The following table was computed with distanciasCosmologicas.ts for H0=67.66H_0 = 67.66 km s⁻¹ Mpc⁻¹, Ωm=0.3111\Omega_m = 0.3111, ΩΛ=0.6889\Omega_\Lambda = 0.6889, Ωr=9.1×10−5\Omega_r = 9.1\times10^{-5} (TT,TE,EE+lowE+lensing+BAO column of table 2 of Planck 2018 VI). tLt_L is the lookback time.

zzDCD_C (Mpc)DAD_A (Mpc)DLD_L (Mpc)μ\mu (mag)tLt_L (Gyr)
0.1432.6393.2475.838.391.35
0.51946.41297.62919.642.335.20
13395.61697.86791.244.167.94
1.594646179212 04345.409.73
25308.11769.315 92446.0110.51
68424.81203.558 97048.8512.86
109635.7875.9105 98550.1313.32
1089.913 85012.691.51×1071.51\times10^760.9013.82

Two independent checks of the code:

  • Age. t0=∫0∞dz/[(1+z)E]/H0=13.786t_0 = \int_0^\infty dz/[(1+z)E]/H_0 = 13.786 Gyr against Planck’s 13.787±0.02013.787 \pm 0.020 Gyr.
  • Acoustic scale. Planck measures to 0.03 % precision the angle θ∗=r∗/DM(z∗)\theta_\ast = r_\ast/D_M(z_\ast) subtended by the comoving sound horizon r∗=144.43r_\ast = 144.43 Mpc at z∗=1089.92z_\ast = 1089.92: 100 θ∗=1.04110±0.00031100\,\theta_\ast = 1.04110 \pm 0.00031. With the column without BAO (H0=67.36H_0 = 67.36, Ωm=0.3153\Omega_m = 0.3153) our DM(z∗)=13 836D_M(z_\ast) = 13\,836 Mpc gives 100 θ∗=1.0416100\,\theta_\ast = 1.0416, within 0.05 % of the published value (the difference comes from treating the neutrinos as massless radiation inside Ωr\Omega_r).

8. Type Ia supernovae and the acceleration

Illustration: Type Ia supernovae and the acceleration

SNe Ia are standardizable candles: after correcting for the width–luminosity relation their scatter in MM is about 0.15 mag. The Hubble diagram plots m(z)m(z), that is M+μ(z)M + \mu(z); MM and H0H_0 only shift the curve vertically (they appear in the combination M−5log⁡10H0M - 5\log_{10}H_0), so it is the shape of μ(z)\mu(z) that fixes Ωm\Omega_m and ΩΛ\Omega_\Lambda.

Model (H0=70H_0 = 70)μ(0.5)\mu(0.5)μ(0.83)\mu(0.83)μ(1)\mu(1)
Einstein–de Sitter41.8643.0643.50
Open, Ωm=0.2\Omega_m = 0.242.0843.4043.91
Milne (empty)42.1443.5144.04
Flat, Ωm=0.3\Omega_m = 0.3, ΩΛ=0.7\Omega_\Lambda = 0.742.2643.6044.10

At z=0.5z = 0.5 the ΛCDM model predicts supernovae 0.40 mag fainter than EdS and 0.19 mag fainter than an open universe with Ωm=0.2\Omega_m = 0.2; this last figure is precisely the 10–15 % excess in distance (0.2–0.3 mag) that Riess et al. (1998) saw with 16 distant supernovae and 34 nearby ones. Perlmutter et al. (1999), with 42 supernovae at 0.18≤z≤0.830.18 \le z \le 0.83, obtained the constraint 0.8 Ωm−0.6 ΩΛ≈−0.2±0.10.8\,\Omega_m - 0.6\,\Omega_\Lambda \approx -0.2 \pm 0.1 and, for a flat universe, Ωm=0.28−0.08+0.09\Omega_m = 0.28^{+0.09}_{-0.08} (statistical), with P(Λ>0)=99 %P(\Lambda > 0) = 99\,\%. Riess et al. (1998) rejected ΩΛ=0\Omega_\Lambda = 0 at 3–4 σ and a closed matter-only universe at 7–8 σ. The sensitivity is modest: ∂μ/∂Ωm≈−0.75\partial\mu/\partial\Omega_m \approx -0.75 mag at z=0.5z = 0.5 for flat models, so measuring Ωm\Omega_m to ±0.05 requires controlling systematics of 0.04 mag (extinction, evolution, K correction).

9. Numerical and error analysis

Illustration: Numerical and error analysis

Quadrature. cosmology.comovingDistance applies Simpson’s rule with 1000 subintervals to ∫0zdz′/E\int_0^z dz'/E. The integrand is very steep near z=0z = 0 when zz is large (it varies as (1+z)−3/2(1+z)^{-3/2}), and at z=1090z = 1090 the step Δz≈1\Delta z \approx 1 produces an error of 1.5 %. distanciasCosmologicas.distanciaComovil changes variable to a=u2a = u^2:

DC=DH∫a12u duΩr+Ωmu2+Ωku4+ΩΛu8,D_C = D_H\int_{\sqrt{a}}^{1}\frac{2u\,du}{\sqrt{\Omega_r + \Omega_m u^2 + \Omega_k u^4 + \Omega_\Lambda u^8}} ,

whose integrand is smooth on all of [0,1][0, 1]; with 2000 subintervals the relative error against the exact EdS formula is below 10−810^{-8} up to z=1090z = 1090 (test). Since Simpson’s rule is of order h4h^4, doubling nn divides the error by 16: check it in problem 6.

Propagation. From μ=5log⁡10DL+25\mu = 5\log_{10}D_L + 25, δμ=(5/ln⁡10) δDL/DL=2.17 δDL/DL\delta\mu = (5/\ln 10)\,\delta D_L/D_L = 2.17\,\delta D_L/D_L. The uncertainty in H0H_0 (0.42/67.66 = 0.6 %) gives δμ=0.013\delta\mu = 0.013 mag, common to all zz. At low zz the peculiar velocity dominates: δz=vp/c≈10−3\delta z = v_p/c \approx 10^{-3} for vp=300v_p = 300 km s⁻¹, which at z=0.01z = 0.01 is 10 % in distance, 0.2 mag; that is why cosmological samples discard z≲0.01z \lesssim 0.01–0.02.

10. Simulator

age t₀ = 13.79 Gyr · 1/H₀ = 14.45 Gyr · q₀ = -0.533 (accelerating) · Ω_k = -0.000 (flat) · fate: eternal expansion
  1. Set Planck 2018 and read a(t)a(t): at what instant was the light we see today with z=1z = 1 emitted? Compare with tL=7.94t_L = 7.94 Gyr.
  2. Switch to Einstein–de Sitter with the same H0H_0 and estimate by eye how much the age shrinks; relate it to the fact that DC(z)D_C(z) is smaller in EdS (table of §8).
  3. In a closed model (Ωm=3\Omega_m = 3), what happens to DMD_M when ∣Ωk∣ DC/DH→π\sqrt{|\Omega_k|}\,D_C/D_H \to \pi? What would an observer see of an object at the “antipodal point”?

Problems

1. (Proof) Cosmological time dilation. Prove that two wavefronts emitted at tet_e and te+δtet_e + \delta t_e arrive separated by δt0=(1+z) δte\delta t_0 = (1+z)\,\delta t_e, and deduce from it 1+z=1/a(te)1 + z = 1/a(t_e) and the factor (1+z)−2(1+z)^{-2} in the flux.

Proof

Both wavefronts travel the same comoving coordinate: ∫tet0c dt/a=∫te+δtet0+δt0c dt/a\int_{t_e}^{t_0} c\,dt/a = \int_{t_e+\delta t_e}^{t_0+\delta t_0} c\,dt/a. Subtracting, ∫tete+δtedt/a=∫t0t0+δt0dt/a\int_{t_e}^{t_e+\delta t_e} dt/a = \int_{t_0}^{t_0+\delta t_0} dt/a, and since aa barely changes over one period, δte/a(te)=δt0/a(t0)=δt0\delta t_e/a(t_e) = \delta t_0/a(t_0) = \delta t_0. Taking δt\delta t as the period of the wave, λ0/λe=δt0/δte=1/a(te)=1+z\lambda_0/\lambda_e = \delta t_0/\delta t_e = 1/a(t_e) = 1+z. The energy of each photon drops by (1+z)(1+z) and so does the arrival rate, hence the flux carries (1+z)−2(1+z)^{-2}. ■\blacksquare

2. (Proof) Milne. For Ωm=ΩΛ=0\Omega_m = \Omega_\Lambda = 0 (Ωk=1\Omega_k = 1), prove that DA=DH z(2+z)2(1+z)2D_A = D_H\,\dfrac{z(2+z)}{2(1+z)^2}, which is increasing for all zz and tends to DH/2D_H/2.

Proof

E=1+zE = 1+z, so DC=DHln⁡(1+z)D_C = D_H\ln(1+z) and DM=DHsinh⁡[ln⁡(1+z)]=DH(1+z)−(1+z)−12=DHz(2+z)2(1+z)D_M = D_H\sinh[\ln(1+z)] = D_H\dfrac{(1+z) - (1+z)^{-1}}{2} = D_H\dfrac{z(2+z)}{2(1+z)}. Dividing by 1+z1+z gives DAD_A. With g(z)=z(2+z)/(1+z)2g(z) = z(2+z)/(1+z)^2, g′=[(2+2z)(1+z)2−2z(2+z)(1+z)]/(1+z)4=2(1+z)[(1+z)2−z(2+z)]/(1+z)4=2/(1+z)3>0g' = [(2+2z)(1+z)^2 - 2z(2+z)(1+z)]/(1+z)^4 = 2(1+z)[(1+z)^2 - z(2+z)]/(1+z)^4 = 2/(1+z)^3 > 0. And g→1g \to 1 as z→∞z \to \infty, hence DA→DH/2D_A \to D_H/2. There is no maximum because in Milne space is hyperbolic and SkS_k grows exponentially, compensating the 1/(1+z)1/(1+z). ■\blacksquare

3. (Proof) Second order in z. Complete the derivation of §5: from E(z)2E(z)^2 obtain dE/dz∣0=1+q0dE/dz|_0 = 1 + q_0 and prove DL=DH[z+12(1−q0)z2]+O(z3)D_L = D_H[z + \tfrac12(1-q_0)z^2] + O(z^3). What is the sign of the correction for Planck 2018 and how large is it at z=0.1z = 0.1?

Proof

2E E′=4Ωr(1+z)3+3Ωm(1+z)2+2Ωk(1+z)2E\,E' = 4\Omega_r(1+z)^3 + 3\Omega_m(1+z)^2 + 2\Omega_k(1+z); at z=0z = 0, E=1E = 1, hence E′(0)=2Ωr+32Ωm+Ωk=2Ωr+32Ωm+1−Ωr−Ωm−ΩΛ=1+Ωr+12Ωm−ΩΛ=1+q0E'(0) = 2\Omega_r + \tfrac32\Omega_m + \Omega_k = 2\Omega_r + \tfrac32\Omega_m + 1 - \Omega_r - \Omega_m - \Omega_\Lambda = 1 + \Omega_r + \tfrac12\Omega_m - \Omega_\Lambda = 1 + q_0. Then 1/E=1−(1+q0)z+O(z2)1/E = 1 - (1+q_0)z + O(z^2), DC=DH[z−12(1+q0)z2]D_C = D_H[z - \tfrac12(1+q_0)z^2], and (1+z)DC=DH[z+z2−12(1+q0)z2]=DH[z+12(1−q0)z2](1+z)D_C = D_H[z + z^2 - \tfrac12(1+q_0)z^2] = D_H[z + \tfrac12(1-q_0)z^2]. For q0=−0.533q_0 = -0.533 the correction is +0.767 z2+0.767\,z^2, that is +7.7 %+7.7\,\% of zz at z=0.1z = 0.1 (check: DL=475.8D_L = 475.8 Mpc against cz/H0=443.1cz/H_0 = 443.1 Mpc, +7.4 %; the rest is the order z3z^3). ■\blacksquare

4. Apparent sizes. With the table of §7: (a) how many kpc does 1′′1'' subtend at z=0.5z = 0.5, 1.591.59 and 1010? (b) What angular size does a 10 kpc galaxy have at z=1z = 1 and at z=6z = 6? (c) The last-scattering surface is at z=1089.9z = 1089.9: how many proper Mpc does 1∘1^\circ span?

Show solution

(a) DA×4.848×10−6D_A\times 4.848\times10^{-6}: 6.29 kpc, 8.69 kpc and 4.25 kpc. (b) 10/(1697.8×103)10/(1697.8\times10^3) rad =1.21′′= 1.21''; 10/(1203.5×103)10/(1203.5\times10^3) rad =1.71′′= 1.71'': the more distant galaxy looks larger. (c) 12.69 Mpc×π/180=0.22112.69\ \mathrm{Mpc}\times\pi/180 = 0.221 proper Mpc (241 comoving Mpc).

5. Discriminating models with supernovae. A set of SNe Ia at z=0.5z = 0.5 has σM=0.15\sigma_M = 0.15 mag each. (a) How many are needed to distinguish ΛCDM from EdS at 5 σ? (b) And from an open universe with Ωm=0.2\Omega_m = 0.2? (c) Why does the answer depend neither on H0H_0 nor on MM?

Show solution

The error of the mean is 0.15/N0.15/\sqrt N. (a) Δμ=0.40\Delta\mu = 0.40: 5×0.15/N≤0.40⇒N≥3.55\times0.15/\sqrt N \le 0.40 \Rightarrow N \ge 3.5, so 4 suffice (without systematics). (b) Δμ=0.19\Delta\mu = 0.19: N≥15.6N \ge 15.6, about 16, which is the size of the distant sample of Riess et al. (c) MM and H0H_0 enter as M−5log⁡10H0+constM - 5\log_{10}H_0 + \mathrm{const}, a common offset that is calibrated with the nearby sample (z<0.1z < 0.1), where all models agree.

6. (Computational) Quadrature and order of convergence. Implement DCD_C with Simpson’s rule in the variable u=au = \sqrt a and in the variable zz, and measure the relative error against the exact EdS formula at z=2z = 2 and z=1090z = 1090 for n=50,100,200,400n = 50, 100, 200, 400.

Outline in Python
import numpy as np
def simpson(f, a, b, n):
    x = np.linspace(a, b, n + 1); w = np.ones(n + 1); w[1:-1:2] = 4; w[2:-1:2] = 2
    return (b - a) / (3 * n) * np.sum(w * f(x))
def DC_z(z, n):  # EdS, en unidades de D_H
    return simpson(lambda zz: (1 + zz) ** -1.5, 0, z, n)
def DC_u(z, n):
    return simpson(lambda u: 2 * u / np.sqrt(u ** 2), np.sqrt(1 / (1 + z)), 1, n)  # Ω_m u² bajo la raíz
exacto = lambda z: 2 * (1 - (1 + z) ** -0.5)
for z in (2, 1090):
    for n in (50, 100, 200, 400):
        print(z, n, abs(DC_z(z, n) / exacto(z) - 1), abs(DC_u(z, n) / exacto(z) - 1))

At z=2z = 2 both errors fall as n−4n^{-4} (a factor of 16 per doubling). At z=1090z = 1090 the version in zz needs n≳104n \gtrsim 10^4 to get below 10−310^{-3}, whereas the version in uu is exact to round-off already with n=50n = 50 (the integrand 2u/u=22u/u = 2 is constant in EdS). For ΛCDM the integrand in uu is still smooth and the order 4 is preserved.

7. Peculiar velocities. An SN Ia at z=0.02z = 0.02 belongs to a galaxy with an unknown peculiar velocity of dispersion 300 km s⁻¹. Estimate the error it introduces in μ\mu and compare it with σM=0.15\sigma_M = 0.15 mag. From which zz on is it negligible (less than 0.03 mag)?

Show solution

δz=10−3\delta z = 10^{-3}, δD/D≈δz/z=0.05\delta D/D \approx \delta z/z = 0.05, δμ=2.17×0.05=0.11\delta\mu = 2.17\times0.05 = 0.11 mag, comparable to σM\sigma_M. For δμ<0.03\delta\mu < 0.03 one needs δz/z<0.0138\delta z/z < 0.0138, that is z>0.072z > 0.072.

✦ Self-assessment

  1. 1. Which of these distances is directly the comoving coordinate r of the emitter?
  2. 2. The Etherington relation D_L = (1+z)² D_A holds…
  3. 3. In Einstein–de Sitter, the angular-diameter distance is maximal at
  4. 4. A type Ia supernova at z = 0.5 looks 0.4 mag fainter than in Einstein–de Sitter. This indicates that
  5. 5. The second-order term in D_L ≈ D_H[z + ½(1 − q₀)z²] for Planck 2018 is
  6. 6. Why does the code integrate in the variable u = √a instead of z for z ~ 1000?
Answer all the questions to check.

Further reading

  • Hogg, D. W. (1999). Distance measures in cosmology, arXiv:astro-ph/9905116. A brief and complete reference; our notation follows his.
  • Ryden, B. (2017). Introduction to Cosmology, 2nd ed., ch. 6: distances, standard candles and rulers, supernovae.
  • Weinberg, S. (2008). Cosmology, §1.4 (distances and the expansion in q0q_0), §1.6 (supernovae).
  • Riess et al. (1998), AJ 116, 1009; Perlmutter et al. (1999), ApJ 517, 565: the papers of the 2011 Nobel Prize.
  • Planck Collaboration (2020), A&A 641, A6, table 2: parameters used in the calculations.
🍎 Teacher guide
Time
2 classes of 90 min
Learning outcome
By the end, the student derives the cosmological distances from the FLRW metric, computes them numerically for ΛCDM with error control and explains how the Hubble diagram of type Ia supernovae measures Ω_m and Ω_Λ.
Evidence of learning
Submission of problem 6 (quadrature in u versus z with order of convergence) and of problem 5 with a discussion of systematics.

Materials

  • Python 3 with NumPy or the library src/lib/math/distanciasCosmologicas.ts
  • Table 2 of Planck 2018 VI
  • Figure 4 of Riess et al. 1998 or figure 2 of Perlmutter et al. 1999 (Hubble diagram)

Suggested sequence

Class 1. Derivation of DCD_C, DMD_M, DAD_A, DLD_L and Etherington (§§2–4) on the board; expansion in q0q_0 (§5) as a guided exercise. Close with the maximum of DAD_A in EdS (§6) and the Planck table (§7).

Class 2. Supernovae: read in groups the abstract of Riess et al. (1998) and translate “10–15 % farther away” into magnitudes with the table of §8. Lab: problem 6 (quadrature) and 5 (number of supernovae). Final discussion on systematics and the peculiar velocity (problem 7).

Common mistakes

  • Believing that “the distance” is unique: insist that each definition answers a different measurement (angle, flux, time).
  • Confusing the comoving D_M with the proper D_A: the factor 1/(1+z) is the scale factor at emission.
  • Attributing the faintness of the supernovae to H₀: H₀ and M only shift the diagram vertically; the shape fixes Ω_m and Ω_Λ.
  • Thinking that the maximum of D_A is a strange optical effect: it is a direct consequence of the universe being smaller when the light was emitted.
Key terms in this lesson (12)

Glossary terms that appear in the text. Each one links to its full entry.

  • Supernova The explosion of a star, so bright that for weeks it can outshine its entire galaxy. It scatters into space the elements the star made.
  • Luminosity distance The distance deduced from how faint an object looks when we know its true brightness (a "standard candle", such as a Type Ia supernova). In an expanding universe it gives values larger than the actual distance.
  • Luminosity The total energy a star emits every second, like the "power" of a light bulb. It does not depend on the distance you look at it from.
  • Friedmann equations The equations that say how the size of the universe changes with time according to what it contains: matter, radiation and dark energy. They are general relativity applied to the whole universe.
  • Hubble–Lemaître law The farther away a galaxy is, the faster it moves away from us. It is not that we are at the center: all of space is stretching, like dots painted on a balloon being inflated.
  • Redshift The light from distant galaxies arrives "stretched" toward the red because the universe expands while it travels. The farther the galaxy, the larger the redshift.
  • Flux The amount of light that reaches each square meter. The same flashlight lights your hand less the farther away you hold it: brightness drops with distance.
  • Galaxy A city of stars: hundreds of billions of them, with gas, dust and dark matter, bound together by gravity. Ours is the Milky Way; the largest neighbor, Andromeda.
  • Apparent magnitude A number that says how bright a star looks from Earth. The smaller it is, the brighter the star: Sirius has −1.5, and the faintest stars you can see with the naked eye, 6.
  • Dark energy Something that fills all of space and makes the universe expand faster and faster, instead of slowing down. It is 68 % of everything there is, and it is the biggest mystery in physics today.
  • Derivative How fast something changes at an instant: the derivative of position is velocity, and the derivative of velocity is acceleration. It is the slope of the graph at each point.
  • General relativity Einstein's theory (1915), according to which gravity is not a force but the curvature of space and time caused by mass. The planets follow the "straightest" possible path in a space curved by the Sun.

See the whole glossary →

References

  • Hogg, D. W. (1999). Distance measures in cosmology. arXiv:astro-ph/9905116.
  • Ryden, B. (2017). Introduction to Cosmology, 2nd ed., Cambridge University Press, ch. 6 (Measuring cosmological parameters).
  • Weinberg, S. (2008). Cosmology, Oxford University Press, §§1.4–1.6.
  • Planck Collaboration (2020). Planck 2018 results. VI. Cosmological parameters. A&A 641, A6, table 2. doi:10.1051/0004-6361/201833910.
  • Riess, A. G. et al. (1998). Observational evidence from supernovae for an accelerating universe and a cosmological constant. AJ 116, 1009. doi:10.1086/300499.
  • Perlmutter, S. et al. (1999). Measurements of Ω and Λ from 42 high-redshift supernovae. ApJ 517, 565. doi:10.1086/307221.
  • Etherington, I. M. H. (1933). On the definition of distance in general relativity. Phil. Mag. 15, 761.

Simulators for this lesson: Expansion of the universe