Cartesian product · Exercise-CARTESIAN-PRODUCT-010

Step-by-step solved exercise: Relations and functions

In general, what is the relation between A × B and B × A?

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

Step-by-step solution

  1. A pair in \(\displaystyle A\times B\) has the form \(\displaystyle (a,b)\), with \(\displaystyle a\in A\), \(\displaystyle b\in B\).

    \[\displaystyle (a,b)\in A\times B\]
  2. A pair in \(\displaystyle B\times A\) has the form \(\displaystyle (b,a)\), with \(\displaystyle b\in B\), \(\displaystyle a\in A\).

    \[\displaystyle (b,a)\in B\times A\]
  3. In general \(\displaystyle (a,b)\ne(b,a)\), so the sets are not equal; if both are finite, they have \(\displaystyle |A|\cdot|B|\) elements each.

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

Answer

They are not equal as sets of pairs, although they have the same finite cardinality

🎯 Build my path to this exercise