Kernel and Cokernel
Kernels and cokernels are the categorical generalizations of null spaces and quotients. In a preadditive category, the kernel of is the equalizer of and , and the cokernel is the coequalizer. They are the fundamental building blocks of exact sequences and homological algebra.
Definitions
In a preadditive category, the kernel of a morphism is a morphism such that and for every with , there exists a unique with .
The cokernel of is a morphism such that and for every with , there exists a unique with .
For a morphism in an abelian category:
- The image is .
- The coimage is .
In an abelian category, the canonical map is an isomorphism.
Examples
In , for :
- with the inclusion .
- with the projection .
- .
In , the kernel of is the usual kernel subgroup . The cokernel is .
In , the kernel of a linear map represented by a matrix is the null space . The cokernel is , and .
In , the kernel of is computed degreewise: . The differentials on are the restrictions of the differentials on .
In , the cokernel of is the sheafification of the presheaf . The presheaf cokernel is not always a sheaf, so sheafification is necessary.
Poset categories (viewed as preadditive with trivial abelian group structure) generally do not have kernels or cokernels, since the zero morphism condition has no meaning. Kernels and cokernels are meaningful only in preadditive (enriched over Ab) categories.
In an abelian category, every monomorphism is a kernel of some morphism — specifically, it is the kernel of its cokernel: . Such monomorphisms are called normal. In , only inclusions of normal subgroups are normal monomorphisms.
For a linear map in , and . This gives .
A functor between abelian categories is left exact if it preserves kernels (equivalently, preserves all finite limits). It is right exact if it preserves cokernels. It is exact if it preserves both.
For any object in an abelian category, the functor is left exact: it preserves kernels but not necessarily cokernels. The failure of right exactness leads to the Ext functor as the right derived functor.
The functor is right exact: it preserves cokernels but not necessarily kernels. The failure of left exactness leads to the Tor functor as the left derived functor.
In an abelian category, every morphism factors as:
where is an epimorphism, the middle map is an isomorphism, and is a monomorphism. This is the canonical factorization of .
Properties
In an abelian category:
- is monic if and only if .
- is epic if and only if .
- is an isomorphism if and only if and .
- and .
Kernels and cokernels are the ingredients for defining exact sequences, which in turn are the subject matter of the Snake Lemma and Five Lemma.