Exact Sequences and the Snake Lemma
One-line statement: An exact sequence is a sequence of objects and morphisms in an abelian category where the image of each map equals the kernel of the next; the Snake Lemma constructs a natural long exact sequence connecting the kernels and cokernels of three vertically related short exact sequences via a "connecting homomorphism."
Key result in words: Given a commutative diagram of three short exact sequences stacked into two rows, the kernels and cokernels of the vertical maps splice together into a single six-term exact sequence, with the magic "snake" connecting map δ threading from the leftmost cokernel back to the rightmost kernel.
Where it applies: Homological algebra, algebraic topology (long exact sequences of pairs, Mayer–Vietoris), commutative algebra, sheaf cohomology, representation theory, algebraic K-theory.
Who/when: The diagrammatic methods crystallized in the 1940s–1950s (Eilenberg, Mac Lane, Cartan, Steenrod); the Snake Lemma became standard with the rise of homological algebra (Cartan–Eilenberg, 1956) and category theory.
Exactness localizes a global property: instead of asking whether a long composite is zero, you check one balance condition (image = kernel) at each node. The Snake Lemma then says that whenever you have a 3×2 commutative grid of short exact sequences, the obstruction to "kernels mapping onto kernels and cokernels injecting into cokernels" is itself measured by a single connecting map, and the entire defect organizes into one exact sequence. Exactness is the conservation law of homological algebra, and the snake map is the current that flows when conservation is locally violated.
Formal Statement
Let be an abelian category. A sequence of objects and morphisms
Derivation hint: This is a diagram in ; composability requires . is exact at if as subobjects of . The sequence is exact if it is exact at every interior object. A first consequence is that consecutive maps compose to zero:
Derivation hint: implies , so kills everything in the image of ; this is necessary but not sufficient for exactness.
A short exact sequence (SES) is an exact sequence of the form
Derivation hint: Exactness at forces , so is monic; exactness at forces , so is epic; exactness at gives . Equivalently is a monomorphism, is an epimorphism, and induces an isomorphism . We say is an extension of by .
For a morphism :
Derivation hint: In all (co)equalizers with zero exist; the image is defined as the kernel of the cokernel, equivalently the smallest subobject through which factors. In -Mod these reduce to the usual set-theoretic definitions.
Let be an abelian category and suppose the following diagram commutes with exact rows:
Derivation hint: Commutativity means and ; the top and bottom rows are short exact sequences. Then there is a natural connecting homomorphism making the following sequence exact:
Derivation hint: The barred maps are induced by restriction (on kernels) and passage to quotients (on cokernels); the leftmost requires 's row to begin with , and the rightmost requires 's row to end with . If the top row is not assumed to start with , the leftmost may be dropped; symmetrically on the right.
Why It Holds / Derivation
We work in -Mod; the general abelian-category case follows by the Freyd–Mitchell embedding theorem, which embeds any small abelian category exactly and fully faithfully into -Mod for some ring , so that element-wise chases are legitimate.
Step 1 — The induced maps exist. If , then , so ; define . Likewise . Dually, sends into (since ), so descends to ; similarly .
Step 2 — Define the connecting map δ. Take . Choose with (possible since is surjective). Now
so . Since is injective, there is a unique with . Define
Derivation hint: This is the "snake": go up via , across via , then back via . The chase descends one row and crosses the diagram, hence the name.
Step 3 — δ is well-defined. Suppose is another lift of , so , hence , say . Then
so the corresponding satisfies , giving by injectivity of . Thus and differ by , so is independent of the lift. Linearity of follows since lifts can be chosen additively.
Step 4 — Exactness at . Clearly (it is restricted, and ). Conversely if with , then , so . Then , and injective gives , i.e. . Hence .
Step 5 — Exactness at . : if with , use as the lift; then , so and . Conversely if , then in Step 2 we may take , say . Set . Then and
so and . Hence .
Step 6 — Exactness at . : with notation of Step 2, . Conversely if , then , say . Put . Then since . So and by construction .
Step 7 — Exactness at . Mirror of Step 4 by duality (replace each module by its role in the cokernel sequence; the argument is the formal dual of Step 4). from , and a preimage chase recovers exactness.
Step 8 — End terms. is injective: since injective. is surjective: given , since is surjective pick with ; then .
∎Eilenberg and Mac Lane founded category theory in their 1945 paper "General Theory of Natural Equivalences," precisely to make rigorous the notion of a natural transformation—exactly the kind of canonicity the connecting homomorphism δ exhibits. Eilenberg, together with Steenrod, axiomatized homology (1952) around the long exact sequence of a pair; with Cartan he wrote Homological Algebra (1956), the text in which diagram-chasing tools like the Snake Lemma and the Five Lemma became the working language of the subject. Mac Lane's Homology (1963) and Categories for the Working Mathematician (1971) standardized the abelian-category framework in which the Snake Lemma lives in full generality. Their insistence that the connecting map be functorial in the diagram—not merely existent—is what elevates the Snake Lemma from a computational trick to a structural theorem.
Building Intuition
Think of a short exact sequence as a statement that is built from a "bottom piece" and a "top piece" , with sitting inside and being what's left over. Exactness is conservation: nothing is created or destroyed as you pass along the maps; whatever dies (gets sent to zero) by is exactly what was born (lay in the image) under . The Snake Lemma addresses a comparison: you have two such decompositions, the top row and bottom row, linked by vertical "comparison maps" . You'd love for kernels to map onto kernels and cokernels into cokernels cleanly, giving two separate short exact sequences. They almost do—but there's a gap, and the snake map δ is precisely the bridge that closes it. Operationally δ is a relay race: start with an element of , run it backwards up the right column to , run it down through the middle map to , then run it backwards up the left column to , and report the result modulo . The non-canonical "backwards" steps introduce ambiguity, but Step 3 of the proof shows the ambiguity lands exactly in , which is why we quotient by it. The miracle isn't that δ is defined—it's that this S-shaped chase produces an exact sequence with no leftover error terms.
Worked Examples
Consider, for fixed integers , the diagram of -modules with rows the SES , vertical maps "multiply by ":
Derivation hint: Commutativity is on the left square and on the right; both hold since multiplication in is commutative.
Given. . We compute the six-term sequence [6].
Steps.
- for the left and middle, so .
- : elements with , i.e. where . This subgroup has order , so .
- for left and middle, so .
- has order , so .
- The sequence [6] reads .
- Exactness at forces δ injective; trace δ: lift to (middle), apply to get , then divide by (left ) — but need not be divisible by in ... here we use that means , so and .
Boxed answer.
This is the algebraic shadow of the Bockstein homomorphism; orders multiply consistently: . (Units: pure group orders, dimensionless.)
Given. A short exact sequence of chain complexes (exact in each degree). We derive the long exact homology sequence.
Steps.
- For each , the differential induces a diagram comparing (top) with cycle subgroups (bottom), arising from the maps induced by the differential.
- Concretely the rows
are exact, and the vertical maps are induced by ; the Snake Lemma applied to this diagram has giving and giving . Derivation hint: and of the induced on cycles is ; this is the standard "snake produces homology" identification.
- The connecting map δ becomes the homological boundary : lift a cycle to , apply to get which maps to in , hence comes from ; set .
Boxed answer.
This long exact sequence is the engine behind Mayer–Vietoris and the long exact sequence of a pair in Singular Homology.
Common Misconceptions
" means the sequence is exact." False. The vanishing of composites only gives (a chain complex). Exactness is the much stronger equality . The discrepancy is precisely homology; exactness means homology vanishes.
"The connecting map δ is canonical so it must be defined without choices." Misleading. The construction of δ genuinely uses a choice of lift (an inverse image under a non-injective surjection). What is canonical is the output, because the ambiguity is exactly quotiented away. Confusing "choice-free definition" with "well-defined result" is a common trap.
"You can chase elements in any abelian category." Not directly—a general abelian category has no underlying sets. Element-chasing is justified only via the Freyd–Mitchell embedding (for small categories) or by a more careful diagrammatic/membership-relation formalism (generalized elements). The conclusion holds, but the method needs justification.
Take . Here , so it is not even a complex—exactness is impossible. Even repairing to , the composite is zero but the leftmost map is not injective onto ... it is here, so this one is exact—illustrating how delicate the equality condition is. For the Snake Lemma's hypotheses, consider dropping exactness of a row. Take rows where the bottom is with the wrong right map (say the identity rather than ), making . Then the bottom is not exact, identifications break, and the six-term sequence [6] fails to be exact at : one finds an element of not hit by δ. Exact rows are not decoration; they are load-bearing.
Connections
The Snake Lemma is the keystone joining several pillars. It specializes to the long exact sequence in <a class="wiki-link" href="/wiki/singular-homology">Singular Homology</a> and to the long exact sequence of Derived Functors (e.g. and ): a short exact sequence of modules induces long exact and sequences whose connecting maps are snake maps in disguise. In Sheaf Cohomology, a short exact sequence of sheaves yields the cohomology long exact sequence via the same mechanism applied to injective resolutions. The lemma is the prototype of the connecting morphism in any Triangulated Category, where distinguished triangles axiomatize "snake-like" rotation, and it underlies the Five Lemma and Nine Lemma (the lemma), which are corollaries obtained by composing snake/diagram chases. It also sits at the heart of the Spectral Sequence formalism, where the page-to-page differentials generalize δ.