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\)?
Relative complement · Exercise-RELATIVE-COMPLEMENT-002
If \(\displaystyle A = \{a,b,c\}\) and \(\displaystyle B = \{b\}\), what is \(\displaystyle A \setminus B\)?
We list the elements of \(\displaystyle A\).
We identify the elements of \(\displaystyle B\).
From \(\displaystyle A\) we keep only the elements that are not in \(\displaystyle B\).
The only common element is \(\displaystyle b\), which is discarded; \(\displaystyle a\) and \(\displaystyle c\) remain.
\(\displaystyle \{a,c\}\)