Proof (homology of compact connected surfaces)

We follow the same procedure as when we computed fundamental groups.

The sphere

See here.

Orientable surfaces

Torus minus triangle

Let $T^0$ be the torus with an open triangle removed. $T^0$ has a triangulation $K$ as shown:

The inclusion $W \hookrightarrow K$ is a homotopy equivalence, inducing an isomorphism $H_*(K) \isom H_*(W)$.

Gluing copies together

Now glue $g$ copies of $K$ together along edges of the triangle, forming $K_g$. This is a triangulation of $Σ_{g,\partial}$.

Since $K_g = K_{g-1} \cup K$ with $K_{g-1} \cap K = Δ^1$ a 1-simplex, we have a Mayer-Vietoris sequence showing $H_2(K_{g-1}) \isom H_2(K_g)$ and $H_1(K_{g-1})\oplus \Z^2 \isom H_1(K_g)$. Therefore by induction,

Closing the boundary

Attach a cone $C$ to $K_g$ to form a triangulation for $Σ_g$. Call the intersection $C \cap K_g = L$, which is a triangulation of $S^1$.

Mayer-Vietoris gives

The generator of $H_1(L)$ is the boundary of $K_g$, which we showed maps to 0 in $H_1(K_g)$.

This shows

Non-orientable surface

Real projective plane minus a triangle

Let $M$ be $\mathbb{RP}^2$ with an open triangle removed, which has a triangulation $K$:

$K$ is homotopic equivalent to $W$, a triangulation of $S^1$, so

The boundary $r$ corresponds to $2u$.

Gluing copies together

Now glue $k$ copies together to form $K_k$. As before, since $K_k = K_{k-1} \cup K$ with $K_{k-1} \cap K = Δ^1$, we get

so by induction,

The boundary $r_1 + \ldots + r_g$ corresponds to $2u_1 + \ldots + 2u_k$.

Closing the boundary

Attach a cone $C$ to $K_k$ to form a triangulation for $S_k$. Letting $L = K_k \cap C$, we get

This time, the generator of $H_1(L)$, i.e. the boundary of $K_k$, corresponds to $(2,\ldots,2)\in \Z^k \isom H_1(K_k)$.