Expanding Space: Friedmann Universe Explorer

2D Canvas real equations

Choose how much matter and dark energy the universe contains and watch the scale factor of space evolve.

Controls


Readout

What you are seeing

The left disc shows galaxies at fixed comoving positions; as the scale factor a grows they drift apart (Hubble flow) and leave the window. The right graph is the solution of the Friedmann equations for your densities. Raise matter and the expansion decelerates and may recollapse; raise dark energy and it accelerates for ever. Space does not have to be infinite for this picture, but a flat universe (Omega_k = 0) is assumed to be so in the standard model.

Self-checks

The science

Friedmann equation: (da/dt)^2/a^2 = H0^2 [Omega_m a^-3 + Omega_k a^-2 + Omega_L], with Omega_k = 1 - Omega_m - Omega_L. Differentiating gives the acceleration equation a'' = -Omega_m /(2a^2) + Omega_L a (units of H0), which is what is integrated here with RK4 forward and backward from a = 1. Radiation is neglected (it matters only for a below about 3e-4). Flat LCDM has the exact solution a = (Om/OL)^(1/3) sinh^(2/3)(1.5 sqrt(OL) H0 t) and age 2/(3 sqrt(OL)) asinh(sqrt(OL/Om)); the self-checks compare against it and against de Sitter a = e^(H0 t).

Simplifications: homogeneous and isotropic model (no structure growth), constant dark energy, no radiation. 'Infinite space' is the model's assumption for flat or open geometry, not something a simulation can verify; observation only bounds curvature.