Exercise · ZW-SET-OPERATIONS-005 · ★★☆ Intermediate

With \(U=\{1,2,3,4,5,6,7,8\}\), \(A=\{1,2,3,4,5\}\) and \(B=\{4,5,6,7\}\), what is \((A\cup B)^{c}\)?

Choose one option.

Show answer
  • C. \(\{8\}\)

Explanation

First \(A\cup B=\{1,\dots,7\}\); its complement in \(U\) is just \(\{8\}\).

Study Discrete mathematics in ZWMath →

Review the concept: Set operations

Set operations combine two sets \(A\) and \(B\), inside a universe \(U\), to form another one: union, intersection, difference and complement.

\[A\cup B,\quad A\cap B,\quad A\setminus B,\quad A^{c}=U\setminus A\]

More practice problems: set operations

← ZW-SET-OPERATIONS-004 ZW-SET-OPERATIONS-006 →