Snake lemma
From a commutative diagram with exact rows, produces an exact sequence of kernels and cokernels with a canonical connecting map.
The snake lemma is a fundamental diagram-chase statement in the category of -modules, and more generally in any abelian category.
It relates kernels and cokernels (compare also cokernel of a module map) across two exact rows (exact sequences).
Theorem (Snake lemma)
Suppose we have a commutative diagram of -modules with exact rows
Then there is a canonical connecting homomorphism (boundary map)
such that the following sequence is exact:
This is natural in the diagram, and is the prototype for the connecting homomorphism appearing in long exact sequences.
Construction of (explicit)
Given :
- pick with ;
- since , commutativity implies , hence ;
- choose with ;
- define to be the class of in .
A standard diagram chase shows this is well-defined (independent of choices) and gives exactness.
Examples
- Induced map on quotients: the “kernel–cokernel” exact sequence. Let be an -linear map, and let , satisfy . Consider the commutative diagram with exact rows: The snake lemma produces the exact sequencewhich cleanly measures how kernels/cokernels change when passing to quotients.
- Boundary map in homology from a short exact sequence of complexes. Given a degreewise short exact sequence of chain complexes one applies the snake lemma to the diagram of cycles and boundaries in each degree to construct the connecting mapyielding the usual long exact sequence in homology. (This is the chain-complex analogue of long exact sequences from derived functors.)
- Computing a boundary map concretely (multiplication on a quotient). Fix integers and consider the diagram The connecting map sends a class with to the class of in . This is a concrete instance of how encodes the failure of lifting across the diagram.