The Gauss-Bonnet theorem connects the geometry of a compact two-dimensional surface to its topology. It states that the integral of the Gaussian curvature \(K\) over the entire surface \(M\) is equal to \(2\pi\) times the Euler characteristic \(\chi(M)\) of the surface. The formula is \(\int_M K \, dA = 2\pi \chi(M)\).
