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.
...whenever new abstract objects are constructed in a specified way out of given ones, it is advisable to regard the construction of the corresponding induced mappings on these objects as an integral part of their definition.
You encounter many constructions on sets as soon as you start studying set theory. Here we list a few, along with a "universal property" they satisfy.
Cartesian product
Suppose and are two sets. The Cartesian product is usually defined to be the set of all ordered pairs with and . There are two (natural) projection maps from , namely defined by and defined by .
One can prove that this collection of information (the set together with those two projection maps) is "universal among all such information." More precisely, for any 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!)
There is also a "naturality" to this construction, in that the construction of the Cartesian product is "the same" for every pair of sets . This is an observation that will apply to many of the following examples and is something we will explore more later when we talk about adjoints.
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 equipped with 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 an analogue in of the notion of a kernel? Since sets do not have an element identified as "zero", there is no direct analogue of a kernel. (Since has distinct initial and terminal objects, there also is no "zero set" that would allow us to formally define zero maps, either.)
There is something close, however, 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 .)
Soon we will see how to extend this idea to general categories, i.e., outside of . In an abelian category we will also see that we can replace the pair of maps with their difference , in which the equalizer of the pair can be replaced by .
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:
We call the diagram above a pushout (or pushforward) diagram. 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
Many of the constructions in described above can also be carried out analogously in , where they frequently (and unfortunately) have a different name. For example, in the pushout example above, that same diagram in defines the so-called free product with amalgamation. Rather than repeat the diagrams, let's just focus on one heavy-hitter: the quotient group construction.
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). We could try to fix this, by adding additional information to the diagram in such a way to encode this condition, but I think a better idea is to instead look for a characterization of "universal property" that goes behind diagrams. That's exactly what Yoneda's Lemma is going to give us.
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"[1] 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 picture and compare with the picture (in ) for disjoint union:
At least as far as category theory is concerned ...
Does the informal nature of our use of the phrase "formal sums" bother you? It probably should. We'll try to do better later on, when we look at direct sums of modules. ↩︎