Universal Property
A universal property characterizes an object by specifying how it relates to all other objects. Rather than constructing an object explicitly, we describe it by a mapping property that determines it uniquely up to unique isomorphism. This is the central organizing principle of category theory.
Initial and Terminal Objects
An object in a category is initial if for every object , there exists a unique morphism .
An object in a category is terminal if for every object , there exists a unique morphism .
A zero object is an object that is both initial and terminal. It is denoted . The unique morphism is called the zero morphism and is denoted .
Any two initial objects in a category are uniquely isomorphic. Similarly for terminal objects and zero objects.
Let be initial. There exist unique morphisms and . Then must equal (since the only morphism is the identity, by the initial property). Similarly .
Examples
In : the empty set is initial (there is a unique function for any set β the empty function). Any singleton is terminal (there is a unique function ). There is no zero object in .
In , the trivial group is a zero object: it is both initial and terminal. For any abelian groups , the zero morphism sending everything to factors through .
In , the zero module is a zero object. Every module homomorphism has an additive inverse, making an abelian group. The zero element is the zero morphism factoring through .
In (with unit), is the initial object: for every ring , there is a unique ring homomorphism sending .
In , the trivial group is both initial and terminal (hence a zero object). The unique homomorphism sends everything to ; the unique homomorphism sends to .
The category of fields has neither an initial nor a terminal object. There is no field homomorphism (characteristics differ), and no field homomorphism .
In an abelian category, the kernel of is an object with a morphism such that , and for every with , there exists a unique with . This is a universal property: is the "largest subobject mapped to zero by ."
The free group on a set satisfies: for any group and function , there is a unique homomorphism extending . This is the universal property of the free-forgetful adjunction .
is universal for bilinear maps: any bilinear map factors uniquely through the canonical bilinear map .
For a ring and a multiplicative set , satisfies: any ring homomorphism sending to units factors uniquely through . This determines up to unique isomorphism.
For a group and normal subgroup , the quotient satisfies: any homomorphism with factors uniquely as for a unique . This is the universal property of the cokernel.
The polynomial ring represents the forgetful functor from -algebras to sets: . For any -algebra and any element , there is a unique -algebra homomorphism sending .
The Pattern
Every universal property can be formulated as a representability statement. An object has a universal property with respect to a functor if and only if is represented by . This is the content of the Yoneda Lemma: the universal element determines and is determined by the natural isomorphism .
Products, coproducts, pullbacks, pushouts, limits, and colimits are all instances of universal properties. A limit is a terminal object in a category of cones; a colimit is an initial object in a category of cocones. The adjoint functor theorems give conditions for the existence of such universal objects.