Chain Complexes
Chain Complexes
Chain Complexes
ANDREW BAKER
These notes are intended as a very basic introduction to (co)chain complexes and their algebra,
the intention being to point the beginner at some of the main ideas which should be further
studied by in depth reading. An accessible introduction for the beginner is [2]. An excellent
modern reference is [3], while [1] is a classic but likely to prove hard going for a novice. Most
introductory books on algebraic topology introduce the language and basic ideas of homological
algebra.
1. Chain complexes and their homology
Let R be a ring and Mod
R
the category of right R-modules. Then a sequence of R-module
homomorphisms
L
f
M
g
N
is exact if Ker g = Imf. Of course this implies that gf = 0.
A sequence of homomorphisms
f
n+1
M
n
f
n
M
n1
f
n1
is called a chain complex if for each n, f
n
f
n+1
= 0 or equivalently, Imf
n+1
Ker f
n
. It is called
exact or acyclic if each segment
M
n+1
f
n+1
M
n
f
n
M
n1
is exact. We write (M
(M
, f), 0) where
H
n
(M
, f) = Ker f
n
/ Imf
n+1
.
A morphism of chain complexes h: (M
, f) (N
, g) is a sequence of homomorphisms
h
n
: M
n
N
n
for which the following diagram commutes.
M
n
f
n
M
n1
h
n
h
n1
N
n
g
n
N
n1
Notice that if u Ker f
n
we have g
n
(h
n
(u)) = 0, while if v M
n+1
,
h
n
(f
n+1
(v)) = g
n+1
(h
n+1
(v)).
Together these allow us to dene for each n a homomorphism
h
: H
n
(M
, f) H
n
(N
, g); h
(u + Imf
n+1
) = h
n
(u) + Img
n+1
.
Date: [06/04/2009].
1
2 ANDREW BAKER
It is easy to check that if j : (L
, ) (M
= h
, f) (M
, f) we have
id
= id.
This shows that each H
n
is a covariant functor from chain complexes to R-modules.
From now on we will always write a complex as (M
, d) (M
, d), where
(Ker h)
n
= Ker h: L
n
M
n
, (Imh)
n
= Imh: L
n
M
n
.
The boundaries are the restrictions of d to these.
A cochain complex is a collection of R-modules M
n
together with coboundary homomorphisms
d
n
: M
n
M
n+1
for which d
n+1
d
n
= 0. The cohomology of this complex is (H
(M
, d), 0)
where
H
n
(M
, d) = Ker d
n
/ Imd
n1
.
2. The homology long exact sequence
Let h: (L
, d) (M
, d) and k: (M
, d) (N
, d)
h
(M
, d)
k
(N
, d) 0
is short exact, i.e.,
Ker h = 0, Imk = (N
, d)
n+1
P
P
P
P
P
P
P
P
P
P
P
P
H
n
(L
, d)
h
H
n
(M
, d)
k
H
n
(N
, d)
P
P
P
P
P
P
P
P
P
P
P
P
H
n1
(L
, d)
Furthermore, given a commutative diagram of short exact sequences
0 (L
, d)
h
(M
, d)
k
(N
, d) 0
p
0 (L
, d)
h
(M
, d)
k
(N
, d) 0
NOTES ON CHAIN COMPLEXES 3
there is a commutative diagram
H
n+1
(N
, d)
n+1
P
P
P
P
P
P
P
P
P
P
P
P
r
H
n
(L
, d)
h
H
n
(M
, d)
k
H
n
(N
, d)
P
P
P
P
P
P
P
P
P
P
P
P
r
H
n+1
(N
, d)
n+1
P
P
P
P
P
P
P
P
P
P
P
P
H
n1
(L
, d)
p
H
n
(L
, d)
h
H
n
(M
, d)
k
H
n
(N
, d)
P
P
P
P
P
P
P
P
P
P
P
P
H
n1
(L
, d)
Proof. We begin by dening
n
: H
n
(N
, d) H
n1
(L
, d). Let
z + Imd
n+1
H
n
(N
, d) = Ker d
n
/ Imd
n+1
.
Then since k: M
n
N
n
is epic, we may choose an element w M
n
for which k(w) = z.
Then d
n
(w) M
n1
and kd
n
(w) = d
n
k(w) = d
n
(z) = 0. So d
n
(w) Ker k. By exactness,
d
n
(w) = h(v) for some v L
n1
. Notice that
hd
n1
(v) = d
n1
h(v) = d
n1
d
n
(w) = 0.
But h is monic, so this gives d
n1
(v) = 0. Hence v Ker d
n1
. We take
n
(z + Imd
n+1
) = v + Imd
n
H
n1
(L
, d).
It is now routine to check that for z Imd
n+1
we have
n
(z + Imd
n+1
) = 0 + Imd
n
,
hence
n
is a well dened function. Exactness is veried by checking on elements.
For cochain complexes we get a similar result for a short exact sequence of cochain complexes
0 (L
, d)
h
(M
, d)
k
(N
, d) 0,
but the
n
are replaced by homomorphisms
n
: H
n
(N
, d) H
n+1
(L
, d).
Example 2.2. Consider the following exact sequence of chain complexes of Z-modules (written
vertically).
H
(L
) H
(M
) H
(N
)
= 2 0
= 1 0
Z
2
Z
2
Z/2
0
0
= 0 0
Z
Z/2
0
= 1 0 0 0
4 ANDREW BAKER
Taking homology we obtain the long exact sequence
H
(L
) H
(M
) H
(N
)
= 1 0
0
Z/2
= 0 Z/2
0
Z/2
=
Z/2
0
From this we conclude that
: H
1
(N
) = Z/2 H
0
(L
) = Z/2
is an isomorphism.
3. Tensor products, free resolutions and Tor
Let M be any right R-module and N be left R-module. Then we can form the tensor product
M
R
N which is an abelian group. It is also an R-module if R is commutative. The denition
involves forming the free Z-module F(M, N) with basis consisting of all the pairs (m, n) where
m M and n ; then
M
R
N = F(M, N)/S(M, N),
where S(M, N) F(M, N) is the subgroup generated by all the elements of form
(m
1
+ m
2
, n) (m
1
, n) (m
2
, n), (m, n
1
+ n
2
) (m, n
1
) (m, n
2
), (mr, n) (m, rn),
where m, m
1
, m
2
M, n, n
1
, n
2
N, r R. We usually denote the coset of (m, n) by m n;
such elements generate the group M
R
N.
The tensor product M
R
N has an important universal property which characterizes it up to
isomorphism. Write q : M N M
R
N for the quotient function. Let f : M N V be a
function into an abelian group V which satises
f(m
1
+m
2
, n) = f(m
1
, n) +f(m
2
, n),
f(m, n
1
+n
2
) = f(m, n
1
) +f(m, n
2
),
f(mr, n) = f(m, rn)
for all m, m
1
, m
2
M, n, n
1
, n
2
N, r R, there is a unique homomorphism
f : M
R
N V
for which f =
f q.
M N
q
M
R
N
!
f
.
V
Proposition 3.1. If f : M
1
M
2
and g : N
1
N
2
are homomorphisms of R-modules, there
is a group homomorphism
f g : M
1
R
N
1
M
2
R
N
2
for which
f g(mn) = f(m) g(n).
NOTES ON CHAIN COMPLEXES 5
Proposition 3.2. Given a short exact sequence of left R-modules
0 N
1
g
1
N
2
g
2
N
3
0,
there is an exact sequence
M
R
N
1
1g
1
M
R
N
2
1g
2
M
R
N
3
0.
Because of this property, we say that M
R
( ) is right exact. Obviously it would be helpful to
understand Ker 1 g
1
which measures the deviation from left exactness of M
R
( ).
Let R be a ring. A right R-module F is called free if there is a set of elements {b
: } F
such that every element x F can be uniquely expressed as
x =
for elements t
R
N 0, where the boundary maps are obtained
by tensoring those of F
R
N 0 rather than using the
original map F
0
M. Here F
n
R
N is in degree n. We dene
Tor
R
n
(M, N) = H
n
(F
R
N).
It is easy to see that
Tor
R
0
(M, N)
= M
R
N.
Of course we could also form a free resolution of N, tensor it with M and then take homology.
Theorem 3.3. Tor
R
(M, N) can be computed by using free resolutions of either variable and the answers
agree up to isomorphism.
ii) Given R-module homomorphisms f : M
1
M
2
and g : N
1
N
2
there are homomor-
phisms
(f g)
= f
: Tor
R
n
(M
1
, N
1
) Tor
R
n
(M
2
, N
2
)
generalizing f
: M
1
R
N
1
M
2
R
N
2
.
iii) For a free right/left R-module P/Q and n > 0 we have
Tor
R
n
(P, N) = 0 = Tor
R
n
(M, Q).
6 ANDREW BAKER
iv) Associated to a short exact sequence of right R-modules
0 M
1
M
2
M
3
0
there is a long exact sequence
Tor
R
n+1
(M
3
, N)
.
Tor
R
n
(M
1
, N)
Tor
R
n
(M
2
, N)
Tor
R
n
(M
3
, N)
.
Tor
R
n1
(M
1
, N)
M
1
R
N M
2
R
N M
3
R
N 0
and associated to a short exact sequence of left R-modules
0 N
1
N
2
N
3
0
there is a long exact sequence
Tor
R
n+1
(M, N
3
)
.
Tor
R
n
(M, N
1
)
Tor
R
n
(M, N
2
)
Tor
R
n
(M, N
3
)
.
Tor
R
n1
(M, N
1
)
M
R
N
1 M
R
N
2 M
R
N
3
0
Corollary 3.4. Let Q be a left R-module for which Tor
R
n
(M, Q) = 0 for all n > 0 and M. Then
for any exact complex (C
R
Q, d 1) is exact, and
H
n
(C
R
Q, d 1)
= H
n
(C
, d)
R
Q.
An R-module M for which Tor
R
n
(M, N) = 0 for all n > 0 and left R-module N is called at.
Given a module M, it is always possible to nd a resolution F
M 0 is a at resolution, then
Tor
R
n
(M, N) = H
n
(F
R
N, d 1).
4. The K unneth Theorem
Suppose that (C
R
N, d 1) with homology H
(C
R
N, d 1). We would like
to understand the connection between this homology and H
(C
, d)
R
N.
NOTES ON CHAIN COMPLEXES 7
Begin by taking a free resolution of N, F
R
F
C
n
R
N 0
is still exact since C
n
is free. The double complex C
R
F
(H
h
(C
R
F
)) = H
v
= Tor
R
(H
(C
, d), N),
H
h
(H
v
(C
R
F
)) = H
h
(C
R
N)) = H
(C
R
N, d 1).
In general, the precise relationship between these two involves a spectral sequence, however there
are situations where the relationship is more direct.
Suppose that N has a free resolution of the form
0 F
1
F
0
N 0.
This will always happen when R = Z or any (commutative) pid and for semi-simple rings. Then
for any right R-module M and n > 1,
Tor
R
n
(M, N) = 0.
Now consider what happens when we tensor C
R
F
1
C
R
F
0
C
R
N 0
and on taking homology, an associated long exact sequence as in Theorem 2.1.
H
n+1
(C
R
N)
n+1
O
O
O
O
O
O
O
O
O
O
O
H
n
(C
R
F
1
) H
n
(C
R
F
0
) H
n
(C
R
N)
O
O
O
O
O
O
O
O
O
O
O
H
n1
(C
R
F
1
)
Because F
0
and F
1
are free, Corollary 3.4 gives in each case
H
n
(C
R
F
i
)
= H
n
(C
)
R
F
i
,
so our long exact sequence becomes
H
n+1
(C
R
N)
n+1
O
O
O
O
O
O
O
O
O
O
O
H
n
(C
)
R
F
1
H
n
(C
)
R
F
0
H
n
(C
R
N)
O
O
O
O
O
O
O
O
O
O
O
H
n1
(C
)
R
F
1
The segment
H
n
(C
)
R
F
1
H
n
(C
)
R
F
0
8 ANDREW BAKER
is part of the complex used to compute Tor
R
(H
n
(C
), N) H
n
(C
)
R
F
1
H
n
(C
)
R
F
0
Tor
R
0
(H
n
(C
), N) 0
in which
Tor
R
0
(H
n
(C
), N) = H
n
(C
)
R
N.
For
n
: H
n
(C
R
N) H
n1
(C
R
F
1
) we nd that
Ker
n
= Tor
R
0
(H
n
(C
), N), Im
n
= Tor
R
1
(H
n1
(C
), N).
Theorem 4.1 (K unneth Theorem). Let (C
)
R
N H
(C
R
N) Tor
R
1
(H
n1
(C
), N) 0.
5. Projective and injective resolutions, Hom and Ext
Let M, N be two right R-modules. Then we dene
Hom
R
(M, N) = {h : M N : h is a homomorphism of R-modules}.
If R is commutative then Hom
R
(M, N) is also an R-module, otherwise it may only be an abelian
group.
If f : M M
and g : N N
: Hom
R
(M
, N) Hom
R
(M, N); f
h = h f,
g
: Hom
R
(M, N) Hom
R
(M, N
); g
h = g h.
These are group homomorphisms and homomorphisms of R-modules if R is commutative.
Proposition 5.1. Let M, N be right R-modules.
(a) Given a short exact sequence of R-modules
0 M
1
f
1
M
2
f
2
M
3
0,
the sequence
0 Hom
R
(M
3
, N)
f
2
Hom
R
(M
2
, N)
f
1
Hom
R
(M
1
, N)
is exact.
(b) Given a short exact sequence of R-modules
0 N
1
g
1
N
2
g
2
N
3
0,
the sequence
0 Hom
R
(M, N
1
)
g
1
Hom
R
(M, N
2
)
g
2
Hom
R
(M, N
3
)
is exact.
These result show that Hom
R
( , N) and Hom
R
(M, ) are left exact.
An R-module P is called projective if given an exact sequence M
f
N 0 and a (not
usually unique) homomorphism p: P N, there is a homomorphism p: P M for which
NOTES ON CHAIN COMPLEXES 9
f p = p.
M
f
P
p
p
N
0
In particular, every free R-module is projective.
It is easy to see that if P is projective then Hom
R
(P, ) is right exact.
Now suppose that P
, N) whose
n-th term is Hom
R
(P
n
, N). The n-th cohomology group of this is
Ext
n
R
(M, N) = H
n
(Hom
R
(P
, N)).
It turns out that this is independent of the choice of projective resolution of M. Notice also
that
Ext
0
R
(M, N) = Hom
R
(M, N).
An R-module J is called injective if given an exact sequence 0 K
g
L and a homomorphism
q : K J, there is a (not usually unique) homomorphism q : L J for which qg = q.
0
K
g
J
L
q
) whose n-term is
Hom
R
(M, J
n
). The n-th cohomology group of this is
rExt
n
R
(M, N) = H
n
(Hom
R
(M, J
)).
It turns out that this is independent of the choice of injective resolution of N. Notice also that
rExt
0
R
(M, N) = Hom
R
(M, N).
Proposition 5.2. For R-modules M, N there is a natural isomorphism
rExt
n
R
(M, N)
= Ext
n
R
(M, N).
References
[1] H. Cartan & S. Eilenberg, Homological Algebra, Princeton University Press (1956).
[2] J. J. Rotman, An introduction to Homological Algebra, Academic Press (1979).
[3] C. A. Weibel, An Introduction to Homological Algebra, Cambridge University Press (1994).