gravitational instability
Roll a marble onto a perfectly flat table and it sits still; roll it onto a dished surface and the tiniest nudge sends it rushing to the lowest point, gathering speed as it goes. Gravity behaves like that dished surface on a cosmic scale: a region that starts even slightly denser than its surroundings pulls a little harder, draws in more matter, becomes denser still, and pulls harder yet. Gravitational instability is this runaway: the relentless tendency of slightly overdense regions to grow denser over time, turning faint ripples into galaxies, clusters, and the cosmic web.
The early universe was astonishingly smooth, the same density everywhere to about one part in 100,000. But it was not perfectly smooth, and that was enough. Wherever matter was a whisker denser than average, its extra gravity slowed the local expansion and pulled in neighboring matter; the overdensity deepened, which strengthened its pull, in a self-reinforcing feedback loop. Underdense regions, meanwhile, lost matter and emptied out into voids. Over hundreds of millions to billions of years, this process amplified the tiny primordial fluctuations enormously, sculpting the gas and dark matter into the filaments, sheets, knots, and voids of the cosmic web, and concentrating gas densely enough to ignite the first stars.
Gravitational instability is the master engine of cosmic structure — it is, in a real sense, how the universe went from bland to interesting. Crucially, it works best with help from dark matter: ordinary matter alone, fighting the smoothing pressure of radiation in the early universe, could not have clumped fast enough to form galaxies by the time we see them. Dark matter, feeling gravity but not that radiation pressure, started collapsing earlier and built the gravitational scaffolding into which ordinary gas later fell. This is one of the strongest lines of evidence that dark matter is real: without its head start, gravitational instability would not have had time to grow the structures we observe.
In computer simulations of the universe, you can watch it happen: start with a nearly smooth box of matter speckled with one-part-in-100,000 ripples, let gravity act for billions of simulated years, and the matter spontaneously gathers into a glowing web of filaments and clusters strung around dark voids — a structure that looks remarkably like the real galaxy maps we measure. Gravity alone, acting on tiny seeds, sculpts the cosmos.
Gravity amplifies tiny density seeds into the filaments and voids of the cosmic web.
Gravitational instability needs dark matter to work on time — ordinary matter alone could not have clumped fast enough against early radiation pressure. This makes structure formation one of the strongest arguments that dark matter is real.