ArticleslgStudy

mathematics

Cokernel

Cokernel is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cokernel rather than just read about it. In short: The cokernel of a linear mapping of vector spaces f : X → Y is the quotient space Y / im(f) of the codomain of f by the image of f. The dimension of the cokernel is called the corank of f.

Cokernel — main illustration
Cokernel — illustration

Key takeaways

  • Cokernel belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cokernel to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cokernel from memory before moving on to harder problems.

Reference excerpt

The cokernel of a linear mapping of vector spaces f : X → Y is the quotient space Y / im(f) of the codomain of f by the image of f. The dimension of the cokernel is called the corank of f. Cokernels are dual to the kernels of category theory, hence the name: the kernel is a subobject of the domain (it maps to the domain), while the cokernel is a quotient object of the codomain (it maps from the codomain). Intuitively, given an equation f(x) = y that one is seeking to solve, the cokernel measures the constraints that y must satisfy for this equation to have a solution – the obstructions to a solution – while the kernel measures the degrees of freedom in a solution, if one exists. This is elaborated in intuition, below. More generally, the cokernel of a morphism f : X → Y in some category (e.g. a homomorphism between groups or a bounded linear operator between Hilbert spaces) is an object Q and a morphism q : Y → Q such that the composition q f is the zero morphism of the category, and furthermore q is universal with respect to this property. Often the map q is understood, and Q itself is called the cokernel of f. In many situations in abstract algebra, such as for abelian groups, vector spaces or modules, the cokernel of the homomorphism f : X → Y is the quotient of Y by the image of f. In topological settings, such as with bounded linear operators between Hilbert spaces, one typically has to take the closure of the image before passing to the quotient.

Formal definition One can define the cokernel in the general framework of category theory. In order for the definition to make sense the category in question must have zero morphisms. The cokernel of a morphism f : X → Y is defined as the coequalizer of f and the zero morphism 0XY : X → Y. Explicitly, this means the following. The cokernel of f : X → Y is an object Q together with a morphism q : Y → Q such that the diagram

commutes. Moreover, the morphism q must be universal for this diagram, i.e. any other such q′ : Y → Q′ can be obtained by composing q with a unique morphism u : Q → Q′:

As with all universal constructions, the cokernel, if it exists, is unique up to a unique isomorphism, or more precisely: if q : Y → Q and q′ : Y → Q′ are two cokernels of f : X → Y, then there exists a unique isomorphism u : Q → Q′ with q' = u q. Like all coequalizers, the cokernel q : Y → Q is necessarily an epimorphism. Conversely an epimorphism is called normal (or conormal) if it is the cokernel of some morphism. A category is called conormal if every epimorphism is normal (e.g. the category of groups is conormal).

Examples In the category of groups, the cokernel of a group homomorphism f : G → H is the quotient of H by the normal closure of the image of f. In the case of abelian groups, since every subgroup is normal, the cokernel is just H modulo the image of f:

coker⁡(f)=H/im⁡(f).

Special cases In a preadditive category, it makes sense to add and subtract morphisms. In such a category, the coequalizer of two morphisms f and g (if it exists) is just the cokernel of their difference:

coeq⁡(f,g)=coker⁡(g−f). In an abelian category (a special kind of preadditive category) the image and coimage of a morphism f are given by

im⁡(f)=ker⁡(coker⁡f),coim⁡(f)=coker⁡(ker⁡f). In particular, every abelian category is normal (and conormal as well). That is, every monomorphism m can be written as the kernel of some morphism. Specifically, m is the kernel of its own cokernel:

m=ker⁡(coker⁡(m))

Intuition The cokernel can be thought of as the space of constraints that an equation must satisfy, as the space of obstructions, just as the kernel is the space of solutions. Formally, one may connect the kernel and the cokernel of a map T: V → W by the exact sequence

0→ker⁡T→V⟶TW→coker⁡T→0. These can be interpreted thus: given a linear equation T(v) = w to solve,

the kernel is the space of solutions to the homogeneous equation T(v) = 0, and its dimension is the number of degrees of freedom in solutions to T(v) = w, if they exist; the cokernel is the space of constraints on w that must be satisfied if the equation is to have a solution, and its dimension is the number of independent constraints that must be satisfied for the equation to have a solution. The dimension of the cokernel plus the dimension of the image (the rank) add up to the dimension of the target space, as the dimension of the quotient space W / T(V) is simply the dimension of the space minus the dimension of the image. As a simple example, consider the map T: R2 → R2, given by T(x, y) = (0, y). Then for an equation T(x, y) = (a, b) to have a solution, we must have a = 0 (one constraint), and in that case the solution space is (x, b), or equivalently, (0, b) + (x, 0), (one degree of freedom). The kernel may be expressed as the subspace (x, 0) ⊆ V: the value of x is the freedom in a solution. The cokernel may be expressed via the real valued map W: (a, b) → (a): given a vector (a, b), the value of a is the obstruction to there being a solution. Additionally, the cokernel can be thought of as something that "detects" surjections in the same way that the kernel "detects" injections. A map is injective if and only if its kernel is trivial, and a map is surjective if and only if its cokernel is trivial, or in other words, if W = im(T).

References

Illustrations

Cokernel illustration

Worked examples

Example 1 — a first encounter with Cokernel

Start with the simplest possible case. Write down what Cokernel claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cokernel before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cokernel ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cokernel

In research
Cokernel appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cokernel in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cokernel is common in secondary-school and first-year university syllabi. It links to neighbouring topics Abstract algebra, Category theory, Isomorphism theorems, so understanding it makes those chapters shorter.
In everyday life
Look for Cokernel outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cokernel” →

How to study Cokernel in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cokernel means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cokernel out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cokernel in simple terms?

The cokernel of a linear mapping of vector spaces f : X → Y is the quotient space Y / im(f) of the codomain of f by the image of f. The dimension of the cokernel is called the corank of f.

Why does Cokernel matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cokernel?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cokernel.

Tags

  • Abstract algebra
  • Category theory
  • Isomorphism theorems

Keep exploring