Exercise · ZW-SET-OPERATIONS-001 · ★☆☆ Basic

Let \(A=\{1,2,3,4,5\}\) and \(B=\{4,5,6,7\}\). How many elements does \(A\cup B\) have?

Choose one option.

Show answer
  • C. \(7\)

Explanation

The union gathers elements without repeats: \(\{1,2,3,4,5,6,7\}\) has 7. Adding \(5+4=9\) counts 4 and 5 twice.

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-002 →