Skip to content
The Lumenary
First-year graduateGraduate 150 min

The geometry of spacetime: special and general relativity

Time is one direction of a four-dimensional geometry whose Pythagoras has a minus sign — straight worldlines are the longest, gravity is curvature, and light and planets follow geodesics.

Formally verified · 12 LeanComputationally tested · 3 PythonAI-drafted · awaiting human reviewMathematically reviewed: Awaiting human review
MotivationH

Light that cannot be outrun

James Clerk Maxwell's equations (1865) predict electromagnetic waves travelling at a speed cc fixed by two constants of electricity and magnetism — and that speed is the speed of light. But relative to what? A light wave seemed to need a medium, the "ether", and the Earth moves through it; yet Albert Michelson and Edward Morley (1887) found no trace of that motion. In 1905 Albert Einstein took two principles at face value: the laws of physics are the same for all inertial observers, and the speed of light is the same for all of them. The price is that time and space are not separate. In 1908 Hermann Minkowski recast the theory as geometry: "Henceforth space by itself, and time by itself, are doomed to fade away into mere shadows, and only a kind of union of the two will preserve an independent reality."

Gravity did not fit. Newton's force acts instantaneously, and Newton's theory left a small anomaly: Mercury's perihelion advances by about 43′′43'' per century more than the pulls of the other planets explain (Le Verrier, 1859; Newcomb, 1882). Einstein's general relativity (1915) makes gravity the curvature of spacetime and explains the 43′′43'' exactly. Its predictions are now engineering: the clocks on GPS satellites run slow by about 77 microseconds a day because of their speed and fast by about 4545 because they sit higher in the Earth's gravity; uncorrected, the net 38 μs38\,\mu\mathrm s a day would put positions off by kilometres within a day. Gravitational waves (detected in 2015) and the image of a black hole's shadow (2019) are geometric predictions too.

IntuitionH

Pythagoras with a minus sign

Measure time in years and distance in light-years, so that c=1c = 1. An event is a point (t,x,y,z)(t, x, y, z) of spacetime, and a particle's history is a curve, its worldline. Light from an event travels along a light cone at 45∘45^\circ in a spacetime diagram; massive particles stay inside.

The basic quantity that all inertial observers agree on is not the time between two events, nor their distance, but the interval

Δs2=−Δt2+Δx2+Δy2+Δz2,\Delta s^2 = -\Delta t^2 + \Delta x^2 + \Delta y^2 + \Delta z^2,

Pythagoras with a minus sign. When Δs2<0\Delta s^2 \lt 0, the events can be joined by a particle, and Δτ=−Δs2\Delta\tau = \sqrt{-\Delta s^2} is the time shown by a clock that travels between them uniformly — its proper time. A clock moving at speed vv over coordinate time Δt\Delta t covers Δx=vΔt\Delta x = v\Delta t, so it records Δτ=Δt1−v2=Δt/γ\Delta\tau = \Delta t\sqrt{1 - v^2} = \Delta t/\gamma: moving clocks run slow.

Changes of inertial frame are Lorentz transformations, the linear maps preserving the interval. In one space dimension they are "hyperbolic rotations": they slide points along the hyperbolas t2−x2=constt^2 - x^2 = \text{const} just as rotations slide points along circles. The minus sign reverses the triangle inequality: a bent worldline between two events is shorter in proper time than the straight one. That is the twin paradox, and it is a theorem of geometry.

Gravity enters through Einstein's "happiest thought" (1907): a person falling freely does not feel their own weight. In a small freely falling laboratory the laws of special relativity hold; gravity is not a force acting in spacetime but the curvature of spacetime, and freely falling bodies follow its straightest lines, the geodesics. What cannot be transformed away is the relative acceleration of nearby falling bodies — tidal forces — and that is curvature. (The sphere is a good analogy for curvature, as long as one remembers that spacetime's geometry is Lorentzian, not Riemannian: on a sphere, initially parallel geodesics converge, as do two apples falling towards the Earth's centre.)

DefinitionsH

Definitions

Definition— Minkowski spacetime and causal character

Minkowski spacetime is R4\R^4 with the bilinear form η(v,w)=−v0w0+v1w1+v2w2+v3w3\eta(v, w) = -v^0 w^0 + v^1 w^1 + v^2 w^2 + v^3 w^3, i.e. ds2=−c2dt2+dx2+dy2+dz2ds^2 = -c^2 dt^2 + dx^2 + dy^2 + dz^2 (we take c=1c = 1). A vector v≠0v \ne 0 is timelike if η(v,v)<0\eta(v, v) \lt 0, null (lightlike) if η(v,v)=0\eta(v, v) = 0, spacelike if η(v,v)>0\eta(v, v) > 0; it is causal if timelike or null, and future-pointing if moreover v0>0v^0 > 0.

Definition— proper time

A timelike curve γ:[a,b]→R4\gamma : [a, b] \to \R^4 has timelike tangent vectors everywhere. Its proper time is

τ[γ]=∫ab−η(γ′(λ),γ′(λ)) dλ,\tau[\gamma] = \int_a^b \sqrt{-\eta(\gamma'(\lambda), \gamma'(\lambda))} \, d\lambda,

independent of the parametrisation. For a future-pointing causal vector v=(t,x)v = (t, \mathbf x) we write τ(v)=t2−∣x∣2\tau(v) = \sqrt{t^2 - |\mathbf x|^2}. Parametrised by proper time, a worldline has 4-velocity u=dγ/dτu = d\gamma/d\tau with η(u,u)=−1\eta(u, u) = -1.

Definition— Lorentz and Poincaré groups

The Lorentz group is O(1,3)={Λ∈GL4(R):ΛTηΛ=η}O(1, 3) = \{\Lambda \in GL_4(\R) : \Lambda^{\mathsf T} \eta \Lambda = \eta\}, the linear maps preserving the interval; with translations it generates the Poincaré group of all isometries of Minkowski spacetime. The boost with rapidity φ\varphi in the xx-direction acts on (t,x)(t, x) by

(t′x′)=(cosh⁡φsinh⁡φsinh⁡φcosh⁡φ)(tx),\begin{pmatrix} t' \\ x' \end{pmatrix} = \begin{pmatrix} \cosh\varphi & \sinh\varphi \\ \sinh\varphi & \cosh\varphi \end{pmatrix} \begin{pmatrix} t \\ x \end{pmatrix},

with velocity v=tanh⁡φv = \tanh\varphi and Lorentz factor γ=cosh⁡φ=1/1−v2\gamma = \cosh\varphi = 1/\sqrt{1 - v^2}.

Definition— Lorentzian manifold

A Lorentzian manifold (M,g)(M, g) is a smooth four-manifold with a smooth symmetric tensor gg of signature (−,+,+,+)(-, +, +, +) at every point. Tangent vectors are timelike, null or spacelike as above; a time orientation is a continuous choice of future light cone. gg has a unique torsion-free compatible (Levi-Civita) connection ∇\nabla, with Christoffel symbols Γαβμ=12gμν(∂αgνβ+∂βgνα−∂νgαβ)\Gamma^\mu_{\alpha\beta} = \frac12 g^{\mu\nu}(\partial_\alpha g_{\nu\beta} + \partial_\beta g_{\nu\alpha} - \partial_\nu g_{\alpha\beta}), and a geodesic is a curve with ∇γ′γ′=0\nabla_{\gamma'}\gamma' = 0:

d2xμdλ2+Γαβμdxαdλdxβdλ=0.\frac{d^2 x^\mu}{d\lambda^2} + \Gamma^\mu_{\alpha\beta} \frac{dx^\alpha}{d\lambda} \frac{dx^\beta}{d\lambda} = 0.

The Riemann tensor RμναβR^\mu{}_{\nu\alpha\beta} measures the failure of covariant derivatives to commute; its contractions are the Ricci tensor Rνβ=RμνμβR_{\nu\beta} = R^\mu{}_{\nu\mu\beta} and the scalar curvature R=gνβRνβR = g^{\nu\beta} R_{\nu\beta}, and the Einstein tensor is Gμν=Rμν−12R gμνG_{\mu\nu} = R_{\mu\nu} - \frac12 R \, g_{\mu\nu}.

Definition— Einstein's field equations

Matter is described by a symmetric stress–energy tensor TμνT_{\mu\nu} (for dust of density ρ\rho moving with 4-velocity uu, T=ρ u⊗uT = \rho \, u \otimes u). Einstein's field equations are

Gμν+Λgμν=8πGc4Tμν,G_{\mu\nu} + \Lambda g_{\mu\nu} = \frac{8\pi G}{c^4} T_{\mu\nu},

with the cosmological constant Λ\Lambda. In vacuum with Λ=0\Lambda = 0 they reduce to Rμν=0R_{\mu\nu} = 0. Freely falling test particles follow timelike geodesics and light follows null geodesics.

Definition— Schwarzschild metric

In units G=c=1G = c = 1, with MM the mass (physically GM/c2GM/c^2, a length), the Schwarzschild metric on r>2Mr > 2M is

ds2=−(1−2Mr)dt2+dr21−2M/r+r2(dθ2+sin⁡2θ dϕ2).ds^2 = -\Big(1 - \frac{2M}{r}\Big) dt^2 + \frac{dr^2}{1 - 2M/r} + r^2 \big(d\theta^2 + \sin^2\theta \, d\phi^2\big).

The radius rs=2Mr_s = 2M is the Schwarzschild radius: about 33 km for the Sun and 99 mm for the Earth.

Worked examplesH

Examples

Example— Muons reach the ground

Muons are created by cosmic rays about 1515 km up and live, at rest, about 2.2 μ2.2\,\mus; even at nearly the speed of light they would cover only about 660660 m in that time. They reach sea level in large numbers (Rossi and Hall, 1941) because at v≈0.995v \approx 0.995 their Lorentz factor is about 1010: in the Earth's frame their clocks run ten times slow. In the muon's frame the same fact appears as the contraction of the atmosphere's thickness by the factor γ\gamma.

Example— The twins, in numbers

One twin stays on Earth; the other flies to a star 33 light-years away at v=35v = \frac35 and returns at the same speed. In Earth's frame the trip takes 5+5=105 + 5 = 10 years. With γ=1/1−9/25=54\gamma = 1/\sqrt{1 - 9/25} = \frac54, the traveller's clock records 10/γ=810/\gamma = 8 years. Directly: each leg is the vector (5,3)(5, 3), of proper time 25−9=4\sqrt{25 - 9} = 4, while the Earth twin's straight worldline (10,0)(10, 0) has proper time 10>4+410 > 4 + 4. The situation is not symmetric: only the traveller's worldline bends.

Example— Simultaneity and velocity addition

In the frame of an observer moving with velocity vv, events with t′=0t' = 0 are those with t=vxt = vx: a tilted line in the original diagram. Events simultaneous for one observer are not simultaneous for another. Composing two boosts adds rapidities, so velocities combine as tanh⁡(φ+ψ)\tanh(\varphi + \psi):

u⊕v=u+v1+uv,e.g.35⊕35=1517<1.u \oplus v = \frac{u + v}{1 + uv}, \qquad \text{e.g.} \quad \tfrac35 \oplus \tfrac35 = \tfrac{15}{17} \lt 1.

Example— Constant acceleration

The worldline t(τ)=1asinh⁡(aτ)t(\tau) = \frac1a \sinh(a\tau), x(τ)=1acosh⁡(aτ)x(\tau) = \frac1a \cosh(a\tau) has 4-velocity (cosh⁡aτ,sinh⁡aτ)(\cosh a\tau, \sinh a\tau), of length −1-1, and constant proper acceleration aa — what an accelerometer on board reads. It is a hyperbola asymptotic to the light cone t=xt = x: light emitted from events with t>xt > x never catches up with the traveller, who has a horizon (the Rindler horizon), a first model of a black-hole horizon.

ProofH

Special relativity: the Lorentz group and the twin paradox

Theorem— Boosts are Lorentz transformations, and rapidities add

Let Λ(φ)\Lambda(\varphi) be the boost matrix and η=diag⁡(−1,1)\eta = \operatorname{diag}(-1, 1). Then Λ(φ)TηΛ(φ)=η\Lambda(\varphi)^{\mathsf T} \eta \Lambda(\varphi) = \eta, det⁡Λ(φ)=1\det \Lambda(\varphi) = 1 and Λ(φ)Λ(ψ)=Λ(φ+ψ)\Lambda(\varphi)\Lambda(\psi) = \Lambda(\varphi + \psi). So the boosts form a one-parameter group isomorphic to (R,+)(\R, +), and velocities satisfy ∣u⊕v∣<1|u \oplus v| \lt 1 whenever ∣u∣,∣v∣<1|u|, |v| \lt 1.

Proof

Write c=cosh⁡φc = \cosh\varphi, s=sinh⁡φs = \sinh\varphi. Then ΛTηΛ=(−c2+s2−cs+sc−sc+cs−s2+c2)=η\Lambda^{\mathsf T}\eta\Lambda = \begin{pmatrix} -c^2 + s^2 & -cs + sc \\ -sc + cs & -s^2 + c^2 \end{pmatrix} = \eta, since c2−s2=1c^2 - s^2 = 1, and det⁡Λ=c2−s2=1\det\Lambda = c^2 - s^2 = 1. The product formula is the addition theorem cosh⁡(φ+ψ)=cosh⁡φcosh⁡ψ+sinh⁡φsinh⁡ψ\cosh(\varphi + \psi) = \cosh\varphi\cosh\psi + \sinh\varphi\sinh\psi, sinh⁡(φ+ψ)=sinh⁡φcosh⁡ψ+cosh⁡φsinh⁡ψ\sinh(\varphi + \psi) = \sinh\varphi\cosh\psi + \cosh\varphi\sinh\psi. For velocities: 1+uv>01 + uv > 0, and (1+uv)∓(u+v)=(1∓u)(1∓v)>0(1 + uv) \mp (u + v) = (1 \mp u)(1 \mp v) > 0, so ∣u+v∣<1+uv|u + v| \lt 1 + uv.

∎

Theorem— The four components of the Lorentz group

Every Λ∈O(1,3)\Lambda \in O(1, 3) satisfies det⁡Λ=±1\det\Lambda = \pm 1 and ∣Λ00∣≥1|\Lambda^0{}_0| \ge 1. Hence O(1,3)O(1, 3) has at least four connected components, distinguished by the signs of det⁡Λ\det\Lambda and of Λ00\Lambda^0{}_0; in fact it has exactly four, and the identity component SO+(1,3)SO^+(1, 3) consists of products R1BR2R_1 B R_2 of spatial rotations and a boost.

Proof

Taking determinants in ΛTηΛ=η\Lambda^{\mathsf T}\eta\Lambda = \eta gives (det⁡Λ)2=1(\det\Lambda)^2 = 1. Applying Λ\Lambda to e0=(1,0,0,0)e_0 = (1, 0, 0, 0): Λe0\Lambda e_0 is again a unit timelike vector, so −(Λ00)2+∑i=13(Λi0)2=−1-(\Lambda^0{}_0)^2 + \sum_{i=1}^3 (\Lambda^i{}_0)^2 = -1 and (Λ00)2≥1(\Lambda^0{}_0)^2 \ge 1. The functions det⁡Λ\det\Lambda and sign⁡Λ00\operatorname{sign}\Lambda^0{}_0 are continuous on O(1,3)O(1, 3) with values in {±1}\{\pm 1\}, so they are constant on connected components, and all four combinations occur (II, the space reflection diag⁡(1,−1,1,1)\operatorname{diag}(1, -1, 1, 1), time reversal diag⁡(−1,1,1,1)\operatorname{diag}(-1, 1, 1, 1) and −I-I). For the decomposition and connectedness of SO+(1,3)SO^+(1, 3), write Λe0=(cosh⁡φ,sinh⁡φ n)\Lambda e_0 = (\cosh\varphi, \sinh\varphi \, \mathbf n), rotate n\mathbf n to the xx-axis, undo the boost, and observe that what is left fixes e0e_0 and is therefore a rotation (Naber, The Geometry of Minkowski Spacetime, Ch. 1); since rotations and boosts are connected to the identity, so is SO+(1,3)SO^+(1, 3).

∎

The orthochronous Lorentz transformations (Λ00≥1\Lambda^0{}_0 \ge 1) are exactly those that preserve the future light cone: they never reverse the order of causally related events. The interval and the speed of light are the invariants; everything else is "relative".

Theorem— Reversed Cauchy–Schwarz and reverse triangle inequality

Let v=(t1,x)v = (t_1, \mathbf x) and w=(t2,y)w = (t_2, \mathbf y) be future-pointing causal vectors, where x,y\mathbf x, \mathbf y lie in a real inner product space of any dimension and ∣x∣≤t1|\mathbf x| \le t_1, ∣y∣≤t2|\mathbf y| \le t_2. Then

τ(v) τ(w)≤t1t2−⟨x,y⟩=−η(v,w)andτ(v)+τ(w)≤τ(v+w).\tau(v)\,\tau(w) \le t_1 t_2 - \langle \mathbf x, \mathbf y \rangle = -\eta(v, w) \qquad\text{and}\qquad \tau(v) + \tau(w) \le \tau(v + w).

Proof

By Cauchy–Schwarz, ⟨x,y⟩≤∣x∣∣y∣\langle \mathbf x, \mathbf y \rangle \le |\mathbf x||\mathbf y|, so it suffices to show (t12−∣x∣2)(t22−∣y∣2)≤t1t2−∣x∣∣y∣\sqrt{(t_1^2 - |\mathbf x|^2)(t_2^2 - |\mathbf y|^2)} \le t_1 t_2 - |\mathbf x||\mathbf y|. The right side is non-negative because t1≥∣x∣≥0t_1 \ge |\mathbf x| \ge 0 and t2≥∣y∣≥0t_2 \ge |\mathbf y| \ge 0, and

(t1t2−∣x∣∣y∣)2−(t12−∣x∣2)(t22−∣y∣2)=(t1∣y∣−t2∣x∣)2≥0.(t_1 t_2 - |\mathbf x||\mathbf y|)^2 - (t_1^2 - |\mathbf x|^2)(t_2^2 - |\mathbf y|^2) = (t_1|\mathbf y| - t_2|\mathbf x|)^2 \ge 0.

For the second inequality both sides are non-negative (v+wv + w is again future causal, as ∣x+y∣≤t1+t2|\mathbf x + \mathbf y| \le t_1 + t_2), so we may square. With ∣x+y∣2=∣x∣2+2⟨x,y⟩+∣y∣2|\mathbf x + \mathbf y|^2 = |\mathbf x|^2 + 2\langle \mathbf x, \mathbf y \rangle + |\mathbf y|^2,

τ(v+w)2−(τ(v)+τ(w))2=2(t1t2−⟨x,y⟩)−2 τ(v)τ(w)≥0\tau(v + w)^2 - \big(\tau(v) + \tau(w)\big)^2 = 2\big(t_1 t_2 - \langle \mathbf x, \mathbf y \rangle\big) - 2\,\tau(v)\tau(w) \ge 0

by the first inequality.

∎

Theorem— Straight worldlines are the longest

Let q−pq - p be future timelike. Every future-directed timelike curve from pp to qq has proper time at most τ(q−p)\tau(q - p), with equality only for the straight segment. On the other hand there are causal curves from pp to qq with arbitrarily small proper time.

Proof

For a broken line p=p0,p1,…,pn=qp = p_0, p_1, \dots, p_n = q with future timelike steps, applying the reverse triangle inequality n−1n - 1 times gives ∑kτ(pk+1−pk)≤τ(q−p)\sum_k \tau(p_{k+1} - p_k) \le \tau(q - p). A smooth timelike curve's proper time is the limit of the proper times of inscribed broken lines as the subdivision is refined (by the definition of the integral, since the integrand is continuous). Hence τ[γ]≤τ(q−p)\tau[\gamma] \le \tau(q - p). If γ\gamma is not straight, some inscribed triangle p,r,qp, r, q has rr off the segment, and equality in the reverse Cauchy–Schwarz inequality fails strictly; refinement only decreases the sums, so the inequality is strict. For the last claim, zigzag between pp and qq along steps that are nearly null: each step has tiny proper time, and the total tends to 00.

∎

So proper time has no minimum but a maximum, achieved by inertial motion: the opposite of the Euclidean situation, and the resolution of the twin paradox. The traveller's worldline is not straight; there is no symmetry between the twins, and no appeal to gravity or acceleration "forces" is needed — only geometry.

ProofH

General relativity: curvature and the field equations

Geodesics extremise proper time. In local coordinates, consider curves xμ(λ)x^\mu(\lambda) and the energy functional E[x]=12∫gμν(x)x˙μx˙ν dλE[x] = \frac12 \int g_{\mu\nu}(x) \dot x^\mu \dot x^\nu \, d\lambda. Its Euler–Lagrange equations are

ddλ(gμνx˙ν)−12∂μgαβx˙αx˙β=0  ⟺  x¨μ+Γαβμx˙αx˙β=0,\frac{d}{d\lambda}\big(g_{\mu\nu}\dot x^\nu\big) - \frac12 \partial_\mu g_{\alpha\beta} \dot x^\alpha \dot x^\beta = 0 \iff \ddot x^\mu + \Gamma^\mu_{\alpha\beta}\dot x^\alpha \dot x^\beta = 0,

the geodesic equation (expand the first term and raise the index with gμνg^{\mu\nu}). Along a solution g(x˙,x˙)g(\dot x, \dot x) is constant, and the critical points of EE among affinely parametrised curves are the critical points of proper time. Timelike geodesics locally maximise proper time: within a convex normal neighbourhood the geodesic between two timelike-related points is the longest causal curve, the Lorentzian analogue of the theorem above (O'Neill, Ch. 10; Hawking–Ellis, §4.5). Beyond a conjugate point they stop maximising.

Theorem— The Newtonian limit

Let g=−(1+2Φ) dt2+(1−2Φ) (dx2+dy2+dz2)g = -(1 + 2\Phi)\,dt^2 + (1 - 2\Phi)\,(dx^2 + dy^2 + dz^2) with Φ\Phi a time-independent function with ∣Φ∣≪1|\Phi| \ll 1, and consider a slowly moving particle (∣dxi/dt∣≪1|dx^i/dt| \ll 1). To first order in Φ\Phi and in the velocity, the geodesic equation is Newton's law d2xidt2=−∂iΦ\dfrac{d^2 x^i}{dt^2} = -\partial_i \Phi. For dust at rest with density ρ\rho, the 0000 component of the field equations is, to the same order, Poisson's equation ΔΦ=4πρ\Delta \Phi = 4\pi\rho.

Proof

For slow motion dt/dτ≈1dt/d\tau \approx 1 and the terms with x˙ix˙j\dot x^i \dot x^j or x˙it˙\dot x^i \dot t are of higher order, so x¨i≈−Γ00i\ddot x^i \approx -\Gamma^i_{00}. With g00=−(1+2Φ)g_{00} = -(1 + 2\Phi) time-independent, Γ00i=−12gii∂ig00=∂iΦ+O(Φ2)\Gamma^i_{00} = -\frac12 g^{ii}\partial_i g_{00} = \partial_i\Phi + O(\Phi^2). Hence d2xi/dt2=−∂iΦd^2x^i/dt^2 = -\partial_i\Phi. For the field equations, take the trace of Rμν−12Rgμν=8πTμνR_{\mu\nu} - \frac12 R g_{\mu\nu} = 8\pi T_{\mu\nu} to get R=−8πTR = -8\pi T and rewrite them as Rμν=8π(Tμν−12Tgμν)R_{\mu\nu} = 8\pi\big(T_{\mu\nu} - \frac12 T g_{\mu\nu}\big). For dust at rest, T00=ρT_{00} = \rho and T=g00T00≈−ρT = g^{00}T_{00} \approx -\rho, so the right side of the 0000 equation is 8π(ρ−12ρ)=4πρ8\pi(\rho - \frac12\rho) = 4\pi\rho. On the left, to first order in a static field, R00=∂μΓ00μ−∂0Γ0μμ+O(Γ2)=∂i∂iΦR_{00} = \partial_\mu\Gamma^\mu_{00} - \partial_0\Gamma^\mu_{0\mu} + O(\Gamma^2) = \partial_i\partial_i\Phi.

∎

This is how the constant 8πG/c48\pi G/c^4 is fixed: Einstein's theory must reproduce Newton's where Newton is accurate. The field equations are also forced by consistency. The contracted Bianchi identity ∇μGμν=0\nabla^\mu G_{\mu\nu} = 0 holds for every metric, so the equations imply ∇μTμν=0\nabla^\mu T_{\mu\nu} = 0: energy and momentum are conserved, and matter moves consistently with the geometry it creates. The vacuum equations are the Euler–Lagrange equations of the Einstein–Hilbert action ∫R−det⁡g d4x\int R \sqrt{-\det g} \, d^4x (Hilbert, 1915).

Theorem— Birkhoff's theorem (Jebsen 1921, Birkhoff 1923)

Every spherically symmetric solution of the vacuum equations Rμν=0R_{\mu\nu} = 0 is locally isometric to a piece of the Schwarzschild solution (or of Minkowski space). In particular it is static.

We do not prove Birkhoff's theorem here (Hawking–Ellis, Appendix B; Carroll, §5.2). That the Schwarzschild metric is Ricci-flat is a direct, if lengthy, computation of its Christoffel symbols and curvature; the third experiment below does it symbolically. A consequence: a spherical star that pulsates radially emits no gravitational waves, and the field outside it is the same as that of a static star of the same mass.

r=2Mr = 2M is not a singularity of spacetime. The metric component grr=(1−2M/r)−1g_{rr} = (1 - 2M/r)^{-1} blows up at r=2Mr = 2M, but the curvature does not: the Kretschmann scalar RαβγδRαβγδ=48M2/r6R_{\alpha\beta\gamma\delta}R^{\alpha\beta\gamma\delta} = 48M^2/r^6 is finite there and blows up only at r=0r = 0. The trouble is with the coordinates. With the ingoing Eddington–Finkelstein coordinate v=t+r+2Mlog⁡∣r/2M−1∣v = t + r + 2M\log|r/2M - 1| the metric becomes

ds2=−(1−2Mr)dv2+2 dv dr+r2 dΩ2,ds^2 = -\Big(1 - \frac{2M}{r}\Big)dv^2 + 2\,dv\,dr + r^2 \, d\Omega^2,

which is smooth for all r>0r > 0. At r<2Mr \lt 2M the vector ∂r\partial_r is timelike and every future-directed causal curve has decreasing rr: nothing, not even light, gets out. The sphere r=2Mr = 2M is the event horizon of a black hole; r=0r = 0 is a genuine curvature singularity.

ProofH

Light, planets and black holes: Schwarzschild geodesics

Conserved quantities. The Schwarzschild metric does not depend on tt or ϕ\phi, so along a geodesic with affine parameter λ\lambda (proper time for massive particles) the quantities

E=(1−2Mr)dtdλ,L=r2dϕdλE = \Big(1 - \frac{2M}{r}\Big)\frac{dt}{d\lambda}, \qquad L = r^2 \frac{d\phi}{d\lambda}

are conserved (the tt- and ϕ\phi-components of the Euler–Lagrange equations above). By spherical symmetry we may take the orbit in the plane θ=π/2\theta = \pi/2. Normalising g(x˙,x˙)=−κg(\dot x, \dot x) = -\kappa, with κ=1\kappa = 1 for particles and κ=0\kappa = 0 for light, gives

(drdλ)2=E2−(1−2Mr)(κ+L2r2).\Big(\frac{dr}{d\lambda}\Big)^2 = E^2 - \Big(1 - \frac{2M}{r}\Big)\Big(\kappa + \frac{L^2}{r^2}\Big).

For particles, the radial motion is that of a unit-mass particle with energy E2E^2 in the effective potential V(r)=(1−2M/r)(1+L2/r2)V(r) = (1 - 2M/r)(1 + L^2/r^2).

Theorem— The orbit equation

With u=1/ru = 1/r as a function of ϕ\phi, geodesics satisfy

d2udϕ2+u=κML2+3Mu2.\frac{d^2u}{d\phi^2} + u = \frac{\kappa M}{L^2} + 3Mu^2.

For κ=1\kappa = 1 the first term on the right is Newton's; the term 3Mu23Mu^2 is the relativistic correction.

Proof

Since dr/dλ=(dr/dϕ)(L/r2)=−L du/dϕdr/d\lambda = (dr/d\phi)(L/r^2) = -L \, du/d\phi, the energy equation becomes L2(u′)2=E2−(1−2Mu)(κ+L2u2)L^2 (u')^2 = E^2 - (1 - 2Mu)(\kappa + L^2u^2). Differentiating in ϕ\phi: 2L2u′u′′=2Mκu′+6ML2u2u′−2L2uu′2L^2 u'u'' = 2M\kappa u' + 6ML^2u^2u' - 2L^2 u u'. Divide by 2L2u′2L^2u' (on stretches where u′≠0u' \ne 0; circular orbits are treated separately).

∎

Theorem— Light bending (to first order in M/b)

A light ray with impact parameter b≫Mb \gg M is deflected by the angle δ=4M/b\delta = 4M/b, i.e. 4GM/(c2b)4GM/(c^2 b) in physical units: 1.75′′1.75'' for starlight grazing the Sun, twice the value 2GM/(c2b)2GM/(c^2b) obtained by treating light as a Newtonian particle.

Proof

With κ=0\kappa = 0, u′′+u=3Mu2u'' + u = 3Mu^2. Without the mass, u0=sin⁡ϕbu_0 = \frac{\sin\phi}{b} is a straight line with impact parameter bb. Write u=u0+u1u = u_0 + u_1 with u1=O(M/b2)u_1 = O(M/b^2) and linearise: u1′′+u1=3Mb2sin⁡2ϕ=3M2b2(1−cos⁡2ϕ)u_1'' + u_1 = \frac{3M}{b^2}\sin^2\phi = \frac{3M}{2b^2}(1 - \cos 2\phi). A particular solution is u1=3M2b2(1+13cos⁡2ϕ)u_1 = \frac{3M}{2b^2}\big(1 + \frac13\cos 2\phi\big), so

u=sin⁡ϕb+M2b2(3+cos⁡2ϕ).u = \frac{\sin\phi}{b} + \frac{M}{2b^2}(3 + \cos 2\phi).

The ray comes from and goes to infinity where u=0u = 0. Near ϕ=0\phi = 0, setting ϕ=−ε\phi = -\varepsilon with ε\varepsilon small gives −ε/b+4M/(2b2)=0-\varepsilon/b + 4M/(2b^2) = 0, so ε=2M/b\varepsilon = 2M/b; by symmetry the same happens near ϕ=π\phi = \pi. The asymptotic directions differ from a straight line by 2ε=4M/b2\varepsilon = 4M/b.

∎

The Newtonian value is half as large because it captures only the bending of the time part of the metric; the spatial curvature contributes the other half. Measured during the 1919 eclipse by expeditions to Príncipe and to Sobral in Brazil, and since by radio interferometry to better than one part in 10410^4, the full value agrees with relativity.

Theorem— Perihelion precession (to first order in M/p)

A bound orbit with semi-latus rectum p=L2/Mp = L^2/M and eccentricity ee precesses by Δϕ=6πM/p=6πGMc2a(1−e2)\Delta\phi = 6\pi M/p = \dfrac{6\pi GM}{c^2 a(1 - e^2)} per revolution, where aa is the semi-major axis.

Proof

With κ=1\kappa = 1, u′′+u=1p+3Mu2u'' + u = \frac{1}{p} + 3Mu^2. The Newtonian solution is the ellipse u0=1+ecos⁡ϕpu_0 = \frac{1 + e\cos\phi}{p}. Linearising, u1′′+u1=3Mu02=3Mp2(1+2ecos⁡ϕ+e2cos⁡2ϕ)u_1'' + u_1 = 3Mu_0^2 = \frac{3M}{p^2}\big(1 + 2e\cos\phi + e^2\cos^2\phi\big). The constant and cos⁡2ϕ\cos 2\phi parts produce small bounded corrections to the shape. The term 6Mep2cos⁡ϕ\frac{6Me}{p^2}\cos\phi resonates with the free oscillation and produces the secular solution 3Mep2 ϕsin⁡ϕ\frac{3Me}{p^2}\,\phi\sin\phi. Keeping it,

u≈1p(1+ecos⁡ϕ+3Mpe ϕsin⁡ϕ)≈1p(1+ecos⁡((1−3Mp)ϕ)),u \approx \frac1p\Big(1 + e\cos\phi + \frac{3M}{p}e\,\phi\sin\phi\Big) \approx \frac1p\Big(1 + e\cos\big((1 - \tfrac{3M}{p})\phi\big)\Big),

using cos⁡(ϕ−εϕ)≈cos⁡ϕ+εϕsin⁡ϕ\cos(\phi - \varepsilon\phi) \approx \cos\phi + \varepsilon\phi\sin\phi. Perihelia occur where the argument is a multiple of 2π2\pi, i.e. at ϕ=2πn/(1−3M/p)≈2πn(1+3M/p)\phi = 2\pi n/(1 - 3M/p) \approx 2\pi n (1 + 3M/p): each revolution the perihelion advances by 6πM/p6\pi M/p. (The approximation is valid for ϕ≪p/M\phi \ll p/M; the method of multiple scales, or Lindstedt–Poincaré, makes it uniform.)

∎

For Mercury (a=5.79×1010a = 5.79 \times 10^{10} m, e=0.2056e = 0.2056, about 415415 revolutions per century) this is 43′′43'' per century, the anomaly that Newtonian theory could not explain. Einstein computed it on 18 November 1915, a week before writing down the final field equations.

Theorem— Circular orbits and the innermost stable circular orbit

For M>0M > 0, circular orbits of radius r>0r > 0 are critical points of VV, i.e. roots of Mr2−L2r+3ML2=0Mr^2 - L^2 r + 3ML^2 = 0. They exist only if L2≥12M2L^2 \ge 12M^2; for L2>12M2L^2 > 12M^2 there are two, r±=L2±LL2−12M22Mr_\pm = \frac{L^2 \pm L\sqrt{L^2 - 12M^2}}{2M} (with L>0L > 0), the outer stable (a minimum of VV) and the inner unstable (a maximum). As L2↓12M2L^2 \downarrow 12M^2 they merge at r=6Mr = 6M, the innermost stable circular orbit. For light, the effective potential (1−2M/r)/r2(1 - 2M/r)/r^2 has a single critical point, the unstable photon sphere r=3Mr = 3M.

Proof

Differentiating, V′(r)=2Mr2(1+L2r2)−(1−2Mr)2L2r3=2(Mr2−L2r+3ML2)r4V'(r) = \frac{2M}{r^2}\big(1 + \frac{L^2}{r^2}\big) - \big(1 - \frac{2M}{r}\big)\frac{2L^2}{r^3} = \frac{2(Mr^2 - L^2 r + 3ML^2)}{r^4}. A real root requires the discriminant L4−12M2L2L^4 - 12M^2L^2 to be non-negative; equivalently, completing the square, (2Mr−L2)2=L2(L2−12M2)(2Mr - L^2)^2 = L^2(L^2 - 12M^2), and L≠0L \ne 0 since otherwise Mr2=0Mr^2 = 0. The quadratic Mr2−L2r+3ML2Mr^2 - L^2r + 3ML^2 is negative between its roots and positive outside, so VV increases beyond r+r_+, decreases between r−r_- and r+r_+: r+r_+ is a minimum, r−r_- a maximum. At L2=12M2L^2 = 12M^2 the double root is r=L2/(2M)=6Mr = L^2/(2M) = 6M. For light, ddr1−2M/rr2=6M−2rr4\frac{d}{dr}\frac{1 - 2M/r}{r^2} = \frac{6M - 2r}{r^4} vanishes only at r=3Mr = 3M, a maximum.

∎

Gas in an accretion disc spirals inwards through stable circular orbits until it reaches r=6Mr = 6M and then plunges; the ISCO sets how much energy a disc around a non-rotating black hole can radiate. Light rays with impact parameter below 33 M3\sqrt3\,M fall in, which is why a black hole casts a shadow about 2.62.6 times larger than its horizon — the dark disc imaged by the Event Horizon Telescope.

Beyond Schwarzschild. Rotating black holes are described by Kerr's metric (1963). The homogeneous, isotropic cosmologies are the Friedmann–Lemaître–Robertson–Walker metrics −dt2+a(t)2(dr21−kr2+r2dΩ2)-dt^2 + a(t)^2 \big(\frac{dr^2}{1 - kr^2} + r^2 d\Omega^2\big), for which the field equations reduce to Friedmann's equation (a˙a)2=8πρ3−ka2+Λ3\big(\frac{\dot a}{a}\big)^2 = \frac{8\pi\rho}{3} - \frac{k}{a^2} + \frac\Lambda3 (Friedmann, 1922; Lemaître, 1927): the universe expands. Linearising the vacuum equations around Minkowski space gives a wave equation for the metric perturbation: gravitational waves travel at the speed of light.

Formal mathematicsF

Spacetime geometry in Lean

Mathlib has no Minkowski space or Lorentzian manifolds yet (the separate Physlib project builds them on top of Mathlib), so we formalise with Mathlib's real numbers, matrices, inner product spaces and derivatives, in units c=G=1c = G = 1. The metric and boosts in one space dimension, and the facts that boosts are Lorentz transformations and compose by adding rapidities:

etaLean 4Formally verified
/-- The Minkowski metric in one time and one space dimension, signature `(−, +)`:
`η((t, x), (t, x)) = −t² + x²`. -/
def eta : Matrix (Fin 2) (Fin 2) ℝ := !![-1, 0; 0, 1]
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor
boostLean 4Formally verified
/-- The Lorentz boost with rapidity `φ`, acting on column vectors `(t, x)`:
`t′ = t cosh φ + x sinh φ`, `x′ = t sinh φ + x cosh φ`. Its velocity is `v = tanh φ` and its
Lorentz factor is `γ = cosh φ = 1/√(1 − v²)`. -/
noncomputable def boost (φ : ℝ) : Matrix (Fin 2) (Fin 2) ℝ :=
  !![Real.cosh φ, Real.sinh φ; Real.sinh φ, Real.cosh φ]
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor
boost_preserves_etaLean 4Proved here from basic factsFormally verified
/-- **Boosts are Lorentz transformations:** `Λᵀ η Λ = η`, i.e. every boost preserves the interval
`−t² + x²`. Proof: multiply out; the entries reduce to `cosh² φ − sinh² φ = 1`. -/
theorem boost_preserves_eta (φ : ℝ) : (boost φ).transpose * eta * boost φ = eta := by
  have h := Real.cosh_sq φ
  ext i j
  fin_cases i <;> fin_cases j <;>
    simp [boost, eta, Matrix.mul_apply, Fin.sum_univ_two] <;> nlinarith [h]
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor
boost_mulLean 4Proved here from basic factsFormally verified
/-- **Rapidities add:** `Λ(φ) Λ(ψ) = Λ(φ + ψ)`. The boosts form a one-parameter group isomorphic
to `(ℝ, +)` — the hyperbolic analogue of rotations composing by adding angles. Proof: the
addition formulas for `cosh` and `sinh`. -/
theorem boost_mul (φ ψ : ℝ) : boost φ * boost ψ = boost (φ + ψ) := by
  ext i j
  fin_cases i <;> fin_cases j <;>
    simp [boost, Matrix.mul_apply, Fin.sum_univ_two, Real.cosh_add, Real.sinh_add] <;> ring
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor

Velocity addition and the Lorentz factor of the twin example:

velocity_additionLean 4Proved here from basic factsFormally verified
/-- **Relativistic velocity addition stays below the speed of light.** If `|u| < 1` and `|v| < 1`
then `|(u + v)/(1 + uv)| < 1`. (This is `tanh(φ + ψ)` for `u = tanh φ`, `v = tanh ψ`.) Proof:
`1 + uv > 0`, and `(1 + uv) − (u + v) = (1 − u)(1 − v) > 0`,
`(1 + uv) + (u + v) = (1 + u)(1 + v) > 0`. -/
theorem velocity_addition {u v : ℝ} (hu : |u| < 1) (hv : |v| < 1) :
    |(u + v) / (1 + u * v)| < 1 := by
  obtain ⟨hu1, hu2⟩ := abs_lt.mp hu
  obtain ⟨hv1, hv2⟩ := abs_lt.mp hv
  have hpos : 0 < 1 + u * v := by nlinarith
  rw [abs_div, abs_of_pos hpos, div_lt_one hpos, abs_lt]
  constructor <;> nlinarith
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor
lorentz_factor_three_fifthsLean 4Proved here from basic factsFormally verified
/-- A traveller at `v = 3/5` of the speed of light has Lorentz factor
`γ = 1/√(1 − 9/25) = 5/4`: every `5` years of Earth time are `4` years of proper time. -/
theorem lorentz_factor_three_fifths : 1 / Real.sqrt (1 - (3 / 5 : ℝ) ^ 2) = 5 / 4 := by
  have h : (1 - (3 / 5 : ℝ) ^ 2) = (4 / 5) ^ 2 := by norm_num
  rw [h, Real.sqrt_sq (by norm_num)]
  norm_num
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor

The heart of special relativity, in any number of space dimensions (the spatial part lives in an arbitrary real inner product space E): the reversed Cauchy–Schwarz inequality, proved as in the lesson from Cauchy–Schwarz and the identity (t1t2−∣x∣∣y∣)2−(t12−∣x∣2)(t22−∣y∣2)=(t1∣y∣−t2∣x∣)2(t_1 t_2 - |\mathbf x||\mathbf y|)^2 - (t_1^2 - |\mathbf x|^2)(t_2^2 - |\mathbf y|^2) = (t_1|\mathbf y| - t_2|\mathbf x|)^2, and the reverse triangle inequality — the twin paradox:

reverse_cauchy_schwarzLean 4Proved here from basic factsFormally verified
/-- **The reversed Cauchy–Schwarz inequality.** For future-pointing causal vectors `(t₁, x)` and
`(t₂, y)` (time component `t`, space component in any real inner product space, `‖x‖ ≤ t₁`,
`‖y‖ ≤ t₂`): `√(t₁² − ‖x‖²) · √(t₂² − ‖y‖²) ≤ t₁ t₂ − ⟪x, y⟫`. In Minkowski terms,
`τ(v) τ(w) ≤ −η(v, w)`. Proof: `⟪x, y⟫ ≤ ‖x‖ ‖y‖` (Cauchy–Schwarz), and
`(t₁ t₂ − ‖x‖‖y‖)² − (t₁² − ‖x‖²)(t₂² − ‖y‖²) = (t₁‖y‖ − t₂‖x‖)² ≥ 0`. -/
theorem reverse_cauchy_schwarz {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    {t₁ t₂ : ℝ} {x y : E} (h₁ : ‖x‖ ≤ t₁) (h₂ : ‖y‖ ≤ t₂) :
    Real.sqrt (t₁ ^ 2 - ‖x‖ ^ 2) * Real.sqrt (t₂ ^ 2 - ‖y‖ ^ 2) ≤ t₁ * t₂ - ⟪x, y⟫ := by
  have hcs : ⟪x, y⟫ ≤ ‖x‖ * ‖y‖ := real_inner_le_norm x y
  have hx := norm_nonneg x
  have hy := norm_nonneg y
  have ha : 0 ≤ t₁ ^ 2 - ‖x‖ ^ 2 := by nlinarith
  rw [← Real.sqrt_mul ha]
  calc Real.sqrt ((t₁ ^ 2 - ‖x‖ ^ 2) * (t₂ ^ 2 - ‖y‖ ^ 2)) ≤ t₁ * t₂ - ‖x‖ * ‖y‖ := by
        rw [Real.sqrt_le_iff]
        constructor
        · nlinarith [mul_le_mul h₁ h₂ hy (hx.trans h₁)]
        · nlinarith [sq_nonneg (t₁ * ‖y‖ - t₂ * ‖x‖)]
    _ ≤ t₁ * t₂ - ⟪x, y⟫ := by linarith
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor
twin_paradoxLean 4Proved here from basic factsFormally verified
/-- **The reverse triangle inequality (the twin paradox).** For future-pointing causal vectors
`v = (t₁, x)` and `w = (t₂, y)`, with proper time `τ(t, x) = √(t² − ‖x‖²)`:
`τ(v) + τ(w) ≤ τ(v + w)`. The stay-at-home twin's straight worldline from `0` to `v + w` has
*more* proper time than the traveller's broken path `0 → v → v + w`: in Minkowski geometry the
straight line is the *longest* timelike path. Proof: square both sides; using
`‖x + y‖² = ‖x‖² + 2⟪x, y⟫ + ‖y‖²`, the inequality reduces to the reversed Cauchy–Schwarz
inequality. -/
theorem twin_paradox {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    {t₁ t₂ : ℝ} {x y : E} (h₁ : ‖x‖ ≤ t₁) (h₂ : ‖y‖ ≤ t₂) :
    Real.sqrt (t₁ ^ 2 - ‖x‖ ^ 2) + Real.sqrt (t₂ ^ 2 - ‖y‖ ^ 2) ≤
      Real.sqrt ((t₁ + t₂) ^ 2 - ‖x + y‖ ^ 2) := by
  have hx := norm_nonneg x
  have hy := norm_nonneg y
  have ha : 0 ≤ t₁ ^ 2 - ‖x‖ ^ 2 := by nlinarith
  have hb : 0 ≤ t₂ ^ 2 - ‖y‖ ^ 2 := by nlinarith
  have hrcs := reverse_cauchy_schwarz h₁ h₂
  have hnorm : ‖x + y‖ ^ 2 = ‖x‖ ^ 2 + 2 * ⟪x, y⟫ + ‖y‖ ^ 2 := norm_add_sq_real x y
  have hxy : ‖x + y‖ ≤ t₁ + t₂ := (norm_add_le x y).trans (add_le_add h₁ h₂)
  have hc : 0 ≤ (t₁ + t₂) ^ 2 - ‖x + y‖ ^ 2 := by nlinarith [norm_nonneg (x + y)]
  rw [Real.le_sqrt (by positivity) hc, add_sq, Real.sq_sqrt ha, Real.sq_sqrt hb, hnorm]
  nlinarith
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor

For the Schwarzschild orbits: the effective potential, its derivative (a HasDerivAt statement assembled from the product, quotient and power rules), the bound L2≥12M2L^2 \ge 12M^2 for circular orbits and the innermost stable circular orbit at r=6Mr = 6M:

effectivePotentialLean 4Formally verified
/-- The effective potential for timelike geodesics in the Schwarzschild metric of mass `M`, for a
particle with angular momentum per unit mass `L` (units `G = c = 1`):
`V(r) = (1 − 2M/r)(1 + L²/r²)`. Radial motion obeys `ṙ² = E² − V(r)`. -/
noncomputable def effectivePotential (M L r : ℝ) : ℝ :=
  (1 - 2 * M / r) * (1 + L ^ 2 / r ^ 2)
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor
effective_potential_derivLean 4Proved here from basic factsFormally verified
/-- **Where circular orbits live.** For `r ≠ 0`,
`V′(r) = 2 (M r² − L² r + 3 M L²) / r⁴`. Circular orbits sit at critical points of `V`, i.e. at
the roots of `M r² − L² r + 3 M L² = 0`. The term `3 M L²` has no Newtonian counterpart. -/
theorem effective_potential_deriv (M L : ℝ) {r : ℝ} (hr : r ≠ 0) :
    HasDerivAt (effectivePotential M L)
      (2 * (M * r ^ 2 - L ^ 2 * r + 3 * M * L ^ 2) / r ^ 4) r := by
  have h1 : HasDerivAt (fun s => 1 - 2 * M / s) (2 * M / r ^ 2) r := by
    have := ((hasDerivAt_inv hr).const_mul (2 * M)).const_sub 1
    convert this using 1
    · funext s
      simp [div_eq_mul_inv]
    · field_simp
  have h2 : HasDerivAt (fun s => 1 + L ^ 2 / s ^ 2) (-2 * L ^ 2 / r ^ 3) r := by
    have hsq : HasDerivAt (fun s => s ^ 2) (2 * r) r := by
      simpa using hasDerivAt_pow 2 r
    have := ((hsq.inv (pow_ne_zero 2 hr)).const_mul (L ^ 2)).const_add 1
    convert this using 1
    · funext s
      simp [div_eq_mul_inv]
    · field_simp
  show HasDerivAt (fun s => (1 - 2 * M / s) * (1 + L ^ 2 / s ^ 2)) _ r
  convert h1.mul h2 using 1
  field_simp
  ring
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor
circular_orbit_boundLean 4Proved here from basic factsFormally verified
/-- **No circular orbits with too little angular momentum.** If `M > 0`, `r > 0` and
`M r² − L² r + 3 M L² = 0` (a circular orbit of radius `r`), then `L² ≥ 12 M²`. Proof: completing
the square, `(2 M r − L²)² = L⁴ − 12 M² L²`, so `L² (L² − 12 M²) ≥ 0`, and `L ≠ 0` because
`L = 0` would force `M r² = 0`. -/
theorem circular_orbit_bound {M L r : ℝ} (hM : 0 < M) (hr : 0 < r)
    (hcirc : M * r ^ 2 - L ^ 2 * r + 3 * M * L ^ 2 = 0) : 12 * M ^ 2 ≤ L ^ 2 := by
  have hsq : (2 * M * r - L ^ 2) ^ 2 = L ^ 2 * (L ^ 2 - 12 * M ^ 2) := by
    have : (2 * M * r - L ^ 2) ^ 2 = 4 * M * (M * r ^ 2 - L ^ 2 * r) + L ^ 4 := by ring
    rw [this, show M * r ^ 2 - L ^ 2 * r = -(3 * M * L ^ 2) by linarith]
    ring
  have hL : 0 < L ^ 2 := by
    rcases (sq_nonneg L).lt_or_eq with h | h
    · exact h
    · exfalso
      rw [← h] at hcirc
      have : M * r ^ 2 = 0 := by linarith
      have : 0 < M * r ^ 2 := by positivity
      linarith
  have hprod : 0 ≤ L ^ 2 * (L ^ 2 - 12 * M ^ 2) := hsq ▸ sq_nonneg _
  by_contra hlt
  have : L ^ 2 * (L ^ 2 - 12 * M ^ 2) < 0 := mul_neg_of_pos_of_neg hL (by linarith [not_le.mp hlt])
  linarith
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor
iscoLean 4Proved here from basic factsFormally verified
/-- **The innermost stable circular orbit is at `r = 6M`.** At the critical angular momentum
`L² = 12 M²` the two circular orbits (stable and unstable) merge, and the circular-orbit
equation forces `r = 6M`, three times the Schwarzschild radius. Inside it there are no stable
circular orbits: matter in an accretion disc spirals in. -/
theorem isco {M L r : ℝ} (hM : 0 < M) (hL : L ^ 2 = 12 * M ^ 2)
    (hcirc : M * r ^ 2 - L ^ 2 * r + 3 * M * L ^ 2 = 0) : r = 6 * M := by
  rw [hL] at hcirc
  have h : M * (r - 6 * M) ^ 2 = 0 := by nlinarith
  have h' : (r - 6 * M) ^ 2 = 0 := by
    rcases mul_eq_zero.mp h with h0 | h0
    · linarith
    · exact h0
  have := pow_eq_zero_iff (n := 2) (by norm_num) |>.mp h'
  linarith
Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/Relativity.leanTry it in the Lean web editor

Not formalised here: Lorentzian manifolds, connections and curvature (Mathlib has Riemannian metrics and connections on manifolds only in early form), the field equations, the Schwarzschild solution and its Ricci-flatness, the orbit equation and the perturbative derivations of light bending and precession, and the maximisation of proper time by curves (we prove the inequality for two segments; the curve version is a limit argument). What is formalised is the exact algebra of special relativity and the exact calculus of the effective potential.

ComputationC

Experiments: twins, geodesics and curvature

Speeds such as 35\frac35, 1213\frac{12}{13} and 2029\frac{20}{29} have rational Lorentz factors, so the twin paradox can be computed in exact arithmetic. The first experiment does so, checks the reverse triangle inequality on 2000 random rational timelike vectors in 1+31 + 3 dimensions by comparing exact squares, and verifies γ(u⊕v)=γ(u)γ(v)(1+uv)\gamma(u \oplus v) = \gamma(u)\gamma(v)(1 + uv).

The twin paradox and velocity addition, exactlyPythonExact computationComputationally tested
"""The twin paradox with exact arithmetic.

Speeds such as 3/5, 4/5, 5/13 and 12/13 (from Pythagorean triples) have
rational Lorentz factors, so proper times can be computed exactly with
fractions. A twin who travels out and back at speed v for a total Earth time
T ages T/gamma. We check the reverse triangle inequality
tau(v) + tau(w) <= tau(v + w) on many rational timelike vectors (comparing
squares exactly, so no square roots are needed), compose velocities with
the relativistic addition law and confirm gamma(u (+) v) = gamma(u) gamma(v)
(1 + u v).
"""

import math
import random
from fractions import Fraction

def gamma_rational(v):
    """Exact Lorentz factor 1/sqrt(1 - v^2) when it is rational, else None."""
    v = Fraction(v)
    if not -1 < v < 1:
        raise ValueError("need |v| < 1")
    q = 1 - v * v
    num, den = q.numerator, q.denominator
    rn, rd = math.isqrt(num), math.isqrt(den)
    if rn * rn == num and rd * rd == den:
        return Fraction(rd, rn)
    return None

def interval_sq(t, xs):
    """Proper time squared t^2 - |x|^2 of the vector (t, x)."""
    return t * t - sum(x * x for x in xs)

def reverse_triangle_holds(v, w):
    """Exact check of tau(v) + tau(w) <= tau(v + w) for future timelike v, w.

    With a = tau(v)^2, b = tau(w)^2, c = tau(v + w)^2 the claim is
    sqrt(a) + sqrt(b) <= sqrt(c), i.e. c - a - b >= 0 and (c - a - b)^2 >= 4ab.
    """
    a, b = interval_sq(*v), interval_sq(*w)
    s = (v[0] + w[0], [p + q for p, q in zip(v[1], w[1])])
    c = interval_sq(*s)
    d = c - a - b
    return d >= 0 and d * d >= 4 * a * b

def add_velocities(u, v):
    """Relativistic velocity addition (u + v) / (1 + u v)."""
    return (Fraction(u) + Fraction(v)) / (1 + Fraction(u) * Fraction(v))

def random_future_timelike(rng):
    """A rational vector (t, x) with |x| < t, in 1 + 3 dimensions."""
    xs = [Fraction(rng.randint(-20, 20), rng.randint(1, 9)) for _ in range(3)]
    t = Fraction(sum(abs(x) for x in xs) + rng.randint(1, 5), 1)
    return t, xs

def main():
    print("Twins: Earth time 10 years, traveller out and back at speed v")
    print("      v     gamma   traveller ages")
    for v in [Fraction(3, 5), Fraction(4, 5), Fraction(5, 13),
              Fraction(12, 13), Fraction(20, 29)]:
        g = gamma_rational(v)
        print(f"  {str(v):>6}   {str(g):>6}   {str(10 / g):>6} years")
    print()
    rng = random.Random(1908)
    pairs = [(random_future_timelike(rng), random_future_timelike(rng))
             for _ in range(2000)]
    ok = sum(reverse_triangle_holds(v, w) for v, w in pairs)
    print(f"reverse triangle inequality holds for {ok} of {len(pairs)}"
          " random pairs")
    straight = reverse_triangle_holds((Fraction(5), [Fraction(3), 0, 0]),
                                      (Fraction(10), [Fraction(6), 0, 0]))
    print("equality case (parallel vectors) still satisfies it:", straight)
    print()
    print("Velocity addition (u (+) v) = (u + v)/(1 + uv):")
    for u, v in [(Fraction(3, 5), Fraction(3, 5)), (Fraction(4, 5), Fraction(5, 13)),
                 (Fraction(12, 13), Fraction(3, 5))]:
        w = add_velocities(u, v)
        lhs = gamma_rational(w)
        rhs = gamma_rational(u) * gamma_rational(v) * (1 + u * v)
        print(f"  {u} (+) {v} = {w};  gamma: {lhs} = {rhs}: {lhs == rhs}")
    print()
    print("Epistemic status: exact rational arithmetic on finitely many cases.")
    print("It confirms specific instances of theorems proved in the lesson")
    print("(and formalised in Lean for all vectors); it is not a proof.")

if __name__ == "__main__":
    main()
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

The second integrates the orbit equations numerically. The deflection of light approaches 4M/b4M/b as M/b→0M/b \to 0, and agrees with the second-order value 4M/b+15π4M2b24M/b + \frac{15\pi}{4}\frac{M^2}{b^2} much better; the perihelion advance approaches 6πM/p6\pi M/p. It ends with the numbers for the Sun and Mercury.

Light bending and Mercury's perihelion from geodesicsPythonNumerical approximationComputationally tested
"""Light bending and perihelion precession from Schwarzschild geodesics.

With u = 1/r and units G = c = 1, geodesics in the equatorial plane of the
Schwarzschild metric satisfy u'' + u = 3 M u^2 for light and
u'' + u = M / L^2 + 3 M u^2 for planets (' = d/dphi). We integrate both by
the Runge-Kutta method (RK4), locate the end point by bisection, and compare
the light deflection with 4M/b (plus the second-order term 15 pi M^2/(4 b^2))
and the perihelion advance per orbit with 6 pi M/p, p = L^2/M. Finally we
evaluate both leading-order formulas for the Sun and Mercury in SI units.
"""

import math

def rk4_step(f, phi, y, h):
    """One classical Runge-Kutta step for y' = f(phi, y), y = (u, w)."""
    k1 = f(phi, y)
    k2 = f(phi + h / 2, [y[i] + h / 2 * k1[i] for i in range(2)])
    k3 = f(phi + h / 2, [y[i] + h / 2 * k2[i] for i in range(2)])
    k4 = f(phi + h, [y[i] + h * k3[i] for i in range(2)])
    return [y[i] + h / 6 * (k1[i] + 2 * k2[i] + 2 * k3[i] + k4[i])
            for i in range(2)]

def first_crossing(f, y0, index, sign, h, phi_min):
    """Smallest phi > phi_min where component `index` crosses 0 with the
    given sign of the derivative (+1 upward, -1 downward), by RK4 + bisection.
    """
    phi, y = 0.0, list(y0)
    while True:
        y_next = rk4_step(f, phi, y, h)
        crosses = (y[index] * sign < 0 <= y_next[index] * sign)
        if phi + h > phi_min and crosses:
            lo, hi = 0.0, h
            for _ in range(60):
                mid = (lo + hi) / 2
                if rk4_step(f, phi, y, mid)[index] * sign < 0:
                    lo = mid
                else:
                    hi = mid
            return phi + (lo + hi) / 2
        phi, y = phi + h, y_next

def light_deflection(mass, b, steps=6000):
    """Total deflection angle of a light ray with impact parameter b."""
    def f(_phi, y):
        return [y[1], 3 * mass * y[0] ** 2 - y[0]]
    end = first_crossing(f, [0.0, 1.0 / b], 0, -1, math.pi / steps, 1.0)
    return end - math.pi

def perihelion_advance(mass, p, e, steps=6000):
    """Advance of the perihelion per orbit for an orbit with u_max = (1+e)/p."""
    def f(_phi, y):
        return [y[1], mass / (mass * p) + 3 * mass * y[0] ** 2 - y[0]]
    end = first_crossing(f, [(1 + e) / p, 0.0], 1, -1, 2 * math.pi / steps,
                         math.pi)
    return end - 2 * math.pi

def main():
    print("Light ray past mass M = 1, impact parameter b:")
    print("       b    deflection     4M/b   + 15 pi M^2/(4 b^2)   ratio")
    for b in [10.0, 30.0, 100.0, 1000.0]:
        d = light_deflection(1.0, b)
        lead = 4 / b
        second = lead + 15 * math.pi / (4 * b * b)
        print(f"  {b:>6.0f}   {d:.7f}   {lead:.7f}   {second:.7f}"
              f"          {d / lead:.5f}")
    print()
    print("Bound orbit, eccentricity 0.2, semi-latus rectum p (M = 1):")
    print("       p    advance/orbit   6 pi M/p     ratio")
    for p in [30.0, 100.0, 1000.0, 10000.0]:
        adv = perihelion_advance(1.0, p, 0.2)
        lead = 6 * math.pi / p
        print(f"  {p:>6.0f}   {adv:.8f}      {lead:.8f}   {adv / lead:.5f}")
    print()
    gm, c = 1.32712440018e20, 299792458.0
    r_sun = 6.957e8
    arcsec = 180 / math.pi * 3600
    bend = 4 * gm / (c * c * r_sun) * arcsec
    a, e, period_days = 5.7909050e10, 0.205630, 87.9691
    per_orbit = 6 * math.pi * gm / (c * c * a * (1 - e * e))
    per_century = per_orbit * 36525 / period_days * arcsec
    print(f"Sun: starlight grazing the limb is bent by {bend:.3f} arcsec")
    print(f"Mercury: perihelion advance {per_century:.2f} arcsec per century")
    print()
    print("Epistemic status: RK4 integration in floating point (step errors")
    print("far below the digits shown) of the exact geodesic equations, for")
    print("finitely many cases. The 4M/b and 6 pi M/p laws are leading-order")
    print("theorems derived in the lesson; observations confirm the numbers.")

if __name__ == "__main__":
    main()
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

The third computes the curvature of the Schwarzschild metric symbolically: the Ricci tensor vanishes, and the Kretschmann scalar is 48M2/r648M^2/r^6 — finite at r=2Mr = 2M.

Schwarzschild: Ricci-flat, with finite curvature at r = 2MPythonSymbolic computationComputationally tested
"""The Schwarzschild metric is Ricci-flat, and r = 2M is not a singularity.

Using SymPy we compute, from the metric
ds^2 = -(1 - 2M/r) dt^2 + dr^2/(1 - 2M/r) + r^2 (dtheta^2 + sin^2 theta dphi^2),
its Christoffel symbols, the Riemann tensor, the Ricci tensor (which
vanishes: the metric solves Einstein's vacuum equations) and the Kretschmann
scalar R_abcd R^abcd = 48 M^2 / r^6. The scalar is finite at the Schwarzschild
radius r = 2M, where the metric components blow up, and infinite only at
r = 0: the first is a coordinate artefact, the second a true singularity.
"""

import sympy as sp

T, R, TH, PH, M = sp.symbols("t r theta phi M", positive=True)
COORDS = [T, R, TH, PH]

def schwarzschild_metric():
    """The diagonal Schwarzschild metric in coordinates (t, r, theta, phi)."""
    f = 1 - 2 * M / R
    return sp.diag(-f, 1 / f, R ** 2, R ** 2 * sp.sin(TH) ** 2)

def christoffel(g):
    """Gamma[a][b][c] = (1/2) g^ad (d_c g_db + d_b g_dc - d_d g_bc)."""
    ginv = g.inv()
    n = g.shape[0]
    return [[[sp.simplify(sum(ginv[a, d] * (sp.diff(g[d, b], COORDS[c])
                                             + sp.diff(g[d, c], COORDS[b])
                                             - sp.diff(g[b, c], COORDS[d]))
                              for d in range(n)) / 2)
              for c in range(n)] for b in range(n)] for a in range(n)]

def riemann(gam):
    """R^a_bcd for c < d, as a dictionary {(a, b, c, d): expression}."""
    n = len(gam)
    out = {}
    for a in range(n):
        for b in range(n):
            for c in range(n):
                for d in range(c + 1, n):
                    e = (sp.diff(gam[a][b][d], COORDS[c])
                         - sp.diff(gam[a][b][c], COORDS[d]))
                    e += sum(gam[a][c][k] * gam[k][b][d]
                             - gam[a][d][k] * gam[k][b][c] for k in range(n))
                    out[(a, b, c, d)] = sp.simplify(e)
    return out

def component(riem, a, b, c, d):
    """R^a_bcd for any c, d, using antisymmetry in the last two indices."""
    if c == d:
        return 0
    return riem[(a, b, c, d)] if c < d else -riem[(a, b, d, c)]

def ricci(riem, n=4):
    """R_bd = R^a_bad."""
    return sp.Matrix(n, n, lambda b, d: sp.simplify(
        sum(component(riem, a, b, a, d) for a in range(n))))

def kretschmann(g, riem):
    """R_abcd R^abcd for a diagonal metric."""
    ginv = g.inv()
    total = sum(2 * g[a, a] * ginv[b, b] * ginv[c, c] * ginv[d, d] * v ** 2
                for (a, b, c, d), v in riem.items())
    return sp.simplify(total)

def main():
    g = schwarzschild_metric()
    gam = christoffel(g)
    nonzero = sum(1 for a in range(4) for b in range(4) for c in range(4)
                  if gam[a][b][c] != 0)
    print("Schwarzschild metric diag(-(1-2M/r), 1/(1-2M/r), r^2, r^2 sin^2):")
    print(f"  non-zero Christoffel symbols: {nonzero} of 64")
    print("  Gamma^r_tt =", gam[1][0][0])
    print("  Gamma^t_tr =", gam[0][0][1])
    riem = riemann(gam)
    print("  R^t_rtr =", riem[(0, 1, 0, 1)])
    ric = ricci(riem)
    print("  Ricci tensor is the zero matrix:", ric == sp.zeros(4, 4))
    k = kretschmann(g, riem)
    print("  Kretschmann scalar R_abcd R^abcd =", k)
    print("  at r = 2M:", sp.simplify(k.subs(R, 2 * M)),
          "  (finite: no curvature singularity at the horizon)")
    print("  g_rr =", sp.together(g[1, 1]),
          "  (blows up at r = 2M: the coordinates fail there)")
    print("  as r -> 0:", sp.limit(k, R, 0), " (a genuine singularity)")
    print()
    print("Epistemic status: symbolic computation; it is as reliable as")
    print("SymPy's differentiation and simplification. The vanishing of the")
    print("Ricci tensor is the classical theorem (Schwarzschild 1916) and the")
    print("Kretschmann scalar is a standard textbook result.")

if __name__ == "__main__":
    main()
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

The exact computations confirm finitely many instances of theorems; the numerical integration is evidence for the perturbative formulas (whose derivations are above); the symbolic computation is as reliable as SymPy's simplifier.

Explore

Spacetime diagrams and effective potentials

A spacetime diagram (xx across, tt up, c=1c = 1). The light cone is gold; the hyperbolas are the events at proper time 11 and 22 from the origin. Move vv: the moving clock's worldline t=x/vt = x/v tilts towards the light cone, its ticks (the marked points) slide along the hyperbolas — so all observers agree on proper time — and its line of simultaneity t=vxt = vx tilts the other way.

Minkowski diagram: boosts slide events along hyperbolas

Move the sliders and trace along the curves to read off values.

τ = 1τ = 2
  • light cone
  • τ = 1
  • τ = 2
  • moving clock t = x/v
  • its 'now' t = vx
  • light cone: y = 1
  • τ = 1: y = 1.4142
  • τ = 2: y = 2.2361
  • moving clock t = x/v: y = 1.6667
  • its 'now' t = vx: y = 0.6

The Schwarzschild effective potential V(r)=(1−2M/r)(1+L2/r2)V(r) = (1 - 2M/r)(1 + L^2/r^2) with M=1M = 1, beside its Newtonian counterpart 1−2M/r+L2/r21 - 2M/r + L^2/r^2. For large LL the relativistic potential has a well (a stable orbit) and a barrier (an unstable one) that Newton lacks; lower LL towards 12≈3.46\sqrt{12} \approx 3.46 and watch them merge at the ISCO r=6r = 6. Below that, every infalling particle plunges.

Effective potentials: where orbits can live

Move the sliders and trace along the curves to read off values.

ISCO when L² = 12
  • Schwarzschild V(r)
  • Newtonian
  • Schwarzschild V(r): y = 0
  • Newtonian: y = 4

Curvature as the convergence of geodesics, on the sphere (an analogy: this is Riemannian, not Lorentzian, geometry): the angle sum of a geodesic triangle exceeds π\pi by curvature times area. In spacetime the same curvature appears as tidal acceleration between neighbouring free-fall paths.

Triangles on curved surfaces

Angle sum − π = curvature × area: a first glimpse of Gauss–Bonnet.

80.6°66.6°64.7°ABC

Drag a corner to move it; drag anywhere else to turn the sphere. The sides are arcs of great circles — the shortest paths on a sphere.

  • ∠A80.6°
  • ∠B66.6°
  • ∠C64.7°

∠A + ∠B + ∠C = 212.0°

Angle excess (sum − 180°)
32.0° = 0.558 rad
Area, measured numerically
0.558 R²
Share of the whole sphere (area ÷ 4πR²)
4.44 %

∠A + ∠B + ∠C − π = Area / R²On a sphere of radius R, the excess in radians equals the area divided by R². The area is computed separately, by numerical integration, so the match is a check rather than an assumption.

∠A + ∠B + ∠C − π = K · Area

Flat planeK = 0∠A+∠B+∠C = 180°
SphereK = 1/R²∠A+∠B+∠C > 180°
Hyperbolic planeK = −1∠A+∠B+∠C < 180°

This is a first glimpse of the Gauss–Bonnet theorem: for a triangle whose sides are geodesics (shortest paths), the angle sum minus π equals the total curvature inside it. Here the curvature K is the same everywhere; on other surfaces you add up (integrate) K over the area.

Exercises

Exercises

1. The geometry of spacetime: special and general relativity

Warm-upHuman

A probe travels from Earth to a star 1212 light-years away at speed v=1213v = \frac{12}{13} (units with c=1c = 1). How many years pass on the probe's clock during the trip?

2. The geometry of spacetime: special and general relativity

Warm-upHuman

Which separation vectors (Δt,Δx,Δy,Δz)(\Delta t, \Delta x, \Delta y, \Delta z) between two events are timelike (so that a massive particle could travel from one event to the other)? Use c=1c = 1. Select all that apply.

Choose all that apply

3. The geometry of spacetime: special and general relativity

CoreHuman

A spacecraft moves at 45c\frac45 c relative to Earth and fires a probe forward at 45c\frac45 c relative to itself. What is the probe's speed relative to Earth?

Choose one

4. The geometry of spacetime: special and general relativity

CoreHuman

The reverse triangle inequality τ(v)+τ(w)≤τ(v+w)\tau(v) + \tau(w) \le \tau(v + w) is stated for future-pointing causal vectors. Where does the proof use that both point to the future?

Choose one

5. The geometry of spacetime: special and general relativity

CoreHuman

Let q−pq - p be future timelike in Minkowski spacetime. Among future-directed causal curves from pp to qq, which statement about proper time is correct?

Choose one

6. The geometry of spacetime: special and general relativity

CoreHuman

Compute the Schwarzschild radius rs=2GM/c2r_s = 2GM/c^2 of the Sun, in kilometres, rounded to the nearest whole number. Use GM⊙=1.327×1020 m3 s−2GM_\odot = 1.327 \times 10^{20}\ \mathrm{m^3\,s^{-2}} and c=2.998×108 m s−1c = 2.998 \times 10^8\ \mathrm{m\,s^{-1}}.

7. The geometry of spacetime: special and general relativity

CoreHuman

Starlight grazing the Sun is deflected by 1.75′′1.75'' according to general relativity. Treating light as a Newtonian particle moving at speed cc (Soldner, 1801) gives a different value. Which?

Choose one

8. The geometry of spacetime: special and general relativity

CoreFormal

The lesson's Lean theorem twin_paradox has hypotheses h₁ : ‖x‖ ≤ t₁ and h₂ : ‖y‖ ≤ t₂ and conclusion √(t₁^2 - ‖x‖^2) + √(t₂^2 - ‖y‖^2) ≤ √((t₁ + t₂)^2 - ‖x + y‖^2). What would happen if both hypotheses were deleted?

Choose one

9. The geometry of spacetime: special and general relativity

StretchHuman

For light in the Schwarzschild metric (G=c=1G = c = 1), (drdλ)2=E2−L21−2M/rr2\big(\frac{dr}{d\lambda}\big)^2 = E^2 - L^2 \frac{1 - 2M/r}{r^2}, and the impact parameter is b=L/Eb = L/E. A ray from infinity is captured exactly when 1/b21/b^2 exceeds the maximum of (1−2M/r)/r2(1 - 2M/r)/r^2. Find the critical value of b2/M2b^2/M^2.

10. The geometry of spacetime: special and general relativity

CoreComputational

A polygonal worldline is given by a list of events (t, x, y, z) (with c=1c = 1). Write proper_time(events) returning the total proper time ∑kΔtk2−Δxk2−Δyk2−Δzk2\sum_k \sqrt{\Delta t_k^2 - \Delta x_k^2 - \Delta y_k^2 - \Delta z_k^2}, and raising ValueError if some step is not future-pointing causal (Δtk≤0\Delta t_k \le 0 or Δsk2>0\Delta s_k^2 > 0).

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.
Common misconceptionsH

Common misconceptions

Misconception

"Relativity says that everything is relative." The central objects are absolute: the spacetime interval between two events, the proper time along a worldline, the speed of light and the causal order of timelike-related events are the same for all inertial observers (indeed, for all observers, in general relativity). What depends on the observer is the split of spacetime into space and time — simultaneity, lengths and durations — just as the split of the plane into "across" and "up" depends on the axes.

Misconception

"The Schwarzschild radius is a physical singularity." At r=2Mr = 2M the coordinate expression of the metric breaks down, but curvature invariants such as RαβγδRαβγδ=48M2/r6R_{\alpha\beta\gamma\delta}R^{\alpha\beta\gamma\delta} = 48M^2/r^6 are finite, and in Eddington–Finkelstein coordinates the metric is smooth there. A freely falling observer crosses the horizon in finite proper time and, for a large black hole, notices nothing locally special. The genuine singularity is at r=0r = 0.

Misconception

"The twin paradox needs general relativity, or the acceleration explains it." The ages are computed by integrating proper time along the two worldlines in flat spacetime; the straight one is longer by the reverse triangle inequality. Acceleration marks which worldline is bent, but the age difference grows with the length of the coasting legs, not with the brief turnaround.

Misconception

"Free fall follows the shortest path." Timelike geodesics are longest (locally maximal proper time), not shortest; there is no shortest timelike path at all, since nearly lightlike zigzags have arbitrarily small proper time. And in the curved spacetime around the Earth the geodesic of a thrown ball is a parabola in space — "straight" in spacetime, not in space.

Misconception

"Gravity is just a force that general relativity describes more accurately." In general relativity there is no gravitational force: freely falling bodies are unaccelerated (their accelerometers read zero), and what we call the force of gravity on the ground is the floor pushing us off our geodesic. The genuinely gravitational effect is tidal: curvature, felt as relative acceleration of neighbouring geodesics.

ViewpointsH

Many ways of seeing

Geometry— Klein's programme and the celestial sphere

In Klein's Erlangen programme a geometry is a space with a group of symmetries, and special relativity is the geometry of the Poincaré group acting on Minkowski space, just as Euclidean geometry is that of the Euclidean group. Its subgroup fixing a point, SO+(1,3)SO^+(1, 3), acts on the set of light rays through that point — the celestial sphere an observer sees — and it acts there by conformal maps: SO+(1,3)≅PSL(2,C)SO^+(1, 3) \cong PSL(2, \C), the Möbius group of the Riemann sphere. So the night sky seen by a moving observer is a Möbius transformation of the sky seen at rest: circles go to circles, and a relativistically moving sphere still looks circular (Penrose; Terrell, 1959). In general relativity, Riemann's idea that geometry is determined by a metric, and Levi-Civita's parallel transport, become physics; see Riemannian geometry and transformation geometry.

Topology— Causal structure and the singularity theorems

Much of relativity is topology of the causal relation. A spacetime is globally hyperbolic if it has no closed causal curves and the causal diamonds J+(p)∩J−(q)J^+(p) \cap J^-(q) are compact; Geroch (1970) proved that it is then homeomorphic to R×Σ\R \times \Sigma for a Cauchy surface Σ\Sigma (diffeomorphic, by Bernal and Sánchez, 2003). Penrose's singularity theorem (1965) is a compactness argument: if a globally hyperbolic spacetime with a non-compact Cauchy surface satisfies the null energy condition Rμνkμkν≥0R_{\mu\nu}k^\mu k^\nu \ge 0 and contains a trapped surface, then it is null geodesically incomplete — some light ray ends after finite affine parameter. Raychaudhuri's equation (1955), describing the focusing of geodesic congruences, supplies the geometric input. Hawking (1972) showed that the cross-sections of a stationary black-hole horizon in four dimensions are spheres. See differential topology.

Analysis— Einstein's equations as a hyperbolic PDE

In harmonic (wave) coordinates, where □gxμ=0\square_g x^\mu = 0, the vacuum equations become a quasilinear system of wave equations gαβ∂α∂βgμν=Qμν(g,∂g)g^{\alpha\beta}\partial_\alpha\partial_\beta g_{\mu\nu} = Q_{\mu\nu}(g, \partial g). Choquet-Bruhat (1952) used this to prove that the Cauchy problem is locally well posed: initial data on a spacelike hypersurface (satisfying the constraint equations) determine a unique maximal globally hyperbolic development (Choquet-Bruhat and Geroch, 1969). Christodoulou and Klainerman (1993) proved the nonlinear stability of Minkowski space: small perturbations disperse. The positive mass theorem of Schoen and Yau (1979), reproved with spinors by Witten (1981), says that the total (ADM) mass of an asymptotically flat spacetime with non-negative energy density is non-negative, and zero only for Minkowski space — a theorem of geometric analysis with a direct physical meaning. See geometric analysis and PDE theory.

Algebra— Lie algebras, spinors and particles

The Lie algebra of the Lorentz group is so(1,3)\mathfrak{so}(1, 3), spanned by three rotation generators JiJ_i and three boost generators KiK_i with [Ji,Jj]=ϵijkJk[J_i, J_j] = \epsilon_{ijk}J_k, [Ji,Kj]=ϵijkKk[J_i, K_j] = \epsilon_{ijk}K_k, [Ki,Kj]=−ϵijkJk[K_i, K_j] = -\epsilon_{ijk}J_k — boosts do not close among themselves, and two non-collinear boosts compose to a boost times a rotation (Thomas precession). As a real Lie algebra so(1,3)≅sl(2,C)\mathfrak{so}(1, 3) \cong \mathfrak{sl}(2, \C), and the double cover SL(2,C)→SO+(1,3)SL(2, \C) \to SO^+(1, 3) is the source of spinors: Dirac's electron is a representation of SL(2,C)SL(2, \C) that is not one of the Lorentz group. Wigner (1939) classified elementary particles as irreducible unitary representations of the Poincaré group, labelled by mass and spin (or helicity, for massless particles). General relativity and the gauge theories of particle physics are both theories of connections and their curvature — on the tangent bundle, with structure group SO+(1,3)SO^+(1, 3), and on principal bundles with groups such as U(1)U(1) and SU(3)SU(3). See Lie groups, representation theory and gauge theory.

Physics— The equivalence principle and its tests

The equivalence principle is an experimental fact turned into geometry: inertial and gravitational mass agree, so all bodies fall alike, so free fall can be the geometry rather than a force. Torsion balances (Eötvös, from about 1890) and the MICROSCOPE satellite (2016–2018) confirm universality of free fall to about one part in 101510^{15}. Its first new prediction, the gravitational redshift — clocks lower in a gravitational potential run slower by ΔΦ/c2\Delta\Phi/c^2 — was measured with gamma rays in a 22.5-metre tower by Pound and Rebka (1959) and is built into GPS. The rest of general relativity is tested by light bending, the Shapiro time delay of radar echoes (1964 onwards), binary pulsars losing energy to gravitational waves (Hulse and Taylor, 1974 onwards) and direct detection by LIGO. These are confirmations, not proofs: the theory's mathematical content is the geometry, and its physical content is that nature appears to obey it.

Wonder Trails

Wonder Trails

History & global context

History and context

  • Galileo Galilei (Dialogue, 1632) stated the principle of relativity with a ship in uniform motion; James Clerk Maxwell (1865) found the speed of light in his equations; Albert Michelson and Edward Morley (1887) failed to detect the ether. George FitzGerald (1889) and Hendrik Lorentz (1892, 1904) introduced contraction and the transformations; Henri Poincaré (1905) showed they form a group and named it after Lorentz.
  • Albert Einstein (1905) derived the transformations from the relativity principle and the constancy of cc; Hermann Minkowski (1908) gave the geometry of spacetime. Gregorio Ricci-Curbastro and Tullio Levi-Civita (1900) had developed the tensor calculus that general relativity needed, and Marcel Grossmann taught it to Einstein (1912–1913).
  • Einstein formulated the equivalence principle (1907) and, after years of work, the field equations (November 1915); David Hilbert found the action principle the same month. Karl Schwarzschild (1916) found the exact solution while serving on the Russian front. Arthur Eddington and Frank Dyson organised the 1919 eclipse expeditions to Príncipe and to Sobral, Brazil.
  • Alexander Friedmann (1922) and Georges Lemaître (1927) found expanding cosmologies, before Edwin Hubble's observations (1929). Subrahmanyan Chandrasekhar (1930s) showed that white dwarfs have a maximum mass, pointing to gravitational collapse; Amal Kumar Raychaudhuri (1955) found the focusing equation; Yvonne Choquet-Bruhat (1952) proved well-posedness of the field equations; Roy Kerr (1963) found the rotating black hole; Roger Penrose (1965) and Stephen Hawking proved the singularity theorems (Nobel Prize 2020 to Penrose).
  • LIGO detected gravitational waves from merging black holes on 14 September 2015, and the Event Horizon Telescope imaged the shadow of the black hole in the galaxy M87 in 2019.
Further reading

Further reading

  • Bernard F. Schutz, A First Course in General Relativity (2nd ed., 2009) — the gentlest complete introduction, from special relativity to black holes and cosmology.
  • Sean M. Carroll, Spacetime and Geometry: An Introduction to General Relativity (2004) — the standard modern graduate course.
  • Robert M. Wald, General Relativity (1984) — rigorous and coordinate-free, with causal structure and the singularity theorems.
  • Barrett O'Neill, Semi-Riemannian Geometry with Applications to Relativity (1983) — the mathematician's account of Lorentzian geometry.
  • Stephen W. Hawking and George F. R. Ellis, The Large Scale Structure of Space-Time (1973) — causal structure and singularities.
  • Edwin F. Taylor and John Archibald Wheeler, Spacetime Physics (2nd ed., 1992) — special relativity as geometry, with many worked examples.