Relative complement · Exercise-RELATIVE-COMPLEMENT-010
Step-by-step solved exercise: Operations and families
Let \(\displaystyle A = \{1,\ldots,8\}\) and \(\displaystyle B = \{x \in A : x > 5\}\). What is \(\displaystyle |A \setminus B|\)?
Relative complement · Exercise-RELATIVE-COMPLEMENT-010
Let \(\displaystyle A = \{1,\ldots,8\}\) and \(\displaystyle B = \{x \in A : x > 5\}\). What is \(\displaystyle |A \setminus B|\)?
The elements of \(\displaystyle A\) greater than \(\displaystyle 5\) are \(\displaystyle 6\), \(\displaystyle 7\), and \(\displaystyle 8\).
\(\displaystyle A \setminus B\) keeps the elements of \(\displaystyle A\) that are not in \(\displaystyle B\).
The numbers \(\displaystyle 1\), \(\displaystyle 2\), \(\displaystyle 3\), \(\displaystyle 4\), and \(\displaystyle 5\) remain.
Therefore, the set has \(\displaystyle 5\) elements.
\(\displaystyle 5\)