Mayer–Vietoris sequence (source code)

= Mayer–Vietoris sequence
{c}
{wiki}

= Mayer–Vietoris theorem
{c}
{synonym}

For an <open cover> $X=U\cup V$, integral <singular homology> has the <long exact sequence>
$$
\cdots\to H_n(U\cap V)\xrightarrow{(i_*,-j_*)}H_n(U)\oplus H_n(V)\xrightarrow{k_*+\ell_*}H_n(X)\xrightarrow{\delta}H_{n-1}(U\cap V)\to\cdots.
$$
All four maps other than $\delta$ are induced by inclusions. The minus sign makes consecutive maps compose to zero. Exactness identifies the <homology classes> created by gluing $U$ and $V$ with <cycles> in their overlap.<Algebraic Topology by Allen Hatcher>[Section 2.2, pages 149–150]{ref}

To construct $\delta$, subdivide a representing <cycle> in <singular homology> until it is a sum $c_U+c_V$ of <chains> in the two open sets. Since $\partial c_U=-\partial c_V$, this common <boundary> lies in the overlap; its class is $\delta[c]$. This chain construction proves exactness and also gives the version for <reduced homology>.

Cover $S^n$, $n\geq1$, by two contractible enlarged <hemispheres>. Their overlap has the <homotopy type> of $S^{n-1}$, giving $\widetilde H_n(S^n)\cong\widetilde H_{n-1}(S^{n-1})$. Iterating starts from $\widetilde H_0(S^0)\cong\mathbb Z$ and computes the top <homology> of every <sphere>.