Cosmology ★★☆ Moderate

🌌 Dark Matter Halo

Explore the invisible structure of galaxies. The NFW dark matter halo profile explains why rotation curves stay flat far from galactic centres — evidence for dark matter.

M₂₀₀: 10¹² M☉
rs: -
ρ₀: -
v_max: -
DM fraction at 15 kpc: -

NFW Profile & Rotation Curves

The Navarro-Frenk-White (NFW) profile describes how dark matter density varies with radius in CDM simulations: ρ(r) = ρ₀ / [(r/r_s)(1 + r/r_s)²], where r_s = r₂₀₀/c is the scale radius and c is the concentration parameter.

The enclosed mass is M(r) = 4π ρ₀ r_s³ [ln(1+r/r_s) − (r/r_s)/(1+r/r_s)], giving circular velocity v_c(r) = √(GM(r)/r).

Left panel: 2D projected density map — brighter = higher density. The stellar disk appears as the compact central bulge. Right panel: rotation curves — the green dashed line shows stars-only (Keplerian fall-off), the blue dashed line shows DM-only, and the solid white curve is the observed total.

Real galaxies show flat rotation curves well beyond the stellar disk — direct evidence that dark matter provides a dominant mass component in the outer halo.

About Dark Matter Halo

This simulation models the three-dimensional distribution of dark matter surrounding a galaxy using the Navarro-Frenk-White (NFW) density profile, the standard description emerging from cold dark matter N-body simulations. You can adjust halo mass (M₂₀₀), concentration parameter (c), and stellar fraction to see how the rotation curve changes shape — in particular how the dark matter component keeps circular velocities flat far beyond the visible stellar disk. The left panel shows the projected density map of the halo, while the right panel compares the star-only, dark-matter-only, and total rotation curves.

Flat galaxy rotation curves were first observed systematically by Vera Rubin and Kent Ford in the 1970s for spiral galaxies, providing one of the strongest pieces of observational evidence for dark matter. The NFW profile itself was derived by Julio Navarro, Carlos Frenk, and Simon White in 1996–1997 from large-scale cosmological simulations and remains a foundational tool in modern galaxy formation theory.

Frequently Asked Questions

What is a dark matter halo?

A dark matter halo is a roughly spherical region of gravitationally bound dark matter that surrounds a galaxy or galaxy cluster. Unlike ordinary baryonic matter (stars, gas, dust), dark matter does not emit, absorb, or reflect light, yet it contributes the majority of a galaxy's total mass. For a Milky Way-sized galaxy, the dark matter halo extends hundreds of kiloparsecs from the galactic center and contains five to ten times more mass than all visible stars combined.

How do I use this simulation?

Use the three sliders to change halo mass (log M₂₀₀ from 10 to 14 solar masses), concentration parameter c (2 to 30), and stellar fraction f★ (0 to 0.15). The preset buttons instantly load configurations for the Milky Way, a dwarf galaxy, a rich cluster, a low-surface-brightness galaxy, or a hypothetical "no dark matter" case. Watch the right panel: as you reduce the stellar fraction or increase halo mass, the rotation curve becomes flatter in the outer regions, demonstrating dark matter dominance.

Why do galaxy rotation curves stay flat instead of falling off?

Newtonian gravity predicts that if most of a galaxy's mass is concentrated in the visible stellar disk, orbital velocities should decrease with distance from the center (Keplerian fall-off, like planets orbiting the Sun). Instead, observations consistently show rotation velocities staying roughly constant — or even rising — at large radii. This is explained by a massive dark matter halo whose density falls off gradually enough (as 1/r at small radii and 1/r³ at large radii in the NFW profile) that it provides sufficient enclosed mass to maintain flat velocities out to hundreds of kiloparsecs.

What is the NFW profile formula and what do its parameters mean?

The NFW density profile is rho(r) = rho₀ / [(r/rₛ)(1 + r/rₛ)²], where rₛ = r₂₀₀ / c is the scale radius and rho₀ is the characteristic density set by the total halo mass. The radius r₂₀₀ encloses a mean density 200 times the critical density of the Universe. The concentration parameter c describes how centrally concentrated the halo is: higher c means a steeper central cusp and more mass within rₛ. The enclosed mass integral is M(r) = 4π rho₀ rₛ³ [ln(1 + r/rₛ) - (r/rₛ)/(1 + r/rₛ)], which gives circular velocity vₙ(r) = sqrt(GM(r)/r).

What real galaxies does this simulation represent?

The Milky Way preset (log M₂₀₀ = 12, c = 10) matches estimates for our own galaxy, with a halo mass around 10¹² solar masses and a virial radius near 200 kpc. The dwarf galaxy preset (log M = 10.5, c = 20) resembles systems like the Large Magellanic Cloud or isolated dwarf spheroidals, which have unusually high concentration parameters. The rich cluster preset (log M = 14.2, c = 5) is comparable to Virgo or Coma cluster halos, which are less concentrated because they formed more recently in cosmic time. Low-surface-brightness galaxies have very high dark matter fractions and show the most pronounced flat rotation curves of any galaxy type.

Is dark matter confirmed, or could modified gravity explain flat rotation curves?

Flat rotation curves are consistent with both a dark matter halo and Modified Newtonian Dynamics (MOND), a phenomenological alternative proposed by Mordehai Milgrom in 1983. However, the Bullet Cluster (1E 0657-56) provides strong evidence for dark matter as a physical substance: the gravitational lensing mass of two colliding clusters is spatially offset from the hot gas (the dominant baryonic component), exactly as expected if dark matter passed through the collision unimpeded while gas was slowed by electromagnetic interactions. The NFW profile also successfully predicts cluster lensing, the cosmic microwave background power spectrum, and large-scale structure formation in a way that MOND extensions struggle to replicate simultaneously.

Who discovered dark matter halos and when?

Fritz Zwicky first inferred unseen mass in galaxy clusters in 1933 by measuring velocity dispersions in the Coma Cluster. Jan Oort noted missing mass in the galactic disk in the 1930s. Vera Rubin and Kent Ford provided the most compelling systematic evidence in 1970–1978 with precise optical rotation curves for dozens of spiral galaxies, showing the flat outer profiles that are impossible without unseen mass. The NFW profile — the standard halo model used in this simulation — was published by Julio Navarro, Carlos Frenk, and Simon White in 1996 and 1997 based on cosmological N-body simulations, establishing the universal shape of cold dark matter halos across a wide mass range.

What phenomena are related to dark matter halos?

Dark matter halos are connected to gravitational lensing (massive halos bend light from background galaxies, creating arcs and Einstein rings), galaxy mergers (halos merge hierarchically to build larger structures), the cosmic web (halos form at the nodes of dark matter filaments as seen in the cosmic web simulation), the CMB power spectrum (halo formation is seeded by primordial density fluctuations visible in the cosmic microwave background), and satellite galaxies (smaller subhalos within a larger host halo host dwarf satellite galaxies like those orbiting the Milky Way). The stellar-to-halo mass relation — described by the stellar fraction slider in this simulation — peaks around halo masses of 10¹² solar masses, where galaxies are most efficient at converting baryons into stars.

How is dark matter halo knowledge used in technology or engineering?

While dark matter halos cannot be directly engineered, the computational methods developed to simulate them — specifically N-body gravitational solvers and tree-based algorithms like the Barnes-Hut algorithm — are widely used in other fields: molecular dynamics simulations for drug discovery, fluid dynamics in aerospace engineering, and large-scale gravitational wave source modeling. The NFW profile itself is used operationally in telescope survey pipelines (such as the Euclid and Rubin Observatory LSST surveys) to infer dark matter masses from weak gravitational lensing measurements, guiding survey strategy and calibration.

What are the open questions and frontier research topics in dark matter halo physics?

Several tensions remain between NFW predictions and observations at small scales: the cusp-core problem (simulations predict a density cusp at the center, but many observed dwarf galaxies show a flat core), the missing satellites problem (simulations predict far more small subhalos than observed satellite galaxies), and the too-big-to-fail problem (the most massive predicted subhalos appear to be absent or underpopulated). Proposed resolutions include baryonic feedback (supernova-driven gas outflows that flatten dark matter cusps), warm or self-interacting dark matter with different small-scale behavior, and improved stellar feedback models. Upcoming experiments — including direct detection experiments (LZ, XENONnT), the Rubin Observatory LSST, and the Euclid satellite — aim to further constrain the dark matter particle mass and interaction cross-section.