Binary relation · Exercise-BINARY-RELATION-002

Step-by-step solved exercise: Relations and functions

How many pairs does \(\displaystyle A \times B\) have if \(\displaystyle |A|=2\) and \(\displaystyle |B|=3\)?

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

Step-by-step solution

  1. Each pair \(\displaystyle (a,b)\) takes \(\displaystyle a\) from \(\displaystyle A\) and \(\displaystyle b\) from \(\displaystyle B\).

    \[\displaystyle A\times B=\{(a,b): a\in A,\ b\in B\}\]
  2. The number of pairs is the product of the set sizes.

    \[\displaystyle |A\times B|=|A|\cdot|B|\]
  3. Substitute \(\displaystyle |A|=2\) and \(\displaystyle |B|=3\).

    \[\displaystyle |A\times B|=2\cdot 3\]
  4. Result: \(\displaystyle A\times B\) has 6 pairs.

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

Answer

6

🎯 Build my path to this exercise