Product in categories

Given two objects A and B in a category, the product is another object P together with two morphisms π1:PA and π2:PB that satisfy the following universal property: if X is any other object in the category with morphisms f1:XA and f2:XB then there is an unique morphism g:XP such that f1=π1g and f2=π2g
Pasted image 20210928190422.png
When the product exists is unique up to isomorphisms.

Examples


More comments

The product is associative up to isomorphism, that is, given A,B,C in the category we have

(A×B)×CA×(B×C)

The product can be defined for n objects in the category, including n=1 and n=0. One category in which all the n-products are defined is called a \textbf{cartesian category}.
In fact, the product can be defined for an arbitrary family of objects indexed by a set I:

(Xi)iI

The product would be another object X (usually denoted by ΠiIXi) together with a family of morphisms indexed by I,

πi:XXi

satisfying the analogous universal property: for any other object Y and family of morphisms fi:YXi there exists an unique g:YX such that fi=πig

A dual notion is that of coproduct in categories.