Skip to content

Business Mathematics and Basic Statistics · Ch 5 — Theory of Sets — Introduction

Cartesian Product of Two Sets

4

Cartesian Product of Two Sets

Given two non-empty sets AA and BB, the Cartesian product A×BA \times B is the set of all possible ordered pairs (a,b)(a, b) where the first entry aa comes from AA and the second entry bb comes from BB:

A×B={(a,b):a∈A, b∈B}.A \times B = \{(a, b) : a \in A, \ b \in B\}.

The word ordered matters — (a,b)(a, b) and (b,a)(b, a) are treated as different pairs unless a=ba = b. For example, if A={1,2}A = \{1, 2\} and B={3,4}B = \{3, 4\}, then

A×B={(1,3),(1,4),(2,3),(2,4)},B×A={(3,1),(3,2),(4,1),(4,2)}.A \times B = \{(1,3), (1,4), (2,3), (2,4)\}, \qquad B \times A = \{(3,1), (3,2), (4,1), (4,2)\}.

Notice A×B≠B×AA \times B \ne B \times A here — the Cartesian product is not commutative in general.

Every element of AA is paired with every element of BB exactly once, so if AA has mm elements and BB has nn elements, A×BA \times B has exactly m×nm \times n ordered pairs — this connects directly to the idea of cardinality covered next. …

Definition 1Ordered Pair

A pair of elements (a,b)(a, b) written in a fixed order, where (a,b)=(c,d)(a, b) = (c, d) only if a=ca = c and b=db = d. Order matters: $(a, b) \ne …

Definition 2Cartesian Product

For sets AA and BB, the set A×B={(a,b):a∈A,b∈B}A \times B = \{(a, b) : a \in A, b \in B\} of all ordered pairs formed by taking one element fro …