Geometry
Riemannian geometry
Differential geometry on spaces equipped with a way to measure length and angle at every point, the language of general relativity.
IntuitionIntuition: geometry with no straight ruler
Imagine an ant living on a hilly landscape, or a rocket navigating curved spacetime: neither has access to a straight ruler or a flat sheet of graph paper, yet both can still measure short distances and small angles wherever they stand. Riemannian geometry builds an entire theory of length, angle, straightness and curvature out of nothing more than this local, infinitesimal ruler, attached smoothly to every point of a space. It is the mathematical language behind general relativity, where spacetime itself is curved, and behind any system — from robot arms to machine-learning models — whose natural configuration space bends rather than sitting flat.
UndergraduateThe Riemannian metric: measuring length and angle at every point
Definition: Riemannian metric
A Riemannian metric on a smooth manifold smoothly assigns to each point an inner product on the tangent space at that point, letting you compute the length of tangent vectors and the angle between them. In local coordinates it is encoded by a symmetric, positive-definite matrix of functions , and the infinitesimal squared distance is written (Einstein summation over repeated indices).
The length of a curve from to is then : exactly the same idea as adding up tiny straight-line steps, except each step is measured with the local ruler rather than a fixed global one. This single formula recovers ordinary Euclidean length when is constant, and recovers great-circle distance on a sphere, hyperbolic distance in the Poincaré disk, or proper time along a trajectory in relativity, depending on which metric you plug in.
UndergraduateThe Levi-Civita connection and geodesics
Definition: Levi-Civita connection
To differentiate a vector field along a curve on a curved space, you need a rule for comparing tangent vectors at nearby points, called a connection . The Levi-Civita connection is the unique connection that is torsion-free and compatible with the metric (parallel transport preserves lengths and angles). In coordinates it is given by the Christoffel symbols , built purely from the metric and its first derivatives, where is the inverse matrix of .
A geodesic is a curve that parallel-transports its own velocity, i.e. it goes 'as straight as possible' given the metric; it is the natural generalization of a straight line, and locally minimizes length between its endpoints. Written in coordinates, this condition becomes the geodesic equation , a system of second-order ODEs whose solutions are determined uniquely by an initial point and initial velocity, exactly like Newton's second law with the Christoffel symbols acting as a velocity-dependent force.
AdvancedCurvature: Riemann, Ricci, and scalar
Definition: Riemann curvature tensor
The Riemann curvature tensor measures the failure of second covariant derivatives to commute, i.e. how much a vector changes when parallel-transported around a small closed loop spanned by and . Contracting it against two more vectors gives the sectional curvature , the Gaussian curvature of the 2-dimensional slice through the surface tangent to the plane spanned by — the direct generalization of the surface curvature from ordinary differential geometry to any dimension.
Definition: Ricci and scalar curvature
The Ricci curvature averages the sectional curvatures of all 2-planes containing a fixed direction, by tracing the Riemann tensor over one pair of indices; it is a symmetric bilinear form, just like the metric itself. Tracing once more with the metric gives the scalar curvature , a single number at each point that summarizes the average curvature in every direction at once. Ricci curvature is the quantity that appears directly in Einstein's field equations of general relativity, and its sign controls how volumes of small balls grow or shrink compared to flat space.
| Curvature | Type of object | What it measures |
|---|---|---|
| Sectional | A number for each 2-plane | Gaussian curvature of the 2-dimensional slice tangent to that plane |
| Ricci | A symmetric bilinear form | Average sectional curvature over all 2-planes through one direction |
| Scalar | A single number at each point | Average curvature over all directions at once, e.g. for constant curvature |
AdvancedKey theorems: Hopf–Rinow and Myers
Let be a connected Riemannian manifold. The following are equivalent: (i) is geodesically complete, meaning every geodesic extends to a solution defined on all of ; (ii) is a complete metric space under the distance induced by ; (iii) every closed and bounded subset of is compact. Moreover, when these hold, any two points of are joined by a minimizing geodesic.
Why is it true?
Completeness is the bridge between the local (an ODE that only guarantees a geodesic for a short time) and the global (a well-behaved space where distances behave like they do on a closed, bounded region of ordinary space, and where the shortest path you would draw by hand always actually exists).
Proof
(i) existence of a minimizing geodesic: fix and let . The small metric sphere is compact, so the continuous function attains a minimum on it at some point , where is the unit-speed geodesic from through (defined for all time by geodesic completeness). One shows , and then extends this to the set : is nonempty and closed by continuity, and repeating the same minimizing-sphere argument at for any with shows is also open in , so and .
(i) (ii): given a Cauchy sequence in , the argument above shows any two points sufficiently close are joined by a minimizing geodesic whose length equals the distance between them; a closed metric ball around any fixed point is then the continuous image of a closed ball in under the exponential map, hence compact, so the Cauchy sequence eventually lies in a compact set and converges.
(ii) (iii): metric completeness together with local compactness (every Riemannian manifold is locally compact) implies that closed balls are totally bounded and complete, hence compact by the standard metric-space characterization of compactness; a general closed and bounded set is a closed subset of some closed ball, hence compact as a closed subset of a compact set.
(iii) (i): suppose a unit-speed geodesic is only defined on a maximal interval with . As , stays within the closed ball of radius about , which is compact by (iii); a sequence with then has a convergent subsequence, and standard existence theory for the geodesic ODE (a second-order system with smooth coefficients) shows the solution extends smoothly past , contradicting maximality of . Hence every geodesic extends to all of .
Let be a complete Riemannian manifold with for some constant (every direction has Ricci curvature at least ). Then is compact, , and its universal cover is compact, so is finite.
Why is it true?
Positive Ricci curvature means geodesics converge on average, just as they do on a sphere; if this convergence is strong enough in every direction, a geodesic cannot keep minimizing distance forever — it eventually meets a conjugate point where a nearby geodesic catches up to it, which caps how far apart any two points can be.
Proof
By the Hopf–Rinow theorem, since is complete any two points are joined by a minimizing geodesic. Suppose toward a contradiction that some unit-speed minimizing geodesic has length .
Because minimizes length, the second variation (index form) satisfies for every piecewise-smooth vector field along vanishing at both endpoints, where . Choose a parallel orthonormal frame along , everywhere orthogonal to , and test with the fields for .
Since is parallel, , so . Summing over and using gives .
Since , the right side equals , which is strictly negative whenever . So some , contradicting that minimizes length. Hence every minimizing geodesic satisfies , so ; by Hopf–Rinow, a complete manifold of finite diameter is compact, and the same argument applied to the universal cover (which inherits the same Ricci lower bound) shows it too is compact, forcing to be finite.
AdvancedReal-World Applications and Worked Examples
Riemannian geometry is the language of general relativity: Einstein's field equations relate the Ricci curvature of spacetime (adjusted for the Lorentzian signature) to the matter and energy within it, and free-falling objects move along geodesics of this curved metric. Robotics and motion planning treat the space of joint angles or shapes as a Riemannian manifold, planning motions as geodesics that avoid obstacles or minimize energy. Information geometry places a Riemannian metric (the Fisher information metric) on the space of statistical models, and the resulting geodesics give the shortest statistical paths used in algorithms like natural gradient descent in machine learning. Shape analysis in computer vision treats outlines of objects as points on a Riemannian manifold, using geodesic distance to compare shapes.
Example: Constant curvature of the Poincaré half-plane
The Poincaré half-plane model has metric with conformal factor for . Using the standard formula for the Gaussian curvature of a conformal metric in the plane, compute .
Solution
Write the logarithm of the conformal factor: since , we have , a function of alone.
Differentiate twice with respect to : , and then . Since does not depend on , the Laplacian is .
Substitute into the curvature formula: with , giving .
The -dependence cancels exactly, so everywhere on the upper half-plane: the hyperbolic plane has constant negative curvature, unlike a sphere (constant positive curvature) or a flat plane (curvature zero).
Example: Ricci and scalar curvature of the sphere, and a Myers check
Using the fact that a space of constant sectional curvature has Riemann tensor , compute the Ricci and scalar curvature of the unit sphere , then check the diameter bound predicted by Myers' theorem.
Solution
The round sphere of radius has constant sectional curvature , so its Riemann tensor takes the constant-curvature form with .
Tracing once gives the Ricci tensor : with and this is , so every tangent direction has Ricci curvature exactly .
Tracing once more gives the scalar curvature : with and this is .
Since holds with , Myers' theorem predicts becomes . This matches exactly: the geodesic distance between two antipodal points of the unit sphere, measured along a great circle, is precisely .
A complete Riemannian manifold satisfies with . What upper bound does Myers' theorem give for its diameter?
Which field of applied mathematics places a Riemannian metric (the Fisher information metric) on the space of statistical models, and uses its geodesics in optimization algorithms such as natural gradient descent?
A 3-dimensional space has constant sectional curvature . Using , what is its scalar curvature ?
What two properties uniquely characterize the Levi-Civita connection among all possible connections on a Riemannian manifold?
References
- Manfredo P. do Carmo (1992). Riemannian Geometry
- Grigori Perelman (2002). The entropy formula for the Ricci flow and its geometric applications · arXiv:math/0211159 [preprint, not peer-reviewed]
- Peter Topping (2006). Lectures on the Ricci Flow