Recognize when a density expansion or a numerical method has failed
Separate weak gravity, density nonlinearity, shell crossing, and controlled effective descriptions.
On this page
The question for today
What you’ll understand
- Use a displacement Jacobian to diagnose pre-crossing density growth.
- Distinguish perturbative density corrections from weak metric potentials.
- Identify shell crossing and explain why a pressureless single-stream closure then fails.
Linear growth cannot be extrapolated indefinitely into collapsed structure. Density, velocity, and potential need not become nonlinear at the same time, and a computational instability is yet another issue. A small gravitational potential can coexist with a large density contrast on short scales. Perturbative predictions must therefore be judged by the field, smoothing scale, order, and observable being expanded. Once trajectories overlap, the pressureless single-velocity fluid description loses information even if particle trajectories can still be followed with a suitable kinetic or numerical treatment.
Track the expansion and its statistical assumptions
Write density as a sum of terms ordered in the initial fluctuation amplitude. Nonlinear continuity and Euler terms couple Fourier modes, so the power receives contributions beyond the square of the linear field. For Gaussian initial conditions the odd initial contractions vanish, leaving familiar leading terms P11,P22 and twice P13 under the convention that P13 is one cross contraction. A primordial non-Gaussian field can change that counting and must not silently inherit the Gaussian truncation.
Small loop corrections over a tested scale range support an approximation; computing one more term is not an automatic convergence proof. Long-wavelength displacements, baryonic effects, ultraviolet sensitivity, and redshift-space mapping can alter the relevant organization. Effective descriptions can encode unresolved short-scale stress with fitted coefficients and power counting, but need a domain of validity and uncertainty estimate. Their success does not mean that a dust fluid remains microscopically exact inside every halo.
A Jacobian exposes the single-stream singularity
Consider a one-dimensional prescribed displacement map of Zel’dovich form, x=q−λ sin(kq)/k, where q labels the initial comoving position and λ is a growing dimensionless displacement amplitude. Before crossing, local mass conservation gives one plus density contrast equal to the inverse Jacobian. At q=0 the Jacobian is 1−λ. Expanding its inverse produces a geometric density series whose higher terms grow as λ approaches one, despite the simple linear displacement.
When the Jacobian vanishes, initially distinct trajectories can reach the same position. A single-valued pressureless velocity cannot describe the resulting multiple streams; velocity dispersion and higher phase-space moments become relevant. The divergence of the cold idealized density at a caustic is not a claim that the spacetime metric becomes singular. This mapping is an illustrative pre-crossing model, not a general three-dimensional collapse solution, and continuing its one-stream density formula beyond crossing would be physically misleading.
Separate physical breakdown from numerical divergence
The linear matter variance per logarithmic wave-number interval is k³Plin/(2π²). Values approaching unity often warn that a simple density expansion is losing control, but are not a universal rigorous error bound. Smoothing and spectral shape matter, and a particular observable can need resummation or additional effective terms earlier. Because a sub-Hubble potential is suppressed relative to density by expansion-to-wave-number factors, weak-field gravity can remain useful well into a nonlinear density regime.
The optimization lab illustrates numerical instability separately. Reset and set step size 0.5,initial position 2, then Step twice; predict position 0.5 and objective 0.125. Reset and set step size 2.5,initial position 2, then Step twice; predict position 4.5 and objective 10.125, outside the plot with unstable behavior. This exact gradient-descent sequence has no gravitational collapse or shell crossing. Its divergence comes from an unstable update factor; it must not be interpreted as evidence that a cosmological density singularity occurred.
Work it through
Compare a linear density with its Jacobian result
For the prescribed one-dimensional map at q=0, evaluate J and the pre-crossing density for λ=0.2 and 0.8. Compare with the linear approximation δlin=λ, and identify the first crossing amplitude.
At λ=0.2, J=0.8 and δ=1/0.8−1=0.25, compared with linear 0.2. Including the second geometric term gives 0.2+0.04=0.24, closer to the exact pre-crossing mapping value.
At λ=0.8, J=0.2 and δ=1/0.2−1=4, compared with linear 0.8. The displacement amplitude is below its crossing value, but the density expansion is already poorly represented at low order.
The first Jacobian zero at q=0 isλ=1. The one-stream density diverges there; using a negative Jacobian in the same single-stream formula afterward would not supply a physical total density for the multistream configuration.
The exact pre-crossing contrasts are 0.25 and 4, and the map first reaches a zero Jacobian at λ=1.
The living notebook
Explore the model
Interactive lab · optimization
Separate unstable numerics from physical growth
Reset and set η=0.5,x₀=2, then Step twice; predict x₂=0.5,objective 0.125. Reset and set η=2.5,x₀=2, then Step twice; predict x₂=4.5,objective 10.125 and an Outside plot readout.
- Position x0
- 2
- Objective x²/2
- 2
- Iteration behavior
- Stable step
Gradient descent on f(x) = x²/2: xₙ = (1 − η)ⁿx₀. Playback advances two discrete iterations per second. Values outside |x| ≤ 4 are explicitly reported. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forThis exact gradient-descent model has no expanding matter, gravitational potential, trajectories, or shell crossing.
Pause & reason
Check your understanding
Your turn
Try it yourself
At one fixed k, the extrapolated linear matter power has Δlin²=0.04 when growth factor D=1. Under a common growing-mode law, find it at D=3 and 5. What can and cannot be concluded from the second value?
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Power scales with the square of growth, not growth itself.
Compare with the solution
At D=3 the value is 0.04×9=0.36; at D=5 it is 0.04×25=1. The latter warns that density fluctuations on that scale may require nonlinear treatment. It neither computes the nonlinear power nor proves shell crossing everywhere, a large metric potential, or a universal fixed error. Spectral shape, smoothing, higher terms, and the chosen observable determine the usable approximation range.
Keep the idea
Take it with you
- Weak metric potentials do not guarantee linear density evolution.
- A vanishing displacement Jacobian marks failure of a single-stream density description.
- Physical nonlinearity, effective-model uncertainty, and numerical instability require different diagnostics.
Read further
Original sources and deeper explanations to follow at your own pace.
- Bernardeau, Colombi, Gaztañaga and Scoccimarro — Large-Scale Structure of the Universe and Cosmological Perturbation Theory, §§2.2–2.9: fluid moments, perturbative powers, displacement Jacobians, and shell crossing
- Malik and Wands — Cosmological perturbations, §11: nonlinear expansion and initial-statistics caveats
- Carrasco, Hertzberg and Senatore — The Effective Field Theory of Cosmological Large Scale Structures, §§1–2: coarse-grained stress and fitted short-scale coefficients
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.