Gravitational Clumping and Density Fluctuations

Gravitational Clumping and Density Fluctuations

Knowledge Ark · Universe · Chapter 02 / Article 01

Gravitational clumping and density fluctuations

How small differences in the early universe grew into the places where stars, galaxies, and clusters could form.

Small beginningsDark matterThe cosmic web
Conceptual illustration of matter gathering into a halo. The glow represents density; it is not starlight or observational data.
Almost smoothThe early universe contained small variations in density. Those differences gave gravity something to amplify.
Growth takes timeExpansion, pressure, and the changing contents of the universe shaped how quickly contrasts grew.
Gas must coolGathering matter creates a gravitational home. Gas still needs to cool and contract before it can make stars.
The first step toward structure

Why didn’t matter stay evenly spread?

Imagine two enormous regions of the young universe. They look nearly identical, but one contains slightly more matter in the same volume. That small excess changes what happens next.

Its gravity draws additional material toward it, allowing the difference to grow. Surrounding regions can become relatively emptier. Given enough time and the right conditions, this process builds dense concentrations within a much larger network.

Cosmologists call this gravitational instability. To understand it, we need to follow both the growing contrasts and the expanding universe around them.[1]

01
A difference measured against the average

What is a density fluctuation?

Density describes how much mass occupies a volume. A density fluctuation is a departure from the average density at a particular time. Regions above the average are overdense; regions below it are underdense.

The symbol δ, pronounced “delta,” expresses that difference as a fraction of the average. A value of 0.01 means 1% denser than average. For structure formation, the relevant contrast also depends on the size of the region being examined.[1]

The idea in one equation
δ =ρ − ρ̄ρ̄

ρ is the local density. ρ̄ is the average density of the same matter component at the same time.

A simple example: if the average is 100 mass units per volume and a region has 101, then δ = (101 − 100) / 100 = 0.01.

Illustrative numbers, not a measurement of the early universe.

δ > 0Above average
δ = 0At the average
δ < 0Below average
02
The origin of the initial pattern

Where did the seeds come from?

Inflation offers a leading explanation

In inflationary models, a brief period of accelerated expansion stretched quantum fluctuations to enormous scales. Those fluctuations could become the initial variations from which later structure developed.

Measurements support several properties predicted by simple inflationary models, but they do not establish one unique inflationary mechanism. The origin of the seeds remains a subject of research.[2]

What do “nearly scale-invariant” and “Gaussian” mean?

Nearly scale-invariant: the primordial curvature fluctuations have roughly similar dimensionless power across equal logarithmic ranges of scale. This does not mean today’s matter is equally clumped at every scale.

Approximately Gaussian: the initial fluctuations have statistics close to a bell-shaped distribution. Gaussian fluctuations can still be spatially correlated and grow into a clustered universe.[2]

03
Expansion and gravity evolve together

Why growth changes with time

  1. Radiation dominates

    The earliest stage

    Photons and ordinary matter were tightly coupled, and pressure drove sound waves through that fluid. Cold dark matter did not feel this photon pressure directly. Nevertheless, during radiation domination its density perturbations grew only slowly once their scales lay inside the horizon—the region over which physical influences could have traveled.[4]

  2. Matter takes the lead

    Before recombination

    Once matter outweighed radiation in the cosmic energy budget, conditions favored faster growth of matter perturbations. This transition happened well before neutral atoms formed. Dark matter concentrations were therefore already developing while ordinary matter remained coupled to radiation.[4]

  3. Gas follows more freely

    After recombination

    As the photon coupling weakened, gas could fall more readily into existing gravitational concentrations. Gas pressure still mattered, especially on small scales. Residual free electrons also kept the gas exchanging heat with the CMB after most photons were traveling freely.[5]

  4. Late growth slows

    As dark energy becomes important

    In the standard model, dark energy eventually drives accelerated expansion, slowing the growth of large-scale matter contrasts. Structures that are already gravitationally bound can remain intact; ongoing growth does not require every part of the universe to expand together.[1]

A closer look: what does linear growth mean?

When the magnitude of δ is much smaller than 1, equations can neglect terms involving products of these small perturbations. This is linear perturbation theory.

For pressureless matter in a matter-dominated universe, the growing mode approximately follows δ ∝ a, where a is the cosmic scale factor. Doubling the scale factor then doubles a small growing contrast. This useful approximation changes when radiation, dark energy, gas pressure, or nonlinear collapse becomes important.[1], [4]

04
When small differences become substantial

From gentle contrasts to bound halos

Eventually, some regions become so overdense that the linear approximation no longer works. Their evolution becomes nonlinear: matter flows interact, trajectories cross, and the detailed shape of each concentration matters.

Dark matter can assemble into a halo, a gravitationally bound system supported by the orbital motions of its particles. It does not have to radiate away heat in the way gas does to form a compact star.[1]

In the standard ΛCDM model—cold dark matter plus a cosmological constant—many small halos form early and contribute to larger systems. Their growth includes both mergers and continuing accretion of matter.

This “bottom-up” description is a broad pattern, not a rule that every small object finishes forming before any large one begins. Halos of different masses develop at overlapping times.[7]

Three illustrative stages of gravitational clumping Three equal-size panels show a small density contrast becoming a stronger local concentration and then a bound dark matter halo. Diffuse surroundings remain visible. These conceptual stages do not show the universe shrinking and do not represent equal time intervals. Small contrast A little denser than average Contrast grows The local excess increases A bound halo Matter held by gravity Dark matter distribution Illustrative stages, not equal time steps Schematic · not to scale · local concentration within diffuse surroundings
Three illustrative stages of gravitational clumping Three stacked equal-size panels show a small density contrast becoming a stronger local concentration and then a bound dark matter halo. The diffuse surroundings remain visible. The stages are conceptual and are not equal time intervals. Small contrast A little denser than average Contrast grows The local excess increases A bound halo Matter held by gravity Dark matter distribution Illustrative stages, not equal time steps Schematic · not to scale
A simplified sequence for a region that becomes bound. The drawings emphasize local clustering; cosmic expansion is omitted, and densities and elapsed times are not shown quantitatively. A dark matter halo still needs cooling gas to form stars.

Collapse also responds to the matter around a region. Uneven pulls help produce sheets, filaments, and dense intersections, while underdense regions develop into voids. Together, they form the cosmic web.[8]

Sheets and filaments

Extended concentrations through which matter can flow toward denser regions.

Dense intersections

Places where halos, galaxies, groups, and clusters can gather.

Voids

Regions with less matter than average. Relatively empty does not mean completely empty.

05
Gravity sets the stage; gas physics changes the outcome

What gas adds to the story

Cold dark matter means dark matter whose early random motions were slow enough not to erase structure on the scales of interest. “Cold” is primarily a statement about those motions. In the standard model, dark matter behaves approximately as a collisionless component.

Ordinary matter behaves differently. Gas can collide, form shocks, resist compression through pressure, and lose energy by emitting radiation. These processes determine whether material inside a halo can reach the densities needed for stars.

Early gas consisted mainly of hydrogen and helium. Small amounts of molecular hydrogen could provide cooling in minihalos; atomic processes become important under other conditions. Mineral dust and substantial heavy-element enrichment came later, following stellar evolution.[6], [7]

06
From striking images to measurable patterns

How do we describe the clustering?

The power spectrum: which scales carry the contrast?

A matter map contains broad variations as well as smaller features. The matter power spectrum, P(k), summarizes the strength of density fluctuations as a function of spatial wavenumber, k.

Small kLong wavelengths · large spatial scales
Large kShort wavelengths · small spatial scales

Its shape reflects both the initial pattern and everything that later changed it. Radiation-era evolution, particle motions, nonlinear gravity, and gas physics can leave different effects at different scales.

The CMB has its own angular power spectra, measured across the sky. These are related to the matter spectrum through a cosmological model; they are not the same quantity.[1], [3], [4]

BAO: an ancient sound-wave imprint

Before recombination, sound waves traveled through the coupled photon–baryon fluid. They left a characteristic separation scale in the later distribution of matter, known as baryon acoustic oscillations, or BAO.

Astronomers detect this statistically by measuring how often galaxies occur at different separations. Calibrating the physical origin of the feature allows it to serve as a standard ruler for studying distances and the expansion history.

Surveys such as DESI measure this pattern across cosmic time. A BAO feature describes a slight statistical preference in the distribution, rather than a visible shell around every galaxy.[9]

07
Different observations reveal different parts

What evidence tests the story?

The early conditions

CMB temperature and polarization

Patterns in ancient light constrain the initial perturbations and the contents of the early universe. A model fitted to these data predicts how later structure should develop, giving astronomers something concrete to test.[2], [3]

Where luminous objects gather

Galaxy surveys

Positions and redshifts reveal the distribution of galaxies across large volumes. Galaxies trace the matter field imperfectly: different populations favor different environments, and their motions affect inferred positions. Analyses account for these effects when extracting clustering information.[9]

Mass beyond the visible stars

Gravitational lensing

Matter bends light from objects behind it. Small, correlated distortions in background galaxy shapes help reconstruct the intervening mass distribution, including dark matter. This provides a complementary check on maps made from galaxy light.[8]

Gas in the young universe

The redshifted 21-cm signal

Neutral hydrogen offers a radio probe of early gas. The signal depends on density, temperature, and ionization, so it contains more than a matter map. Bright foregrounds and instrumental effects make it difficult to isolate; HERA’s first published power-spectrum results reported upper limits rather than a confirmed detection.[10]

08
Testing the physics inside the picture

Testing structure formation in simulations

Once matter becomes strongly clumped, following its evolution requires numerical calculations. N-body simulations track many interacting mass elements under gravity. Each numerical “particle” usually represents an enormous amount of matter, not a single microscopic dark matter particle.

Hydrodynamical simulations, including IllustrisTNG, also follow gas and incorporate models for star formation, chemical enrichment, and feedback. Processes below the simulation’s resolution need approximate prescriptions.

The resulting images can be striking, but their scientific value lies in measurable predictions: halo abundances, clustering, galaxy properties, and gas distributions. Comparing those predictions with observations tests both the cosmological assumptions and the treatment of galaxy physics.[1], [11]

The idea to carry forward

Gravity amplifies differences. Gas makes them luminous.

Small density variations gave the universe a starting pattern. Their growth depended on expansion, radiation, and the properties of matter. Dark matter assembled into halos and a wider web; gas cooling and stellar feedback determined how much of that structure lit up.

The next step takes us inside the first star-forming clouds, where gravity finally brought primordial gas to the conditions needed for the first generation of stars.

Sources and further reading

  1. Bertschinger — Cosmological Perturbation Theory and Structure FormationLecture notes on density contrast, linear growth, and nonlinear structure formation.
  2. Planck Collaboration (2020) — Planck 2018 results. X. Constraints on inflationMeasured properties of primordial perturbations and tests of inflationary models.
  3. Kosowsky (2001) — The Cosmic Microwave BackgroundHow temperature, velocity, and gravitational effects contribute to CMB anisotropies.
  4. Ma & Bertschinger (1995) — Cosmological Perturbation Theory in the Synchronous and Conformal Newtonian GaugesThe separate evolution of radiation, dark matter, and ordinary matter.
  5. Naoz & Barkana (2005) — Growth of Linear Perturbations before the Era of the First GalaxiesGas pressure, residual thermal coupling, and growth before the first galaxies.
  6. Abel, Bryan & Norman (2002) — The Formation of the First Star in the UniverseA foundational simulation of molecular cooling and primordial gas collapse.
  7. Somerville & Davé (2015) — Physical Models of Galaxy Formation in a Cosmological FrameworkHalo assembly, gas accretion, star formation, and feedback.
  8. NASA / Hubble — Mapping the Cosmic WebThe cosmic web and how gravitational lensing helps map dark matter.
  9. DESI Collaboration — DESI DR2 Results: March 19 Guide (2025)Galaxy clustering, baryon acoustic oscillations, and expansion measurements.
  10. HERA Collaboration — First Results from HERA Phase IPublished upper limits on the reionization-era 21-cm power spectrum; preprint 2021, journal publication 2022.
  11. Pillepich et al. (2018) — Simulating Galaxy Formation with the IllustrisTNG ModelHow simulations combine gravity, gas dynamics, star formation, and modeled feedback.
All articles in this chapter
  1. Gravitational Clumping and Density Fluctuations — you are here
  2. Population III Stars: The Universe’s First Generation
  3. Early Mini-Halos and Protogalaxies
  4. Supermassive Black Hole Seeds
  5. Primordial Supernovae: Element Synthesis
  6. Feedback Effects: Radiation and Winds
  7. Merging and Hierarchical Growth
  8. Galaxy Clusters and the Cosmic Web
  9. Active Galactic Nuclei in the Young Universe
  10. Observing the First Billion Years
Back to blog