Galactic Rotation Curve Lab: Visible Matter vs Dark Halo

The science

What is shown. About 700 test stars orbit in the gravitational field of a bulge, a disk and (optionally) a dark-matter halo. Their positions are advanced with a time-reversible leapfrog (kick-drift-kick) integrator, 0.5 Myr maximum step.

  • Circular speed from enclosed mass: v_c(r)^2 = G M(<r) / r, with G = 4.30091e-6 kpc (km/s)^2 / Msun.
  • Bulge (Hernquist): M(r) = M_b r^2 / (r + a)^2, a = 0.6 kpc.
  • Exponential disk: M(r) = M_d [1 - (1 + r/R_d) exp(-r/R_d)]. This treats the disk as if it were spherical; the true flattened-disk curve (Bessel functions) peaks about 10-15 % higher near 2.2 R_d. Simplification, not hidden.
  • Pseudo-isothermal halo: v_h^2(r) = V_inf^2 [1 - (r_c/r) arctan(r/r_c)], flat at large r.
  • Kepler limit: for a central point mass T = 2 pi sqrt(r^3 / (G M)) and v ~ r^(-1/2). Observed spiral galaxies instead show flat curves, which is the classic evidence for unseen mass.

Honest limits. All parameters are illustrative round numbers (a Milky-Way-like preset is typical, not a fit). Stars do not interact with each other, and the potential is static and spherical. Colours show speed only.

Checks on the page. (1) A separate integrator reproduces Kepler's third law for a point mass. (2) An orbit in the full model has the period 2 pi r / v_c. (3) Angular momentum of the live stars is conserved for a central force.