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 is a functor and . A universal arrow from to is a pair consisting of an object and an arrow such that to every other pair with and there is a unique arrow with .
In other words, every arrow to factors uniquely through the universal arrow , as in the commutative diagram below:
There is also the dual notion of a universal arrow from to , which is a pair consisting of an object and an arrow such that to every pair with there is a a unique with . In other words, simply reverse all arrows in the diagram above.
Example of universal arrows: free modules
Let be a ring and be the usual forgetful functor. The free module construction takes each set and produces an -module . The function which sends each to the same element regarded as a formal -linear sum of elements of is an arrow . For any other -module , each function can be extended uniquely to a module morphism with . This states exactly that is a universal arrow from to .
Universal elements
A special case of the notion of universal arrow is that of a universal element.
Definition of universal element
Suppose is a category and is a functor. A universal element of the functor is a pair consisting of an object and an element such that for every pair with there is a unique arrow in with .
Example of universal elements: Quotient by equivalence relations
Suppose is an equivalence relation on a set , with corresponding quotient set and projection map . The set has the familiar property that any function on that respects the equivalence relation can be regarded as a function on . More formally, this means that if is a function such that whenever , then there exists a unique function such that . This states exactly that is a universal element for the functor that assigns each set to the set of all functions for which whenever .