The relative difference between local density and the average density of the universe.The density contrast is a dimensionless number that measures how much denser or sparser a region of the universe is compared to the cosmic average. It is defined as the difference between the local density and the mean density, divided by the mean density. A positive value means the region is overdense, a negative value means it is underdense, and zero means it is exactly average. This quantity is central to cosmology because it quantifies the seeds of structure: tiny initial fluctuations in the density contrast, imprinted shortly after the Big Bang, grew over billions of years under gravity to form galaxies, clusters, and the vast cosmic web.
The concept was formalized in the 1940s by Yakov Zeldovich and others, building on earlier work by James Jeans and Georges Lemaître. The modern framework of linear perturbation theory was developed in the 1960s and 1970s, with key contributions from James Peebles and others.
In the early universe, quantum fluctuations were stretched to cosmic scales during inflation, creating small variations in density. Regions with a slightly positive density contrast exert a stronger gravitational pull, attracting more matter and increasing their contrast further. This runaway growth is counteracted by pressure in the hot plasma, but after recombination (when the universe cooled enough for atoms to form), pressure support dropped and overdense regions collapsed. The evolution of the density contrast is described by linear perturbation theory for small values, and by nonlinear simulations for large values, which is how cosmologists connect initial conditions to the observed distribution of galaxies.
It is used to analyze cosmic microwave background anisotropies and galaxy surveys, allowing cosmologists to measure cosmological parameters like the matter density and the amplitude of primordial fluctuations.
The density contrast of the cosmic microwave background is only about one part in 100,000, yet those tiny fluctuations are the seeds of every galaxy we see today.
| kappa | variable | weak lensing convergence — convergence |
| theta | variable | angular position on the sky — angular position radian |
| chi | variable | comoving distance to the source — comoving distance metre |
| chi' | variable | comoving distance along the line of sight — comoving distance metre |
| q | variable | lensing efficiency function — lensing efficiency |
| a | variable | scale factor — scale factor |
| f_K | variable | comoving angular diameter distance — comoving angular diameter distance metre |
| delta | variable | matter density contrast — density contrast |
| H_0 | constant | current expansion rate of the universe — hubble constant = 2.2e-18 per second |
| Omega_m | constant | ratio of matter density to critical density today — matter density parameter = 0.315 |
| c | constant | speed of light in vacuum — speed of light = 299792458 metre per second |
| ∫ | operator | summation over infinitesimal elements — integral |
| h | variable | Dimensionless Hubble constant (H0/100 km/s/Mpc) — hubble constant dimensionless |
| \Omega_{\rm GW} | variable | Gravitational wave energy density parameter — energy density parameter |
| \Delta\rho/\rho | variable | Density contrast (relative density perturbation) — density contrast |
| \propto | operator | Indicates proportionality between the left and right sides — proportional to |








