Relative complement · Exercise-RELATIVE-COMPLEMENT-005
Step-by-step solved exercise: Operations and families
Let \(\displaystyle A = \{1,\ldots,10\}\) and \(\displaystyle B = \{2,4,6,8,10,12\}\). What is \(\displaystyle A \setminus B\)?
Relative complement · Exercise-RELATIVE-COMPLEMENT-005
Let \(\displaystyle A = \{1,\ldots,10\}\) and \(\displaystyle B = \{2,4,6,8,10,12\}\). What is \(\displaystyle A \setminus B\)?
The elements of \(\displaystyle A\) run from \(\displaystyle 1\) to \(\displaystyle 10\).
The even elements of \(\displaystyle A\) are in \(\displaystyle B\), so they are discarded.
The number \(\displaystyle 12\) is in \(\displaystyle B\) but not in \(\displaystyle A\), so it does not affect the difference.
The odd elements of \(\displaystyle A\) remain.
\(\displaystyle \{1,3,5,7,9\}\)