Exercise · ZW-RELATIVE-COMPLEMENT-010 · ★★★ Advanced
Let \(A = \{1,\ldots,8\}\) and \(B = \{x \in A : x > 5\}\). What is \(|A \setminus B|\)?
Choose one option.
Show answer
← Back to the question
Explanation
\(B = \{6,7,8\}\), so \(A \setminus B = \{1,2,3,4,5\}\), which has 5 elements. The 3 is \(|B|\), not \(|A \setminus B|\).
The relative complement of \(B\) in \(A\) is the set \(A \setminus B\) of elements of \(A\) that do not belong to \(B\).
\[A \setminus B = \{x \in A : x \notin B\}\]
More practice problems: relative complement
- ZW-RELATIVE-COMPLEMENT-001 What does x ∈ A setminus B mean?
- ZW-RELATIVE-COMPLEMENT-002 If A = \a,b,c\ and B = \b\, what is A setminus B?
- ZW-RELATIVE-COMPLEMENT-003 What is A setminus A?
- ZW-RELATIVE-COMPLEMENT-004 What relation does A setminus B satisfy with A?
- ZW-RELATIVE-COMPLEMENT-005 Let A = \1,…,10\ and B = \2,4,6,8,10,12\. What is A setminus B?
- ZW-RELATIVE-COMPLEMENT-006 Which statement is true for any sets A and B?
- ZW-RELATIVE-COMPLEMENT-007 How many elements does \2,4\ setminus A have, if A = \1,2,3,4\?
- ZW-RELATIVE-COMPLEMENT-008 If A setminus B = ∅, what can be concluded?