Let \(M\) be a compact oriented surface and let fix
a triangulation of \(M\). Let
\begin{align*}
\mathcal V &= \text{The set of vertices of the triangulation,}\\
\mathcal E &= \text{The set of edges of the triangulation,}\\
\mathcal F &= \text{The set of faces of the triangulation,}
\end{align*}
and
a triangulation of \(M\). Let
\begin{align*}
V &= \#(\mathcal V)=\text{The number of vertices in the triangulation,}\\
E &= \#(\mathcal E)= \text{The number of edges in the triangulation,}\\
F &= \#(\mathcal F)= \text{The number of faces in the triangulation,}
\end{align*}
Anther numerical quantity related to the triangulation is
the degree of a vertex. This is the number of edges
that are on it. It also tells us how many faces come together at
a vertex.
Proposition 1 . Let \(p\) be a vertex. Then the number
of faces that are have is \(p\) as a vertex is \(\deg(p)\).
That is
$$
\#\{ D\in \mathcal V: \text{\(p\) is a corner of \(D\)}\}= \deg(p).
$$
Problem 1. Prove this.
Solution:
Proposition 2. If \(\deg(p)\) is the degree of the vertex \(p\)
then
$$
\sum_{p\in \mathcal V} \deg(p) = 2E.
$$
That is the sum of the degrees of the vertices is twice the number of
edges.
Problem 2:
Prove this.
Solution:
For each face \(D\in \mathcal F\) (so \(D\) is a simply connected domain
on the surface \(M\) let
$$
\mathcal V_D = \text{The vertices, \(p\in \mathcal V\) that are on
\(D\).}
$$
and for each \(p\in \mathcal V_D\) let
\begin{align*}
\beta(p,D)&= \text{exterior angle of \(D\) at \(p\)}\\
\alpha(p,D)&= \text{interior angle of \(D\) at \(p\)}
\end{align*}
Then by the Basic Gauss-Bonnet Formula for any \(D\in \mathcal F\) we have
$$
\iint_D K\,dA + \int_{\partial D} \kappa\,ds + \sum_{p\in \mathcal V_D}
\beta(p,D)
= 2\pi.
$$
The idea now is to sum this over all \(D\in \mathcal F\). As
the faces cover the surface \(M\) we have
$$
\sum_{D\in \mathcal F} \iint_DK\,dA = \iint_D K\,dA.
$$
Lemma 1.
$$
\sum_{D\in \mathcal F} \int_{\partial D} \kappa \,ds =0.
$$
Problem 3. Prove this.
Solution:
Lemma 2
$$
\sum_{D\in \mathcal F} \bigg( \sum_{p\in \mathcal V_D} \beta(p,D)\bigg)= 2\pi(E-V).
$$
Problem 4. Prove this.
Solution:
Recalling a formula above we have for all \(D\in \mathcal F\)
that by the Basic Gauss Bonnet Theorem the formula
$$
\iint_D K\,dA + \int_{\partial D} \kappa\,ds + \sum_{p\in \mathcal V_D}
\beta(p,D)
= 2\pi
$$
holds.
Gauss-Bonnet Theorem.
For a triangulated oriented surface \(M\)
$$
\iint_M K\,dA = 2\pi( V-E+F).
$$
Problem 5. Prove this by summing the basic Gauss-Bonnet
formula over the collection of faces \(D\).
Solution:
Let us look a what
$$
\iint_M K\,dA = 2\pi( V-E+F)
$$
tells us. First it tells us that for all triangulations of \(M\) \(V-E+F\)
always has the same value (\(=\frac1{2\pi}\iint_MK\,dA\)). So on a sphere for
any triangulation \(V-E+F=2\). Likewise on a torus for any triangulation we
have \(V-E+F=0\). To prove this you just need to find one triangulation where
\(V-E+F=0\) holds (I leave this to you) and then the Gauss-Bonnet Theorem tell
us it will be the same for all triangulations. And one a \(g\)-holed torus
\(V-E+F = 2-2g\) holds for all triangulations.
The formula information when read in the other direction. Fix a triangulation.
Then for all metric, or if you like all embeddings of \(M\) into \(\mathbb R^3\)
the integral \( \iint_DK\,dA= 2\pi(V-E+F)\). Therefore if \(M\) is a
sphere, we always have \(\iint_DK\,dA=4\pi\). For a torus it is
always the case that \(\iint_D K\,dA=0\).