University calculus · University

Sets

A ∪ B, A ∩ B

The idea

A set is a “bag” of things with no repeats — and there are a few ways to mix bags.

The board

  1. A = {1, 2, 3}, B = {2, 3, 4}.
  2. Union A ∪ B = {1, 2, 3, 4} — everything from both.
  3. Intersection A ∩ B = {2, 3} — only what they share.
  4. 2 ∈ A means “2 is an element of A”. ∅ is the empty set.

The most common mistake

Repeating elements: {1, 2} ∪ {2, 3} is not {1, 2, 2, 3} — the 2 appears once.

The trick

Venn diagrams: ∪ is the whole shaded area, ∩ is just the overlap.

Problems

{1, 2, 5} ∩ {2, 5, 7} = ?

  • ∅
  • {1, 2, 5, 7}
  • {2, 5}
  • {7}
Show the answer

{2, 5} — The shared elements.

How many elements does {a, b} ∪ {b, c} have?

  • 2
  • 1
  • 4
  • 3
Show the answer

3 — {a, b, c}.

Take the lesson · exercises and XPFree, no sign-up needed.

You need to know

Leads to