<!DOCTYPE html>
The Gauss–Bonnet Theorem
& Its Generalisations
How the total curvature of a surface encodes a purely topological number — and why this miracle extends to every even-dimensional manifold.
Local Curvature, Global Topology
At first glance, curvature and topology belong to entirely different worlds. Curvature is a differential-geometric quantity: it depends on distances, angles, and derivatives — it can vary from point to point, and you can change it by deforming a surface. Topology, by contrast, is blind to such local data: a mug and a doughnut are topologically identical, no matter how you stretch or squash them.
The Gauss–Bonnet theorem reveals a stunning bridge between these two worlds. No matter how you deform a closed orientable surface, the total integral of its Gaussian curvature — a sum that feels completely analytic — always equals \( 2\pi \) times the Euler characteristic of that surface, an integer that does not change at all under continuous deformations.
In other words: add up all the local bending of a surface, and you recover a global topological fingerprint. Deform the surface, watch the curvature redistribute across every point — yet the integral refuses to budge.
Core idea. The map \( M \mapsto \int_M K\,dA \) is a topological invariant: it assigns the same number to any two surfaces that can be continuously deformed into each other. Local differential geometry conspires, through cancellations, to produce a purely global count.
This document builds the theorem from the ground up: we introduce every definition needed, state and sketch the proof, work through illuminating examples, and then follow the historical thread that leads to Chern's far-reaching generalisation to manifolds of any even dimension.
The Building Blocks
Let \( M \) be a smooth surface embedded in \( \mathbb{R}^3 \), locally parameterised by \(\mathbf{r}(u,v)\) where \((u,v)\) ranges over an open subset of \(\mathbb{R}^2\).
2.1 Tangent Vectors and the Tangent Plane
At a point \( p = \mathbf{r}(u_0, v_0) \), the partial derivatives
are tangent vectors to the coordinate curves. Together they span the tangent plane \( T_p M \subset \mathbb{R}^3 \): the best flat approximation to \(M\) at \(p\). A vector \( \mathbf{v} \in T_p M \) can be written \( \mathbf{v} = a\,\mathbf{r}_u + b\,\mathbf{r}_v \) for some scalars \(a,b\).
The unit normal to the surface is
2.2 The First Fundamental Form (Metric)
The first fundamental form \( g \) is the restriction of the Euclidean inner product to the tangent plane. For tangent vectors \( \mathbf{u} = a_1\mathbf{r}_u + b_1\mathbf{r}_v \) and \( \mathbf{w} = a_2\mathbf{r}_u + b_2\mathbf{r}_v \), it is given by
with components (in the coordinate basis \(\{\mathbf{r}_u, \mathbf{r}_v\}\))
so the metric tensor is \( g = \begin{pmatrix} E & F \\ F & G \end{pmatrix} \). The first fundamental form encodes all intrinsic geometry: lengths of curves, areas of regions, and angles between tangent vectors.
The area element is \( dA = \sqrt{EG - F^2}\;du\,dv = \|\mathbf{r}_u \times \mathbf{r}_v\|\,du\,dv \).
2.3 The Second Fundamental Form
While the first fundamental form measures lengths within the surface, the second fundamental form \( h \) measures how the surface curves in the ambient space \(\mathbb{R}^3\). Its components are
giving the matrix \( h = \begin{pmatrix} e & f \\ f & g_2 \end{pmatrix} \). For a tangent vector \(\mathbf{v}\), the quantity \( h(\mathbf{v},\mathbf{v}) \) is (up to sign convention) the normal curvature of the surface in the direction of \(\mathbf{v}\): how fast the surface bends away from its tangent plane in that direction.
2.4 The Gauss Map
The Gauss map is the smooth function
which sends each point of the surface to its outward unit normal, viewed as a point on the unit sphere \(S^2\). Its derivative \(d\nu_p : T_p M \to T_{\nu(p)}S^2\) measures how fast the normal direction rotates as you move across the surface. The shape operator (or Weingarten map) \(S_p = -d\nu_p\) is a self-adjoint linear map on \(T_pM\).
Intuitively: if the surface is very curved at \(p\), the normal rotates rapidly, and \(d\nu\) maps a small patch to a large patch on \(S^2\). If the surface is flat, the normal hardly moves at all.
2.5 Gaussian Curvature \(K\)
The principal curvatures \(\kappa_1, \kappa_2\) at \(p\) are the eigenvalues of the shape operator \(S_p\). They give the maximum and minimum normal curvatures over all tangent directions.
The Gaussian curvature is their product:
Equivalently, \(K\) is the ratio of the signed area stretched by the Gauss map: if \(U\) is a small patch around \(p\),
Gauss's Theorema Egregium ("Remarkable Theorem", 1827) states that \(K\) depends only on the first fundamental form — it is an intrinsic property. You can compute \(K\) using only measurements within the surface, without reference to the ambient \(\mathbb{R}^3\)!
Surface curves the same way in all directions. Example: sphere, ellipsoid. A small geodesic circle has less circumference than \(2\pi r\).
Flat in one principal direction. Example: cylinder, cone. Can be unrolled onto a plane without stretching.
Saddle-shaped: curves up in one direction, down in another. Example: pseudosphere. Geodesic circles have more circumference than \(2\pi r\).
2.6 Geodesic Curvature \(k_g\)
For a smooth curve \(\gamma(s)\) parameterised by arc length on \(M\), the geodesic curvature measures how much the curve bends within the surface (as opposed to bending caused by the ambient curvature of the surface itself):
where \(\dot{\gamma}\) is the unit tangent and \(\ddot{\gamma} = \nabla_{\dot\gamma}\dot\gamma\) is the covariant acceleration.
- A geodesic satisfies \(k_g \equiv 0\): it is the surface's notion of a "straight line." On a sphere, geodesics are great circles.
- The boundary \(\partial D\) of a planar disk traversed counterclockwise has \(k_g = 1/r\) (inverse radius), so \(\int k_g\,ds = 2\pi\).
- The geodesic curvature appears naturally in the local form of the Gauss–Bonnet theorem for regions with boundary.
2.7 The Euler Characteristic \(\chi(M)\)
Given a triangulation of a closed orientable surface \(M\) — a decomposition into triangular faces — let \(V\), \(E\), \(F\) denote the number of vertices, edges, and faces respectively. The Euler characteristic is
Remarkably, this integer is independent of the triangulation chosen. It is a topological invariant of \(M\). For an orientable surface of genus \(g\) (i.e., with \(g\) handles),
| Surface | Genus \(g\) | \(\chi = 2-2g\) | Example triangulation |
|---|---|---|---|
| Sphere \(S^2\) | 0 | \(+2\) | Tetrahedron: \(V{=}4,\,E{=}6,\,F{=}4\) |
| Torus \(T^2\) | 1 | \(0\) | \(V{=}1,\,E{=}3,\,F{=}2\) (minimal) |
| Double torus | 2 | \(-2\) | — |
| Genus-\(g\) surface | \(g\) | \(2-2g\) | — |
The Gauss–Bonnet Theorem
Let \(M\) be a compact, smooth, orientable surface without boundary embedded in \(\mathbb{R}^3\). Then
Dictionary of Symbols
The surface itself: a compact, smooth, orientable 2-dimensional manifold (without boundary, e.g. a sphere or torus).
The Gaussian curvature at each point of \(M\). It is a smooth function \(K: M \to \mathbb{R}\), varying from point to point.
The area element (surface area measure). In local coordinates: \(dA = \sqrt{EG - F^2}\;du\,dv\). The integral is taken over all of \(M\).
The Euler characteristic of \(M\): an integer topological invariant. For a genus-\(g\) surface, \(\chi = 2 - 2g\). It does not change under smooth deformations.
The total signed angle of a full rotation in the plane — the normalisation that makes the formula exact over the integers.
What makes this surprising. The left side is analytic: it involves derivatives of the embedding. It changes if you deform the surface. The right side is an integer (times \(2\pi\)): it is completely rigid under continuous deformations. The theorem says these two quantities — one flexible, one frozen — are always equal.
How the Proof Works
4.1 The Local Gauss–Bonnet Formula
Let \(D \subset M\) be a compact region whose boundary \(\partial D\) is a piecewise smooth, closed curve with exterior angles \(\theta_1, \ldots, \theta_k\) at the corners. The local Gauss–Bonnet formula states:
This is Bonnet's generalisation of Gauss's geodesic triangle formula. Each term has a clear geometric meaning:
- \(\int_D K\,dA\): total Gaussian curvature of the interior.
- \(\oint_{\partial D} k_g\,ds\): total geodesic curvature of the boundary (how much the boundary "bends" within the surface).
- \(\sum \theta_i\): sum of the exterior angles at corner points of the boundary.
For a smooth region without corners, \(\sum \theta_i = 0\). For a convex polygon with all boundary curves being geodesics (\(k_g = 0\)), this reduces to a pure angle-excess formula.
4.2 Summing Over a Triangulation
Triangulate \(M\). Cover \(M\) by a finite collection of geodesic triangles \(\{\Delta_j\}\). Each triangle \(\Delta_j\) has three geodesic sides (\(k_g = 0\) on each side) and three interior angles \(\alpha_j, \beta_j, \gamma_j\). The exterior angle at each vertex of a triangle is \(\pi\) minus the interior angle.
Apply local Gauss–Bonnet to each triangle. For a geodesic triangle \(\Delta_j\), the boundary curves are geodesics (\(k_g = 0\)) and the three exterior angles are \(\pi - \alpha_j\), \(\pi - \beta_j\), \(\pi - \gamma_j\). The local formula gives:
This is the classical spherical excess formula: the integral of curvature over a geodesic triangle equals its angle sum minus \(\pi\).
Sum over all triangles. Adding over all \(F\) triangles:
Count angle sums at vertices. At each interior vertex \(v\), the angles of all triangles meeting at \(v\) sum to exactly \(2\pi\) (since the surface is smooth there). Thus \(\sum_j (\alpha_j + \beta_j + \gamma_j) = 2\pi V\).
Count edges. Each edge of the triangulation is shared by exactly 2 triangles. A triangulation of a closed surface satisfies \(3F = 2E\) (three edges per triangle, each shared twice), so \(E = \tfrac{3}{2}F\). Substituting:
More cleanly: \(2\pi V - \pi F = 2\pi V - \pi\cdot\tfrac{2}{3}\cdot 3F/2\)... the direct route is: \(\pi F = 2\pi E - 2\pi V\) gives \(2\pi V - \pi F = 2\pi(V-E+F) = 2\pi\chi(M)\), using \(3F = 2E \Rightarrow E = 3F/2\) and \(\pi F = \pi F\), \(2\pi E = 3\pi F\): so \(2\pi V - \pi F = 2\pi V - 3\pi F + 2\pi F = 2\pi(V-E+F)\).\(\square\)
4.3 The Geodesic Triangle on a Sphere
Take the unit sphere \(S^2\) (\(K \equiv 1\)) and a geodesic triangle \(\Delta\) with interior angles \(\alpha, \beta, \gamma\). Since \(K=1\), the area integral equals the area:
\[ \int_\Delta K\,dA = \text{Area}(\Delta). \]The local Gauss–Bonnet formula (for geodesic boundary, so \(k_g = 0\), and exterior angles \(\pi-\alpha, \pi-\beta, \pi-\gamma\)) gives:
\[ \text{Area}(\Delta) + 0 + (\pi-\alpha)+(\pi-\beta)+(\pi-\gamma) = 2\pi \] \[ \Longrightarrow \quad \text{Area}(\Delta) = \alpha + \beta + \gamma - \pi. \]This is the classical spherical excess formula: the area of a spherical triangle equals the excess of its angle sum over \(\pi\). A triangle with angles \(\alpha=\beta=\gamma=90°=\pi/2\) has area \(3\pi/2 - \pi = \pi/2\), which indeed is one-eighth of \(4\pi\). ✓
Gauss–Bonnet in Action
The sphere \(S^2_R\) of radius \(R\) has constant Gaussian curvature \(K = 1/R^2\) and total area \(4\pi R^2\). Therefore:
\[ \int_{S^2_R} K\,dA = \frac{1}{R^2} \cdot 4\pi R^2 = 4\pi = 2\pi \cdot 2, \]which gives \(\chi(S^2) = 2\). ✓ (The sphere has genus 0.)
Notice: if you inflate the sphere (increase \(R\)), the curvature \(K=1/R^2\) decreases, but the area \(4\pi R^2\) increases proportionally, so the integral stays at \(4\pi\). This is Gauss–Bonnet at work: the integral is rigid even as the surface deforms.
Embed the standard torus in \(\mathbb{R}^3\) with major radius \(R\) and minor radius \(r\) (with \(R > r\)). In angular coordinates \((\phi, \theta)\), the Gaussian curvature is:
\[ K(\phi, \theta) = \frac{\cos\phi}{r(R + r\cos\phi)}. \]The area element is \(dA = r(R + r\cos\phi)\,d\phi\,d\theta\). So the integrand is:
\[ K\,dA = \frac{\cos\phi}{r(R+r\cos\phi)} \cdot r(R+r\cos\phi)\,d\phi\,d\theta = \cos\phi\,d\phi\,d\theta. \]Integrating over \(\phi,\theta \in [0,2\pi]\):
\[ \int_T K\,dA = \int_0^{2\pi}d\theta \int_0^{2\pi} \cos\phi\,d\phi = 2\pi \cdot [\sin\phi]_0^{2\pi} = 2\pi \cdot 0 = 0 = 2\pi \cdot 0. \]So \(\chi(T^2) = 0\). ✓ Geometrically: the outer half of the torus (where \(\cos\phi > 0\)) has positive curvature (like a sphere), while the inner half has negative curvature (saddle-shaped). They cancel exactly.
Consider the flat unit disk \(D \subset \mathbb{R}^2\). Here \(K \equiv 0\) (flat plane), the boundary \(\partial D\) is a circle of radius 1 traversed counterclockwise with geodesic curvature \(k_g = 1\), and \(\chi(D) = 1\) (disk is contractible).
The local Gauss–Bonnet formula (no corners, so \(\sum\theta_i = 0\)):
\[ \underbrace{\int_D K\,dA}_{0} + \underbrace{\oint_{\partial D} k_g\,ds}_{1\cdot 2\pi} + 0 = 2\pi \cdot 1 \] \[ 0 + 2\pi = 2\pi. \;\checkmark \]This reflects the intuition that a circle "turns" by exactly \(2\pi\) as you traverse it, regardless of the shape of its interior.
On the unit sphere \(S^2\) (\(K \equiv 1\)), take the triangle with vertices at the north pole \(N\), and two equatorial points separated by a quarter-circle. The three angles are all \(\alpha = \beta = \gamma = \pi/2\). By the spherical excess formula:
\[ \int_\Delta K\,dA = \text{Area}(\Delta) = \alpha + \beta + \gamma - \pi = \frac{\pi}{2}+\frac{\pi}{2}+\frac{\pi}{2}-\pi = \frac{\pi}{2}. \]One can verify directly: this triangle is exactly \(\frac{1}{8}\) of the full sphere (by symmetry), so Area\((\Delta) = \frac{1}{8}\cdot 4\pi = \frac{\pi}{2}\). ✓
From Gauss to Chern
The Gauss–Bonnet theorem as we know it emerged gradually over more than a century, with each generation extending the domain of validity and deepening the conceptual understanding.
Carl Friedrich Gauss proved that the Gaussian curvature \(K\) is an intrinsic quantity — determined entirely by the metric of the surface, independent of how it is embedded in space. He also established the angle-excess formula for geodesic triangles on a sphere: \(\text{Area}(\Delta) = \alpha + \beta + \gamma - \pi\), with the curvature implicitly present since \(K = 1\) on the unit sphere.
Pierre Ossian Bonnet formulated the full local version of the theorem: for a region \(D\) with piecewise smooth boundary on an arbitrary surface, \(\int_D K\,dA + \oint_{\partial D} k_g\,ds + \sum\theta_i = 2\pi\chi(D)\). This was the first version to handle boundary curvature systematically. The global theorem for closed surfaces follows as a special case (no boundary, so all boundary terms vanish).
Heinz Hopf extended the theorem to closed hypersurfaces (codimension-1 submanifolds) in odd-dimensional Euclidean spaces, proving that the degree of the Gauss map equals \(\tfrac{1}{2}\chi(M)\). He conjectured a higher-dimensional intrinsic version for general Riemannian manifolds.
Carl Allendoerfer and Werner Fenchel independently proved, in 1940, a Gauss–Bonnet theorem for Riemannian manifolds embedded in Euclidean space of any dimension, using the "tube method" (Weyl's tube formula). André Weil simultaneously gave an equivalent extrinsic proof. These proofs still required an ambient space.
Shiing-Shen Chern gave the first fully intrinsic proof — valid for any compact Riemannian manifold of even dimension, without requiring any embedding. His key innovation was to work on the unit sphere bundle \(SM\) of \(M\), where he found a differential form \(\Pi\) (the transgression of the Euler form) such that \(d\Pi = e(\Omega)\), and then applied Stokes' theorem globally. This proof is the foundation of modern characteristic class theory.
Chern and Weil developed a systematic framework (Chern–Weil theory) for constructing global topological invariants from local curvature data. Given a principal \(G\)-bundle with connection, any invariant polynomial on the Lie algebra of \(G\) gives a closed differential form whose de Rham cohomology class is a topological invariant. The Gauss–Bonnet–Chern theorem is the special case where the bundle is the frame bundle, \(G = O(2m)\), and the polynomial is the Pfaffian.
The Gauss–Bonnet–Chern Theorem
Let \(M\) be a compact, oriented Riemannian manifold of dimension \(2m\) (note: only even dimensions occur, since \(\chi(M) = 0\) for odd-dimensional closed manifolds). Let \(\Omega\) denote the curvature 2-form of the Levi-Civita connection, viewed as a skew-symmetric matrix of 2-forms.
The Pfaffian
The key ingredient is the Pfaffian of the curvature matrix. For a \(2m \times 2m\) skew-symmetric matrix \(A\), the Pfaffian \(\text{Pf}(A)\) is the polynomial defined by
with a chosen sign convention. Explicitly,
When \(m=1\) (surfaces), \(\text{Pf}\begin{pmatrix}0 & K\, dA \\ -K\,dA & 0\end{pmatrix} = K\,dA\), recovering the usual curvature form.
The Gauss–Bonnet–Chern Formula
For a compact oriented Riemannian manifold \(M^{2m}\) without boundary:
Here \(\Omega/(2\pi)\) means each curvature 2-form entry is divided by \(2\pi\), and \(\operatorname{Pf}(\Omega/(2\pi))\) is the resulting \(2m\)-form (a top-degree form on \(M\)), which can be integrated over \(M\).
Recovering the 2D Case
When \(m=1\), the manifold is a surface and \(\text{Pf}(\Omega/2\pi) = K\,dA/(2\pi)\), so:
Why the Pfaffian?
The Pfaffian arises because the Euler class \(e \in H^{2m}(M;\mathbb{R})\) is a characteristic class of the tangent bundle. By Chern–Weil theory, every characteristic class can be represented by a closed differential form built from the curvature. The Euler class is precisely represented by \(\text{Pf}(\Omega/2\pi)\). The Gauss–Bonnet–Chern theorem says that integrating this representative gives the topological Euler characteristic \(\chi(M) = \langle e(TM), [M]\rangle\) — the pairing of the Euler class with the fundamental class.
Low-Dimensional Instances
- \(2m = 2\): The classical Gauss–Bonnet theorem, \(\int_M K\,dA = 2\pi\chi(M)\).
- \(2m = 4\): For a 4-dimensional Riemannian manifold, the integrand involves a quadratic expression in the Riemann curvature components — the formula becomes \(\int_M \frac{1}{8\pi^2}(|R|^2 - 4|\text{Ric}|^2 + R_{\rm sc}^2/4)\,dV = \chi(M)\), where \(R\), \(\text{Ric}\), \(R_{\rm sc}\) denote the full Riemann tensor, Ricci tensor, and scalar curvature respectively.
Geometry Speaks Topology
The Gauss–Bonnet theorem is one of the most beautiful results in all of mathematics. It reveals that the local, differential-geometric concept of curvature — how a surface bends in space at each individual point — carries global, topological information about the shape as a whole: information that cannot change no matter how you deform the surface.
The formula
says: add up all the bending, everywhere, and you get a topological integer. Deform the surface — watch curvature flow from one region to another — and the total refuses to change. This is the geometry–topology miracle.
Chern's generalisation
extends this miracle to every even-dimensional compact Riemannian manifold, embedding it in the vast machinery of characteristic class theory. The idea that curvature, encoded in a principal bundle's connection, determines topological invariants is the seed of modern mathematical physics — it underlies gauge theories, index theorems, and much of contemporary geometry.
The profound bridge between local differential geometry and global topology is not an accident — it is the central theme of modern mathematics.