Skip to content
← All questions

What is the Cartesian product of two sets A and B?

The Cartesian product of two sets A and B, denoted A×BA \times B, is the set of all possible ordered pairs (x, y) where the first element x belongs to set A and the second element y belongs to set B.

Conditions

  • A and B are arbitrary sets.

Reasoning, step by step

  1. Identify the two sets A and B.
  2. Form ordered pairs (x, y) by selecting an element x from A and an element y from B.
  3. Collect all such possible ordered pairs into a new set.
  4. Express the result using set-builder notation: A×BA \times B = {(x, y) | x∈Ax \in A, y∈By \in B}.

Example

If A=1,2,3A = {1, 2, 3} and B=5,6B = {5, 6}, then A×B=(1,5),(1,6),(2,5),(2,6),(3,5),(3,6)A \times B = {(1, 5), (1, 6), (2, 5), (2, 6), (3, 5), (3, 6)}.

Common misconceptions

  • Believing that the Cartesian product is a set of unordered pairs.
  • Thinking that the elements of A and B must be numbers.
  • Assuming that A×BA \times B is the same as B×AB \times A.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.