Lesson 13 of 15

Galactic Rotation Curves

Galactic Rotation Curves

Stars and gas orbit the center of a galaxy under gravity. The circular velocity vc(r)v_c(r) at radius rr depends on the total mass M(r)M(r) enclosed within that radius:

vc(r)=GM(r)rv_c(r) = \sqrt{\frac{G\,M(r)}{r}}

Three Regimes

Mass distributionM(r)M(r)vc(r)v_c(r)
Uniform sphere (ρ=\rho = const)r3\propto r^3r\propto r (solid body)
Point mass / Keplerianconstr1/2\propto r^{-1/2}
Flat rotation curver\propto rconst

The Dark Matter Problem

Observations of spiral galaxies show that vc(r)v_c(r) \approx const far beyond the visible disk — a flat rotation curve. This cannot be explained by visible matter alone. For a flat curve, the enclosed mass must grow as:

M(r)=vc2rGM(r) = \frac{v_c^2\,r}{G}

This implies vast amounts of unseen dark matter in an extended halo.

The Milky Way

Our Galaxy has a roughly flat rotation curve with vc220v_c \approx 220 km/s at the Sun's position r8.5r \approx 8.5 kpc. Using 1 kpc=3.086×10191\text{ kpc} = 3.086 \times 10^{19} m, the enclosed mass within 8.5 kpc is roughly 1011M10^{11}\,M_\odot.

Your Task

Implement three functions. All constants must be defined inside each function.

  • circular_velocity_m_s(M_enclosed_kg, r_m) — returns vc=GM/rv_c = \sqrt{G M / r} in m/s
  • enclosed_mass_flat_rotation(v_c_m_s, r_m) — returns M=vc2r/GM = v_c^2 r / G in kg (mass implied by a flat rotation curve)
  • kpc_to_m(kpc) — returns distance in metres (1 kpc=3.086×10191\text{ kpc} = 3.086 \times 10^{19} m)

Use G=6.674×1011G = 6.674 \times 10^{-11} N m² kg⁻².

Python runtime loading...
Loading...
Click "Run" to execute your code.