Lably
Skip to content

Product (category theory)

Generalized object in category theory

  • 5 min read
  • 4 chapters

Related on Lably

Through Category (mathematics), Mathematics and Cartesian product

Definition

Product of two objects

Fix a category C. Let X1 and X2 be objects of C. A product of X1 and X2 is an object X, typically denoted X1×X2, equipped with a pair of morphisms π1:X→X1, π2:X→X2 satisfying the following universal property:

  • For every object Y and every pair of morphisms f1:Y→X1, f2:Y→X2, there exists a unique morphism f:Y→X1×X2 such that the following diagram commutes:

Whether a product exists may depend on C or on X1 and X2. If it does exist, it is unique up to canonical isomorphism, because of the universal property, so one may speak of the product. This has the following meaning: if X′,π1′,π2′ is another product, there exists a unique isomorphism h:X′→X1×X2 such that π1′=π1∘h and π2′=π2∘h.

The morphisms π1 and π2 are called the canonical projections or projection morphisms; the letter π alliterates with projection. Given Y and f1, f2, the unique morphism f is called the product of morphisms f1 and f2 and may be denoted ⟨f1,f2⟩, f1×f2, or f1⊗f2.

Product of an arbitrary family

Instead of two objects, we can start with an arbitrary family of objects indexed by a set I.

Given a family (Xi)i∈I of objects, a product of the family is an object X equipped with morphisms πi:X→Xi, satisfying the following universal property:

  • For every object Y and every I-indexed family of morphisms fi:Y→Xi, there exists a unique morphism f:Y→X such that the following diagrams commute for all i∈I:

The product is denoted ∏i∈IXi. If I={1,…,n}, then it is denoted X1×⋯×Xn and the product of morphisms is denoted ⟨f1,…,fn⟩.

Equational definition

Alternatively, the product may be defined through equations. So, for example, for the binary product:

  • Existence of f is guaranteed by existence of the operation ⟨⋅,⋅⟩.
  • Commutativity of the diagrams above is guaranteed by the equality: for all f1,f2 and all i∈{1,2}, πi∘⟨f1,f2⟩=fi
  • Uniqueness of f is guaranteed by the equality: for all g:Y→X1×X2, ⟨π1∘g,π2∘g⟩=g.

As a limit

The product is a special case of a limit. This may be seen by using a discrete category (a family of objects without any morphisms, other than their identity morphisms) as the diagram required for the definition of the limit. The discrete objects will serve as the index of the components and projections. If we regard this diagram as a functor, it is a functor from the index set I considered as a discrete category. The definition of the product then coincides with the definition of the limit, {f}i being a cone and projections being the limit (limiting cone).

Universal property

Just as the limit is a special case of the universal construction, so is the product. Starting with the definition given for the universal property of limits, take J as the discrete category with two objects, so that CJ is simply the product category C×C. The diagonal functor Δ:C→C×C assigns to each object X the ordered pair (X,X) and to each morphism f the pair (f,f). The product X1×X2 in C is given by a universal morphism from the functor Δ to the object (X1,X2) in C×C. This universal morphism consists of an object X of C and a morphism (X,X)→(X1,X2) which contains projections.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Foundations