With duals for objects
With duals for morphisms
Special sorts of products
In higher category theory
In the strict sense of the word, a cartesian product is a product in Set, the category of sets.
More generally, one says cartesian product to mean the product in any cartesian monoidal category and to distinguish it from other tensor products that this may carry.
For instance one speaks of the cartesian product on Cat and on 2Cat in contrast to the Gray tensor product.
Given any family of sets, the cartesian product of the family is the set of all functions from the index set with in for each in .
As stated, the target of such a function depends on the argument, which is natural in dependent type theory; but if you don’t like this, then define to be the set of those functions from to the disjoint union such that (treating as a subset of as usual) for each in .
In traditional forms of set theory, one can also take the target of to be the union or even the class of all objects (equivalently, leave it unspecified).
Given sets and , the cartesian product of the binary family is written ; its elements are called ordered pairs. (In set theory, one often makes a special definition for this case, defining
rather than as a function so that ordered pairs can then be used in the definition of function. From a structural perspective, however, this is unnecessary.)
Given sets through , the cartesian product of the -ary family is written ; its elements are called ordered -tuples.
Given sets , , etc, the cartesian product of the countably infinitary family is written ; its elements are called infinite sequences.
Given a set , the cartesian product of the unary family may be identified with itself; that is, we identify the ordered singleton with .
The cartesian product of the empty family is the point, a set whose only element is the empty list ; we often call this set (or , when we're Urs) and write its element as .
In material set theory, the existence of binary cartesian products follows from the axiom of pairing and the axiom of weak replacement? (which is very weak). In structural set theory, their existence generally must be stated as an axiom: the axiom of products. See ordered pair for more details.