The general fact of the uniqueness of the universal arrows implies the uniqueness of the ... object, up to a unique isomorphism (who wants more?).
Many (perhaps even most!) constructions in abstract algebra involve an object (and morphism) that satisfies some defining "universal property." But often the mathematician unaccustomed with category theory is left to wonder:
What exactly is a universal property?
Does every object have a universal property?
Can an object have more than one universal property?
Why do we care about universal properties, anyway?
We'll soon see answers to all of these questions, but for now let's just remember the first motto of category theory: it's all about the arrows!
Rather than dive straight into the technical definitions, I think it's more illuminating to first review many specific situations in which a common construction is characterized by some property about maps.
Examples in
You encounter many "basic" constructions on sets as soon as you start studying set theory. Here we list a few, along with the universal property they satisfy.
Cartesian product
Suppose and are two sets. The Cartesian product is the set of all ordered pairs with and . There are two (natural) projection maps from , namely defined by and defined by . This collection of information (the set together with those two projection maps) is "universal among all such information." More precisely, whenever is a set equipped with two maps and , there there is a unique set map such that factors through and factors through . This can be visualized below:
The map is easy to describe in terms of elements. It is simply given by . (Convince yourself that if the diagram is to be commutative, there is actually no other choice!)
Disjoint union
The disjoint union of two sets is exactly dual to the Cartesian product construction. Indeed, if and are two sets then the disjoint union is a set that has two (natural) maps and , "universal among all such information." Once again, what this means precisely is that whenever is a set equipped with two maps and , then there is a unique set map such that factors through and factors through :
Quotient by equivalence relations
Suppose is an equivalence relation on a set and is the corresponding quotient set, consisting of the equivalence classes of elements of under . Let be the "projection" map that sends each element to its -equivalence class. The "universal property" of (and really of the map ) is that any function on that respects the equivalence relation descends to a function on . More precisely, any set map for which whenever factors uniquely through :
(This example can be made even more "categorical" if one is willing to reframe the definition of "equivalence relation" without reference to elements.)
Equalizers
Have you ever wondered if there was a set-analogue of the notion of a kernel? Since sets do not have an element identified as "zero", there is no direct analogue of a kernel. However, there is something close, called the equalizer. Given a pair of set maps between the same two sets, the equalizer of and is the subset of consisting of all elements at which and agree. In other words, it is the set . Let be the inclusion map. Then we have a set together with a map such that . The equalizer is "universal for such information." That is, if is any set together with a map such that , then factors uniquely through :
At the level of elements, the map is given by ; note that since the element is indeed in the set . (Once again, the commutativity of the diagram forces this as the only possible definition of .)
Coequalizers
As will always be the case, there is a notion dual to equalizers, named ... (drumroll) ... coequalizers. I will simply leave a diagram here with no explanation. Can you fill in the details?
Pushouts/Pushforwards
Suppose and are set maps. Let be the quotient of the disjoint union by the equivalence relation that identifies the elements and for every . Visually, one imagines gluing together the sets and along the image in each of . This set comes equipped with two set maps and such that the diagram below is commutative:
This information is universal among all such pairs of set maps from and with the analogous commutativity conditions.
Pullbacks
Exactly dual to the notion of a pushout is that of a pullback. The relevant diagram is shown below. Can you fill in the details?
The pullback object is sometimes also called a fibered product or a product of and over .
Examples in
Quotient groups
The quotient group construction is probably the first time most of us officially encounter the phrase "universal property." Let's recall the details. Suppose is a group and is a normal subgroup. Then the set of left cosets of in has the structure of a group and there is a group morphism with , universally so. That is, every other morphism with factors uniquely through :
(You might recall that we actually have . Can you prove this must be the case regardless, simply from the universal property?)
You might notice something a little different about this example compared to all the others listed here. In this example, the universal property involves information not encoded in the diagram, namely that the arrows have been restricted (to only morphisms with a certain property). This suggests that we should ultimately look for a characterization of "universal property" that goes behind representing diagrams.
Now the quotient group is usually described as a group whose elements are cosets. However, once the cosets are used to prove this one "universal" property of , all other properties of quotient groups - for example, the isomorphism theorems - can be proved with no further mention of cosets ... All that is needed is the existence of a universal element ... For that matter, even this existence could be proved without using cosets (see the adjoint functor theorem ...)
Examples in
Direct sum
Suppose and are two abelian groups. What is the smallest abelian group that contains and ? Spoiler: it's not their (disjoint) union, at least not in general. One reason is that the disjoint union of their sets of elements is likely not even a group. However, there is a construction that produces from and a new group with the universal property in directly analogous to that of the disjoint union in . This construction is the so-called direct sum of and . Usually denoted , as a set this group consists of all formal sums of the form with and . The operation is as expected, with . One can verify that really is an abelian group, and that there are evident morphisms and defined by and , respectively. As with the disjoint union, this information is universal. In other words, if is any other abelian group together with group morphisms and , then these morphisms factor uniquely through and , respectively:
Look at this diagram and compare with the diagram (in ) for disjoint union:
At least as far as category theory is concerned ...