In the mathematical field of category theory, the product of two categories C and D, denoted C × D and called a product category, is an extension of the concept of the Cartesian product of two sets. Product categories are used to define bifunctors and multifunctors.1
Definition
The product category C × D has:
- as objects:
- pairs of objects (A, B), where A is an object of C and B of D;
- as arrows from (A1, B1) to (A2, B2):
- 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,
where denotes a functor category.2
Functoriality
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
It satisfies the tensor-hom adjunction in the sense
where denotes a functor category.4
Example: C × 2
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 ,
Conversely, given , we get by and .5
Bifunctor
A functor whose domain is a product category is called a bifunctor. A bifunctor can be defined in each variable separately in the following sense:
Proposition—6 Each bifunctor
determines the families of the functors, for objects in and in ,
given by
- and
for and similarly for . They commute in the sense:
- .
Conversely, given families of functors as above, if they commute, they define the bifunctor by
- .
For example, consider . For each fixed in , we have the functor
by pullback; i.e., goes to the function
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:
Proposition—7 Let be bifunctors and
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.
References
References
- Mac Lane 1978, p. 37.
- Mac Lane 1978, Ch. II., § 5., Exercise 2.
- Mac Lane 1978, Ch. II., § 3.
- Mac Lane 1978, Ch. II., § 5., Exercise 1.
- Mac Lane 1978, Ch. II., § 4., Exercise 8.
- Mac Lane 1978, Ch. II., § 3., Proposition 1.
- Mac Lane 1978, Ch. II., § 3., Proposition 2.
- 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. ISBN 0-521-44178-1.
- Product category at the nLab
- Mac Lane, Saunders (1978). Categories for the Working Mathematician (Second ed.). New York, NY: Springer New York. pp. 36–40. ISBN 1441931236. OCLC 851741862.