Idea

In category theory, limits and colimits express a certain kind of universal property that identifies a universal element, called the apex paired with morphisms to all objects in the diagram (a cone, or dually a cocone) such that all other cones/cocones factor uniquely through it. These are a general tool used to express pullbacks/pushouts, products/coproducts. They can generalize to multi-(co)limits enbling expression of end and coend.

Limit

In category theory, a limit of a diagram is the terminal object of the comma category , where is the functor sending to the constant diagram . We regard in as the constant functor from the terminal category to , picking out the diagram .

The objects of come in the form . The terminal such object is an object (the apex) and a natural transformation (the cone). Naturality ensures that for all in , the triangle1 commutes:

\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
d \arrow[d, "\alpha_a"] \arrow[r, "id_d"] & d \arrow[d, "\alpha_b"] \\
a \arrow[r, "f"] & b
\end{tikzcd}
\end{document}

Colimit

In category theory, a colimit of a diagram is the initial object of the comma category , where is the constant diagram functor. We regard as before.

The objects of come in the form . The initial such object is the colimit: is the apex and the cocone. Naturality ensures that for all in , the triangle1 commutes:

\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
a \arrow[d, "\alpha_a"] \arrow[r, "f"] & b \arrow[d, "\alpha_b"] \\
d \arrow[r, "id_d"] & d
\end{tikzcd}
\end{document}

Remarks

  • The limit of an opposite diagram is a colimit, and vice versa.
  • A limit/colimit is finite iff the index category is finite.
  • Limits and colimits can be expressed via adjunctions.
  • By the Yoneda Lemma, limits represent certain functors.
  • The colimit of an Opposite Category is a limit of the opposite diagram.

Examples

  • The product of two objects is a limit of a diagram with two objects and no nontrivial morphisms.
  • A pushout is a colimit.
  • A pullback is a limit.

Footnotes

  1. Drawn as a square due to technical limitations. 2