Sets
| English | Chinese | Pinyin |
|---|---|---|
| set | 集合 | jí hé |
| elements | 元素 | yuán sù |
| universal set | 全集 | quán jí |
| empty set | 空集 | kōng jí |
| intersection | 交集 | jiāo jí |
| union | 并集 | bìng jí |
| complement | 补集 | bǔ jí |
| Venn diagram | 维恩图 | wéi ēn tú |
The class of 2024
- A school has 30 students. 18 study French, 12 study Spanish, and 5 study both.
- How many study neither? You can't just add — you need sets 集合.
- Sets are the language of grouping, and they power everything from databases to probability.
What is a set?
- A set is a collection of distinct objects (the elements 元素 or members).
- Written with curly braces: $A = \{1, 2, 3, 4, 5\}$.
- $3 \in A$ means "$3$ is an element of $A$"; $7 \notin A$ means "$7$ is not".
- The universal set 全集 $\xi$ contains everything under discussion. The empty set 空集 $\emptyset$ has no elements.

$A\cap B=\{6\}$ is the only number in both circles; $A\cup B$ is everything inside either circle
Set operations on a Venn diagram
A Venn diagram shows two sets. Slide through the operations to see which region union, intersection and complement shade in.
The empty set ∅ is a subset of every set.
The empty set has no elements, so it is trivially contained in every set.
Intersection 交集 and union 并集
- Intersection $A \cap B$: elements in both $A$ and $B$.
- Union $A \cup B$: elements in $A$ or $B$ (or both).
- Complement 补集 $A'$: everything in the universal set that is not in $A$.
$A = \{1, 2, 3, 4\}$, $B = \{3, 4, 5, 6\}$. Then $A \cap B = \{3, 4\}$ and $A \cup B = \{1, 2, 3, 4, 5, 6\}$.
A = {2,4,6,8,10} and B = {3,6,9}. How many elements are in A ∩ B?
Only 6 is in both sets, so A ∩ B = {6}, which has 1 element.
For the same A and B, how many elements are in A ∪ B?
A ∪ B = {2,3,4,6,8,9,10}, which has 7 elements.
The symbol ∩ means:
∩ is intersection (elements in both A and B); ∪ is union.
Venn diagrams 维恩图
- A Venn diagram draws sets as overlapping circles inside a rectangle (the universal set).
- Overlapping region = intersection; everything inside a circle = that set's members.

Venn diagrams show how sets relate — here, every natural number is also an integer and a rational.
Don't double-count. When finding $n(A \cup B)$, use $n(A) + n(B) - n(A \cap B)$. The intersection is counted once in each set, so subtract it once.
Worked example
- 30 students, $F =$ French (18), $S =$ Spanish (12), $F \cap S = 5$.
- $n(F \cup S) = 18 + 12 - 5 = 25$.
- Neither $= 30 - 25 = 5$ students study neither language.
n(A) = 5, n(B) = 3, n(A ∩ B) = 1. Find n(A ∪ B).
n(A ∪ B) = n(A) + n(B) − n(A ∩ B) = 5 + 3 − 1 = 7.
In a class of 30, 18 study French, 12 study Spanish, and 5 study both. How many study neither?
n(F ∪ S) = 18 + 12 − 5 = 25. Neither = 30 − 25 = 5.
You've got it
- $A \cap B$ = intersection (both); $A \cup B$ = union (either or both); $A'$ = complement
- $n(A \cup B) = n(A) + n(B) - n(A \cap B)$ — subtract the overlap
- Venn diagrams show set relationships visually; the rectangle is the universal set
- $\emptyset$ = empty set; $\xi$ = universal set