# Mayer–Vietoris sequence

In mathematics, particularly algebraic topology and homology theory, the Mayer–Vietoris sequence is an algebraic tool to help compute algebraic invariants of topological spaces, known as their homology and cohomology groups. The result is due to two Austrian mathematicians, Walther Mayer and Leopold Vietoris. The method consists of splitting a space into subspaces, for which the homology or cohomology groups may be easier to compute. The sequence relates the (co)homology groups of the space to the (co)homology groups of the subspaces. It is a natural long exact sequence, whose entries are the (co)homology groups of the whole space, the direct sum of the (co)homology groups of the subspaces, and the (co)homology groups of the intersection of the subspaces.

The Mayer–Vietoris sequence holds for a variety of cohomology and homology theories, including singular homology and singular cohomology. In general, the sequence holds for those theories satisfying the Eilenberg–Steenrod axioms, and it has variations for both reduced and relative (co)homology. Because the (co)homology of most spaces cannot be computed directly from their definitions, one uses tools such as the Mayer–Vietoris sequence in the hope of obtaining partial information. Many spaces encountered in topology are constructed by piecing together very simple patches. Carefully choosing the two covering subspaces so that, together with their intersection, they have simpler (co)homology than that of the whole space may allow a complete deduction of the (co)homology of the space. In that respect, the Mayer–Vietoris sequence is analogous to the Seifert–van Kampen theorem for the fundamental group, and a precise relation exists for homology of dimension one.

## Background, motivation, and history

Like the fundamental group or the higher homotopy groups of a space, homology groups are important topological invariants. Although some (co)homology theories are computable using tools of linear algebra, many other important (co)homology theories, especially singular (co)homology, are not computable directly from their definition for nontrivial spaces. For singular (co)homology, the singular (co)chains and (co)cycles groups are often too big to handle directly. More subtle and indirect approaches become necessary. The Mayer–Vietoris sequence is such an approach, giving partial information about the (co)homology groups of any space by relating it to the (co)homology groups of two of its subspaces and their intersection.

The most natural and convenient way to express the relation involves the algebraic concept of exact sequences: sequences of objects (in this case groups) and morphisms (in this case group homomorphisms) between them such that the image of one morphism equals the kernel of the next. In general, this does not allow (co)homology groups of a space to be completely computed. However, because many important spaces encountered in topology are topological manifolds, simplicial complexes, or CW complexes, which are constructed by piecing together very simple patches, a theorem such as that of Mayer and Vietoris is potentially of broad and deep applicability.

Mayer was introduced to topology by his colleague Vietoris when attending his lectures in 1926 and 1927 at a local university in Vienna. He was told about the conjectured result and a way to its solution, and solved the question for the Betti numbers in 1929. He applied his results to the torus considered as the union of two cylinders. Vietoris later proved the full result for the homology groups in 1930 but did not express it as an exact sequence. The concept of an exact sequence only appeared in print in the 1952 book Foundations of Algebraic Topology by Samuel Eilenberg and Norman Steenrod where the results of Mayer and Vietoris were expressed in the modern form.

## Basic versions for singular homology

Let X be a topological space and A, B be two subspaces whose interiors cover X. (The interiors of A and B need not be disjoint.) The Mayer–Vietoris sequence in singular homology for the triad (X, A, B) is a long exact sequence relating the singular homology groups (with coefficient group the integers Z) of the spaces X, A, B, and the intersection AB. There is an unreduced and a reduced version.

### Unreduced version

For unreduced homology, the Mayer–Vietoris sequence states that the following sequence is exact:

Here the maps i : ABA, j : ABB, k : AX, and l : BX are inclusion maps and $\oplus$ denotes the direct sum of abelian groups.

### Boundary map Illustration of the boundary map ∂* on the torus where the 1-cycle x = u + v is the sum of two 1-chains whose boundary lies in the intersection of A and B.

The boundary maps ∂* lowering the dimension may be made explicit as follows. An element in Hn(X) is the homology class of an n-cycle x which, by barycentric subdivision for example, can be written as the sum of two n-chains u and v whose images lie wholly in A and B, respectively. Thus ∂x = ∂(u + v) = 0 so that ∂u = −∂v. This implies that the images of both these boundary (n − 1)-cycles are contained in the intersection AB. Then ∂*([x]) is the class of ∂u in Hn−1(AB). Choosing a different representative x′ does not affect ∂u since ∂x′ = ∂x = 0; nor does choosing another decomposition x = u′ + v′ since then ∂u + ∂v − ∂u′ − ∂v′ = 0 which implies ∂u = ∂u′ and ∂v = ∂v′. Notice that the maps in the Mayer–Vietoris sequence depend on choosing an order for A and B. In particular, the boundary map changes sign if A and B are swapped.

### Reduced version

For reduced homology there is also a Mayer–Vietoris sequence, under the assumption that A and B have non-empty intersection. The sequence is identical for positive dimensions and ends as:

### Analogy with the Seifert–van Kampen theorem

There is an analogy between the Mayer–Vietoris sequence (especially for homology groups of dimension 1) and the Seifert–van Kampen theorem. Whenever AB is path-connected the reduced Mayer–Vietoris sequence yields the isomorphism

$H_{1}(X)\cong (H_{1}(A)\oplus H_{1}(B))/{\text{Ker}}(k_{*}-l_{*})$ where, by exactness,

${\text{Ker}}(k_{*}-l_{*})\cong {\text{Im}}(i_{*},j_{*}).$ This is precisely the abelianized statement of the Seifert–van Kampen theorem. Compare with the fact that H1(X) is the abelianization of the fundamental group π1(X) when X is path-connected.

## Basic applications

### k-sphere

To completely compute the homology of the k-sphere X = Sk, let A and B be two hemispheres of X with intersection homotopy equivalent to a (k − 1)-dimensional equatorial sphere. Since the k-dimensional hemispheres are homeomorphic to k-discs, which are contractible, the homology groups for A and B are trivial. The Mayer–Vietoris sequence for reduced homology groups then yields

$\cdots \rightarrow 0\rightarrow {\tilde {H}}_{n}\left(S^{k}\right)\xrightarrow {\partial _{*}} \,{\tilde {H}}_{n-1}\left(S^{k-1}\right)\rightarrow 0\rightarrow \cdots \!$ Exactness immediately implies that the map ∂* is an isomorphism. Using the reduced homology of the 0-sphere (two points) as a base case, it follows

${\tilde {H}}_{n}\left(S^{k}\right)\cong \delta _{kn}\,{\mathbb {Z} }=\left\{{\begin{matrix}{\mathbb {Z} }&{\mbox{if }}n=k\\0&{\mbox{if }}n\neq k\end{matrix}}\right.$ where δ is the Kronecker delta. Such a complete understanding of the homology groups for spheres is in stark contrast with current knowledge of homotopy groups of spheres, especially for the case n > k about which little is known.

### Klein bottle

A slightly more difficult application of the Mayer–Vietoris sequence is the calculation of the homology groups of the Klein bottle X. One uses the decomposition of X as the union of two Möbius strips A and B glued along their boundary circle (see illustration on the right). Then A, B and their intersection AB are homotopy equivalent to circles, so the nontrivial part of the sequence yields

$0\rightarrow H_{2}(X)\rightarrow \,\mathbb {Z} \ \xrightarrow {\alpha } \ \mathbb {Z} \oplus \mathbb {Z} \rightarrow \,H_{1}(X)\rightarrow 0\!$ and the trivial part implies vanishing homology for dimensions greater than 2. The central map α sends 1 to (2, −2) since the boundary circle of a Möbius band wraps twice around the core circle. In particular α is injective so homology of dimension 2 also vanishes. Finally, choosing (1, 0) and (1, −1) as a basis for Z2, it follows

${\tilde {H}}_{n}\left(X\right)\cong \delta _{1n}\,({\mathbb {Z} }\oplus {\mathbb {Z} }_{2})=\left\{{\begin{matrix}{\mathbb {Z} }\oplus {\mathbb {Z} }_{2}&{\mbox{if }}n=1\\0&{\mbox{if }}n\neq 1\end{matrix}}\right.$ ### Wedge sums This decomposition of the wedge sum X of two 2-spheres K and L yields all the homology groups of X.

Let X be the wedge sum of two spaces K and L, and suppose furthermore that the identified basepoint is a deformation retract of open neighborhoods UK and VL. Letting A = KV and B = UL it follows that AB = X and AB = UV, which is contractible by construction. The reduced version of the sequence then yields (by exactness)

${\tilde {H}}_{n}(K\vee L)\cong {\tilde {H}}_{n}(K)\oplus {\tilde {H}}_{n}(L)$ for all dimensions n. The illustration on the right shows X as the sum of two 2-spheres K and L. For this specific case, using the result from above for 2-spheres, one has

${\tilde {H}}_{n}\left(S^{2}\vee S^{2}\right)\cong \delta _{2n}\,({\mathbb {Z} }\oplus {\mathbb {Z} })=\left\{{\begin{matrix}{\mathbb {Z} }\oplus {\mathbb {Z} }&{\mbox{if }}n=2\\0&{\mbox{if }}n\neq 2\end{matrix}}\right.$ ### Suspensions

If X is the suspension SY of a space Y, let A and B be the complements in X of the top and bottom 'vertices' of the double cone, respectively. Then X is the union AB, with A and B contractible. Also, the intersection AB is homotopy equivalent to Y. Hence the Mayer–Vietoris sequence yields, for all n,

${\tilde {H}}_{n}(SY)\cong {\tilde {H}}_{n-1}(Y)$ The illustration on the right shows the 1-sphere X as the suspension of the 0-sphere Y. Noting in general that the k-sphere is the suspension of the (k − 1)-sphere, it is easy to derive the homology groups of the k-sphere by induction, as above.

## Further discussion

### Relative form

A relative form of the Mayer–Vietoris sequence also exists. If YX and is the union of CA and DB, then the exact sequence is:

### Naturality

The homology groups are natural in the sense that if ƒ is a continuous map from X1 to X2, then there is a canonical pushforward map ƒ of homology groups ƒ : Hk(X1) → Hk(X2), such that the composition of pushforwards is the pushforward of a composition: that is, $(g\circ h)_{*}=g_{*}\circ h_{*}$ . The Mayer–Vietoris sequence is also natural in the sense that if X1 = A1B1 to X2 = A2B2 and the mapping ƒ satisfies ƒ(A1) ⊂ A2 and ƒ(B1) ⊂ B2, then the connecting morphism ∂ of the Mayer–Vietoris sequence commutes with ƒ. That is, the following diagram commutes (the horizontal maps are the usual ones):

### Cohomological versions

The Mayer–Vietoris long exact sequence for singular cohomology groups with coefficient group G is dual to the homological version. It is the following:

where the dimension preserving maps are restriction maps induced from inclusions, and the (co-)boundary maps are defined in a similar fashion to the homological version. There is also a relative formulation.

As an important special case when G is the group of real numbers R and the underlying topological space has the additional structure of a smooth manifold, the Mayer–Vietoris sequence for de Rham cohomology is

where {U, V} is an open cover of X, ρ denotes the restriction map, and Δ is the difference. The map d* is defined similarly as the map * from above. It can be briefly described as follows. For a cohomology class [ω] represented by closed form ω in UV, express ω as a difference of forms ωU - ωV via a partition of unity subordinate to the open cover {U, V}, for example. The exterior derivative U and V agree on UV and therefore together define an n + 1 form σ on X. One then has d*([ω]) = [σ].

### Derivation

Consider the long exact sequence associated to the short exact sequences of chain groups (constituent groups of chain complexes)

$0\rightarrow C_{n}(A\cap B)\,{\xrightarrow {\alpha }}\,C_{n}(A)\oplus C_{n}(B)\,{\xrightarrow {\beta }}\,C_{n}(A+B)\rightarrow 0$ where α(x) = (x, −x), β(x, y) = x + y, and Cn(A + B) is the chain group consisting of sums of chains in A and chains in B. It is a fact that the singular n-simplices of X whose images are contained in either A or B generate all of the homology group Hn(X). In other words, Hn(A + B) is isomorphic to Hn(X). This gives the Mayer–Vietoris sequence for singular homology.

The same computation applied to the short exact sequences of vector spaces of differential forms

$0\rightarrow \Omega ^{n}(X)\rightarrow \Omega ^{n}(U)\oplus \Omega ^{n}(V)\rightarrow \Omega ^{n}(U\cap V)\rightarrow 0$ yields the Mayer–Vietoris sequence for de Rham cohomology.

From a formal point of view, the Mayer–Vietoris sequence can be derived from the Eilenberg–Steenrod axioms for homology theories using the long exact sequence in homology.

### Other homology theories

The derivation of the Mayer–Vietoris sequence from the Eilenberg–Steenrod axioms does not require the dimension axiom, so in addition to existing in ordinary cohomology theories, it holds in extraordinary cohomology theories (such as topological K-theory and cobordism).

### Sheaf cohomology

From the point of view of sheaf cohomology, the Mayer–Vietoris sequence is related to Čech cohomology. Specifically, it arises from the degeneration of the spectral sequence that relates Čech cohomology to sheaf cohomology (sometimes called the Mayer–Vietoris spectral sequence) in the case where the open cover used to compute the Čech cohomology consists of two open sets. This spectral sequence exists in arbitrary topoi.