Fact-checked by Grok 2 weeks ago

Cokernel

In , the cokernel of a f: A \to B between abelian groups, modules over a , or more generally objects in an , is defined as the B / \operatorname{im}(f), where \operatorname{im}(f) is the of f, providing a measure of how f fails to be surjective. This construction is the categorical dual to the , obtained by reversing the arrows in the 's diagram. 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. In additive categories with zero morphisms, this ensures the cokernel is unique up to unique isomorphism. Cokernels are fundamental in , appearing in 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 of g. They also feature in the definition of abelian categories, where every has a cokernel and every is the cokernel of its . In non-abelian settings, such as groups, the cokernel is the by the normal closure of the image.

Definition and Properties

Formal Definition

In , the cokernel of a f: A \to B in a \mathcal{C} with zero morphisms is an object Q in \mathcal{C} together with a 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 g: B \to Q' with g \circ f = 0, there exists a unique h: Q \to Q' such that h \circ i = g. 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. 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.

Universal Property

The universal property of the cokernel provides a categorical characterization that defines it up to unique , independent of any concrete construction. For a f: A \to B in a with zero morphisms, the cokernel is a i: B \to Q such that i \circ f = 0, and it is universal with respect to this : for any g: B \to Q' satisfying g \circ f = 0, there exists a unique u: Q \to Q' such that g = u \circ i. This universality ensures that the cokernel captures the essential "" structure induced by f, making it the initial object among all objects receiving a zero-composing from B. In categories with zero morphisms, such as abelian categories, the cokernel can be explicitly realized as the of the pair consisting of f: A \to B and the zero morphism $0: A \to B. 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 j: B \to Q'' that equalizes them, there is a unique v: Q \to Q'' such that j = v \circ i. This formulation aligns directly with the universal property above, as the zero condition is the defining equalizer relation in this context. To illustrate, consider the 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 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). A proof sketch of the uniqueness up to unique proceeds as follows: suppose i': B \to Q' is another cokernel of f. By the universal property of i, there exists a unique v: Q \to Q' such that i' = v \circ i. Similarly, by the universal property of i', there exists a unique 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 v. This argument relies on the category having zero morphisms to ensure the compositions align with the zero conditions. 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. 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.

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 , precisely defined as the kernel of the opposite morphism f^{\mathrm{op}} in the opposite \mathcal{C}^{\mathrm{op}}. This duality underscores their symmetric yet opposing roles: the operates "backwards" from the A, identifying a that nullifies under f, whereas the cokernel proceeds "forwards" from the B, constructing a object that annihilates the of f. In abelian categories, this opposition manifests concretely, where the cokernel of f is isomorphic to the of the by the of f, \coker(f) \cong B / \operatorname{im}(f), providing a mirror to the kernel's structure as a of the , though the kernel itself arises as rather than a direct . In categories with a duality , such as finite-dimensional spaces, the dual map f^\vee relates \ker(f) \cong A / \operatorname{im}(f^\vee), emphasizing contravariant . Kernels and cokernels were formalized as categorical constructs in the , with their duality prominently featured in Saunders Mac Lane's (1971), which axiomatized their behavior in abelian categories.
AspectKernel of f: A \to BCokernel of f: A \to B
Domain/Codomain Role of A (incoming morphisms to A that compose to zero with f) of B (outgoing morphisms from B that compose to zero with f)
Universal PropertyUniversal among morphisms g: K \to A such that f \circ g = 0, with unique factorization through the kernel inclusionUniversal among morphisms h: B \to C such that h \circ f = 0, with unique factorization through the cokernel projection

Coimage and Exactness

In abelian categories, the coimage of a f: A \to B is defined as the cokernel of its , denoted \operatorname{coim}(f) = \coker(\ker(f)). Equivalently, the coimage is the of the by its , \operatorname{coim}(f) = A / \ker(f). The first in abelian categories establishes a natural \operatorname{coim}(f) \cong \operatorname{im}(f), where \operatorname{im}(f) is the of the cokernel, \operatorname{im}(f) = \ker(\coker(f)). This arises explicitly from the maps in the (epi, mono) of f, with the coimage serving as the of the epimorphic part and the as the of the monomorphic part. In such categories, the cokernel of f is given by the formula \coker(f) = B / \operatorname{im}(f), where the quotient is taken with respect to the subobject \operatorname{im}(f) \subseteq B. This reflects the coimage's role as the "effective image" of f, isomorphic to the kernel of the canonical map i: B \to \coker(f), since \operatorname{coim}(f) \cong \operatorname{im}(f) = \ker(i). A sequence A \xrightarrow{f} B \xrightarrow{g} C is exact at B if \operatorname{im}(f) = \ker(g). The B \to \coker(f) is always at B in this sense, since \ker(i) = \operatorname{im}(f) by construction, linking the cokernel directly to local exactness conditions.

Examples in Specific Categories

In Abelian Groups

In the category of abelian groups, denoted Ab, the cokernel of a group homomorphism f: A \to B is the quotient group B / \operatorname{im}(f), where \operatorname{im}(f) is the image subgroup generated by the elements f(a) for a \in A. This construction inherits the abelian structure from B, ensuring that the cokernel is always an abelian group. A concrete example illustrates this: consider the homomorphism f: \mathbb{Z} \to \mathbb{Z} defined by multiplication by 2, so f(n) = 2n. The image is $2\mathbb{Z}, the even integers, and the cokernel is \mathbb{Z} / 2\mathbb{Z}, which is the of 2. Here, the non-surjectivity of f introduces torsion in the cokernel, as the of 1 has 2. For finitely generated abelian groups, the structure of the cokernel can be analyzed using the of the matrix representing f, which decomposes the presentation matrix into diagonal form and reveals the invariant factors or elementary divisors of the quotient. Every abelian group arises as the cokernel of a between abelian groups, corresponding to a where the domain and codomain are on chosen generators and relations.

In Vector Spaces

In the category of vector spaces over a field K, denoted \mathbf{Vect}_K, the cokernel of a linear map f: V \to W is defined as the quotient vector space W / \operatorname{im}(f). This construction measures the failure of f to be surjective, as elements of the cokernel correspond to cosets of the image subspace in W. By the rank-nullity theorem, the dimension of the cokernel satisfies \dim(\operatorname{coker}(f)) = \dim(W) - \operatorname{rank}(f), where \operatorname{rank}(f) = \dim(\operatorname{im}(f)). This formula highlights the direct relationship between the codomain's dimension and the map's image size, providing a quantitative assessment of surjectivity deficiency. For a example, consider the f: \mathbb{R}^2 \to \mathbb{R}^2 defined by through 90 degrees, with \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}. Since f is invertible, \operatorname{im}(f) = \mathbb{R}^2, and thus \operatorname{coker}(f) = \{0\}, the trivial . The canonical projection \pi: W \to W / \operatorname{im}(f) is a surjective whose is precisely \operatorname{im}(f). In \mathbf{Vect}_K, cokernels always exist and form , as the category is abelian and supports constructions for subspaces. This setup specializes the more general notion of cokernels in abelian groups to the field-structured of .

Applications and Extensions

In Exact Sequences

In an abelian category, for any morphism f: A \to B, there exists a short exact sequence $0 \to \operatorname{im}(f) \to B \to \operatorname{coker}(f) \to 0, where the map \operatorname{im}(f) \to B is the morphism and the map B \to \operatorname{coker}(f) is the morphism induced by f. This construction arises because, by definition, \operatorname{im}(f) is the of the map B \to \operatorname{coker}(f), ensuring exactness at B, while the is a and the is an . A short exact sequence in an is a sequence of the form $0 \to X \xrightarrow{i} Y \xrightarrow{p} Z \to 0 such that i is a , p is an , and \operatorname{im}(i) = \ker(p). In the sequence constructed from f, the cokernel \operatorname{coker}(f) is the zero object f is an epimorphism (surjective), meaning the sequence is exact at B precisely when f covers all of B. Such a short exact sequence $0 \to K \to G \to Q \to 0 is said to split if there exists a s: Q \to G (a on the cokernel side) such that the p \circ s = \operatorname{id}_Q, where p: G \to Q is the quotient map. This splitting condition is equivalent to G \cong K \oplus Q as objects in the , and on the cokernel side, it holds whenever Q is a projective object, since projectivity ensures that the identity morphism on Q lifts through the p. A classic example of a short exact sequence that does not split is $0 \to \mathbb{Z} \xrightarrow{\times 2} \mathbb{Z} \to \mathbb{Z}/2\mathbb{Z} \to 0, where the first map sends n \mapsto 2n and the second is the canonical projection \mathbb{Z} \to \mathbb{Z}/2\mathbb{Z}. Here, \mathbb{Z}/2\mathbb{Z} is not projective as a \mathbb{Z}-module, and there is no section s: \mathbb{Z}/2\mathbb{Z} \to \mathbb{Z} satisfying the splitting condition, as \mathbb{Z} \not\cong \mathbb{Z} \oplus \mathbb{Z}/2\mathbb{Z}. In abelian categories, cokernels play a key role in completing partial sequences to exact ones; for instance, given any morphism f: A \to B, adjoining the cokernel yields the exact sequence A \to B \to \operatorname{coker}(f) \to 0, and combining with the kernel produces the full short exact sequence $0 \to \ker(f) \to A \to B \to \operatorname{coker}(f) \to 0.

In Homological Algebra

In a chain complex C_\bullet with differentials d_n: C_n \to C_{n-1}, the homology group is defined as H_n(C) = \ker(d_n) / \operatorname{im}(d_{n+1}). The cokernel of the map d_{n+1}: C_{n+1} \to C_n is C_n / \operatorname{im}(d_{n+1}), which fits into a short exact sequence $0 \to \ker(d_n) / \operatorname{im}(d_{n+1}) \to C_n / \operatorname{im}(d_{n+1}) \to \operatorname{im}(d_n) \to 0 with the homology H_n(C) as the kernel of the induced map \coker(d_{n+1}) \to \operatorname{im}(d_n). This structure highlights how cokernels encode the failure of exactness at each degree, relating directly to homology via subquotients. Furthermore, when considering short exact sequences of chain complexes $0 \to A_\bullet \to B_\bullet \to C_\bullet \to 0, the cokernels in each degree contribute to the long exact sequence in homology through the connecting homomorphisms, which arise from diagram chases involving kernels and cokernels across degrees. Cokernels play a central role in the computation of derived functors like and via . For , a projective \cdots \to P_1 \to P_0 \to M \to 0 of a M is tensored with another N, yielding a whose groups are the Tor functors; here, the cokernels of the maps ensure the is except at the end, with boundaries defined as images that implicitly rely on cokernel properties for the functor's right exactness. Similarly, for Ext, applying the to an injective of N produces a cochain whose is Ext; the cokernels in the guarantee that the vanishes in positive degrees before localization, allowing the to measure deviations from exactness. These constructions underscore cokernels' necessity in building acyclic that compute the functors. In derived categories, the cofiber—functioning as a cokernel in the triangulated structure—of a quasi-isomorphism is acyclic, meaning its vanishes in all degrees. This follows from the mapping cone construction: for a quasi-isomorphism f: X^\bullet \to Y^\bullet, the cone complex \operatorname{cone}(f) fits into a distinguished triangle X^\bullet \to Y^\bullet \to \operatorname{cone}(f) \to X^\bullet{{grok:render&&&type=render_inline_citation&&&citation_id=1&&&citation_type=wikipedia}}, and since f induces isomorphisms on , the long exact sequence from the triangle implies \operatorname{cone}(f) is acyclic. This acyclicity is pivotal for inverting quasi-isomorphisms to form the , as it identifies morphisms up to homotopy equivalence. The extends this to short exact sequences of complexes, propagating cokernels degreewise to yield long exact sequences in , where the maps are constructed by lifting elements through cokernels and kernels. Cokernels were instrumental in Alexander Grothendieck's foundational development of abelian categories and derived functors, as detailed in his 1957 Tôhoku paper, where they axiomatize the existence of kernels and cokernels essential for exactness and functorial derivations. Beyond abelian settings, cokernels extend to non-abelian categories such as pointed sets or groups, where the cokernel of a f: G \to H is the H / \langle \operatorname{im}(f) \rangle^N by the normal closure of the image, enabling homological constructions like non-abelian despite the absence of full exactness. This generalization supports higher categorical structures without relying on commutativity.

References

  1. [1]
    Cokernel -- from Wolfram MathWorld
    The cokernel of a group homomorphism of Abelian groups (modules, or abstract vector spaces) is the quotient group (quotient module or quotient space, ...
  2. [2]
    Cokernel - an overview | ScienceDirect Topics
    A cokernel is defined as a morphism σ: P → A in a category A, where P is an object such that it serves as the cokernel of a given morphism. ... How useful is this ...
  3. [3]
    [PDF] FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 3 - Mathematics
    do this yourself. Notice that the kernel of f : B → C is the limit. 0. B f. // C and ...
  4. [4]
    [PDF] maclane-categories.pdf - MIT Mathematics
    ... Mac Lane. Categories for the. Working Mathematician. Second Edition. Springer. Page 4. Saunders Mac Lane. Professor Emeritus. Department of Mathematics.
  5. [5]
    Categories for the Working Mathematician - SpringerLink
    Book Title: Categories for the Working Mathematician · Authors: Saunders Mac Lane · Series Title: Graduate Texts in Mathematics · Publisher: Springer New York, NY.
  6. [6]
    cokernel in nLab
    Jul 8, 2023 · The notion of cokernel is dual to that of kernel. A cokernel in a category C \mathcal{C} is a kernel in the opposite category C op \mathcal{C}^{op}.Missing: mathematics | Show results with:mathematics
  7. [7]
    Section 12.5 (00ZX): Abelian categories—The Stacks project
    Definition 12.5. 1. A category \mathcal{A} is abelian if it is additive, if all kernels and cokernels exist, and if the natural map \mathop{\mathrm{Coim}}(f) \ ...
  8. [8]
    [PDF] THEORY OF CATEGORIES
    A morphism B + Coker (a) is called the cokernel of a if it is the kernel of a in the dual category. ... We begin by giving a formal definition of the terms ...
  9. [9]
    [PDF] Saunders Mac Lane - Categories for the Working Mathematician
    This second edition of "Categories Work" adds two new chapters on topics of active interest. One is on symmetric monoidal categories and braided monoidal ...
  10. [10]
    coimage in nLab
    May 28, 2024 · The coimage of a morphism is the notion dual to its image. Under certain conditions (the codomain of) the coimage coincides with (the domain of) the image.
  11. [11]
    [PDF] Notes on Category Theory - UT Math
    Feb 28, 2018 · Just like the equalizer can be used to define the kernel, the coequalizer can be used to define the cokernel (otherwise known as the quotient).Missing: formal | Show results with:formal
  12. [12]
    [PDF] Abelian Categories - Purdue Math
    Jan 28, 2024 · Since injectivity and surjectivity are not categorical notions, we replace them by saying that they are kernels or cokernels. To appreciate ...
  13. [13]
    [PDF] Abelian group basics
    If 7 vanishes, we say G is torsion-free. A free abelian group is necessarily torsion-free, but not conversely.
  14. [14]
    [PDF] Math 635: Algebraic Topology II, Winter 2015 Homework #6: Mayer ...
    As above, H1(X) is isomorphic to the cokernel of this map, which is ... = Z, with ψ2 equal to multiplication by 2. Thus ker(ψ2) = 0 and coker(ψ2).
  15. [15]
    [PDF] MATH 131B: ALGEBRA II PART A - Brandeis
    (1) The morphism f : Z → Z given by multiplication by 2 is an epimorphism in the category P(Z) of f.g. free abelian groups. (2) This morphism does not have as ...
  16. [16]
    [PDF] Structure theorem for finitely generated abelian groups
    We have just seen that each finitely generated abelian group is the cokernel of an integer ... If M is free and the quotient module M/N is finite, then M and N ...
  17. [17]
    [PDF] Goals of 8000 course: To prepare students to use the basic tools of ...
    Linear and commutative algebra i) Abelian groups. First we treat abelian groups, representing them as cokernels of maps between free abelian groups ...
  18. [18]
    [PDF] 4. Vector Spaces. - Math
    Vector Spaces. A vector space exists in the context of a scalar field F, so we ... The cokernel measures how far an F-linear map is from being surjective.
  19. [19]
    [PDF] 18.06.16: The four fundamental subspaces - MIT
    Jun 18, 2016 · This space is also called the cokernel or the left kernel of 𝐴. I ... In all, we have four vector spaces that are what Strang call the fundamental.
  20. [20]
    [PDF] Modules and Vector Spaces - Math@LSU
    M/ Im(f) is called the cokernel of f and it is denoted Coker(f). (3.6) Definition. (1) The sequence (3.1), if exact, is said to be a short exact sequence ...
  21. [21]
  22. [22]
    nLab long exact sequence in chain homology
    Jan 17, 2021 · We discuss the relation of homology long exact sequences to homotopy cofiber sequences of chain complexes. Technical details corresponding to ...Idea · Properties · Relation to homotopy fiber...
  23. [23]
    exact sequence in nLab
    Jul 8, 2025 · It is a sequential diagram in which the image of each morphism is equal to the kernel of the next morphism.Definition · Properties · Examples
  24. [24]
    [PDF] Lecture 10: Exts and Tors, Resolutions - MIT OpenCourseWare
    Ext(𝑀 , 𝑁 ) is computed by applying Hom(−, 𝑁 ) to the resolution, removing 𝑀 , and computing the cohomology of the resulting complex. You can also compute Ext ...
  25. [25]
    [PDF] Notes on Tor and Ext - UChicago Math
    If we have two systems of functors and natural connecting homomorphisms and we have proven they are isomorphic through stage (n − 1), then a diagram chase.
  26. [26]
    [PDF] notes on derived categories and derived functors - UC Berkeley math
    C(f) is a quasi-isomorphism. (vi) If f is bijective, then C(f) is acyclic. (vii) For each i, the exact sequence ...
  27. [27]
    snake lemma in nLab
    Jan 12, 2024 · The snake lemma derives its name from the fact that one may draw the connecting homomorphism ∂ \partial that it constructs diagrammatically as follows:
  28. [28]
    Sur quelques points d'algèbre homologique, I - Project Euclid
    1957 Sur quelques points d'algèbre homologique, I. Alexander Grothendieck · DOWNLOAD PDF + SAVE TO MY LIBRARY. Tohoku Math. J. (2) 9(2): 119-221 (1957).