In mathematics, more specifically in category theory, a universal property is a property that characterizes up to an isomorphism the result of some constructions. Thus, universal properties can be used for defining some objects independently from the method chosen for constructing them. For example, the definitions of the integers from the natural numbers, of the rational numbers from the integers, of the real numbers from the rational numbers, and of polynomial rings from the field of their coefficients can all be done in terms of universal properties. In particular, the concept of universal property allows a simple proof that all constructions of real numbers are equivalent: it suffices to prove that they satisfy the same universal property. Technically, a universal property is defined in terms of categories and functors by means of a universal morphism (see § Formal definition, below). Universal morphisms can also be thought more abstractly as initial or terminal objects of a comma category (see § Connection with comma categories, below). Universal properties occur almost everywhere in mathematics, and the use of the concept allows the use of general properties of universal properties for easily proving some properties that would need boring verifications otherwise. For example, given a commutative ring R, the field of fractions of the quotient ring of R by a prime ideal p can be identified with the residue field of the localization of R at p; that is Rp/pRp≅Frac(R/p) (all these constructions can be defined by universal properties). Other objects that can be defined by universal properties include: all free objects, direct products and direct sums, free groups, free lattices, Grothendieck group, completion of a metric space, completion of a ring, Dedekind–MacNeille completion, product topologies, Stone–Čech compactification, tensor products, inverse limit and direct limit, kernels and cokernels, quotient groups, quotient vector spaces, and other quotient spaces.
Motivation Before giving a formal definition of universal properties, we offer some motivation for studying such constructions.
The concrete details of a given construction may be messy, but if the construction satisfies a universal property, one can forget all those details: all there is to know about the construction is already contained in the universal property. Proofs often become short and elegant if the universal property is used rather than the concrete details. For example, the tensor algebra of a vector space is slightly complicated to construct, but much easier to deal with by its universal property. Universal properties define objects uniquely up to a unique isomorphism. Therefore, one strategy to prove that two objects are isomorphic is to show that they satisfy the same universal property. Universal constructions are functorial in nature: if one can carry out the construction for every object in a category C then one obtains a functor on C. Furthermore, this functor is a right or left adjoint to the functor U used in the definition of the universal property. Universal properties occur everywhere in mathematics. By understanding their abstract properties, one obtains information about all these constructions and can avoid repeating the same analysis for each individual instance.
Formal definition To understand the definition of a universal construction, it is important to look at examples. Universal constructions were not defined out of thin air, but were rather defined after mathematicians began noticing a pattern in many mathematical constructions (see § Examples below). Hence, the definition may not make sense at first, but will become clear when one reconciles it with concrete examples. Let F:𝒞→𝒟 be a functor between categories 𝒞 and 𝒟. In what follows, let X be an object of 𝒟, A and A′ be objects of 𝒞, and h:A→A′ be a morphism in 𝒞. Then, the functor F maps A, A′ and h in 𝒞 to F(A), F(A′) and F(h) in 𝒟. A universal morphism from X to F is a unique pair (A,u:X→F(A)) which has the following property, commonly referred to as a universal property: For any morphism of the form f:X→F(A′) in 𝒟, there exists a unique morphism h:A→A′ in 𝒞 such that the following diagram commutes:
We can dualize this categorical concept. A universal morphism from F to X is a unique pair (A,u:F(A)→X) that satisfies the following universal property: For any morphism of the form f:F(A′)→X in 𝒟, there exists a unique morphism h:A′→A in 𝒞 such that the following diagram commutes:
Note that in each definition, the arrows are reversed. Both definitions are necessary to describe universal constructions which appear in mathematics; but they also arise due to the inherent duality present in category theory. In either case, we say that the pair (A,u) which behaves as above satisfies a universal property.
Connection with comma categories Universal morphisms can be described more concisely as initial and terminal objects in a comma category (i.e. one where morphisms are seen as objects in their own right). Let F:𝒞→𝒟 be a functor and X an object of 𝒟. Then recall that the comma category (X↓F) is the category where
Objects are pairs of the form (B,f:X→F(B)), where B is an object in 𝒞 A morphism from (B,f:X→F(B)) to (B′,f′:X→F(B′)) is given by a morphism h:B→B′ in 𝒞 such that the diagram commutes:
Now suppose that the object (A,u:X→F(A)) in (X↓F) is initial. Then for every object (A′,f:X→F(A′)), there exists a unique morphism h:A→A′ such that the following diagram commutes.
Note that the equality here simply means the diagrams are the same. Also note that the diagram on the right side of the equality is the exact same as the one offered in defining a universal morphism from X to F. Therefore, we see that a universal morphism from X to F is equivalent to an initial object in the comma category (X↓F). Conversely, recall that the comma category (F↓X) is the category where
Objects are pairs of the form (B,f:F(B)→X) where B is an object in 𝒞 A morphism from (B,f:F(B)→X) to (B′,f′:F(B′)→X) is given by a morphism h:B→B′ in 𝒞 such that the diagram commutes:
Suppose (A,u:F(A)→X) is a terminal object in (F↓X). Then for every object (A′,f:F(A′)→X), there exists a unique morphism h:A′→A such that the following diagrams commute.
… excerpt ends here. Continue reading the full article.





