Yan Sheng's site A math blog

Homological Algebra (I): The Five Lemma and the Snake Lemma

In this post, we prove two useful results in homological algebra, namely the five lemma and the snake lemma.

The results of homological algebra are applicable in any abelian category (roughly, any category in which we can define kernels and cokernels). However, for this set of notes, we will work over categories with forgetful functor to the category of sets, such as:

  • the category of abelian groups;
  • the category of commutative rings; and
  • the category of $A$-modules for a commutative ring $A$.

This enables us to speak of elements of objects, which makes diagram chasing arguments possible.

Many of the proofs in this post involve checking a large number of elementary steps. To present these proofs more compactly, and as an aid to the reader, we have opted for an experimental visual approach to diagram chasing.

In any case, it should be noted that the proofs are, in some sense, less important than the statement of the lemmas themselves. For instance, in most cases we will not need the explicit form of the connecting map in the snake lemma, only that it exists and forms part of an exact sequence. As such, the reader can choose to skip the proofs of these lemmas on first reading.

The five lemma

Five Lemma: Let

be a commutative diagram of modules with exact rows.

  1. If $f_1$ is surjective and $f_2,f_4$ are injective, then $f_3$ is injective.
  2. If $f_5$ is injective and $f_2,f_4$ are surjective, then $f_3$ is surjective.

Proof: (1) Take $c\in\ker f_3$. Then by elementary diagram chasing, we get the following elements of the respective objects (circled numbers represent order of deduction):

In detail, we have the following deductions:

  • $\tcb$: by injectivity of $f_4$;
  • $\tcc$: by row exactness;
  • $\tce$: by row exactness;
  • $\tcf$: by surjectivity of $f_1$;
  • $\tcg$: by injectivity of $f_2$ (since both $b$ and the image of $a$ map to $b’$).

Hence by exactness of the top row, $b$ maps to $0=c$. Thus $\ker f_3=\{0\}$, ie. $f_3$ is injective.

(2) Take any $c’\in C’$. Then diagram chasing gives:

  • $\tcb$: by surjectivity of $f_4$;
  • $\tcc$: by row exactness;
  • $\tcd$: by injectivity of $f_5$;
  • $\tce$: by row exactness.

Now we also have:

  • $\tca$: since $f_3(c)$ and $c’$ both map to $d’$;
  • $\tcb$: by row exactness;
  • $\tcc$: by surjectivity of $f_2$.

Then $f_3(c-\widehat c)=c’$, so $f_3$ is surjective. $\qed$

Induced maps on $\ker$ and $\coker$

Proposition: Let

be a commutative diagram. Then:

  1. $f$ induces a map $\overline f:\ker h\to\ker k$;
  2. $g$ induces a map $\underline g:\coker h\to\coker k$;
  3. if $f$ is injective, then so is $\overline f$;
  4. if $g$ is surjective, then so is $\underline g$.

Proof: (1) If $a\in A$ is mapped to $0\in C$, then $f(a)\in B$ is mapped to $0\in D$. Hence $f(\ker h)\subseteq\ker k$, so the restriction of $f$ to $\ker h$ is a map $\overline f:\ker h\to\ker k$.

(2) If $c\in\im h$, say $c=h(a)$, then $c$ maps to $g(c)=k\circ f(a)\in D$. Hence $g(\im h)\subseteq\im k$, so the map $C\to D\to D/\im k$ factors into a map $\underline g:C/\im h\to D/\im k$.

(Explicitly, we have $\underline g(c+\im h)=g(c)+\im k$.)

(3,4) Clear. $\qed$

Proposition: Let

be a commutative diagram with exact rows and exact columns. Then:

  1. If $I$ is injective, then $\overline s\circ\overline f=0$;
  2. If $I\!I$ is injective, then $\ker\overline s\subseteq\im\overline f$;
  3. If $I\!I\!I$ is surjective, then $\underline t\circ\underline g=0$;
  4. If $I\!V$ is surjective, then $\ker\underline t\subseteq\im\underline g$.

Proof: (1) Let $a’\in A’$. Then diagram chasing gives:

  • $\tcc$: by row exactness;
  • $\tcd$: by injectivity of $I$.

Hence $\overline s\circ\overline f=0$.

(2) Let $b’\in\ker\overline s$. Then diagram chasing gives:

  • $\tcb$: by row exactness;
  • $\tcc$: by column exactness;
  • $\tcd$: by injectivity of $g$;
  • $\tce$: by column exactness;
  • $\tcf$: by injectivity of $I\!I$ (since both $b’$ and $\overline f(a’)$ map to $b$).

Hence $\overline f(a’)=b’$, so $\ker\overline s\subseteq\im\overline f$.

(3) Let $d’\in D’$. Then diagram chasing gives:

  • $\tca$: by surjectivity of $I\!I\!I$;
  • $\tcc$: by row exactness.

Hence $\underline t\circ\underline g=0$.

(4) Let $e’\in\ker\underline t$. Then diagram chasing gives:

  • $\tca$: by surjectivity of $I\!V$;
  • $\tcc$: by column exactness;
  • $\tcd$: by surjectivity of $s$.

Now we also have:

  • $\tca$: since $I\!V\circ k=0$;
  • $\tcb$: since $k(b)$ and $e$ both map to $f’$;
  • $\tcc$: by row exactness.

Hence $\underline g(d’)=e’$, so $\ker\underline t\subseteq\im\underline g$.

Corollary: Let

be a commutative diagram with exact rows. Then the sequences of induced maps

and

are exact.

Proof: Consider the following commutative diagram:

Note that all columns are exact, so all conditions of the previous proposition are satisfied. $\qed$

The connecting map

Considering the same commutative diagram

with exact rows and columns, we will define a map $\delta:C’\to D’$, called the connecting map. Given $c’\in C’$, construct the following elements:

  • $\tcb$: by row exactness;
  • $\tce$: by row exactness.

We then define $\delta(c’)=d’$.

Proposition: The connecting map $\delta:C’\to D’$ is well-defined.

Proof: We need to show that $d’$ is independent of any choices that we make during our construction. Note that we made one such arbitrary choice, at $\tcb$. (The choice at $\tce$ was not arbitrary, since $g$ is injective.)

As such, suppose that we made a different choice $\tilde b$ at $\tcb$, which leads to the elements $\tilde e$, $\tilde d$, and $\tilde d’$ respectively. Then we have the following diagram:

  • $\tca$: by $s(b)=s(b’)=c$;
  • $\tcb$: by row exactness;
  • $\tcc$: by injectivity of $g$.

Hence by exactness of the left column, $d’=\tilde d’$. $\qed$

The drawback of the diagram chasing proof is that it is not clear why $\delta$ is in fact a homomorphism; however, this can be easily checked in each case for abelian groups, commutative rings, and $A$-modules.

Here are some more properties of the connecting map.

Proposition: Consider the same diagram

with exact rows and columns, and let $\delta:C’\to D’$ be the connecting map. Then:

  1. $\delta\circ\overline s=0$;
  2. if $I$ is injective, then $\ker\delta\subseteq\im\overline s$;
  3. $\underline g\circ\delta=0$;
  4. if $I\!I\!I$ is surjective, then $\ker\underline g\subseteq\im\delta$.

Proof: (1) Take $b’\in B’$. Then we have:

  • $\tcb$: by column exactness;
  • $\tcc$: by column exactness;
  • $\tcd$: by injectivity of $g$.

Hence $0=\delta(c’)=\delta\circ\overline s(b’)$, so $\delta\circ\overline s=0$.

(2) If $\delta(c’)=d’=0$ then we have:

  • $\tca$: by column exactness.

Now we also have:

  • $\tca$: by row exactness;
  • $\tcb$: since $k\circ f(a)=g\circ h(a)=e=k(b)$;
  • $\tcc$: by column exactness;
  • $\tcd$: by injectivity of $I$.

Hence $c’=\overline s(\widehat{b’})$, so $\ker\delta\subseteq\im\overline s$.

(3) Take $c’\in C’$. Then we have:

  • $\tca$: by column exactness.

Hence $0=\underline g(d’)=\underline g\circ\delta(c’)$, so $\underline g\circ\delta=0$.

(4) If $\underline g(d’)=0$ then we have:

  • $\tca$: by surjectivity of $I\!I\!I$;
  • $\tcc$: by row exactness;
  • $\tcd$: by column exactness;
  • $\tcf$: by column exactness.

Hence $d’=\delta(c’)$, so $\ker\underline g\subseteq\im\delta$. $\qed$

The snake lemma

Snake Lemma: Let

be a commutative diagram with exact rows. Then the sequence

is exact.

Proof: Consider the following commutative diagram:

Note that all columns are exact. We have already shown exactness at $\ker k$ and $\coker k$. Now all conditions of the previous proposition are satisfied, which implies exactness at $\ker l$ and $\coker h$. $\qed$

Comments (0)

Be the first to comment!

Write a comment…