Cartesian product · Exercise-CARTESIAN-PRODUCT-006

Step-by-step solved exercise: Relations and functions

If |A| = 3 and |B| = 2, how many pairs does A × B have?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Each pair \(\displaystyle (a,b)\) has \(\displaystyle a\) in \(\displaystyle A\) and \(\displaystyle b\) in \(\displaystyle B\).

    \[\displaystyle (a,b) \in A \times B\]
  2. There are \(\displaystyle |A| = 3\) choices for the first coordinate.

    \[\displaystyle |A| = 3\]
  3. For each of them there are \(\displaystyle |B| = 2\) choices for the second coordinate.

    \[\displaystyle |B| = 2\]
  4. The choices multiply: \(\displaystyle |A \times B| = |A| \cdot |B|\).

    \[\displaystyle |A \times B| = |A| \cdot |B| = 3 \cdot 2\]
  5. Therefore, \(\displaystyle |A \times B| = 6\).

    \[\displaystyle |A \times B| = 6\]

Answer

6

🎯 Build my path to this exercise