Lesson 3 of 15

Gravitational Redshift

Gravitational Redshift

When light climbs out of a gravitational well, it loses energy. Since a photon's energy is E=hfE = hf, a lower energy means a lower frequency — the light is redshifted. This is gravitational redshift, first confirmed by Pound and Rebka in 1959 using the Mössbauer effect over just 22 metres in a Harvard building.

The Formula

Light emitted at radius rr from mass MM and received far away (at infinity) has a redshift parameter zz:

1+z=λobsλemit=11rs/r=112GM/(c2r)1 + z = \frac{\lambda_{\text{obs}}}{\lambda_{\text{emit}}} = \frac{1}{\sqrt{1 - r_s/r}} = \frac{1}{\sqrt{1 - 2GM/(c^2 r)}}

So:

z=112GM/(c2r)1z = \frac{1}{\sqrt{1 - 2GM/(c^2 r)}} - 1

The observed wavelength and frequency are:

λobs=λemit1rs/r,fobs=femit1rs/r\lambda_{\text{obs}} = \frac{\lambda_{\text{emit}}}{\sqrt{1 - r_s/r}}, \qquad f_{\text{obs}} = f_{\text{emit}} \cdot \sqrt{1 - r_s/r}

Physical Examples

Sourcezz
Sun (surface)2.1×106\approx 2.1 \times 10^{-6}
White dwarf104\sim 10^{-4}
Neutron star0.20.5\sim 0.2 – 0.5
Near event horizon\to \infty

Your Task

Implement these functions with all constants defined inside each function:

  • redshift_factor(M, r) — returns z=1/12GM/(c2r)1z = 1/\sqrt{1 - 2GM/(c^2 r)} - 1
  • wavelength_observed(lambda_emit, M, r) — returns the redshifted wavelength
  • frequency_observed(f_emit, M, r) — returns the blueshifted (lowered) frequency
Python runtime loading...
Loading...
Click "Run" to execute your code.