Cokernel
In mathematics, the cokernel of a morphism f: A \to B between abelian groups, modules over a ring, or more generally objects in an abelian category, is defined as the quotient B / \operatorname{im}(f), where \operatorname{im}(f) is the image of f, providing a measure of how f fails to be surjective.[1][2] This construction is the categorical dual to the kernel, obtained by reversing the arrows in the kernel's universal property diagram.[3] The cokernel satisfies a universal property: given any morphism p: B \to C such that p \circ f = 0, there exists a unique morphism \phi: \operatorname{coker}(f) \to C making the diagram commute, i.e., p = \phi \circ i where i: B \to \operatorname{coker}(f) is the canonical projection.[3] In additive categories with zero morphisms, this ensures the cokernel is unique up to unique isomorphism.[3] Cokernels are fundamental in homological algebra, appearing in exact sequences where a short exact sequence $0 \to A \xrightarrow{f} B \xrightarrow{g} C \to 0 implies that g is the cokernel of f and f is the kernel of g.[3] They also feature in the definition of abelian categories, where every morphism has a cokernel and every epimorphism is the cokernel of its kernel.[3] In non-abelian settings, such as groups, the cokernel is the quotient by the normal closure of the image.[4]Definition and Properties
Formal Definition
In category theory, the cokernel of a morphism f: A \to B in a category \mathcal{C} with zero morphisms is an object Q in \mathcal{C} together with a morphism i: B \to Q such that i \circ f = 0, where $0 denotes the zero morphism from A to Q. This pair (Q, i) satisfies the universal property: for every object Q' in \mathcal{C} and every morphism g: B \to Q' with g \circ f = 0, there exists a unique morphism h: Q \to Q' such that h \circ i = g.[5] The cokernel is denoted \operatorname{coker}(f) = Q, and the canonical morphism is typically written as \pi: B \to \operatorname{coker}(f). Cokernels do not exist in every category; their existence depends on the presence of zero morphisms and the category supporting the relevant colimits.[5] This construction is standard in preadditive categories, where the hom-sets are abelian groups, thereby providing addition of morphisms and a well-defined zero morphism for each pair of objects. The cokernel is the categorical dual of the kernel.[5]Universal Property
The universal property of the cokernel provides a categorical characterization that defines it up to unique isomorphism, independent of any concrete construction.[6] For a morphism f: A \to B in a category with zero morphisms, the cokernel is a morphism i: B \to Q such that i \circ f = 0, and it is universal with respect to this property: for any morphism g: B \to Q' satisfying g \circ f = 0, there exists a unique morphism u: Q \to Q' such that g = u \circ i.[6] This universality ensures that the cokernel captures the essential "quotient" structure induced by f, making it the initial object among all objects receiving a zero-composing morphism from B.[6] In categories with zero morphisms, such as abelian categories, the cokernel can be explicitly realized as the coequalizer of the pair consisting of f: A \to B and the zero morphism $0: A \to B.[6] The coequalizer property states that i: B \to Q equalizes f and $0 (i.e., i \circ f = i \circ 0 = 0), and for any other morphism j: B \to Q'' that equalizes them, there is a unique morphism v: Q \to Q'' such that j = v \circ i.[6] This formulation aligns directly with the universal property above, as the zero condition is the defining equalizer relation in this context.[6] To illustrate, consider the commutative diagram depicting the universal property: \begin{CD} A @>f>> B @>i>> Q \\ @V0VV @. @. \\ A @>0>> B @>g>> Q' \end{CD} Here, the solid arrows form the cokernel, and the existence of the dashed unique morphism u: Q \to Q' (such that g = u \circ i) follows from the universality whenever the left square commutes (i.e., g \circ f = 0).[6] A proof sketch of the uniqueness up to unique isomorphism proceeds as follows: suppose i': B \to Q' is another cokernel of f. By the universal property of i, there exists a unique morphism v: Q \to Q' such that i' = v \circ i. Similarly, by the universal property of i', there exists a unique morphism w: Q' \to Q such that i = w \circ i'. Composing yields i = w \circ v \circ i = i and i' = v \circ w \circ i' = i', confirming that v and w are inverses, hence Q \cong Q' via the unique isomorphism v.[6] This argument relies on the category having zero morphisms to ensure the compositions align with the zero conditions.[6] In categories lacking zero morphisms, cokernels may still be defined as coequalizers of f and some other designated morphism, though this approach is less standard and typically restricted to specific contexts where such a pair is canonically chosen.[6] The universal property nonetheless guarantees that any such cokernels are unique up to unique isomorphism, preserving the abstract essence of the construction across different categorical settings.[6]Relations to Other Concepts
Comparison with Kernel
In category theory, the cokernel of a morphism f: A \to B in a category \mathcal{C} is the dual concept to the kernel, precisely defined as the kernel of the opposite morphism f^{\mathrm{op}} in the opposite category \mathcal{C}^{\mathrm{op}}.[4] This duality underscores their symmetric yet opposing roles: the kernel operates "backwards" from the domain A, identifying a subobject that nullifies under f, whereas the cokernel proceeds "forwards" from the codomain B, constructing a quotient object that annihilates the image of f.[4] In abelian categories, this opposition manifests concretely, where the cokernel of f is isomorphic to the quotient of the codomain by the image of f, \coker(f) \cong B / \operatorname{im}(f), providing a mirror to the kernel's structure as a subobject of the domain, though the kernel itself arises as the equalizer rather than a direct quotient.[7] In categories with a duality functor, such as finite-dimensional vector spaces, the dual map f^\vee relates \ker(f) \cong A / \operatorname{im}(f^\vee), emphasizing contravariant symmetry. Kernels and cokernels were formalized as categorical constructs in the 1960s, with their duality prominently featured in Saunders Mac Lane's Categories for the Working Mathematician (1971), which axiomatized their behavior in abelian categories.[8]| Aspect | Kernel of f: A \to B | Cokernel of f: A \to B |
|---|---|---|
| Domain/Codomain Role | Subobject of domain A (incoming morphisms to A that compose to zero with f) | Quotient of codomain B (outgoing morphisms from B that compose to zero with f) |
| Universal Property | Universal among morphisms g: K \to A such that f \circ g = 0, with unique factorization through the kernel inclusion | Universal among morphisms h: B \to C such that h \circ f = 0, with unique factorization through the cokernel projection |