Definition
The Cartesian product of two sets and , denoted , is the set of all ordered pairs where and .
For sets , the Cartesian product is:
Properties
- If either or is empty, then
- when and are finite
- The Cartesian product is not commutative: in general
- The Cartesian product is associative up to isomorphism:
Examples
If and , then:
Related Concepts
- Ordered Tuple: Elements of a Cartesian product
- Product Type: The type-theoretic analog
- Relation: A subset of a Cartesian product
- Function Type: A special kind of relation on a Cartesian product