Mayer-Vietoris Sequence

⚡ Key Takeaways

The Mayer–Vietoris sequence is a long exact sequence relating the (co)homology of a space XX to the (co)homology of two subspaces A,BA,B whose interiors cover XX and of their intersection A∩BA\cap B. In words: if you can cut a space into two overlapping pieces, you can compute its homology from the homology of the pieces and their overlap, with a connecting map measuring the "twisting" along the overlap. It applies in singular, simplicial, cellular, sheaf, de Rham, and generalized (co)homology theories. Named after Walther Mayer and Leopold Vietoris, who developed it around 1929–1930.

💡 The Core Insight

A cycle on XX can be subdivided so that each piece lies in AA or in BB. The obstruction to writing a cycle on XX as the sum of a cycle on AA and a cycle on BB is recorded in A∩BA\cap B: when you split a chain c=cA+cBc = c_A + c_B, even if ∂c=0\partial c = 0 the individual pieces satisfy ∂cA=−∂cB\partial c_A = -\partial c_B, a cycle living in A∩BA\cap B. The connecting map sends [c][c] to this overlap cycle. Exactness packages this single observation into a machine that recovers the global from the local.

Formal Statement

DefinitionExcisive couple / Mayer–Vietoris triad

Let XX be a topological space and let A,B⊆XA,B \subseteq X. The pair (A,B)(A,B) is called an excisive couple (and (X;A,B)(X;A,B) a Mayer–Vietoris triad) if

1
X=int⁡(A)∪int⁡(B),\quad X = \operatorname{int}(A) \cup \operatorname{int}(B),

i.e. the interiors of AA and BB cover XX. Here:

  • XX is the ambient space;
  • A,BA, B are the two covering subspaces;
  • A∩BA\cap B is their intersection;
  • int⁡(⋅)\operatorname{int}(\cdot) denotes topological interior in XX.

This condition guarantees that the inclusion (A,A∩B)↪(X,B)(A, A\cap B) \hookrightarrow (X,B) is an excision, which is the technical input that makes the sequence exact.

Derivation hint: The covering-by-interiors condition is exactly what is needed so that small chains (relative to the open cover {int⁡A,int⁡B}\{\operatorname{int}A,\operatorname{int}B\}) compute the homology of XX, via the Small Simplices Theorem / barycentric subdivision.

TheoremMayer–Vietoris, homology

Let (X;A,B)(X;A,B) be a Mayer–Vietoris triad. Denote the inclusions

i:A∩B↪A,j:A∩B↪B,k:A↪X,l:B↪X.i:A\cap B\hookrightarrow A,\quad j:A\cap B\hookrightarrow B,\quad k:A\hookrightarrow X,\quad l:B\hookrightarrow X.

Then there is a long exact sequence of homology groups (with coefficients in any abelian group GG)

2
⋯→Hn(A∩B)→ φ Hn(A)⊕Hn(B)→ ψ Hn(X)→ ∂ Hn−1(A∩B)→⋯\quad \cdots \to H_n(A\cap B)\xrightarrow{\ \varphi\ } H_n(A)\oplus H_n(B)\xrightarrow{\ \psi\ } H_n(X)\xrightarrow{\ \partial\ } H_{n-1}(A\cap B)\to\cdots

where the maps are

3
φ(x)=(i∗x, j∗x),ψ(a,b)=k∗a−l∗b,\quad \varphi(x) = (i_*x,\ j_*x),\qquad \psi(a,b) = k_*a - l_*b,

and ∂\partial is the connecting homomorphism. The signs ensure ψ∘φ=0\psi\circ\varphi = 0.

Derivation hint: φ\varphi is the diagonal inclusion into the direct sum; ψ\psi is the difference of the two inclusions so that classes coming from A∩BA\cap B cancel. Exactness comes from the snake lemma applied to a short exact sequence of chain complexes.

DefinitionReduced and cohomological versions

For the reduced homology H~n\tilde H_n, the same sequence holds provided A∩B≠∅A\cap B \neq \varnothing, terminating

4
⋯→H~0(A∩B)→H~0(A)⊕H~0(B)→H~0(X)→0.\quad \cdots \to \tilde H_0(A\cap B)\to \tilde H_0(A)\oplus\tilde H_0(B)\to \tilde H_0(X)\to 0.

In cohomology, the arrows reverse and the connecting map raises degree:

5
⋯→Hn(X)→(k∗,l∗)Hn(A)⊕Hn(B)→i∗−j∗Hn(A∩B)→ δ Hn+1(X)→⋯\quad \cdots \to H^n(X)\xrightarrow{(k^*,l^*)} H^n(A)\oplus H^n(B)\xrightarrow{i^*-j^*} H^n(A\cap B)\xrightarrow{\ \delta\ } H^{n+1}(X)\to\cdots

Derivation hint: Dualize the short exact sequence of chain complexes (apply Hom⁡(−,G)\operatorname{Hom}(-,G)) and run the snake lemma the other way; equivalently use the short exact sequence of cochain complexes built from the cover.

Why It Holds / Derivation

ProofThe short exact sequence of chains

Step 1 — Small chains. Let U={A,B}\mathcal{U}=\{A,B\} and let CnU(X)C_n^{\mathcal U}(X) denote the subgroup of Cn(X)C_n(X) generated by singular simplices whose image lies entirely in AA or entirely in BB. Concretely

6
CnU(X)=Cn(A)+Cn(B) ⊆ Cn(X).\quad C_n^{\mathcal U}(X) = C_n(A) + C_n(B)\ \subseteq\ C_n(X).

Derivation hint: A chain is "U\mathcal U-small" iff each generating simplex factors through one of the cover elements; the sum of subcomplexes is the span of such simplices.

Step 2 — Small Simplices Theorem. Because X=int⁡A∪int⁡BX=\operatorname{int}A\cup\operatorname{int}B, barycentric subdivision shows the inclusion C∙U(X)↪C∙(X)C_\bullet^{\mathcal U}(X)\hookrightarrow C_\bullet(X) is a chain-homotopy equivalence, hence

7
Hn(C∙U(X)) ≅ Hn(X).\quad H_n\big(C_\bullet^{\mathcal U}(X)\big)\ \cong\ H_n(X).

Derivation hint: Iterated barycentric subdivision Sdm\mathrm{Sd}^m eventually pushes every simplex into the open cover by the Lebesgue number lemma; the subdivision operator is chain homotopic to the identity.

Step 3 — The short exact sequence. Form the sequence of chain complexes

8
0→C∙(A∩B)→ α C∙(A)⊕C∙(B)→ β C∙U(X)→0,\quad 0 \to C_\bullet(A\cap B)\xrightarrow{\ \alpha\ } C_\bullet(A)\oplus C_\bullet(B)\xrightarrow{\ \beta\ } C_\bullet^{\mathcal U}(X) \to 0,

with α(c)=(c,c)\alpha(c) = (c,c) and β(a,b)=a−b\beta(a,b) = a - b. Derivation hint: α\alpha is injective (a chain in the intersection mapping to zero in both must vanish); β\beta is surjective by definition of CUC^{\mathcal U}; exactness in the middle is the statement that a−b=0a-b=0 forces a=b∈C∙(A∩B)a=b\in C_\bullet(A\cap B).

Step 4 — Snake lemma. A short exact sequence of chain complexes yields a long exact sequence in homology. Substituting Hn(CU)≅Hn(X)H_n(C^{\mathcal U})\cong H_n(X) from Step 2 gives [2]. The connecting homomorphism is constructed as follows: given [z]∈Hn(X)[z]\in H_n(X), write z=a−bz = a - b with a∈Cn(A)a\in C_n(A), b∈Cn(B)b\in C_n(B); then ∂a=∂b∈Cn−1(A∩B)\partial a = \partial b \in C_{n-1}(A\cap B) is a cycle, and

9
∂[z]=[∂a] = [∂b] ∈ Hn−1(A∩B).\quad \partial[z] = [\partial a]\ =\ [\partial b]\ \in\ H_{n-1}(A\cap B).

Derivation hint: This is the standard zig-zag of the snake lemma. Since ∂(a−b)=∂z=0\partial(a-b)=\partial z=0 we get ∂a=∂b\partial a=\partial b; that common boundary is a cycle in the intersection, well-defined up to boundaries.

∎
⚠️ Common mistake

The covering condition [1] is essential and is not satisfied merely by X=A∪BX = A\cup B as sets. If AA and BB are closed and meet only along a "thin" set whose interiors do not cover, the naive sequence can fail. For CW complexes one typically thickens subcomplexes to open neighborhoods (which deformation retract) so that the interior condition holds; the maps remain those of the subcomplexes up to homotopy equivalence.

mathematician · Walther Mayer & Leopold Vietoris | 1887–1948 / 1891–2002

Walther Mayer, an Austrian mathematician, served as Albert Einstein's assistant ("Einstein's calculator") at Princeton and worked extensively on combinatorial topology and tensor calculus. Leopold Vietoris, also Austrian, is famous both for his topological contributions — the Vietoris topology, Vietoris–Rips complexes used today in topological data analysis, and the Vietoris homology theory — and for his extraordinary longevity, dying at age 110. Around 1929–1930 Mayer, prompted by lectures and discussions with Vietoris, formulated the exact-sequence relation between the homology of a complex and that of two subcomplexes. Vietoris had developed the relevant homology machinery for general (non-triangulable) spaces. The synthesis of their work into the sequence that bears both names became one of the cornerstones of the homological-algebra revolution of the 1940s–50s.

Building Intuition

🧠 Intuition

Think of XX as a country, AA and BB as two overlapping maps that together cover it, and homology classes as "loops/holes that cannot be filled." If you have a global loop on XX, you can cut it where the two maps overlap. The pieces on map AA and map BB might each be open arcs (boundaries), but where you cut — in the overlap A∩BA\cap B — you create endpoints. The connecting map ∂\partial remembers those endpoints as a cycle in the overlap. Exactness says: a global hole exists precisely when the overlap forces an obstruction that cannot be canceled by holes already present in AA or BB. The sphere SnS^n is the cleanest example: both hemispheres are contractible (no holes), yet their overlap is a homotopy Sn−1S^{n-1}, and ∂\partial transports the (n−1)(n-1)-dimensional hole of the equator up to the nn-dimensional hole of the whole sphere.

Figure
Mayer–Vietoris decomposition of the circle S1S^1 into two arcs with two-component overlap
S¹ = A ∪ B, A∩B = two arcs A (upper arc) B (lower arc) p q H₁(S¹)=ℤ ↑ ∂ H̃₀(A∩B)=ℤ (two points → rank 1)

Worked Examples

ExampleHomology of the nn-sphere by induction

Given: SnS^n for n≥1n\ge 1. Cover by A=Sn∖{south pole}A = S^n\setminus\{\text{south pole}\} and B=Sn∖{north pole}B = S^n\setminus\{\text{north pole}\}.

Steps: 1. Each of A,BA,B is homeomorphic to Rn\mathbb R^n, hence contractible: H~∗(A)=H~∗(B)=0\tilde H_*(A)=\tilde H_*(B)=0. 2. A∩B=Sn∖{2 poles}A\cap B = S^n\setminus\{2\text{ poles}\} deformation retracts onto the equator Sn−1S^{n-1}. 3. The reduced sequence [4] in degree nn gives, since the ⊕\oplus term vanishes,

10
0→H~n(Sn)→∂H~n−1(Sn−1)→0,\quad 0 \to \tilde H_n(S^n)\xrightarrow{\partial} \tilde H_{n-1}(S^{n-1})\to 0,

Derivation hint: Between two zero groups (the A⊕BA\oplus B terms vanish in every positive degree), ∂\partial is an isomorphism by exactness. 4. So ∂\partial is an isomorphism: H~n(Sn)≅H~n−1(Sn−1)\tilde H_n(S^n)\cong \tilde H_{n-1}(S^{n-1}). 5. Base case S0S^0 (two points): H~0(S0)=Z\tilde H_0(S^0)=\mathbb Z, all else 00. Induct.

Boxed answer:

 H~k(Sn)={Zk=n0k≠n \boxed{\ \tilde H_k(S^n)=\begin{cases}\mathbb Z & k=n\\ 0 & k\neq n\end{cases}\ }
ExampleHomology of the torus T2=S1×S1T^2 = S^1\times S^1

Given: Decompose T2T^2 as AA = a neighborhood of one circle's worth (a "fat" cylinder) and BB = the complementary cylinder, so A∪B=T2A\cup B = T^2, with A∩BA\cap B = two disjoint annuli.

Steps: 1. A≃S1A \simeq S^1, B≃S1B\simeq S^1, so H∗(A)=H∗(B)=H∗(S1)H_*(A)=H_*(B)=H_*(S^1). 2. A∩B≃S1⊔S1A\cap B \simeq S^1\sqcup S^1, so H0=Z2, H1=Z2H_0=\mathbb Z^2,\ H_1=\mathbb Z^2. 3. Write the sequence in low degrees (G=ZG=\mathbb Z):

11
0→H2(T2)→H1(A∩B)→φH1(A)⊕H1(B)→ψH1(T2)→H~0(A∩B)→0.\quad 0\to H_2(T^2)\to H_1(A\cap B)\xrightarrow{\varphi} H_1(A)\oplus H_1(B)\xrightarrow{\psi} H_1(T^2)\to \tilde H_0(A\cap B)\to 0.

Derivation hint: H2(A)=H2(B)=0H_2(A)=H_2(B)=0 and H2(A∩B)=0H_2(A\cap B)=0 force H2(T2)↪H1(A∩B)H_2(T^2)\hookrightarrow H_1(A\cap B); the rest is the tail of [2]. 4. The map φ:Z2→Z2\varphi:\mathbb Z^2\to\mathbb Z^2 sends each of the two boundary circles to the same generator (both annuli wrap the longitude), so φ\varphi has rank 1; thus ker⁡φ≅Z\ker\varphi\cong\mathbb Z and coker⁡φ≅Z\operatorname{coker}\varphi\cong\mathbb Z. 5. Therefore H2(T2)=ker⁡φ=ZH_2(T^2)=\ker\varphi=\mathbb Z; counting ranks gives H1(T2)=Z2H_1(T^2)=\mathbb Z^2.

Boxed answer:

 H0(T2)=Z,H1(T2)=Z2,H2(T2)=Z \boxed{\ H_0(T^2)=\mathbb Z,\quad H_1(T^2)=\mathbb Z^2,\quad H_2(T^2)=\mathbb Z\ }

(Consistent with T2T^2 having one connected component, two independent loops, one enclosed void; Euler characteristic 1−2+1=01-2+1=0.)

Common Misconceptions

⚠️ Common mistake

The connecting map is not natural in an obvious "first guess" way. Students often expect ∂\partial to be a forgetful or restriction map. It is neither — it is defined through the splitting of a chain (choices a,ba,b with z=a−bz=a-b) and the snake-lemma diagram chase. It is, however, natural with respect to maps of triads, and this naturality is what allows Mayer–Vietoris to fit into long exact ladders and spectral-sequence comparisons.

⚠️ Common mistake

Direct sum, not direct product, and watch the sign. The middle term is Hn(A)⊕Hn(B)H_n(A)\oplus H_n(B) with the map ψ(a,b)=k∗a−l∗b\psi(a,b)=k_*a - l_*b. Dropping the minus sign breaks ψ∘φ=0\psi\circ\varphi=0 and destroys exactness. Some texts instead put the sign in φ\varphi; either convention works, but you must be consistent.

CounterexampleFailure without the interior-cover condition

Take X=RX=\mathbb R, A=(−∞,0]A=(-\infty,0], B=[0,∞)B=[0,\infty). These are closed, X=A∪BX=A\cup B, and A∩B={0}A\cap B=\{0\}. Here int⁡A=(−∞,0)\operatorname{int}A=(-\infty,0) and int⁡B=(0,∞)\operatorname{int}B=(0,\infty), whose union is R∖{0}≠R\mathbb R\setminus\{0\}\neq\mathbb R, so [1] fails at the single point 00. In this benign case all spaces are contractible and the sequence still works by accident. But replace with a pathological pair where the overlap is not a deformation retract of a neighborhood (e.g. the topologist's sine curve glued to an arc), and the excision step Step 2 collapses: CU↪C(X)C^{\mathcal U}\hookrightarrow C(X) need not be a homotopy equivalence, and the resulting "sequence" need not be exact. The lesson: closedness is not enough — you genuinely need open interiors to cover, or subspaces that admit collared/neighborhood-retract structure.

Connections

connection

Mayer–Vietoris is the abelian, all-degrees shadow of Seifert–van Kampen Theorem, which computes π1\pi_1 from a two-piece cover (a pushout of groups rather than an exact sequence). Both are instances of descent / gluing. The sequence is the special case of the Spectral Sequence of an open cover (the Mayer–Vietoris / Čech–to–derived-functor spectral sequence) when the cover has only two elements. In sheaf theory it is precisely the long exact sequence associated to the short exact sequence 0→F→jA∗F⊕jB∗F→j(A∩B)∗F→00\to \mathcal F\to j_{A*}\mathcal F\oplus j_{B*}\mathcal F\to j_{(A\cap B)*}\mathcal F\to 0, linking it to Sheaf Cohomology and Čech Cohomology. In differential geometry the de Rham version connects it to de Rham Cohomology via partitions of unity, and the dual statement for compactly supported forms gives Poincaré Duality. It is also a corollary of the Eilenberg–Steenrod Axioms (excision + exactness of pairs), hence holds for any Generalized Homology Theory such as K-theory and cobordism.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1895–1904: Henri Poincaré founds combinatorial topology and defines Betti numbers and torsion in Analysis Situs, providing the homological objects that the sequence will later relate.
- 1925–1926: Emmy Noether reframes homology in terms of groups and homomorphisms rather than numbers, making exact-sequence reasoning conceivable.
- 1929: Leopold Vietoris develops a homology theory for general metric (non-triangulable) spaces, introducing the limit/nerve techniques that underlie the gluing philosophy.
- 1929–1930: Walther Mayer, in correspondence and lectures with Vietoris in Vienna, formulates the exact relationship between the homology of a complex and of two subcomplexes — the prototype of the sequence.
- 1930s: The relation is used in special cases (spheres, projective spaces) but stated in cumbersome combinatorial language, without the modern notion of "exact sequence."
- 1941–1942: Witold Hurewicz, and independently others, sharpen the language of exact sequences; the term exact sequence enters usage.
- 1945: Samuel Eilenberg and Norman Steenrod axiomatize homology theory (Eilenberg–Steenrod axioms), from which Mayer–Vietoris follows formally from excision and the exact sequence of a pair.
- 1952: Eilenberg–Steenrod's Foundations of Algebraic Topology presents Mayer–Vietoris in its now-standard categorical form, valid for any homology theory.
- 1990s–2000s: Carlsson, Ghrist, de Silva, Edelsbrunner and others revive Vietoris's gluing ideas in persistent homology and TDA, returning the sequence to computational practice.

Subtleties & Limits

open-problem

The two-piece sequence generalizes to arbitrary open covers via the Mayer–Vietoris (Čech) spectral sequence, but extracting closed-form homology from many overlapping pieces is genuinely hard: the spectral sequence may have nonzero higher differentials and nontrivial extension problems, both of which can obstruct mechanical computation. In persistent (co)homology, a fully functorial, stable Mayer–Vietoris formalism for persistence modules — controlling how barcodes glue with interleaving/stability guarantees — is an active research area; the relevant "exactness up to interleaving distance" statements are subtle and not yet a closed theory. For generalized homology theories with products (e.g. complex cobordism, KK-theory) the multiplicative structure of the connecting map and its interaction with the cup/external product (the Mayer–Vietoris analogue of the cohomology ring's behavior under gluing) requires care; clean gluing formulas for ring structures are theory-dependent. Finally, the non-excisive case — pairs not satisfying [1], common in singular or stratified spaces — generally requires intersection homology or homotopy-coherent descent rather than the naive sequence.

See Also

Excision Theorem · Long Exact Sequence of a Pair · Seifert–van Kampen Theorem · Eilenberg–Steenrod Axioms · Čech Cohomology · de Rham Cohomology · Poincaré Duality · Spectral Sequence · Generalized Homology Theory