Universal property explained

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, below). Universal morphisms can also be thought more abstractly as initial or terminal objects of a comma category (see, 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, the field of fractions of the quotient ring of by a prime ideal can be identified with the residue field of the localization of at ; that is

Rp/pRp\cong\operatorname{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.

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 to one at first, but will become clear when one reconciles it with concrete examples.

Let

F:l{C}\tol{D}

be a functor between categories

l{C}

and

l{D}

. In what follows, let

X

be an object of

l{D}

,

A

and

A'

be objects of

l{C}

, and

h:A\toA'

be a morphism in

l{C}

.

Then, the functor

F

maps

A

,

A'

and

h

in

l{C}

to

F(A)

,

F(A')

and

F(h)

in

l{D}

.

A universal morphism from

X

to

F

is a unique pair

(A,u:X\toF(A))

in

l{D}

which has the following property, commonly referred to as a
universal property:

For any morphism of the form

f:X\toF(A')

in

l{D}

, there exists a unique morphism

h:A\toA'

in

l{C}

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)\toX)

that satisfies the following universal property:

For any morphism of the form

f:F(A')\toX

in

l{D}

, there exists a unique morphism

h:A'\toA

in

l{C}

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:l{C}\tol{D}

be a functor and

X

an object of

l{D}

. Then recall that the comma category

(X\downarrowF)

is the category where

(B,f:X\toF(B))

, where

B

is an object in

l{C}

(B,f:X\toF(B))

to

(B',f':X\toF(B'))

is given by a morphism

h:B\toB'

in

l{C}

such that the diagram commutes:Now suppose that the object

(A,u:X\toF(A))

in

(X\downarrowF)

is initial. Thenfor every object

(A',f:X\toF(A'))

, there exists a unique morphism

h:A\toA'

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\downarrowF)

.

Conversely, recall that the comma category

(F\downarrowX)

is the category where

(B,f:F(B)\toX)

where

B

is an object in

l{C}

(B,f:F(B)\toX)

to

(B',f':F(B')\toX)

is given by a morphism

h:B\toB'

in

l{C}

such that the diagram commutes: Suppose

(A,u:F(A)\toX)

is a terminal object in

(F\downarrowX)

. Then for every object

(A',f:F(A')\toX)

, there exists a unique morphism

h:A'\toA

such that the following diagrams commute.

The diagram on the right side of the equality is the same diagram pictured when defining a universal morphism from

F

to

X

. Hence, a universal morphism from

F

to

X

corresponds with a terminal object in the comma category

(F\downarrowX)

.

Examples

Below are a few examples, to highlight the general idea. The reader can construct numerous other examples by consulting the articles mentioned in the introduction.

Tensor algebras

Let

l{C}

be the category of vector spaces

K

-Vect
over a field

K

and let

l{D}

be the category of algebras

K

-Alg
over

K

(assumed to be unital and associative). Let

U

:

K

-Alg

K

-Vect
be the forgetful functor which assigns to each algebra its underlying vector space.

V

over

K

we can construct the tensor algebra

T(V)

. The tensor algebra is characterized by the fact:

“Any linear map from

V

to an algebra

A

can be uniquely extended to an algebra homomorphism from

T(V)

to

A

.”This statement is an initial property of the tensor algebra since it expresses the fact that the pair

(T(V),i)

, where

i:V\toU(T(V))

is the inclusion map, is a universal morphism from the vector space

V

to the functor

U

.

Since this construction works for any vector space

V

, we conclude that

T

is a functor from

K

-Vect
to

K

-Alg
. This means that

T

is left adjoint to the forgetful functor

U

(see the section below on relation to adjoint functors).

Products

A categorical product can be characterized by a universal construction. For concreteness, one may consider the Cartesian product in Set, the direct product in Grp, or the product topology in Top, where products exist.

Let

X

and

Y

be objects of a category

l{C}

with finite products. The product of

X

and

Y

is an object

X

×

Y

together with two morphisms

\pi1

:

X x Y\toX

\pi2

:

X x Y\toY

such that for any other object

Z

of

l{C}

and morphisms

f:Z\toX

and

g:Z\toY

there exists a unique morphism

h:Z\toX x Y

such that

f=\pi1\circh

and

g=\pi2\circh

.

To understand this characterization as a universal property, take the category

l{D}

to be the product category

l{C} x l{C}

and define the diagonal functor

\Delta:l{C}\tol{C} x l{C}

by

\Delta(X)=(X,X)

and

\Delta(f:X\toY)=(f,f)

. Then

(X x Y,(\pi1,\pi2))

is a universal morphism from

\Delta

to the object

(X,Y)

of

l{C} x l{C}

: if

(f,g)

is any morphism from

(Z,Z)

to

(X,Y)

, then it must equala morphism

\Delta(h:Z\toX x Y)=(h,h)

from

\Delta(Z)=(Z,Z)

to

\Delta(X x Y)=(X x Y,X x Y)

followed by

(\pi1,\pi2)

. As a commutative diagram:For the example of the Cartesian product in Set, the morphism

(\pi1,\pi2)

comprises the two projections

\pi1(x,y)=x

and

\pi2(x,y)=y

. Given any set

Z

and functions

f,g

the unique map such that the required diagram commutes is given by

h=\langlex,y\rangle(z)=(f(z),g(z))

.[3]

Limits and colimits

Categorical products are a particular kind of limit in category theory. One can generalize the above example to arbitrary limits and colimits.

Let

l{J}

and

l{C}

be categories with

l{J}

a small index category and let

l{C}l{J}

be the corresponding functor category. The diagonal functor

\Delta:l{C}\tol{C}l{J}

is the functor that maps each object

N

in

l{C}

to the constant functor

\Delta(N):l{J}\tol{C}

(i.e.

\Delta(N)(X)=N

for each

X

in

l{J}

and

\Delta(N)(f)=1N

for each

f:X\toY

in

l{J}

) and each morphism

f:N\toM

in

l{C}

to the natural transformation

\Delta(f):\Delta(N)\to\Delta(M)

in

l{C}l{J

} defined as, for every object

X

of

l{J}

, the component \Delta(f)(X):\Delta(N)(X)\to\Delta(M)(X) = f:N\to Mat

X

. In other words, the natural transformation is the one defined by having constant component

f:N\toM

for every object of

l{J}

.

Given a functor

F:l{J}\tol{C}

(thought of as an object in

l{C}l{J}

), the limit of

F

, if it exists, is nothing but a universal morphism from

\Delta

to

F

. Dually, the colimit of

F

is a universal morphism from

F

to

\Delta

.

Properties

Existence and uniqueness

Defining a quantity does not guarantee its existence. Given a functor

F:l{C}\tol{D}

and an object

X

of

l{D}

, there may or may not exist a universal morphism from

X

to

F

. If, however, a universal morphism

(A,u)

does exist, then it is essentially unique. Specifically, it is unique up to a unique isomorphism: if

(A',u')

is another pair, then there exists a unique isomorphism

k:A\toA'

such that

u'=F(k)\circu

.This is easily seen by substituting

(A,u')

in the definition of a universal morphism.

It is the pair

(A,u)

which is essentially unique in this fashion. The object

A

itself is only unique up to isomorphism. Indeed, if

(A,u)

is a universal morphism and

k:A\toA'

is any isomorphism then the pair

(A',u')

, where

u'=F(k)\circu

is also a universal morphism.

Equivalent formulations

The definition of a universal morphism can be rephrased in a variety of ways. Let

F:l{C}\tol{D}

be a functor and let

X

be an object of

l{D}

. Then the following statements are equivalent:

(A,u)

is a universal morphism from

X

to

F

(A,u)

is an initial object of the comma category

(X\downarrowF)

(A,F(\bullet)\circu)

is a representation of

Homl{D}(X,F(-))

, where its components

(F(\bullet)\circu)B:Homl{C

}(A, B) \to \text_(X, F(B)) are defined by

(F(\bullet)\circ u)_B(f:A\to B):X\to F(B) = F(f)\circ u:X\to F(B)

for each object

B

in

l{C}.

The dual statements are also equivalent:

(A,u)

is a universal morphism from

F

to

X

(A,u)

is a terminal object of the comma category

(F\downarrowX)

(A,u\circF(\bullet))

is a representation of

Homl{D}(F(-),X)

, where its components

(u\circF(\bullet))B:Homl{C

}(B, A)\to \text_(F(B), X) are defined by

(u\circ F(\bullet))_B(f:B\to A):F(B)\to X = u\circ F(f):F(B)\to X

for each object

B

in

l{C}.

Relation to adjoint functors

Suppose

(A1,u1)

is a universal morphism from

X1

to

F

and

(A2,u2)

is a universal morphism from

X2

to

F

. By the universal property of universal morphisms, given any morphism

h:X1\toX2

there exists a unique morphism

g:A1\toA2

such that the following diagram commutes:

If every object

Xi

of

l{D}

admits a universal morphism to

F

, then the assignment

Xi\mapstoAi

and

h\mapstog

defines a functor

G:l{D}\tol{C}

. The maps

ui

then define a natural transformation from

1l{D}

(the identity functor on

l{D}

) to

F\circG

. The functors

(F,G)

are then a pair of adjoint functors, with

G

left-adjoint to

F

and

F

right-adjoint to

G

.

Similar statements apply to the dual situation of terminal morphisms from

F

. If such morphisms exist for every

X

in

l{C}

one obtains a functor

G:l{C}\tol{D}

which is right-adjoint to

F

(so

F

is left-adjoint to

G

).

Indeed, all pairs of adjoint functors arise from universal constructions in this manner. Let

F

and

G

be a pair of adjoint functors with unit

η

and co-unit

\epsilon

(see the article on adjoint functors for the definitions). Then we have a universal morphism for each object in

l{C}

and

l{D}

:

X

in

l{C}

,

(F(X),ηX)

is a universal morphism from

X

to

G

. That is, for all

f:X\toG(Y)

there exists a unique

g:F(X)\toY

for which the following diagrams commute.

Y

in

l{D}

,

(G(Y),\epsilonY)

is a universal morphism from

F

to

Y

. That is, for all

g:F(X)\toY

there exists a unique

f:X\toG(Y)

for which the following diagrams commute.

Universal constructions are more general than adjoint functor pairs: a universal construction is like an optimization problem; it gives rise to an adjoint pair if and only if this problem has a solution for every object of

l{C}

(equivalently, every object of

l{D}

).

History

Universal properties of various topological constructions were presented by Pierre Samuel in 1948. They were later used extensively by Bourbaki. The closely related concept of adjoint functors was introduced independently by Daniel Kan in 1958.

See also

Notes

  1. Jacobson (2009), Proposition 1.6, p. 44.
  2. See for example, Polcino & Sehgal (2002), p. 133. exercise 1, about the universal property of group rings.
  3. Fong . Brendan . Spivak . David I. . 2018-10-12 . Seven Sketches in Compositionality: An Invitation to Applied Category Theory . math.CT . 1803.05316 .

References

External links