Sets and Venn Diagrams

⏱ 9 min✏️ Quiz at the end

What is a Set?

A set is a well-defined collection of distinct objects, called elements or members. Sets are written with curly braces, and each element is listed once.

Examples:

  • A = {2, 4, 6, 8} β€” even single-digit numbers
  • B = {cat, dog, rabbit} β€” some common pets
  • C = {} β€” the empty set (written βˆ…), which contains no elements

The order of elements inside a set does not matter: {1, 2, 3} is the same set as {3, 1, 2}.

Set Notation

SymbolMeaningExample
∈is an element of4 ∈ {2, 4, 6}
βˆ‰is not an element of5 βˆ‰ {2, 4, 6}
n(A)number of elements in An({2, 4, 6}) = 3
βˆ… or {}empty setno elements
ΞΎuniversal setall elements under consideration
βŠ†is a subset of{2, 4} βŠ† {2, 4, 6}

A is a subset of B (written A βŠ† B) if every element of A is also in B. Every set is a subset of itself, and the empty set is a subset of every set.

Union and Intersection

Union (A βˆͺ B) β€” everything in A or B (or both). Think of it as combining the two sets.

Intersection (A ∩ B) β€” everything in both A and B. Think of it as the overlap.

Example: A = {1, 2, 3, 4} and B = {3, 4, 5, 6}

  • A βˆͺ B = {1, 2, 3, 4, 5, 6} β€” all elements from either set, listed once
  • A ∩ B = {3, 4} β€” only the elements appearing in both

When two sets share no elements, they are called disjoint and A ∩ B = βˆ….

Complement

The complement of A, written Aβ€², contains every element in the universal set ΞΎ that is not in A.

Example: ΞΎ = {1, 2, 3, 4, 5, 6, 7, 8}, A = {2, 4, 6, 8} Aβ€² = {1, 3, 5, 7}

Notice that A and Aβ€² together make up the entire universal set, and they share no elements: A ∩ Aβ€² = βˆ….

Venn Diagrams

A Venn diagram uses overlapping circles inside a rectangle to show the relationships between sets. The rectangle represents the universal set ΞΎ.

ΞΎ
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚   β”‚  A only  β”‚βˆ© β”‚  B only  β”‚   β”‚
β”‚   β”‚  {1, 2}  β”‚  β”‚  {5, 6}  β”‚   β”‚
β”‚   β”‚      {3, 4}            β”‚   β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • Left region (A only): elements in A but not B β†’ {1, 2}
  • Overlapping region: elements in both A and B β†’ A ∩ B = {3, 4}
  • Right region (B only): elements in B but not A β†’ {5, 6}
  • Outside both circles: elements in ΞΎ but in neither A nor B

Venn diagrams with three sets work the same way β€” three overlapping circles create seven distinct regions (each subset combination).

The Counting Formula

When two sets overlap, simply adding their sizes double-counts the shared elements. The correct formula is:

n(A βˆͺ B) = n(A) + n(B) βˆ’ n(A ∩ B)

Example: In a class of 30 students, 18 study French, 15 study Spanish, and 8 study both.

n(French βˆͺ Spanish) = 18 + 15 βˆ’ 8 = 25 students study at least one language.

That means 30 βˆ’ 25 = 5 students study neither.

This formula appears frequently in exam problems where you are given totals and need to find an unknown region.

Solving Venn Diagram Problems

A common exam style: you are given totals for each region and asked to find a missing value.

Example: ξ has 40 elements. n(A) = 22, n(B) = 18, n(A ∩ B) = 10.

Step 1 β€” Fill in the intersection: A ∩ B = 10. Step 2 β€” A only: 22 βˆ’ 10 = 12. B only: 18 βˆ’ 10 = 8. Step 3 β€” Elements in A βˆͺ B: 12 + 10 + 8 = 30. Step 4 β€” Neither: 40 βˆ’ 30 = 10.

Draw the diagram, fill each region in order, and use the total to find anything remaining.

Useful Facts to Remember

  • n(A) + n(Aβ€²) = n(ΞΎ) β€” a set and its complement together fill the universal set
  • A ∩ A = A and A βˆͺ A = A β€” a set intersected or united with itself is just itself
  • A ∩ βˆ… = βˆ… and A βˆͺ βˆ… = A β€” the empty set contributes nothing to a union and absorbs the intersection
  • (Aβ€²)β€² = A β€” the complement of a complement returns the original set

Common Mistakes

  • Listing elements twice in a union: each element appears once, no matter how many sets it belongs to.
  • Confusing βˆͺ and ∩: βˆͺ (union) looks like a cup that holds all the water; ∩ (intersection) looks like a cap covering only the middle part.
  • Forgetting to subtract the overlap: when using n(A βˆͺ B) = n(A) + n(B) βˆ’ n(A ∩ B), the subtraction is essential whenever A and B share elements.
  • Placing elements in the wrong Venn region: elements in A ∩ B go in the overlapping middle section, not in one circle alone.