Skip to content
Tutorials Center
My learning

Topics

Lesson 30 of 38 · Equivalence Principle and Curved Spacetime

Curved Spacetime and Geodesics

Learn what a metric is, how geodesics generalize straight lines, how to integrate the geodesic equation on a sphere, and why free fall follows a geodesic of spacetime.

The equivalence principle tells us gravity cannot be removed over large regions, yet locally it vanishes in free fall. Such a property belongs to curvature. On a sphere you can draw a patch around a point that looks flat, but you cannot flatten the entire sphere without distortion. Einstein's idea was to describe gravity as the curvature of four-dimensional spacetime, and free-fall motion as the straightest possible path in it: a geodesic.

This lesson builds the mathematics step by step, using a sphere as the working example. The same tools are then used for the Schwarzschild spacetime.

The metric

A metric tells you how to measure distances or intervals from coordinates. In flat space with coordinates (x, y), ds² = dx² + dy². In polar coordinates the same plane has ds² = dr² + r² dφ²: the coordinates changed but the geometry did not.

In special relativity, ds² = -c²dt² + dx² + dy² + dz² is the metric of flat spacetime (the Minkowski metric). In general relativity, we write

ds² = g_μν dx^μ dx^ν

where g_μν is the metric tensor, a symmetric 4 × 4 array of functions of position, and repeated indices are summed. Given the metric, we can compute the proper time along any worldline, the length of any path and the angles between directions.

A surface example. The surface of a sphere of radius R, using colatitude θ (measured from the north pole) and longitude φ, has

ds² = R² dθ² + R² sin²θ dφ²

No change of coordinates can make this equal to dx² + dy² everywhere. That is what it means for the sphere to be curved.

Geodesics

A geodesic is a curve that is "as straight as possible" in a curved geometry: you carry your direction along without turning. On a sphere the geodesics are great circles, such as the equator and the meridians. In spacetime:

  • Free particles (and test masses falling in gravity) follow timelike geodesics.
  • Light follows null geodesics (ds² = 0).

Written in coordinates, a geodesic with affine parameter λ (proper time τ for a massive particle) obeys

d²x^μ/dλ² + Γ^μ_αβ (dx^α/dλ)(dx^β/dλ) = 0

The Christoffel symbols Γ^μ_αβ are computed from derivatives of the metric. They describe how the coordinate basis changes from point to point. If the metric is constant, all Γ = 0 and geodesics are straight lines. Notice that Γ is not a tensor: you can make it vanish at one point by choosing local free-fall coordinates, which is the equivalence principle in mathematical form.

For the sphere, the only non-zero symbols are Γ^θ_φφ = -sin θ cos θ and Γ^φ_θφ = Γ^φ_φθ = cot θ, so the geodesic equations are

θ'' = sin θ cos θ φ'² and φ'' = -2 cot θ θ' φ'

(primes are derivatives with respect to λ).

Python Integrate a geodesic on a sphere

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Both printed numbers should be tiny (limited by numerical precision). The solution of the geodesic equation is a great circle, as geometry demands.

Curvature shows in triangles

On a flat plane, the angles of a triangle add to 180°. On a sphere they add to more. Take the triangle with one vertex at the north pole and two on the equator, 90° of longitude apart. All three angles are 90°, so their sum is 270°. This angle excess of 90° (π/2 radians) equals the triangle's area divided by R² (Girard's theorem). That triangle is one eighth of the sphere, with area 4πR²/8 = πR²/2, and indeed (πR²/2)/R² = π/2.

Python Angle excess equals area / R²

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The same kind of angle deficit and excess occurs in spacetime, where it is measured by the Riemann curvature tensor. Gravity shows itself as tidal effects: nearby geodesics drift together or apart (geodesic deviation), just as two meridians start parallel at the equator and meet at the pole.

Free fall maximizes proper time

For timelike paths between two events, a straight (geodesic) path in flat spacetime has the longest proper time. The twin who stays at home ages more than the twin who travels. Curving a path, which requires acceleration, reduces proper time. In curved spacetime the same principle holds locally: free fall is the path of extremal (maximal) proper time.

Python The straight path wins

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The straight path gives the maximum, 10. Any detour with speeds below c gives less.

On a sphere, a great circle is the shortest path between two nearby points; in spacetime, a geodesic is the longest in proper time. The minus sign in -c²dt² is the reason. Either way, geodesics are paths of extremal length.

What the curvature is made of

Matter and energy determine the metric tensor g_μν through Einstein's field equations (next lesson). Even where there is no matter, the metric can be curved: the empty space outside a star and a passing gravitational wave are both described by a non-flat g_μν.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is a geodesic?

    A geodesic is a curve whose tangent is carried along itself with no turning. Free-falling bodies follow timelike geodesics and light follows null geodesics.
  2. 2. On the surface of a sphere, geodesics are:

    Great circles, whose planes pass through the center of the sphere, are the straightest paths on a sphere. Lines of latitude (except the equator) are not geodesics.
  3. 3. A triangle on a sphere with three 90° angles has an angle sum of:

    The sum is 270°, an excess of 90° over the flat value, equal to the area divided by R² in radians.
  4. 4. Among all timelike paths between two events in flat spacetime, the straight one has:

    Because ds² has a minus sign for time, a straight timelike path maximizes the proper time. That is why the twin who travels ages less.

Summary

  • A metric ds² = g_μν dx^μ dx^ν determines distances, intervals and angles; curvature cannot be removed by changing coordinates.
  • Geodesics satisfy d²x^μ/dλ² + Γ^μ_αβ (dx^α/dλ)(dx^β/dλ) = 0; on a sphere they are great circles.
  • Free particles follow timelike geodesics, light follows null geodesics, and free fall maximizes proper time.
  • Curvature appears as angle excess in triangles and as geodesic deviation (tidal effects).
  • General relativity replaces "gravitational force" by the geometry that g_μν describes.

Next: Einstein's Equations and the Weak-Field Limit