The Cartesian product of sets and is the set $$ A \times B = \{ (x, y) | x \in A \text{ and } y \in B \} $$

consists of ordered pairs where and .

For example, let and . Hence, .

Generic Format

The Cartesian product of sets is the set $$ A_1 \times A_2 \times ... \times A_k = \{ (x_1, x_2, ..., x_k) | x_i \in A \text{ for } i = 1, 2, ..., k \} $$

consists of those where