# GaussBonnet theorem

The GaussBonnet theorem in differential geometry is an important statement about surfaces which connects their geometry (in the sense of curvature) to their topology (in the sense of the Euler characteristic).

Suppose $\displaystyle M$ is a compact two-dimensional orientable Riemannian manifold with boundary $\displaystyle \partial M$ . Denote by $\displaystyle K$ the Gaussian curvature at points of $\displaystyle M$ , and by $\displaystyle k_g$ the geodesic curvature at points of $\displaystyle \partial M$ . Then

$\displaystyle \int_M K\;dA+\int_{\partial M}k_g\;ds=2\pi\chi(M)$

where dA is the element of area of the surface, and ds is a line element, along the boundary of M. Here, $\displaystyle \chi(M)$ is the Euler characteristic of $\displaystyle M$ .

The theorem applies in particular if the manifold does not have a boundary, in which case the integral $\displaystyle \int_{\partial M}k_g\;ds$ can be omitted.

If one bends and deforms the manifold $\displaystyle M$ , its Euler characteristic will not change, while the curvatures at given points will. The theorem requires, somewhat surprisingly, that the total integral of all curvatures will remain the same.

A generalization to $\displaystyle n$ dimensions was found in the 1940s, by Allendoerfer, Weil, and Chern. See generalized Gauss-Bonnet theorem and Chern-Weil homomorphism.