Proof (Mayer-Vietoris)

On the level of chain groups, we have a short exact sequence of abelian groups $$ \begin{align*} 0 \to C_n(M\cap N) \xrightarrow{i_n \oplus j_n} C_n(M) \oplus C_n(N) \xrightarrow{k_n - l_n} C_n(K) \to 0 \end{align*} $$ because

Therefore applying the snake lemma to

yields an exact sequence $$ \begin{align*} H_n(L) \to H_n(M) \oplus H_n(N) \to H_n(K) \xrightarrow{δ_*} H_{n-1}(L) \to H_{n-1}(M)\oplus H_{n-1}(N) \to H_{n-1}(K). \end{align*} $$

The theorem follows by piecing together the exact sequences for different $n$.