Riemannian Metrics and Geodesics

A Riemannian metric is a smoothly varying inner product on the tangent spaces of a manifold, and geodesics are its locally length-minimizing curves — the manifold's intrinsic notion of "straight lines." Key result: geodesics satisfy a second-order ODE (the geodesic equation) determined by the Christoffel symbols of the metric, and they are exactly the critical points of the energy/length functional. Applies wherever curved spaces appear: general relativity, geometric optics, optimization on manifolds, shape analysis, and pure differential geometry. Introduced by Bernhard Riemann (1854) and developed by Christoffel, Ricci, Levi-Civita, and Cartan.

A Riemannian metric on a smooth manifold assigns to each point a positive-definite symmetric bilinear form on the tangent space , varying smoothly with . This single structure lets one measure lengths of curves, angles between vectors, volumes of regions, and ultimately curvature — turning bare topology into geometry. Geodesics are the curves that locally minimize length (equivalently, that have zero covariant acceleration), generalizing straight lines to curved spaces. The surprising fact: although the metric is purely local data, it rigidly determines global phenomena — through the Hopf–Rinow theorem, geodesic completeness, conjugate points, and the way curvature forces geodesics to focus or spread. Riemannian geometry is the mathematical backbone of Einstein's general relativity and modern geometric analysis.

The Core Insight

Give each tangent space an inner product, and all of metric geometry follows: lengths via integration of speed, distance via infimum over paths, "straight lines" via the variational principle, and curvature via how nearby geodesics fail to stay parallel. The metric is the only input; the Levi-Civita connection, geodesics, and curvature are uniquely forced by compatibility and symmetry.

Formal Statement

Riemannian Metric

Let be a smooth -dimensional manifold. A Riemannian metric is a smooth -tensor field such that each is symmetric and positive-definite. In local coordinates with coordinate basis , the metric is encoded by the component matrix :

1
⟳Evaluate the bilinear form on coordinate basis vectors; symmetry of gives , positive-definiteness gives for .

The pair is a Riemannian manifold. The squared norm and inner product of tangent vectors at are

2
⟳Expand , , apply bilinearity of , and use .

Length, Energy, and Riemannian Distance

For a piecewise-smooth curve , define its length and energy:

3
⟳ integrates instantaneous speed ; uses the squared integrand, which is smoother and reparametrization-sensitive.

The Riemannian distance between is the infimum of lengths over connecting curves:

4
⟳Length is reparametrization-invariant, so the infimum is well-defined; is a metric space whose topology equals the manifold topology.

Levi-Civita Connection and Christoffel Symbols

There is a unique affine connection that is torsion-free () and metric-compatible (): the Levi-Civita connection. Its Christoffel symbols in coordinates are

5
⟳Impose on cyclic permutations of indices , subtract one equation from the sum of the other two, and use (torsion-free) to solve; is the inverse metric.

where denotes the inverse matrix, .

Geodesic Equation

A curve is a geodesic (zero covariant acceleration, ) iff its components satisfy

6
⟳Write using and the chain rule for .

Geodesics are precisely the critical points of the energy functional , and (after arclength reparametrization) the locally length-minimizing curves. They have constant speed: is conserved along .

Why It Holds / Derivation

Geodesics from the Energy Functional

We show that critical points of satisfy the geodesic equation, justifying the second-order ODE intrinsically.

Step 1 — Variation setup. Let be a smooth one-parameter family with fixed endpoints, , variation field vanishing at . The energy is
7
⟳Substitute the family into the energy integral [3]; differentiation in will produce the first variation.
Step 2 — Differentiate in . Using and :
8
⟳Apply the product rule under the integral; the first term comes from varying the metric components, the second from varying velocity.
Step 3 — Integrate by parts. On the second term, (boundary terms vanish since ). Relabel indices and collect coefficients of :
9
⟳Expand , then symmetrize in .
Step 4 — Fundamental lemma. Since is arbitrary, the bracket must vanish. Multiply by and symmetrize to recover the Christoffel symbols:
10
⟳Use symmetry to replace by , then apply definition [5].
Constant speed. Differentiate and substitute [6]; metric compatibility forces .

Bernhard Riemann | 1826–1866

In his 1854 Göttingen habilitation lecture Über die Hypothesen, welche der Geometrie zu Grunde liegen ("On the Hypotheses which lie at the Foundations of Geometry"), delivered before an audience including Gauss, Riemann introduced the concept of an -dimensional manifold equipped with a positive-definite quadratic form measuring infinitesimal length — what we now call a Riemannian metric. He proposed that the geometry of physical space is an empirical question determined by its curvature, anticipating general relativity by six decades. Riemann gave the curvature in terms of the metric and treated geodesics as the analog of straight lines, though the explicit machinery (Christoffel symbols, covariant differentiation, the tensor calculus) was supplied later by Christoffel (1869), Ricci-Curbastro, and Levi-Civita (1900).

Building Intuition

Imagine an ant living on a curved surface that cannot see the ambient space — it has access only to a ruler (the metric) measuring distances within the surface. To walk "as straight as possible," the ant minimizes turning: at each instant it never veers left or right intrinsically. That is exactly — the acceleration has no component tangent to the surface; any acceleration is purely the unavoidable bending needed to stay on the surface. The Christoffel symbols are the "correction terms" that tell the ant how the coordinate grid itself curves, so that subtracting them isolates true geometric acceleration. On a sphere, great circles are geodesics; on a flat plane, ordinary straight lines. Curvature reveals itself when you release two ants walking parallel from a baseline: on a sphere they converge (positive curvature), on a saddle they diverge (negative curvature). Geodesics minimize length only locally — over long distances a great circle path is beaten by going the other way around.

Geodesics on a sphere: two great-circle arcs from p; the shorter one is the minimizer. Parallel geodesics converge under positive curvature.

p q short arc long arc converge Geodesics = locally shortest; globally one of two arcs wins.

Worked Examples

Geodesics on the 2-Sphere of Radius R

Given. The round sphere in spherical coordinates , colatitude , longitude . The induced metric is
11
⟳Embed via and pull back the Euclidean metric.
Step 1 — Christoffel symbols. With , the nonzero symbols are
12
⟳Apply [5]; only is nonzero, giving these two via , .
Step 2 — Geodesic equations.
13
⟳Substitute [12] into [6] for and .
Step 3 — Solve along the equator. Try : then and the first equation reads , automatically satisfied; the second gives , so . This is a great circle traversed at constant angular speed. By rotational symmetry, every great circle is a geodesic. Step 4 — Distance from p to q. For subtending central angle ,
Numbers. For Earth (), the great-circle distance between two points apart is .

Geodesics in the Hyperbolic Upper Half-Plane

Given. The Poincaré upper half-plane with metric
14
⟳This is the unique (up to scale) complete metric of constant curvature on the half-plane; conformal to the Euclidean metric with factor .
Step 1 — Christoffel symbols. With , :
15
⟳Apply [5] with ; only -derivatives are nonzero.
Step 2 — Geodesic equations.
16
⟳Substitute [15] into [6].
Step 3 — Identify the curves. Vertical lines solve the system (, and ). The other geodesics are semicircles centered on the -axis: . One checks the first integral const (a conserved momentum), which combined with constant speed yields these circles. Step 4 — Hyperbolic distance. For two points on a common vertical line , heights ,
Numbers. From to : . Note the Euclidean separation is , but hyperbolic distance compresses heights logarithmically.

Common Misconceptions

"Geodesics are always the shortest paths." False globally. Geodesics are only locally length-minimizing. Past a conjugate point or cut point, a geodesic ceases to minimize: on the sphere, a great-circle arc longer than is no longer the shortest path between its endpoints. Geodesics are critical points of energy, not necessarily minima. "The metric determines distances, so it must be the Euclidean dot product in some coordinates." False in general. A metric can be brought to the identity at a single point (orthonormal frame) and even to "flat to second order" (normal coordinates), but it can be flattened in a whole neighborhood iff the Riemann curvature tensor vanishes there. "Energy and length minimizers are the same." They give the same images but length is reparametrization-invariant while energy is not — energy minimizers are automatically constant-speed (affinely parametrized) geodesics, whereas length minimizers can be parametrized arbitrarily. This is why one usually varies , not . Incompleteness wrecks existence of minimizers. Take the punctured plane with the flat Euclidean metric. The points and have (the infimum), but the straight segment realizing it passes through the missing origin. No geodesic of length 2 exists in ; minimizing sequences leave every compact set. This shows the Hopf–Rinow hypothesis (geodesic or metric completeness) is essential: on a complete Riemannian manifold any two points are joined by a minimizing geodesic, but completeness cannot be dropped.

Connections

Riemannian metrics sit at the crossroads of several theories. The metric uniquely determines the Levi-Civita Connection, from which the Riemann Curvature Tensor is built; curvature in turn governs geodesic behavior via the Jacobi Equation and conjugate points. The variational viewpoint links geodesics to Calculus of Variations and the Euler–Lagrange formalism, and the energy functional connects to Morse Theory (geodesics as critical points of on the path space, with index = number of conjugate points). The distance function makes a Metric Space, bridging to metric geometry and Gromov–Hausdorff Convergence. In physics, the Lorentzian analog underlies General Relativity, where geodesics are the worldlines of free-falling particles. Optimization on the manifold of positive-definite matrices, on Lie groups, and on Stiefel/Grassmann manifolds all use Riemannian Optimization built on this same machinery.

Real-World Applications

  1. General Relativity (Einstein, 1915). Spacetime is a Lorentzian 4-manifold; freely falling bodies and light rays follow geodesics of the metric . GPS satellites must correct for the resulting time dilation (~38 µs/day) or positions would drift kilometers daily.
  2. Geometric Optics / Fermat's Principle. Light in a medium of refractive index follows geodesics of the conformal metric ; this explains mirages and gradient-index lenses.
  3. Robotics & Path Planning. Configuration spaces of robots are manifolds; shortest collision-free motions are geodesics in suitably penalized metrics, used in motion planning and minimum-energy trajectories.
  4. Medical Imaging (DTI). Diffusion tensor MRI encodes water diffusion as a metric in each voxel; tractography traces neural fibers as geodesics through the brain's white matter.
  5. Machine Learning / Information Geometry. The Fisher information metric makes a statistical model a Riemannian manifold; natural gradient descent follows geodesic-aware directions, and geodesic distances quantify model separation.
  6. Computer Graphics & Shape Analysis. Geodesic distances on triangulated surfaces (heat method, fast marching) drive texture mapping, mesh parameterization, and shape correspondence.
  7. Riemannian Optimization. Algorithms on manifolds of orthogonal matrices, SPD matrices, and low-rank factorizations use geodesics (or retractions approximating them) for problems in PCA, dictionary learning, and quantum control.

Historical Development

  • 1827 — Gauss, Disquisitiones generales circa superficies curvas. Introduces the first fundamental form (metric of a surface) and proves the Theorema Egregium: Gaussian curvature is intrinsic, computable from the metric alone.
  • 1854 — Riemann, habilitation lecture at Göttingen. Defines -dimensional manifolds with an infinitesimal length form and the notion of curvature for higher dimensions.
  • 1869 — Christoffel introduces the symbols and the covariant transformation rules central to tensor calculus.
  • 1888–1901 — Ricci-Curbastro & Levi-Civita develop the absolute differential calculus (tensor analysis), systematizing covariant differentiation and the curvature tensor.
  • 1900 — Bianchi publishes the differential identities (Bianchi identities) for the curvature tensor.
  • 1915 — Einstein uses Riemannian (Lorentzian) geometry as the language of general relativity, with geodesics modeling free fall and the field equations relating curvature to matter.
  • 1917 — Levi-Civita defines parallel transport, giving geometric meaning to the connection and clarifying the role of curvature as holonomy.
  • 1926 — Élie Cartan reformulates the subject with moving frames and differential forms; introduces symmetric spaces and the modern global perspective.
  • 1931 — Hopf & Rinow prove the equivalence of geodesic completeness, metric completeness, and the geodesic-connectedness of complete manifolds.

Subtleties & Limits

Even with a complete classical theory, deep questions persist. The closed-geodesic problem: does every closed Riemannian manifold admit infinitely many distinct prime closed geodesics? This is known for surfaces (Bangert–Franks, 1992, via dynamics) and many cases, but remains open in general for higher dimensions, e.g. it is not fully settled for all metrics on , . Spectral rigidity / "Can one hear the shape of a drum?" asks how much of the metric is determined by the Laplace spectrum; isospectral non-isometric manifolds exist (Milnor 1964, Gordon–Webb–Wolpert 1992), so the metric is not fully recoverable from eigenvalues. The boundary rigidity and geodesic X-ray transform problems — whether boundary distance data determine the interior metric — are central in inverse problems and only partially resolved (Pestov–Uhlmann for simple surfaces). In optimal transport and metric measure spaces, extending Ricci curvature bounds to non-smooth spaces (the Lott–Sturm–Villani synthetic theory) actively generalizes geodesic geometry beyond manifolds.

See Also

Levi-Civita Connection · Riemann Curvature Tensor · Geodesic Completeness · Exponential Map · Sectional Curvature · Lorentzian Geometry · Information Geometry · Symmetric Spaces

Before this

Where this leads

  • Riemann Curvature Tensor — measures how parallel transport and geodesic spreading depend on path; built from the metric.
  • Jacobi Equation — governs geodesic deviation and conjugate points; controls when geodesics stop minimizing.
  • Hopf–Rinow Theorem — ties completeness to existence of minimizing geodesics and global structure.
  • General Relativity — the Lorentzian extension where matter curves spacetime and bodies follow geodesics.
  • Comparison Geometry — relates curvature bounds to global geometry via Rauch, Toponogov, and Bishop–Gromov.