Throughout, assume C\mathcal C is a with a zero object (e.g. any ), so that for any objects A,BA,B there is a distinguished zero morphism 0A,B:A→B0_{A,B}:A\to B.

Given a morphism f:A→Bf:A\to B in C\mathcal C, a kernel of ff is a morphism

k:K→Ak:K\to A

such that:

  1. f∘k=0K,Bf\circ k = 0_{K,B}, and
  2. (Universal property) for every morphism t:T→At:T\to A with f∘t=0T,Bf\circ t=0_{T,B}, there exists a unique morphism u:T→Ku:T\to K with
    k∘u=t.k\circ u = t.

It is the categorical version of the solution set of f(x)=0f(x)=0, expressed by a universal property rather than by elements.

Equivalent characterizations

Equivalently, k:K→Ak:K\to A is an of the parallel pair f,0A,B:A⇉Bf,0_{A,B}:A\rightrightarrows B.

Remarks

A kernel, if it exists, is unique up to unique . In any category, kernels are (because equalizers are monic).

Examples
  1. Ab\mathbf{Ab}. For a homomorphism f:A→Bf:A\to B of abelian groups, ker⁡(f)⊆A\ker(f)\subseteq A with inclusion ker⁡(f)↪A\ker(f)\hookrightarrow A is the categorical kernel.
  1. RR−-Mod\mathbf{Mod}. For an RR-linear map f:M→Nf:M\to N, the usual submodule {m∈M:f(m)=0}\{m\in M : f(m)=0\} with inclusion is the kernel.
  1. Grp\mathbf{Grp}. For a group homomorphism f:G→Hf:G\to H, the usual kernel {g∈G:f(g)=e}\{g\in G : f(g)=e\} with inclusion is the categorical kernel (here the zero morphism G→HG\to H is the constant map to the identity element).