Product (category theory)
From Wikipedia, the free encyclopedia
In category theory, one defines products to generalize constructions such as the cartesian product of sets, the direct product of groups, the direct product of rings and the product of topological spaces. Essentially, the product of a family of objects is the "most general" object which admits a morphism to each of the given objects.
Contents |
[edit] Definition
Let C be a category and let {Xi | i ∈ I} be an indexed family of objects in C. The product of the set {Xi} is an object X together with a collection of morphisms πi : X → Xi (called the canonical projections, which are often, but not always, epimorphisms) which satisfy a universal property: for any object Y and any collection of morphisms fi : Y → Xi, there exists a unique morphism f : Y → X such that for all i ∈ I it is the case that fi = πi f. That is, the following diagram commutes (for all i):
If the family of objects consists of only two members the product is usually written X1×X2, and the diagram takes the form:
The unique arrow f making this diagram commute is sometimes denoted <f1,f2>.
[edit] Examples
- In the category Set (the category of sets), the product in the category theoretic sense is the cartesian product. Given a family of sets Xi the product is defined as
with the canonical projections
Given any set Y with a family of functions
the universal arrow f is defined as
- In the category of algebraic varieties, the categorical product is given by the Segre embedding.
[edit] Discussion
The product construction given above is actually a special case of a limit in category theory. The product can be defined as the limit of any functor from a discrete category to C. Not every family {Xi} needs to have a product, but if it does, then the product is unique in a strong sense: if πi : X → Xi and π’i : X’ → Xi are two products of the family {Xi}, then (by the definition of products) there exists a unique isomorphism f : X → X’ such that πi = π’i f for each i in I.
As with any universal property, the product can be understood as a universal morphism. Let Δ: C → C×C be the diagonal functor which assigns to each object X the ordered pair (X,X) and to each morphism f:X → Y the pair (f,f). Then the product X×Y in C is given by a universal morphism from the functor Δ to the object (X,Y) in C×C.
An empty product (i.e. I is the empty set) is the same as a terminal object in C.
If I is a set such that all products for families indexed with I exist, then it is possible to choose the products in a compatible fashion so that the product turns into a functor CI → C. The product of the family {Xi} is then often denoted by ∏i Xi, and the maps πi are known as the natural projections. We have a natural isomorphism
(where HomC(U,V) denotes the set of all morphisms from U to V in C, the left product is the one in C and the right is the cartesian product of sets). Thus the covariant hom-functor takes products to products. This is a consequence of the fact that the hom-functor is continuous.
If I is a finite set, say I = {1,...,n}, then the product of objects X1,...,Xn is often denoted by X1×...×Xn. Suppose all finite products exist in C, product functors have been chosen as above, and 1 denotes the terminal object of C corresponding to the empty product. We then have natural isomorphisms
These properties are formally similar to those of a commutative monoid; a category with its finite products and terminal object constitutes a symmetric monoidal category.
[edit] Distributivity
In general, there is a canonical morphism X×Y+X×Z → X×(Y+Z), where the plus sign here denotes the coproduct. To see this, note that we have various canonical projections and injections which fill out the diagram
The universal property for X×(Y+Z) then guarantees a unique morphism X×Y+X×Z → X×(Y+Z). A distributive category is one in which this morphism is actually an isomorphism. Thus in a distributive category, one has the canonical isomorphism
[edit] See also
- Coproduct – the dual of the product
- Limit and colimits
- Equalizer
- Inverse limit
- Cartesian closed category
- Categorical pullback