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.
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
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 :
Derivation hint: 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
Derivation hint: Expand , , apply bilinearity of , and use .
For a piecewise-smooth curve , define its length and energy:
Derivation hint: 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:
Derivation hint: Length is reparametrization-invariant, so the infimum is well-defined; is a metric space whose topology equals the manifold topology.
There is a unique affine connection that is torsion-free () and metric-compatible (): the Levi-Civita connection. Its Christoffel symbols in coordinates are
Derivation hint: 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, .
A curve is a geodesic (zero covariant acceleration, ) iff its components satisfy
Derivation hint: 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
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
Derivation hint: Substitute the family into the energy integral [3]; differentiation in will produce the first variation.
Step 2 — Differentiate in . Using and :
Derivation hint: 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 :
Derivation hint: Expand , then symmetrize in .
Step 4 — Fundamental lemma. Since is arbitrary, the bracket must vanish. Multiply by and symmetrize to recover the Christoffel symbols:
Derivation hint: Use symmetry to replace by , then apply definition [5].
Constant speed. Differentiate and substitute [6]; metric compatibility forces .
∎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.
Worked Examples
Given. The round sphere in spherical coordinates , colatitude , longitude . The induced metric is
Derivation hint: Embed via and pull back the Euclidean metric.
Step 1 — Christoffel symbols. With , the nonzero symbols are
Derivation hint: Apply [5]; only is nonzero, giving these two via , .
Step 2 — Geodesic equations.
Derivation hint: 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 .
Given. The Poincaré upper half-plane with metric
Derivation hint: 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 , :
Derivation hint: Apply [5] with ; only -derivatives are nonzero.
Step 2 — Geodesic equations.
Derivation hint: 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
Historical Development
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