Riemannian Geometry Basics

⚡ Key Takeaways

Riemannian geometry is the study of smooth manifolds equipped with a smoothly varying inner product on each tangent space (a Riemannian metric), which lets one measure lengths, angles, areas, and curvature intrinsically. Key result: the metric determines a unique torsion-free compatible connection (Levi-Civita), whose curvature obstructs local flatness and controls geodesic divergence. Applies to general relativity, geometric analysis, comparison geometry, shape analysis. Founded by Bernhard Riemann (1854), formalized by Levi-Civita, Ricci, and Élie Cartan.

💡 The Core Insight

Geometry on a manifold is not added by embedding it in RN\mathbb{R}^N; it is generated internally by a choice of inner product on tangent spaces. From the metric gg alone, one canonically recovers a differentiation operator (the Levi-Civita connection ∇\nabla) and a measure of its non-commutativity (the curvature RR). Everything else — geodesics, distance, volume, sectional curvature — is downstream. The leap from Gauss's theorema egregium (curvature is intrinsic to a surface) to Riemann's program is the recognition that this intrinsic viewpoint works in any dimension and needs no embedding at all.

Formal Statement

DefinitionRiemannian Metric

Let MM be a smooth nn-manifold. A Riemannian metric gg is a smooth section of the bundle Sym2T∗M\mathrm{Sym}^2 T^*M such that for each p∈Mp\in M, gp:TpM×TpM→Rg_p:T_pM\times T_pM\to\mathbb{R} is symmetric and positive-definite. In local coordinates (x1,…,xn)(x^1,\dots,x^n) with coordinate vector fields ∂i\partial_i,

1
g=gij dxi⊗dxj,gij=g(∂i,∂j)=gji,(gij)≻0.\quad g = g_{ij}\,dx^i\otimes dx^j,\qquad g_{ij}=g(\partial_i,\partial_j)=g_{ji},\quad (g_{ij})\succ 0.

Derivation hint: Expand gg in the basis dxi⊗dxjdx^i\otimes dx^j of T∗M⊗T∗MT^*M\otimes T^*M; symmetry forces gij=gjig_{ij}=g_{ji}, and positive-definiteness of the matrix encodes gp(v,v)>0g_p(v,v)>0 for v≠0v\neq 0.

The length of a piecewise-C1C^1 curve γ:[a,b]→M\gamma:[a,b]\to M and the induced Riemannian distance are

2
L(γ)=∫abgγ(t)(γ˙(t),γ˙(t)) dt,d(p,q)=inf⁡γ:p→qL(γ).\quad L(\gamma)=\int_a^b \sqrt{g_{\gamma(t)}(\dot\gamma(t),\dot\gamma(t))}\,dt,\qquad d(p,q)=\inf_{\gamma:p\to q} L(\gamma).

Derivation hint: Integrate the infinitesimal length element ds=gijx˙ix˙j dtds=\sqrt{g_{ij}\dot x^i\dot x^j}\,dt; the distance is the infimum over all admissible curves joining pp to qq, which makes (M,d)(M,d) a metric space inducing the manifold topology.

DefinitionLevi-Civita Connection

On a Riemannian manifold there is a unique affine connection ∇\nabla that is metric-compatible (∇g=0\nabla g=0) and torsion-free (∇XY−∇YX=[X,Y]\nabla_XY-\nabla_YX=[X,Y]). Its Christoffel symbols are

3
Γijk=12 gkℓ(∂igjℓ+∂jgiℓ−∂ℓgij),∇∂i∂j=Γijk ∂k,\quad \Gamma^k_{ij}=\tfrac12\,g^{k\ell}\bigl(\partial_i g_{j\ell}+\partial_j g_{i\ell}-\partial_\ell g_{ij}\bigr),\qquad \nabla_{\partial_i}\partial_j=\Gamma^k_{ij}\,\partial_k,

where gkℓg^{k\ell} is the inverse metric, gkℓgℓj=δjkg^{k\ell}g_{\ell j}=\delta^k_j. Derivation hint: Write the Koszul formula 2g(∇XY,Z)=Xg(Y,Z)+Yg(X,Z)−Zg(X,Y)+g([X,Y],Z)−g([X,Z],Y)−g([Y,Z],X)2g(\nabla_XY,Z)=X g(Y,Z)+Y g(X,Z)-Z g(X,Y)+g([X,Y],Z)-g([X,Z],Y)-g([Y,Z],X), evaluate on coordinate fields where brackets vanish, and solve for Γijk\Gamma^k_{ij}.

TheoremFundamental Theorem of Riemannian Geometry

For any Riemannian manifold (M,g)(M,g) there exists a unique connection ∇\nabla that is simultaneously torsion-free and compatible with gg. It is given explicitly by [3].

ProofExistence and Uniqueness via Koszul

Step 1 (Uniqueness). Assume ∇\nabla is metric-compatible and torsion-free. Metric compatibility means

4
X g(Y,Z)=g(∇XY,Z)+g(Y,∇XZ).\quad X\,g(Y,Z)=g(\nabla_XY,Z)+g(Y,\nabla_XZ).

Derivation hint: This is ∇g=0\nabla g=0 written out via the product rule for the connection acting on the tensor gg. Cyclically permute X,Y,ZX,Y,Z in [4], add the first two equations and subtract the third, then apply torsion-freeness ∇XY−∇YX=[X,Y]\nabla_XY-\nabla_YX=[X,Y] to eliminate antisymmetric terms. One obtains the Koszul formula

5
2g(∇XY,Z)=Xg(Y,Z)+Yg(X,Z)−Zg(X,Y)+g([X,Y],Z)−g([X,Z],Y)−g([Y,Z],X).\quad 2g(\nabla_XY,Z)=X g(Y,Z)+Y g(X,Z)-Z g(X,Y)+g([X,Y],Z)-g([X,Z],Y)-g([Y,Z],X).

Derivation hint: The right side involves only gg, the vector fields, and their Lie brackets — none of ∇\nabla — so the left side determines ∇XY\nabla_XY uniquely because gg is nondegenerate.

Step 2 (Existence). Define ∇\nabla by declaring [5] to hold; nondegeneracy of gg lets us solve for ∇XY\nabla_XY. One then verifies directly that this ∇\nabla is R\mathbb{R}-bilinear, C∞(M)C^\infty(M)-linear in XX, Leibniz in YY, torsion-free, and metric-compatible. In coordinates the formula collapses to [3]. ■\blacksquare

∎

A geodesic is a curve with vanishing covariant acceleration; in coordinates,

6
γ¨k+Γijk γ˙iγ˙j=0.\quad \ddot\gamma^k + \Gamma^k_{ij}\,\dot\gamma^i\dot\gamma^j=0.

Derivation hint: Set ∇γ˙γ˙=0\nabla_{\dot\gamma}\dot\gamma=0 and expand using γ˙=γ˙i∂i\dot\gamma=\dot\gamma^i\partial_i and [3]; the geodesic equations are the Euler–Lagrange equations of the energy functional E(γ)=12∫g(γ˙,γ˙) dtE(\gamma)=\tfrac12\int g(\dot\gamma,\dot\gamma)\,dt.

DefinitionRiemann Curvature Tensor

The curvature of ∇\nabla measures the failure of second covariant derivatives to commute:

7
R(X,Y)Z=∇X∇YZ−∇Y∇XZ−∇[X,Y]Z.\quad R(X,Y)Z=\nabla_X\nabla_YZ-\nabla_Y\nabla_XZ-\nabla_{[X,Y]}Z.

Derivation hint: This is a (1,3)(1,3)-tensor (it is C∞C^\infty-linear in all three arguments despite being built from derivatives — the bracket term cancels the non-tensorial pieces). Its components are Rℓkij=∂iΓjkℓ−∂jΓikℓ+ΓimℓΓjkm−ΓjmℓΓikmR^\ell{}_{kij}=\partial_i\Gamma^\ell_{jk}-\partial_j\Gamma^\ell_{ik}+\Gamma^\ell_{im}\Gamma^m_{jk}-\Gamma^\ell_{jm}\Gamma^m_{ik}. The sectional curvature of a 2-plane σ=span(X,Y)⊂TpM\sigma=\mathrm{span}(X,Y)\subset T_pM is

8
K(σ)=g(R(X,Y)Y,X)g(X,X)g(Y,Y)−g(X,Y)2.\quad K(\sigma)=\frac{g(R(X,Y)Y,X)}{g(X,X)g(Y,Y)-g(X,Y)^2}.

Derivation hint: The denominator is the squared area of the parallelogram spanned by X,YX,Y; the quotient is independent of the chosen basis of σ\sigma because RR enjoys the symmetries Rijkℓ=−Rjikℓ=−Rijℓk=RkℓijR_{ijk\ell}=-R_{jik\ell}=-R_{ij\ell k}=R_{k\ell ij}.

The Ricci and scalar curvatures are traces:

9
Ric(Y,Z)=tr (X↦R(X,Y)Z)=Rkykz,S=gijRicij.\quad \mathrm{Ric}(Y,Z)=\mathrm{tr}\,(X\mapsto R(X,Y)Z)=R^k{}_{ykz},\qquad S=g^{ij}\mathrm{Ric}_{ij}.

Derivation hint: Contract the Riemann tensor on its first and third slots to obtain Ric; contract Ric with the inverse metric to obtain the scalar SS. These traces feed directly into the Einstein equations and Bochner formulas.

Why It Holds / Derivation

ProofFlatness ⟺ Vanishing Curvature

Claim. (M,g)(M,g) is locally isometric to Euclidean (Rn,δ)(\mathbb{R}^n,\delta) iff R≡0R\equiv 0.

Step 1. If gg is locally Euclidean, then in flat coordinates gij=δijg_{ij}=\delta_{ij}, so all Γijk=0\Gamma^k_{ij}=0 by [3], hence R=0R=0 by [7].

Step 2 (converse). Suppose R≡0R\equiv 0. Parallel transport then becomes path-independent on simply connected neighborhoods, because the holonomy around small loops is generated by RR (Ambrose–Singer). Parallel-transport an orthonormal frame {ea}\{e_a\} from pp; flatness guarantees the resulting fields are globally defined and satisfy ∇ea=0\nabla e_a=0.

Step 3. Torsion-freeness gives [ea,eb]=∇eaeb−∇ebea=0[e_a,e_b]=\nabla_{e_a}e_b-\nabla_{e_b}e_a=0, so the frame is coordinate-inducing (Frobenius): there are coordinates yay^a with ∂/∂ya=ea\partial/\partial y^a=e_a. Metric compatibility makes g(ea,eb)=δabg(e_a,e_b)=\delta_{ab} constant, so g=∑(dya)2g=\sum (dy^a)^2 in these coordinates. ■\blacksquare

∎
Figure
Geodesic spread on positively curved vs. flat space: a positive sectional curvature focuses nearby geodesics.
Geodesic deviation Flat (K=0) parallel geodesics stay apart Positive (K>0) geodesics reconverge (conjugate point) Jacobi equation: J'' + R(J,γ̇)γ̇ = 0 controls separation J.

The separation of nearby geodesics is governed by the Jacobi equation:

10
∇γ˙∇γ˙J+R(J,γ˙)γ˙=0.\quad \nabla_{\dot\gamma}\nabla_{\dot\gamma}J + R(J,\dot\gamma)\dot\gamma = 0.

Derivation hint: Take a variation γs(t)\gamma_s(t) of geodesics, let J=∂sγs∣s=0J=\partial_s\gamma_s|_{s=0} be the variation field, differentiate the geodesic equation ∇∂t∂tγ=0\nabla_{\partial_t}\partial_t\gamma=0 in ss, and commute derivatives using the curvature definition [7].

mathematician · Bernhard Riemann | 1826–1866

Riemann introduced the entire framework in his 1854 Göttingen Habilitationsvortrag, "Über die Hypothesen, welche der Geometrie zu Grunde liegen," delivered before Gauss. Without modern tensor notation he posited an nn-dimensional "manifoldness" with an infinitesimal line element ds=∑gij dxidxjds=\sqrt{\sum g_{ij}\,dx^i dx^j} and identified the obstruction to flatness — what we now call the curvature tensor — via the quadratic deviation of geodesic distances. He saw clearly that physical space need not be Euclidean and that geometry is an empirical question, anticipating general relativity by sixty years. His ideas were made computationally precise by Ricci-Curbastro and Levi-Civita (the absolute differential calculus, 1900) and parallel transport (1917).

Building Intuition

🧠 Intuition

Think of a Riemannian metric as a device that tells you the ruler at each point: gp(v,v)g_p(v,v) is the squared length of the infinitesimal displacement vv. On a sphere the ruler shrinks lines of longitude near the poles; that distortion is the geometry. The Levi-Civita connection answers "how do I carry a vector along without artificially rotating it?" — it is the unique notion of straight-ahead transport that respects lengths and angles and adds no twist. Curvature then answers "if I carry a vector around a tiny loop, how much did it rotate?" — the answer is RR times the loop's area. Positive curvature (sphere) makes geodesics converge like meridians; negative curvature (hyperbolic plane) makes them diverge exponentially; zero curvature (plane, flat torus) keeps them parallel. Every global theorem in the subject is a careful bookkeeping of these local rotations summed over regions.

Worked Examples

ExampleCurvature of the Round Sphere Sr2S^2_r

Given. The sphere of radius rr with metric in spherical coordinates g=r2 dθ2+r2sin⁡2θ dϕ2g = r^2\,d\theta^2 + r^2\sin^2\theta\,d\phi^2, so gθθ=r2g_{\theta\theta}=r^2, gϕϕ=r2sin⁡2θg_{\phi\phi}=r^2\sin^2\theta.

Step 1 — Christoffels. Using [3] with the diagonal metric: Γϕϕθ=−sin⁡θcos⁡θ\Gamma^\theta_{\phi\phi}=-\sin\theta\cos\theta,  Γθϕϕ=Γϕθϕ=cot⁡θ\ \Gamma^\phi_{\theta\phi}=\Gamma^\phi_{\phi\theta}=\cot\theta, all others zero.

Step 2 — Riemann component. Compute Rθϕθϕ=∂θΓϕϕθ−∂ϕΓθϕθ+ΓθmθΓϕϕm−ΓϕmθΓθϕmR^\theta{}_{\phi\theta\phi}=\partial_\theta\Gamma^\theta_{\phi\phi}-\partial_\phi\Gamma^\theta_{\theta\phi}+\Gamma^\theta_{\theta m}\Gamma^m_{\phi\phi}-\Gamma^\theta_{\phi m}\Gamma^m_{\theta\phi}. ∂θ(−sin⁡θcos⁡θ)=−cos⁡2θ=sin⁡2θ−cos⁡2θ\partial_\theta(-\sin\theta\cos\theta)=-\cos2\theta=\sin^2\theta-\cos^2\theta, and −ΓϕϕθΓθϕϕ=−(−sin⁡θcos⁡θ)(cot⁡θ)=cos⁡2θ-\Gamma^\theta_{\phi\phi}\Gamma^\phi_{\theta\phi}=-(-\sin\theta\cos\theta)(\cot\theta)=\cos^2\theta. Sum: sin⁡2θ\sin^2\theta.

Step 3 — Sectional curvature. Using [8] with the only 2-plane, K=g(R(∂θ,∂ϕ)∂ϕ,∂θ)gθθgϕϕ=r2sin⁡2θ⋅Rθϕθϕ/sin⁡2θr2⋅r2sin⁡2θK=\dfrac{g(R(\partial_\theta,\partial_\phi)\partial_\phi,\partial_\theta)}{g_{\theta\theta}g_{\phi\phi}}=\dfrac{r^2\sin^2\theta\cdot R^\theta{}_{\phi\theta\phi}/\sin^2\theta}{r^2\cdot r^2\sin^2\theta}. After substitution, g(R⋯ )=gθθRθϕθϕ=r2sin⁡2θg(R\cdots)=g_{\theta\theta}R^\theta{}_{\phi\theta\phi}=r^2\sin^2\theta, so

K=r2sin⁡2θr4sin⁡2θ=1r2  [units: length−2]\boxed{K=\frac{r^2\sin^2\theta}{r^4\sin^2\theta}=\frac{1}{r^2}\ \ [\text{units: } \mathrm{length}^{-2}]}

Constant positive curvature 1/r21/r^2, independent of θ,ϕ\theta,\phi. Scalar curvature S=2K=2/r2S=2K=2/r^2.

ExampleGeodesics and Distance on the Hyperbolic Plane H2\mathbb{H}^2

Given. Upper half-plane {(x,y):y>0}\{(x,y):y>0\} with g=dx2+dy2y2g=\dfrac{dx^2+dy^2}{y^2}, so gxx=gyy=y−2g_{xx}=g_{yy}=y^{-2}.

Step 1 — Christoffels. From [3]: Γxyx=Γyxx=−1/y\Gamma^x_{xy}=\Gamma^x_{yx}=-1/y,  Γxxy=1/y\ \Gamma^y_{xx}=1/y,  Γyyy=−1/y\ \Gamma^y_{yy}=-1/y.

Step 2 — Curvature. Computing RxyxyR^x{}_{yxy} analogously gives sectional curvature K≡−1K\equiv -1 everywhere (constant negative).

Step 3 — Vertical geodesic distance. Along x=x=const, γ(t)=(x0,t)\gamma(t)=(x_0,t), the length between heights y1<y2y_1<y_2:

L=∫y1y20+1y dy=ln⁡y2y1.L=\int_{y_1}^{y_2}\frac{\sqrt{0+1}}{y}\,dy=\ln\frac{y_2}{y_1}.

For (x0,1)(x_0,1) to (x0,e)(x_0,e): L=ln⁡(e/1)=1L=\ln(e/1)=1. Vertical lines and semicircles centered on the xx-axis are the geodesics.

Step 4 — A numeric distance. Distance from A=(0,1)A=(0,1) to B=(0,e2)B=(0,e^2):

d(A,B)=ln⁡e21=2  [dimensionless hyperbolic units]\boxed{d(A,B)=\ln\frac{e^2}{1}=2\ \ [\text{dimensionless hyperbolic units}]}

Common Misconceptions

⚠️ Common mistake

Curvature is not the second derivative of the metric in any frame-independent naive sense. Because ∂kgij\partial_k g_{ij} is not a tensor, you cannot read off curvature from a single coordinate patch by inspection. At any point you can choose normal coordinates where gij=δijg_{ij}=\delta_{ij} and ∂kgij=0\partial_k g_{ij}=0; the curvature lives in the second derivatives that cannot be killed, gij=δij−13Rikjℓxkxℓ+O(∣x∣3)g_{ij}=\delta_{ij}-\tfrac13 R_{ikj\ell}x^k x^\ell+O(|x|^3). Vanishing Christoffels at a point does not mean flatness.

CounterexampleFlat Metric in Curvilinear Coordinates

Polar coordinates on the plane give g=dr2+r2 dθ2g = dr^2 + r^2\,d\theta^2, whose Christoffel symbols are nonzero: Γθθr=−r, Γrθθ=1/r\Gamma^r_{\theta\theta}=-r,\ \Gamma^\theta_{r\theta}=1/r. A student might think "nonzero Γ\Gamma ⟹ curved." But computing [7] yields R≡0R\equiv 0: this is just the flat Euclidean plane in disguise. Conversely, the flat torus R2/Z2\mathbb{R}^2/\mathbb{Z}^2 has g=δg=\delta, R≡0R\equiv 0, yet is globally distinct from R2\mathbb{R}^2 (compact, nontrivial π1\pi_1). Curvature is a local invariant; flatness does not pin down the global topology.

⚠️ Common mistake

The distance infimum in [2] need not be achieved. On an incomplete manifold (e.g. the punctured plane) there may be no minimizing geodesic between two points. The Hopf–Rinow theorem rescues us: for a connected manifold, geodesic completeness, metric completeness, and "closed bounded sets are compact" are equivalent, and any two points are then joined by a minimizing geodesic. Never assume minimizers exist without completeness.

Connections

connection

Riemannian geometry sits at a crossroads. The Levi-Civita connection is a special case of an Affine Connection on a principal bundle, and its curvature is a component of the general Curvature of Connections formalism; the holonomy group of ∇\nabla links to Lie Groups and the Berger classification. Restricting to constant sectional curvature recovers the model geometries underlying Hyperbolic Geometry and spherical geometry. Adding a Lorentzian signature (dropping positive-definiteness) yields Pseudo-Riemannian Geometry, the arena of General Relativity, where Ric and SS enter the Einstein field equations. The interplay between curvature bounds and topology is the domain of Comparison Geometry (Bonnet–Myers, Rauch, Toponogov), while the analytic side — eigenvalues of the Laplace–Beltrami operator, heat kernels, Bochner technique — feeds Geometric Analysis.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1827 — Gauss's Disquisitiones generales proves the Theorema Egregium: Gaussian curvature of a surface is intrinsic, depending only on the first fundamental form.
- 1854 — Riemann's habilitation lecture introduces nn-dimensional manifolds, the line element ds2=gijdxidxjds^2=g_{ij}dx^idx^j, and the curvature obstruction to flatness.
- 1869–1873 — Christoffel and Lipschitz introduce the symbols Γijk\Gamma^k_{ij} and study covariant transformation laws.
- 1900 — Ricci-Curbastro and Levi-Civita publish the absolute differential calculus (tensor calculus), making the subject computational.
- 1915–1917 — Einstein's general relativity adopts pseudo-Riemannian geometry; Levi-Civita formalizes parallel transport, clarifying the connection.
- 1917–1923 — Élie Cartan develops the moving-frame method, exterior calculus, and the structure equations dω=−ω∧ω+Ωd\omega=-\omega\wedge\omega + \Omega.
- 1926–1935 — Cartan classifies symmetric spaces; Hopf–Rinow (1931) settles completeness; Bonnet–Myers links Ricci curvature to diameter.
- 1950s–1960s — Berger classifies holonomy groups; comparison theorems (Rauch, Toponogov, Bishop–Gromov) mature; Nash's embedding theorem (1956) shows every Riemannian manifold sits isometrically in some RN\mathbb{R}^N.
- 1981–present — Gromov's metric-geometry program, Cheeger–Gromov convergence, Hamilton's Ricci flow (1982) and Perelman's 2003 resolution of the Poincaré and geometrization conjectures put curvature flows at the center.

Subtleties & Limits

open-problem

Several deep questions remain partly open. The prescribed curvature problem — which functions arise as the scalar curvature of a metric on a given manifold (Yamabe-type and Kazdan–Warner constraints) — is fully solved only in special cases. The relationship between positive sectional curvature and topology is notoriously incomplete: very few manifolds are known to admit metrics of positive sectional curvature, and the gap between the known examples and obstructions (Hopf conjectures: does S2×S2S^2\times S^2 admit positive curvature? is the Euler characteristic of an even-dimensional positively curved manifold positive?) is wide. Collapse and convergence of Riemannian manifolds with bounded curvature (Cheeger–Fukaya–Gromov theory) still hides structural mysteries in higher dimensions. Finally, the degenerate/singular limits of Ricci flow — characterizing all possible singularity models in dimensions ≥4\geq 4 — remain an active frontier, central to potential extensions of geometrization.

See Also

Pseudo-Riemannian Geometry · Affine Connection · Curvature of Connections · Geodesics and the Exponential Map · Gauss–Bonnet Theorem · Hopf–Rinow Theorem · Nash Embedding Theorem · Information Geometry