Definition

Let be a category with pullbacks and an initial object . Let be a morphism.

The kernel of is given by such that the following diagram is a pullback:

\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
k \arrow[d, "\rho"] \arrow[r, "!"] & 0 \arrow[d, "!"] \\
a \arrow[r, "f"] & b
\end{tikzcd}
\end{document}