Differential Geometry

Geodesics: The Straightest Possible Paths on a Curved Surface

Fly from New York to Madrid — same latitude, both about 40°N — and your plane will arc north over the ocean toward Greenland rather than tracking due east. That curve isn't a mistake; it's a geodesic, the honest shortest path on a sphere. A geodesic is what "straight line" becomes when the ground itself is curved: a curve whose acceleration has no component tangent to the surface, so it never turns left or right of its own accord.

Precisely, on a Riemannian manifold (M, g) a geodesic is a curve γ satisfying ∇γ′γ′ = 0 — its velocity is parallel-transported along itself. Equivalently, in coordinates, γ obeys the geodesic equation γ̈ᵏ + Γᵏij γ̇ⁱ γ̇ʲ = 0. Such curves are locally length-minimizing, and by the Hopf–Rinow theorem, on a complete manifold any two points are joined by a length-minimizing geodesic.

  • FieldDifferential geometry (Riemannian geometry)
  • DefinitionCurve with ∇_γ′ γ′ = 0 (zero geodesic curvature)
  • Local equationγ̈ᵏ + Γᵏᵢⱼ γ̇ⁱ γ̇ʲ = 0
  • Key theoremHopf–Rinow (1931): complete ⟹ geodesically complete ⟹ any two points joined by a minimizing geodesic
  • Variational originCritical points of the energy/length functional (Euler–Lagrange)
  • GeneralizesStraight lines in ℝⁿ; great circles on Sⁿ

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

The precise statement: two equivalent definitions

Fix a Riemannian manifold (M, g) with its unique Levi-Civita connection ∇ — the connection that is torsion-free and preserves the metric. A smooth curve γ: I → M is a geodesic if its velocity is parallel along it:

  • Connection form:γ′ γ′ = 0. The intrinsic acceleration vanishes.
  • Coordinate form: in local coordinates (x¹,…,xⁿ), writing γ(t) = (x¹(t),…,xⁿ(t)),
    ẍᵏ + Γᵏij ẋⁱ ẋʲ = 0, for k = 1,…,n,
    summing over repeated indices i, j (Einstein convention). The Γᵏij are the Christoffel symbols ½ gᵏˡ(∂ᵢgjl + ∂ⱼgil − ∂ₗgij).

This is a second-order ODE, quadratic in velocity. Note a subtlety of terminology: a geodesic is parametrized at constant speed (|γ′| is automatically constant because ∇ preserves g). A curve that merely traces a geodesic's image but with varying speed is a pregeodesic and satisfies ∇γ′γ′ = f(t) γ′ instead.

The picture: no self-turning, ants that never steer

Imagine an ant walking on a surface, forbidden to turn its own body — it may only go 'straight ahead,' letting the surface bend under it. The path it traces is a geodesic. The full acceleration vector of the curve may be large (a great circle on a sphere is genuinely curving in ℝ³), but all of that acceleration points normal to the surface; the component tangent to the surface — the part the ant could feel as a steer left or right — is zero. That tangential part is the geodesic curvature κg, and geodesics are exactly the curves with κg ≡ 0.

A second picture: parallel transport. Slide the velocity vector along the curve keeping it 'as parallel as the geometry allows.' A geodesic is a curve that transports its own velocity onto itself — it is self-parallel. This is why geodesics are the natural notion of 'unaccelerated' motion, and why in general relativity free-falling particles trace geodesics of spacetime.

The mechanism: variation of energy and the exponential map

Where does the geodesic equation come from? From a variational principle. Define the energy of a curve E(γ) = ½ ∫ₐᵇ g(γ′, γ′) dt. Take a variation γs with fixed endpoints and differentiate. The first variation formula gives
(d/ds)|₀ E(γs) = − ∫ₐᵇ g(V, ∇γ′γ′) dt,
where V is the variation field. This vanishes for all V iff ∇γ′γ′ = 0. So geodesics are precisely the critical points of energy — the Euler–Lagrange equation of the length/energy functional.

Existence and uniqueness are then pure ODE theory: given a point p and a velocity v ∈ TpM, Picard–Lindelöf yields a unique geodesic γv with γv(0) = p, γv′(0) = v, at least for small time. Collecting these defines the exponential map expp(v) = γv(1), a diffeomorphism from a neighborhood of 0 ∈ TpM onto a neighborhood of p. It converts the linear space TpM into the curved manifold, and is the engine behind normal coordinates and the local minimizing property (via the Gauss lemma).

Worked example: great circles on the sphere

Take the unit sphere S² with coordinates (θ, φ), θ = colatitude, φ = longitude, and metric ds² = dθ² + sin²θ dφ². The nonzero Christoffel symbols are Γθφφ = −sinθ cosθ and Γφθφ = Γφφθ = cotθ. The geodesic equations become:

  • θ̈ − sinθ cosθ φ̇² = 0,
  • φ̈ + 2 cotθ θ̇ φ̇ = 0.

Try the equator θ ≡ π/2, φ = t. Then θ̇ = θ̈ = 0 and cotθ = 0, so both equations are satisfied identically — the equator is a geodesic. By the rotational symmetry of the sphere (isometries carry geodesics to geodesics), every great circle is a geodesic. And conversely: solving the system, one finds every geodesic lies in a plane through the origin, i.e. is a great circle. New York (≈40.7°N) to Madrid (≈40.4°N) both sit near the same latitude, yet the great-circle route bows north — the flat map lies, the geodesic tells the truth.

Why completeness matters: Hopf–Rinow and its failure

Local existence is cheap; global minimization is not, and this is where hypotheses bite. The Hopf–Rinow theorem (Heinz Hopf and Willi Rinow, 1931) says: for a connected Riemannian manifold M, the following are equivalent — (i) M is complete as a metric space; (ii) M is geodesically complete (every geodesic extends to all of ℝ); (iii) closed bounded sets are compact. And any of these implies the punchline: every pair of points is joined by a minimizing geodesic.

Drop completeness and the conclusion fails cleanly. Take the punctured plane ℝ² ∖ {0}. The points (−1, 0) and (1, 0) 'want' to be connected by the segment through the origin — but the origin is gone. No geodesic (straight segment) realizes the infimum distance 2; every admissible path detours and is strictly longer. So the distance is achieved by no geodesic. This is not pathology — an open ball, or any manifold with a puncture or edge, behaves the same way. Completeness is exactly the hypothesis that rules out 'running off the edge in finite length.'

Significance: what geodesics unlock

Geodesics are the connective tissue of geometry and physics.

  • General relativity: Einstein's equivalence principle says free-falling bodies follow geodesics of curved spacetime; planetary orbits and light-bending are geodesic phenomena. The famous timelike/null geodesics replace Newton's straight-line inertia.
  • Curvature and comparison: how nearby geodesics spread or focus is governed by the Jacobi equation J″ + R(J, γ′)γ′ = 0; positive curvature makes them reconverge (conjugate points), driving Bonnet–Myers, Rauch, and Toponogov comparison theorems and the whole sphere-theorem industry.
  • Topology: closed geodesics detect the fundamental group; the Cartan–Hadamard theorem shows a complete simply-connected manifold of nonpositive curvature is diffeomorphic to ℝⁿ via expp.
  • Applied: shortest air/sea routes, optimal control, geodesic domes, shape analysis, and manifold learning where 'geodesic distance' captures intrinsic structure a straight-line distance misses.
Geodesics as 'straight lines' across geometries: what plays the role of a line, and how it behaves.
SpaceGeodesics areTwo points joined by a minimizer?Behavior of nearby geodesics
Euclidean ℝⁿ (flat)Straight linesYes, uniqueStay parallel — separation grows linearly
Sphere S² (curvature +1)Great circlesYes, but not unique (antipodes: ∞ many)Converge and refocus (conjugate points)
Hyperbolic plane ℍ² (curvature −1)Diameters & circular arcs ⊥ boundaryYes, uniqueDiverge exponentially
Flat cylinderHelices, circles, vertical linesNot always unique (wrap-around)Parallel locally; global self-intersections
Punctured plane ℝ²∖{0}Straight lines missing the originNo — path through 0 has no minimizerIncomplete: geodesics run off to the hole

Frequently asked questions

Are geodesics always the shortest path between two points?

No — only locally. Geodesics are always locally length-minimizing (short enough arcs are the shortest), but globally they can fail to minimize. On a sphere, the long way around a great circle is a geodesic but not the shortest route. Beyond a conjugate point or the cut locus, a geodesic stops being minimizing even though it still solves ∇_γ′ γ′ = 0.

Why is completeness needed in Hopf–Rinow?

Without completeness, a manifold can have 'missing points' or edges that a minimizing path would need to pass through. On the punctured plane ℝ² ∖ {0}, the points (−1,0) and (1,0) have distance 2, but no geodesic achieves it because the straight segment would run through the deleted origin. Completeness precisely forbids finite-length geodesics from escaping the manifold.

What is the difference between a geodesic and a shortest path (minimizing curve)?

Every smooth minimizing curve, once reparametrized by arc length, is a geodesic — minimizers solve the Euler–Lagrange equation. But not every geodesic minimizes globally. So 'geodesic' is the differential/local notion (zero acceleration) and 'minimizer' is the global metric notion; they coincide locally and diverge in the large, as antipodal great-circle arcs show.

Do geodesics exist and are they unique?

Locally, yes and yes: given a point p and initial velocity v ∈ T_pM, Picard–Lindelöf applied to the geodesic ODE gives a unique geodesic with that initial data, defined for small time. Uniqueness of the geodesic between two points is a different question — it can fail (antipodal points on a sphere are joined by infinitely many geodesics), and holds within a convex normal neighborhood.

Why does the geodesic equation use the Levi-Civita connection specifically?

The geodesic equation ∇_γ′ γ′ = 0 needs a connection to make sense of 'acceleration.' The Levi-Civita connection is singled out as the unique connection that is metric-compatible (parallel transport preserves lengths and angles) and torsion-free (Γᵏᵢⱼ symmetric in i, j). Metric-compatibility is what makes geodesics constant-speed and length-critical; torsion-freeness makes them the Euler–Lagrange curves of energy.

How do geodesics relate to curvature?

Curvature is encoded in how neighboring geodesics separate. The Jacobi field J along a geodesic satisfies J″ + R(J, γ′)γ′ = 0, so positive sectional curvature pulls geodesics back together (they focus at conjugate points) while negative curvature pushes them apart exponentially. This is the analytic heart of comparison geometry — Bonnet–Myers bounds diameter under positive Ricci curvature, and Cartan–Hadamard uses nonpositive curvature to make exp_p a covering map.