Nonlinear Gravitational Clustering
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal additional columns.
Scrollable figure. Use Left and Right arrow keys to inspect hidden content.
Linear growth preserves independent Fourier modes. Nonlinear gravity does not: continuity and advection couple wavevectors, overdensities collapse anisotropically, and a cold single stream eventually folds into multiple streams. This page develops that transition through Eulerian and Lagrangian descriptions, then uses a one-dimensional Zel’dovich map to locate the first shell crossing reproducibly. The map tests geometry and convergence; it is not an -body simulation.
Helpful background. The Einstein Equation supplies Einstein Equations and their weak-field limit; Relativistic Matter and Compact Objects supplies Relativistic Matter and Compact Objects kinetic and fluid closures; Relativistic Cosmology supplies the Relativistic Cosmology background; Computational Relativity supplies convergence and benchmark practice; and Probability and Statistical Inference supplies random-field statistics and sampling uncertainty.
From Vlasov flow to mode coupling
Section titled “From Vlasov flow to mode coupling”On subhorizon scales, in the weak-field and nonrelativistic limit of general relativity, cold collisionless matter is described by the Vlasov–Poisson system. Taking momentum moments gives density, bulk velocity, and a velocity-dispersion tensor. Before shell crossing, a negligibly warm population has one velocity at each position, so the dispersion may be set to zero. In conformal time , let be the physical peculiar velocity, , and differentiate comoving position. Then
Linearization removes the products and leaves independent Fourier modes. In a general background, nonlinear perturbations instead have time-dependent mode-coupling kernels,
where each is a convolution of initial modes whose wavevectors sum to , with a kernel . For the fastest-growing solution in Einstein–de Sitter, the time dependence factorizes exactly:
Using these EdS kernels with the exact is often an accurate CDM approximation, but it is not an identity in an arbitrary cosmology. In either form, nonlinear evolution transfers power and phase information between scales and generates non-Gaussian higher-point correlations even from Gaussian initial conditions.
The moment equations, single-stream assumption, linear modes, and nonlinear Fourier kernels are developed in Bernardeau et al. 2002, §§2.1–2.4, printed pp. 13–27, eqs. (9)–(87) (Open PDF). Pressureless perturbation theory is controlled while fluctuations and neglected stress remain small. It does not acquire a physical continuation through multistreaming merely by adding more formal orders.
The Lagrangian map and shell crossing
Section titled “The Lagrangian map and shell crossing”Label a fluid element by its initial coordinate and write
where is the linear growing amplitude. Mass conservation before the map folds gives
The Zel’dovich approximation keeps the linear displacement in this nonlinear coordinate map. It is exact for plane-parallel collapse until the first crossing. At , the density formula diverges and distinct labels can reach the same Eulerian position. Afterward, is not a single-valued physical density and the pressureless fluid closure has generated velocity dispersion. Bernardeau et al. derive this map, its density Jacobian, and its shell-crossing boundary in Bernardeau et al. 2002, §§2.5–2.6, printed pp. 28–32, eqs. (88)–(107) (Open PDF).
Spherical collapse as a complementary benchmark
Section titled “Spherical collapse as a complementary benchmark”The Zel’dovich map resolves where a cold flow first becomes multistreaming; it does not assign the resulting object a halo boundary. A different idealized benchmark follows a uniform spherical overdensity in an Einstein–de Sitter background. Birkhoff’s theorem, or its Newtonian spherical analogue, lets the patch evolve as a closed dust universe. Its radius can be written
The patch turns around at and formally collapses at . Extrapolating the early linear growing mode to that collapse time gives the often-used Einstein–de Sitter threshold
If energy conservation and the virial theorem are imposed after turnaround, the idealized virial radius is half the turnaround radius and the mean enclosed density is times the background density at the formal dust-collapse time. This epoch convention matters: the turnaround density ratio is , halving the radius raises the patch density by eight, and the EdS background density falls by four between turnaround and formal collapse because . Their product is . Virialization is an added physical prescription; the pressureless parametric solution itself collapses to a point. Tong derives the parametric solution and both numbers in Tong 2019, §§3.3.1–3.3.2, printed pp. 164–168, eqs. (3.63)–(3.71) (Official PDF).
These constants are calibration checks, not universal halo definitions. They change with the background cosmology and collapse convention, while real collapse is triaxial, environmentally coupled, and followed by mixing rather than an instantaneous top-hat virialization. The next page therefore treats mass functions as model-dependent mappings between a smoothing filter, collapse barrier, and chosen halo mass.
A resolved crossing benchmark
Section titled “A resolved crossing benchmark”Use a periodic one-dimensional domain and
For and , the exact first crossing occurs at and . A grid estimates the largest sampled compression and hence
The deterministic benchmark uses Node.js 24.18.0 on Darwin arm64, IEEE-754 binary64 arithmetic, and the JavaScript standard library only; it has no external dependencies. Its results are:
| Grid points | Estimated | Absolute error | Minimum sampled | Observed order |
|---|---|---|---|---|
| 32 | — | |||
| 64 | ||||
| 128 | ||||
| 256 | ||||
| 512 |
At , every grid also gives when integrating with . This is an exact Jacobian identity for the analytic map, useful for catching a density or volume-factor error; it is not a demanding test of a force solver.
Download the MIT-licensed standard-library benchmark, then reproduce the calculation with the standalone download-and-run recipe:
curl -fL https://blackhole.org/code/cosmology/cosmology-benchmarks.mjs -o cosmology-benchmarks.mjsnode cosmology-benchmarks.mjs --case zeldovichBeyond the one-dimensional map
Section titled “Beyond the one-dimensional map”An -body calculation samples the distribution with macro-particles and approximates gravitational forces by a mesh, tree, multipole, or hybrid algorithm. A credible result must vary particle number, box size, force resolution or softening, time step, starting redshift, and initial-condition order; it must also compare mass, momentum, large-scale linear growth, and code-independent benchmarks. A single higher-resolution run is not a convergence argument.
Principal failure modes include discreteness, force anisotropy, aliasing, finite-volume sample variance, transient decaying modes, inaccurate time integration, and interpreting the Zel’dovich map after shell crossing. Baryonic cooling and feedback are explicitly excluded here, as are theory-specific gravity tests handled in dedicated volumes. Full simulations that include either require their own equations, calibration data, code version, halo or observable definition, and uncertainty budget. Horizon-scale relativistic projection effects are treated on the final page of this chapter.
Exercises
Section titled “Exercises”Explain the observed second-order convergence of . For the grids above, show that the nearest point to is displaced by .
Solution
Because powers of two are not divisible by three, lies one third of a grid interval from the nearest point. Hence
Near the compression maximum,
Therefore
The leading localization error is proportional to , so doubling reduces it by four and gives observed order two. This rate diagnoses sampling of a smooth maximum; it says nothing about the post-crossing dynamics.
References
Section titled “References”- Bernardeau, F., S. Colombi, E. Gaztañaga, and R. Scoccimarro, “Large-Scale Structure of the Universe and Cosmological Perturbation Theory,” Physics Reports 367, 1–248 (2002), DOI, Open PDF.
- Tong, D., Cosmology, University of Cambridge Part II Mathematical Tripos lecture notes, Michaelmas 2019, §§3.3.1–3.3.2, printed pp. 164–168, Official PDF.