Global Gauss-Bonnet theorem
It is the global version of local Gauss-Bonnet theorem.
Theorem
Given a closed orientable surface (I think it should be immersed in
where
The quantity
is the Euler characteristic.
It means that given any closed orientable surface, if we deform it in the way we like (even stretching and twisting), if we get an increase in Gaussian curvature in a point, the curvature must be decreasing in other points in order to compensate the total curvature.
Visual idea:
(@needham2021visual pages 169-172)
In a sphere, or in any other topologically equivalent surface, the total curvature is
In a torus is 0, since the external side of the torus counts for
In the general case of a compact surface: