Exercise · ZW-RELATIVE-COMPLEMENT-005 · ★★☆ Intermediate

Let \(A = \{1,\ldots,10\}\) and \(B = \{2,4,6,8,10,12\}\). What is \(A \setminus B\)?

Choose one option.

Show answer
  • A. \(\{1,3,5,7,9\}\)

Explanation

The even numbers in \(A\) all lie in \(B\), and 12 is not in \(A\), so it changes nothing. The odd numbers \(\{1,3,5,7,9\}\) remain.

Study Set theory in ZWMath →

Review the concept: Relative complement

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-004 ZW-RELATIVE-COMPLEMENT-006 →