Universal arrows and elements

There are examples scattered all throughout mathematics in which an object is constructed with certain special properties (usually in relation to some diagram or system of information) and then shown to be "special" in some way amongst the collection of all objects with such properties. Such an object is then usually granted a unique name, often with reference to the diagram of information from which that object was constructed.

It is possible in category theory to give a uniform description of these varied constructions. We first present a very abstract notion of universal arrow.

Definition of universal arrow

Suppose F:Cβ†’D is a functor and d∈D. A universal arrow from d to F is a pair (r,u) consisting of an object r∈C and an arrow u:dβ†’F(r) such that to every other pair (c,f) with c∈C and f:dβ†’F(c) there is a unique arrow h:rβ†’c with f=F(h)∘d.

In other words, every arrow f to F factors uniquely through the universal arrow u, as in the commutative diagram below:

There is also the dual notion of a universal arrow from F to d, which is a pair (r,v) consisting of an object r∈C and an arrow v:F(r)β†’d such that to every pair (c,f) with f:F(c)β†’d there is a a unique h:cβ†’r with f=v∘F(h). In other words, simply reverse all arrows in the diagram above.

Example of universal arrows: free modules

Let R be a ring and U:Rβˆ’Modβ†’Set be the usual forgetful functor. The free module construction takes each set A and produces an R-module F(A). The function which sends each a∈A to the same element a∈F(A) regarded as a formal R-linear sum of elements of A is an arrow j:Aβ†’U(F(A)). For any other R-module M, each function f:Aβ†’U(M) can be extended uniquely to a module morphism h:F(A)β†’M with f=U(h)∘j. This states exactly that j is a universal arrow from A to U.

Universal elements

A special case of the notion of universal arrow is that of a universal element.

Definition of universal element

Suppose C is a category and H:Cβ†’Set is a functor. A universal element of the functor H is a pair (r,e) consisting of an object r∈C and an element e∈H(r) such that for every pair (c,x) with x∈H(c) there is a unique arrow f:rβ†’c in C with (Hf)(e)=x.

Example of universal elements: Quotient by equivalence relations

Suppose E is an equivalence relation on a set X, with corresponding quotient set X/E and projection map p:Xβ†’X/E. The set X/E has the familiar property that any function f on X that respects the equivalence relation can be regarded as a function on X/E. More formally, this means that if f:Xβ†’S is a function such that f(x)=f(xβ€²) whenever (x,xβ€²)∈E, then there exists a unique function h:X/Eβ†’S such that f=h∘p. This states exactly that (X/E,p) is a universal element for the functor H:Setβ†’Set that assigns each set S to the set H(S) of all functions f:Xβ†’S for which f(x)=f(xβ€²) whenever (x,xβ€²)∈E.