Relative complement · Exercise-RELATIVE-COMPLEMENT-002

Step-by-step solved exercise: Operations and families

If \(\displaystyle A = \{a,b,c\}\) and \(\displaystyle B = \{b\}\), what is \(\displaystyle A \setminus B\)?

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

Step-by-step solution

  1. We list the elements of \(\displaystyle A\).

    \[\displaystyle A = \{a,b,c\}\]
  2. We identify the elements of \(\displaystyle B\).

    \[\displaystyle B = \{b\}\]
  3. From \(\displaystyle A\) we keep only the elements that are not in \(\displaystyle B\).

    \[\displaystyle A \setminus B = \{x \in A : x \notin B\}\]
  4. The only common element is \(\displaystyle b\), which is discarded; \(\displaystyle a\) and \(\displaystyle c\) remain.

    \[\displaystyle A \setminus B = \{a,c\}\]

Answer

\(\displaystyle \{a,c\}\)

🎯 Build my path to this exercise