A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

The Snake Lemma

Research Depth 93 in the knowledge graph ☐ I know this ☆ Set as goal
10topics build on this
557prerequisites beneath it
See this on the map →
Exact Sequences in CategoriesDiagram Chasing and Commutative Diagrams→→Derived FunctorsThe Five Lemma and Related Results
lemma homological-algebra connecting-map

Core Idea

The snake lemma constructs a connecting homomorphism between kernels and cokernels from a commutative diagram with exact rows in an abelian category. It produces a long exact sequence of kernels and cokernels from a short exact sequence of complexes. Named for the 'snake-like' path through the diagram, it links local and global homology fundamentally.

Explainer

From exact sequences, you know that exactness at B in A → B → C means the image of the first map equals the kernel of the second — nothing more and nothing less passes through. From diagram chasing, you're comfortable following elements through commutative squares using exactness to constrain where they can go. The snake lemma is the most powerful result produced by this technique: it constructs a long exact sequence that you could not see by looking at any single row or column of the diagram.

The setup is a commutative diagram with two exact rows in an abelian category:

```

0 → A → B → C → 0

↓f ↓g ↓h

0 → A'→ B'→ C'→ 0

```

The vertical maps f, g, h are arbitrary (not assumed injective or surjective). The snake lemma produces a six-term exact sequence:

`0 → ker(f) → ker(g) → ker(h) →^δ coker(f) → coker(g) → coker(h) → 0`

(with 0s at the ends when the original rows are short exact as shown). The maps ker(f) → ker(g) → ker(h) are induced by the top row, and coker(f) → coker(g) → coker(h) are induced by the bottom row. The remarkable part is the connecting homomorphism δ: ker(h) → coker(f), which crosses the diagram diagonally.

The connecting homomorphism δ is constructed by diagram chasing in four steps. Take c ∈ ker(h). (1) Since B → C is surjective (top row is exact and the right 0 implies surjectivity), lift c to some b ∈ B. (2) Apply g to get g(b) ∈ B'. (3) Since h(c) = 0 and the diagram commutes, the image of g(b) in C' is 0, so g(b) lies in the kernel of B' → C', which equals the image of A' → B' by exactness of the bottom row. Lift g(b) to a unique a' ∈ A'. (4) Define δ(c) = [a'] ∈ coker(f) = A' / im(f). The verification that this is well-defined — independent of the choice of lift b in step 1 — is the heart of the proof: two different lifts b and b₁ differ by an element of ker(B → C) = im(A → B), and tracing through shows their corresponding a' values differ by an element of im(f), hence define the same class in coker(f).

Why is it called the snake lemma? Draw the morphisms used to construct δ on the diagram: starting at ker(h) ⊂ C (top right), lift left across the top row to B, descend via g to B', move left through the bottom row to A', exit via coker(f) (bottom left). The path traces an S-curve through the diagram — the snake. This mnemonic is reliable, and it correctly describes the directional flow of every diagram chase needed.

The snake lemma is the engine that generates long exact sequences in homology. Given a short exact sequence of chain complexes 0 → A_• → B_• → C_• → 0, applying homology gives a commutative diagram at each degree n with the boundary maps ∂_n as vertical arrows. The connecting homomorphism of the snake lemma at each degree produces the connecting map ∂: H_n(C) → H_{n-1}(A), and splicing these together yields the long exact sequence ⋯ → H_n(A) → H_n(B) → H_n(C) → H_{n-1}(A) → ⋯. The entirety of algebraic topology — the Mayer-Vietoris sequence, the long exact sequence of a pair, the Künneth formula — relies on this construction. The snake lemma is where diagram chasing stops being a local technique and becomes a machine for global algebraic invariants.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Set Operations: Union, Intersection, and Complement → Cartesian Products and Relations → Partial Orders → Binary Relations → Equivalence Relations → Injective, Surjective, and Bijective Functions → Categories and Morphisms → Functors → Commutative Diagrams in Category Theory → Commutative Diagrams and Composition → Natural Transformations → 2-Categories and Weak Functors → Natural Isomorphisms Between Functors → Isomorphisms in Categories → Universal Properties → Initial and Terminal Objects → Products and Coproducts → Equalizers and Coequalizers → Limits and Colimits → Pullbacks and Pushouts → Adjoint Functors → Free Objects → Projective Objects and Projective Covers → Homological Dimension in Categories → Exact Sequences in Categories → The Snake Lemma

Longest path: 94 steps · 557 total prerequisite topics

Prerequisites (2)

Leads To (2)