Friedmann Equations from the FLRW Metric
Statement
Substituting the maximally symmetric Friedmann–Lemaître–Robertson–Walker (FLRW) line element and a comoving perfect fluid into the Einstein field equations \(G_{\mu\nu}+\Lambda g_{\mu\nu}=\frac{8\pi G}{c^4}T_{\mu\nu}\) reduces the ten coupled field equations to two independent ordinary differential equations for the single scale factor \(a(t)\): the constraint (energy) equation \(\left(\dot a/a\right)^2=\frac{8\pi G}{3}\rho-\frac{kc^2}{a^2}+\frac{\Lambda c^2}{3}\) and the evolution (acceleration) equation \(\ddot a/a=-\frac{4\pi G}{3}\left(\rho+3p/c^2\right)+\frac{\Lambda c^2}{3}\).
Why it matters
The Friedmann equations are physical cosmology at the background level: every statement about the age of the Universe, the expansion history \(H(z)\), the critical density, big-bang nucleosynthesis timing, and the eventual fate of the cosmos is a solution of these two equations for a specified matter content. They convert the geometric content of general relativity into a Newtonian-looking energy balance for a single scalar degree of freedom.
They also demonstrate the power of symmetry reduction. Imposing spatial homogeneity and isotropy collapses the full nonlinear Einstein system — in general an intractable set of coupled PDEs for ten metric functions — into two ODEs. Cosmology is tractable precisely because the Copernican principle is so restrictive.
Assumptions
Derivation
Convention. Throughout the derivation we set \(c=1\) to keep the tensor algebra clean, restoring factors of \(c\) by dimensional analysis in the boxed results. Coordinates are \((t,r,\theta,\phi)\); overdot is \(d/dt\).
Result
Reading. The first equation says the squared expansion rate \(H^2\equiv(\dot a/a)^2\) is sourced additively by mass–energy density, spatial curvature (acting like a negative energy for \(k>0\)), and the cosmological constant. The second says gravity decelerates expansion whenever \(\rho+3p/c^2>0\): pressure gravitates, so radiation (\(p=\rho c^2/3\)) decelerates more strongly than dust at equal density, while any component with \(p<-\rho c^2/3\) (e.g. \(\Lambda\), \(w=-1\)) drives acceleration.
Units check. \([G\rho]=(\mathrm{m^3\,kg^{-1}\,s^{-2}})(\mathrm{kg\,m^{-3}})=\mathrm{s^{-2}}=[\dot a/a]^2\). With \(a\) dimensionless and \(k\) carrying \(\mathrm{m^{-2}}\), \([kc^2/a^2]=\mathrm{m^{-2}\cdot m^2\,s^{-2}}=\mathrm{s^{-2}}\); and \([\Lambda c^2]=\mathrm{m^{-2}\cdot m^2\,s^{-2}}=\mathrm{s^{-2}}\). All three terms share units \(\mathrm{s^{-2}}\). In the acceleration equation \(p/c^2\) has units \(\mathrm{kg\,m^{-3}}\), matching \(\rho\).
Limiting cases
- Flat, matter-dominated (Einstein–de Sitter): \(k=\Lambda=p=0\), \(\rho\propto a^{-3}\Rightarrow a\propto t^{2/3}\), \(H=2/(3t)\).
- Radiation-dominated: \(p=\rho c^2/3\), \(\rho\propto a^{-4}\Rightarrow a\propto t^{1/2}\), \(H=1/(2t)\).
- Vacuum / de Sitter: \(\rho=p=k=0\), \(\Lambda>0\Rightarrow H=c\sqrt{\Lambda/3}\) constant, \(a\propto e^{Ht}\).
- Empty curved (Milne): \(\rho=p=\Lambda=0\), \(k=-1\Rightarrow \dot a^2=c^2\), \(a\propto t\); flat spacetime in disguise.
- Static (Einstein) universe: \(\dot a=\ddot a=0\) forces \(\Lambda c^2=4\pi G(\rho+3p/c^2)\) and \(kc^2/a^2=\Lambda c^2/3+\ldots\); unstable to perturbation.
Breaks when
- Inhomogeneity becomes significant. On scales below \(\sim100\,\mathrm{Mpc}\) (galaxies, clusters, voids) the density field is not homogeneous; FLRW describes only the smoothed background, and structure requires perturbation theory or full numerical relativity on top of it.
- Planck-scale curvature (\(t\to0\)). As \(a\to0\) the classical equations predict a curvature singularity \(H,\rho\to\infty\); at \(\rho\sim c^5/(\hbar G^2)\) quantum-gravitational effects invalidate the classical Einstein equations entirely.
- Anisotropic stress or vorticity present. Free-streaming neutrinos, magnetic fields, or rotation give \(T_{\mu\nu}\) off-diagonal/shear terms that violate the perfect-fluid ansatz, so the reduction to a single \(a(t)\) fails (Bianchi cosmologies needed).
Failure modes
- Dropping the \(3p\) in the acceleration equation. Students import Newtonian intuition (\(\ddot a\propto-\rho\)) and forget that pressure gravitates; this loses radiation's extra deceleration and the entire mechanism of accelerated expansion.
- Treating the two Friedmann equations plus continuity as three independent equations. Only two are independent (Bianchi identity); over-counting leads to an "over-determined" system and spurious constraints.
- Confusing \(k=\pm1\) (comoving curvature label) with the density parameter \(\Omega\). The sign of \(k\) is fixed by \(\Omega_{\rm tot}-1\), but \(k\) itself is a discrete topological label, not a continuously tunable number.
- Using energy density \(\rho c^2\) where mass density \(\rho\) is required (or vice versa). A stray \(c^2\) between \(T_{tt}=\rho c^2\) and the \(\rho\) in \(H^2=\frac{8\pi G}{3}\rho\) is the most common dimensional slip.
- Assuming \(k/a^2\) redshifts like matter. The curvature term scales as \(a^{-2}\), radiation as \(a^{-4}\), matter as \(a^{-3}\), \(\Lambda\) as \(a^{0}\); mislabelling the scaling wrecks the expansion history.
Discussion
The deepest structural fact is that the \(tt\) equation is a constraint, not an evolution equation — it contains \(\dot a\) but not \(\ddot a\). This is the cosmological face of the general relativistic split between constraint and evolution: the Hamiltonian constraint of the ADM formulation, restricted to FLRW, is exactly the first Friedmann equation. Initial data \((a,\dot a,\rho)\) cannot be chosen freely; they must satisfy this constraint, which the acceleration equation and continuity then propagate consistently in time.
Pressure appearing as a source of gravity, on equal footing with density, is the single most counter-Newtonian feature. In Newtonian gravity only mass sources the field; in GR the active gravitational mass density is \(\rho+3p/c^2\). This is why a positive-pressure early Universe decelerates, and why a negative-pressure vacuum accelerates it — the observation that grounded the discovery of dark energy in 1998.
One can recover a Newtonian caricature: for a uniform dust ball of density \(\rho\) and radius \(R=a\chi\), energy conservation of a shell gives \(\tfrac12\dot R^2-\tfrac{4\pi G}{3}\rho R^2=\text{const}\), which rearranges to \((\dot a/a)^2=\frac{8\pi G}{3}\rho-\frac{k c^2}{a^2}\) with the integration constant playing the role of curvature. This "Newtonian cosmology" reproduces the matter term and even the curvature term, but it cannot generate the \(3p\) pressure source or the \(\Lambda\) term — those are irreducibly relativistic. The agreement is a coincidence of the pressureless, \(\Lambda=0\) case, and it misleads students into thinking cosmology is Newtonian.
Common misconceptions. The expansion is not galaxies moving through space with a well-defined center; it is the growth of \(a(t)\) itself, and there is no preferred spatial origin. "The Universe expands into..." is meaningless within FLRW — the manifold is all there is. And \(k=+1\) (closed) does not by itself guarantee recollapse once \(\Lambda>0\): fate is set by the full energy budget, not curvature alone.
Worked examples
Example 1 — Critical density and the Einstein–de Sitter expansion law.
Reading. Flatness demands only about five hydrogen atoms per cubic metre — the Universe is extraordinarily dilute. For dust \(\rho\propto a^{-3}\), the same equation integrates to \(a\propto t^{2/3}\), giving \(H=2/(3t)\) and an Einstein–de Sitter age \(t_0=2/(3H_0)\approx9.3\,\mathrm{Gyr}\).
Units check. \(\mathrm{s^{-2}}/(\mathrm{m^3\,kg^{-1}\,s^{-2}})=\mathrm{kg\,m^{-3}}\), a mass density. ✓
Example 2 — Present deceleration parameter for \(\Lambda\)CDM.
Reading. A negative deceleration parameter means \(\ddot a>0\): the expansion is accelerating today. The dark-energy term (\(-1.40\)) overwhelms the matter term (\(+0.30\)), consistent with the 1998 supernova result. The transition \(q=0\) occurred at redshift \(z\approx0.6\), when \(\Omega_m(z)(1)+\Omega_\Lambda(z)(-2)=0\).
Units check. \(q\) is a ratio of \((\mathrm{s^{-2}})/(\mathrm{s^{-2}})\), dimensionless. ✓
Problems
- Starting from the two Friedmann equations, derive the fluid continuity equation \(\dot\rho+3\tfrac{\dot a}{a}(\rho+p/c^2)=0\), confirming that it is not independent.
Solution
Differentiate the first equation (with \(c=1\)) \(\dot a^2=\tfrac{8\pi G}{3}\rho a^2-k+\tfrac{\Lambda}{3}a^2\) in time: \(2\dot a\ddot a=\tfrac{8\pi G}{3}(\dot\rho a^2+2\rho a\dot a)+\tfrac{2\Lambda}{3}a\dot a\). Divide by \(2a\dot a\): \(\tfrac{\ddot a}{a}=\tfrac{8\pi G}{3}\big(\tfrac{\dot\rho a}{2\dot a}+\rho\big)+\tfrac{\Lambda}{3}\). Set equal to the acceleration equation \(\tfrac{\ddot a}{a}=-\tfrac{4\pi G}{3}(\rho+3p)+\tfrac{\Lambda}{3}\). The \(\Lambda\) terms cancel; solving gives \(\tfrac{8\pi G}{3}\cdot\tfrac{\dot\rho a}{2\dot a}=-\tfrac{4\pi G}{3}(\rho+3p)-\tfrac{8\pi G}{3}\rho=-\tfrac{4\pi G}{3}(3\rho+3p)\). Hence \(\tfrac{\dot\rho a}{2\dot a}=-\tfrac12\cdot3(\rho+p)\), i.e. \(\dot\rho=-3\tfrac{\dot a}{a}(\rho+p)\). Restoring \(c\): \(\dot\rho+3\tfrac{\dot a}{a}(\rho+p/c^2)=0\). ∎ - Compute the critical density and Einstein–de Sitter age for \(H_0=67\,\mathrm{km\,s^{-1}\,Mpc^{-1}}\).
Solution
\(H_0=6.7\times10^4/3.086\times10^{22}=2.17\times10^{-18}\,\mathrm{s^{-1}}\). \(\rho_c=3H_0^2/(8\pi G)=3(2.17\times10^{-18})^2/(1.677\times10^{-9})=1.413\times10^{-35}/1.677\times10^{-9}=8.4\times10^{-27}\,\mathrm{kg\,m^{-3}}\). Age (matter only) \(t_0=2/(3H_0)=2/(3\cdot2.17\times10^{-18})=3.07\times10^{17}\,\mathrm{s}=9.7\,\mathrm{Gyr}\). (The true \(\Lambda\)CDM age, \(\sim13.8\,\mathrm{Gyr}\), is longer because \(\Lambda\) slows early expansion.) - Use continuity plus the equation of state \(p=w\rho c^2\) (constant \(w\)) to show \(\rho\propto a^{-3(1+w)}\), and read off the scaling for dust, radiation, and \(\Lambda\).
Solution
Continuity: \(\dot\rho/\rho=-3(\dot a/a)(1+w)\). Integrate: \(\ln\rho=-3(1+w)\ln a+\text{const}\), so \(\rho\propto a^{-3(1+w)}\). Dust \(w=0\Rightarrow\rho\propto a^{-3}\); radiation \(w=1/3\Rightarrow\rho\propto a^{-4}\) (the extra power is cosmological redshift of each quantum's energy); cosmological constant \(w=-1\Rightarrow\rho\propto a^{0}=\text{const}\), a genuinely constant vacuum energy density. - For a flat radiation-dominated universe (\(k=\Lambda=0\), \(\rho\propto a^{-4}\)), solve the first Friedmann equation for \(a(t)\) and give \(H(t)\).
Solution
\(\dot a^2/a^2=\tfrac{8\pi G}{3}\rho=C a^{-4}\) with \(C\) constant, so \(\dot a=\sqrt{C}\,a^{-1}\), i.e. \(a\,\dot a=\sqrt{C}\). Integrate: \(\tfrac12 a^2=\sqrt{C}\,t\Rightarrow a\propto t^{1/2}\). Then \(H=\dot a/a=\tfrac{1}{2t}\). The energy density evolves as \(\rho=3H^2/(8\pi G)=3/(32\pi G t^2)\), diverging as \(t\to0\). - A spatially flat de Sitter universe has \(\rho=p=k=0\) and \(\Lambda=1.1\times10^{-52}\,\mathrm{m^{-2}}\). Find the constant Hubble rate \(H\) and the e-folding time \(1/H\).
Solution
First Friedmann reduces to \(H^2=\Lambda c^2/3\). \(\sqrt{\Lambda/3}=\sqrt{1.1\times10^{-52}/3}=\sqrt{3.67\times10^{-53}}=6.05\times10^{-27}\,\mathrm{m^{-1}}\). Multiply by \(c=3.0\times10^8\,\mathrm{m\,s^{-1}}\): \(H=1.82\times10^{-18}\,\mathrm{s^{-1}}\). E-folding time \(1/H=5.5\times10^{17}\,\mathrm{s}\approx17\,\mathrm{Gyr}\). The scale factor grows as \(a\propto e^{Ht}\); every \(17\,\mathrm{Gyr}\) it multiplies by \(e\).