Lesson 5 of 15

Distance Measures in Cosmology

Distance Measures in Cosmology

The comoving distance dCd_C is the fundamental coordinate distance, but astronomers use several derived distance measures depending on what is being observed. Each has a clear physical meaning and practical application.

Luminosity Distance

The luminosity distance dLd_L relates the intrinsic luminosity LL of an object to its observed flux FF:

F=L4πdL2F = \frac{L}{4\pi d_L^2}

In terms of the comoving distance:

dL=dC(1+z)d_L = d_C \cdot (1+z)

The extra factor of (1+z)(1+z) accounts for two effects: photon energies are redshifted by (1+z)(1+z), and photon arrival rate is also reduced by (1+z)(1+z). Luminosity distance is used with standard candles like Type Ia supernovae.

Angular Diameter Distance

The angular diameter distance dAd_A relates the physical size \ell of an object to its observed angular size θ\theta:

θ=dA\theta = \frac{\ell}{d_A}

dA=dC1+zd_A = \frac{d_C}{1+z}

This is used with standard rulers like the Baryon Acoustic Oscillation (BAO) scale. Note that dAd_A actually decreases beyond z1.6z \approx 1.6 in Λ\LambdaCDM — very distant objects appear larger!

The Distance Modulus

For observational astronomy, the distance modulus μ\mu converts luminosity distance to magnitudes:

μ=5log10(dL10 pc)=5log10(dLMpc)+25\mu = 5 \log_{10}\left(\frac{d_L}{10 \text{ pc}}\right) = 5 \log_{10}(d_L^{\text{Mpc}}) + 25

since dLMpc×106/10=dLMpc×105d_L^{\text{Mpc}} \times 10^6 / 10 = d_L^{\text{Mpc}} \times 10^5.

Distance measureFormulaUse case
Comoving dCd_C0zcdz/H(z)\int_0^z c\,dz'/H(z')Large-scale structure
Luminosity dLd_LdC(1+z)d_C(1+z)Standard candles (SNe Ia)
Angular diameter dAd_AdC/(1+z)d_C/(1+z)Standard rulers (BAO)
Distance modulus μ\mu5log10(dL/10 pc)5\log_{10}(d_L/10\text{ pc})Magnitude system

Your Task

Implement the following functions. The constant π\pi is available via import math. All other constants must be defined inside each function body.

  • luminosity_distance_Mpc(d_comoving_Mpc, z) — returns dL=dC(1+z)d_L = d_C(1+z) in Mpc
  • angular_diameter_distance_Mpc(d_comoving_Mpc, z) — returns dA=dC/(1+z)d_A = d_C/(1+z) in Mpc
  • distance_modulus(d_L_Mpc) — returns μ=5log10(dLMpc×106/10)\mu = 5\log_{10}(d_L^{\text{Mpc}} \times 10^6 / 10)
Python runtime loading...
Loading...
Click "Run" to execute your code.