Binary relation · Exercise-BINARY-RELATION-001

Step-by-step solved exercise: Relations and functions

What is a binary relation from \(\displaystyle A\) to \(\displaystyle B\)?

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

Step-by-step solution

  1. Recall what the Cartesian product of \(\displaystyle A\) and \(\displaystyle B\) is.

    \[\displaystyle A\times B=\{(a,b): a\in A,\ b\in B\}\]
  2. A relation gathers several pairs from that product, not just one.

    \[\displaystyle R\subseteq A\times B\]
  3. Therefore, a relation from \(\displaystyle A\) to \(\displaystyle B\) is a subset of \(\displaystyle A\times B\).

    \[\displaystyle R\subseteq A\times B\]

Answer

A subset of \(\displaystyle A \times B\)

🎯 Build my path to this exercise