pairs of arrows (f, g), where f: A1 → A2 is an arrow of C and g: B1 → B2 is an arrow of D;
as composition, component-wise composition from the contributing categories:
(f2, g2) o (f1, g1) = (f2 o f1, g2 o g1);
as identities, pairs of identities from the contributing categories:
1(A, B) = (1A, 1B).
A product of a family of categories is defined exactly the same way.
Universal property
Just like for sets, a product of a family of categories is characterized by the following universal property. Given categories indexed by a set , satisfy:
given a family of functors , there exists a unique functor such that for each .
Put in another way, a product of a family of small categories is exactly the categorical product of them in the category of small categories . Thus, for example,
Given two functors , the product is defined component-wise; that is,
for a pair of objects or morphisms .[3] (This product may also be characterized by the universal property similar to that for categories.) This way, we get the functor
Let be functors. Suppose there is a natural transformation . Then determines the functor
such that
,
where is the category with two objects and the non-identity morphism .[3] Intuitively, h is a non-invertible homotopy from to . Indeed, define by, for in ,
defined by . On the other hand,
is defined by pushforward; i.e., . Clearly, these two functors commute (the associativity of composition) and so, by the proposition, we get the functor called the Hom functor
which is explicitly given as:
There is a similar result for natural transformations between bifunctors:
a family of morphisms. Then is a natural transformation if and only if it is natural in the first variable and the second variable separately; i.e., for each object in ,
is a natural transformation and similarly in the second variable.
Definition 1.6.5 in Borceux, Francis (1994). Handbook of categorical algebra. Encyclopedia of mathematics and its applications 50-51, 53 [i.e. 52]. Vol.1. Cambridge University Press. p.22. ISBN0-521-44178-1.