Chapter 01

The Friedmann Equations

Two equations that govern the expansion of the entire universe — derived from general relativity in 1922, seven years before Hubble observed expansion. They predict everything from the Big Bang to the accelerating cosmos we see today.

The Equations

First Friedmann Equation — the expansion rate

H2=8πG3ρkc2a2+Λc23H^2 = \frac{8\pi G}{3}\rho - \frac{kc^2}{a^2} + \frac{\Lambda c^2}{3}

How fast the universe expands depends on its total energy content. The left side is the square of the Hubble parameter. The right side has three terms: matter/radiation density (ρ\rho), spatial curvature (kk), and the cosmological constant (Λ\Lambda).

Second Friedmann Equation — acceleration

a¨a=4πG3(ρ+3pc2)+Λc23\frac{\ddot{a}}{a} = -\frac{4\pi G}{3}\left(\rho + \frac{3p}{c^2}\right) + \frac{\Lambda c^2}{3}

Does expansion speed up or slow down? Matter and radiation (ρ+3p/c2\rho + 3p/c^2) decelerate expansion. The cosmological constant (Λ\Lambda) accelerates it. The universe transitioned from deceleration to acceleration at redshift z0.67z \approx 0.67 — about 5 billion years ago.

Density parameter form — what cosmologists actually use

H2(a)=H02[Ωra4+Ωma3+Ωka2+ΩΛ]H^2(a) = H_0^2 \left[ \Omega_r \, a^{-4} + \Omega_m \, a^{-3} + \Omega_k \, a^{-2} + \Omega_\Lambda \right]

Each component scales differently with the scale factor aa: radiation dilutes as a4a^{-4}, matter as a3a^{-3}, curvature as a2a^{-2}, and dark energy stays constant — which is why it eventually dominates.

Measured Values

ParameterSymbolValue (Planck 2018)
Hubble constantH0H_067.4 ± 0.5 km/s/Mpc
Matter densityΩm\Omega_m0.315 ± 0.007
Dark energy densityΩΛ\Omega_\Lambda0.685 ± 0.007
Radiation densityΩr\Omega_r9.1 × 10⁻⁵
Equation of statew0w_0−1.03 ± 0.03

Simulation: Cosmic Expansion

200 galaxies expanding according to the Friedmann equations with Planck 2018 parameters. Toggle dark energy to see the difference — with Λ\Lambda, expansion accelerates and galaxies fly apart. Without it, expansion decelerates.

Why This Matters

The Friedmann equations are where the cosmological constant problem lives. When you write ΩΛ=0.685\Omega_\Lambda = 0.685, you're saying that 68.5% of the universe is made of something we don't understand — something that makes empty space push outward.

Quantum field theory predicts that the vacuum should have energy — virtual particles popping in and out of existence contribute to Λ\Lambda. But the predicted value is 1012010^{120}times larger than what we observe. This isn't a small discrepancy. It's the worst prediction in the history of physics.

Our approach: use computation and AI to explore this problem from new angles. Simulate alternative models. Visualize what the equations describe. Find patterns that pen-and-paper derivations might miss.

The Derivation

Start with the Einstein field equations applied to a homogeneous, isotropic universe (the FLRW metric):

The FLRW metric describes a universe that looks the same in every direction and at every point:

ds2=c2dt2+a(t)2[dr21kr2+r2dΩ2]ds^2 = -c^2 dt^2 + a(t)^2 \left[ \frac{dr^2}{1-kr^2} + r^2 d\Omega^2 \right]

Plug this into Einstein's equations Gμν+Λgμν=8πGc4TμνG_{\mu\nu} + \Lambda g_{\mu\nu} = \frac{8\pi G}{c^4} T_{\mu\nu} with a perfect fluid stress-energy tensor. The (0,0)(0,0) component gives the first Friedmann equation. The (i,i)(i,i) components give the second.

G00    H2=8πG3ρkc2a2+Λc23G_{00} \implies H^2 = \frac{8\pi G}{3}\rho - \frac{kc^2}{a^2} + \frac{\Lambda c^2}{3}
Gii    a¨a=4πG3(ρ+3pc2)+Λc23G_{ii} \implies \frac{\ddot{a}}{a} = -\frac{4\pi G}{3}\left(\rho + \frac{3p}{c^2}\right) + \frac{\Lambda c^2}{3}

The scale factor a(t)a(t) is the single dynamical variable — it tells you how much the universe has expanded relative to today (a0=1a_0 = 1).