Set Notation &
Operations
Master the language of sets: union, intersection, and complement: the building blocks of discrete mathematics and logic.
What Is a Set?
A set is a well-defined collection of distinct objects, called elements or members. Sets are typically named with uppercase letters and their elements are listed inside curly braces.
Essential Set Notation
Why Sets Matter
Sets are the foundation of modern mathematics. Every structure you study: functions, relations, probability, and logic: is built on set theory. Understanding set operations lets you reason precisely about collections of objects.
Union: \( A \cup B \)
Intersection: \( A \cap B \)
Complement: \( A' \) or \( \overline{A} \)
Core Definitions at a Glance
Set Difference vs. Symmetric Difference
\( A \setminus B = \{x \mid x \in A \text{ and } x \notin B\} \)
\( A \triangle B = (A \setminus B) \cup (B \setminus A) \)
Union vs. Intersection
| Union \( A \cup B \) | Intersection \( A \cap B \) | |
|---|---|---|
| Logic equivalent | OR | AND |
| Includes | Everything from either | Only shared elements |
| Size relationship | \( |A \cup B| \ge |A|, |B| \) | \( |A \cap B| \le |A|, |B| \) |
| Identity element | \( A \cup \emptyset = A \) | \( A \cap U = A \) |
| Domination | \( A \cup U = U \) | \( A \cap \emptyset = \emptyset \) |
De Morgan's Laws
The complement of a union is the intersection of the complements.
The complement of an intersection is the union of the complements.
How to Evaluate Set Expressions
Example 1: Union & Intersection
Let \( A = \{1, 2, 3, 4\} \) and \( B = \{3, 4, 5, 6\} \). Find \( A \cup B \) and \( A \cap B \).
Example 2: Complement
Let \( U = \{1, 2, 3, 4, 5, 6, 7, 8\} \) and \( A = \{2, 4, 6, 8\} \). Find \( A' \).
Example 3: Combined Operations
Let \( U = \{1,2,3,4,5,6,7,8,9,10\} \), \( A = \{1,2,3,4,5\} \), \( B = \{4,5,6,7\} \). Find \( (A \cup B)' \).
Common Mistakes
Summary of Set Operations
| Operation | Symbol | Meaning | Key Identity |
|---|---|---|---|
| Union | \( A \cup B \) | In A or B (or both) | \( A \cup \emptyset = A \) |
| Intersection | \( A \cap B \) | In both A and B | \( A \cap U = A \) |
| Complement | \( A' \) | In U but not A | \( (A')' = A \) |
| Difference | \( A \setminus B \) | In A but not B | \( A \setminus A = \emptyset \) |
| Sym. Diff. | \( A \triangle B \) | In A or B, not both | \( A \triangle A = \emptyset \) |
Question 1 of 5
If \( A = \{a, b, c\} \) and \( B = \{b, c, d, e\} \), what is \( A \cap B \)?
Question 2 of 5
If \( U = \{1,2,3,4,5,6\} \) and \( A = \{1,3,5\} \), what is \( A' \)?
Question 3 of 5
Which of the following is De Morgan's Law?
Question 4 of 5
If \( A = \{1,2,3,4,5\} \) and \( B = \{4,5,6,7\} \), what is \( A \setminus B \)?
Question 5 of 5
For any set \( A \), which statement is always true?