Sets and Venn diagrams
Set notation, equal sets, the size of a set, the empty set, union and intersection, subsets, complements, Venn diagrams and the counting rule.
The language of sets
- A set is a collection of distinct objects, listed in braces: $A = \{2, 4, 6\}$. Order and repeats do not matter, so $\{1, 2\} = \{2, 1, 1\}$.
- $|A|$ is the size of $A$ (the number of elements). The empty set $\varnothing$ has size $0$.
- $A \cup B$ (union): in $A$ or $B$ or both. $A \cap B$ (intersection): in both. Sets with no common elements are disjoint.
- $A \subseteq B$: every element of $A$ is in $B$. A set of $n$ elements has $2^n$ subsets, including $\varnothing$ and itself.
- The universal set $U$ contains everything being considered. The complement $\overline{A}$ is everything in $U$ that is not in $A$.
$U = \{1, 2, \ldots, 10\}$, $A$ = the even numbers, $B$ = the multiples of $3$. Find $A \cap B$, $A \cup B$ and $|\overline{A}|$.
The counting rule and Venn diagrams
In a class of $30$, $18$ play soccer, $12$ play tennis and $5$ play both. How many play neither?
With $A$ and $B$ from Example 1, find $|A \cap B|$.
$A \cap B = \{6\}$.
Find $|A \cup B|$.
$5 + 3 - 1 = 7$.
Find $|\overline{A}|$.
The odd numbers from $1$ to $9$.
Two sets are disjoint when:
$A \cap B = \varnothing$.
$|A| = 18$, $|B| = 12$ and $|A \cap B| = 5$. Find $|A \cup B|$.
$18 + 12 - 5$.
Of $30$ students, $18$ play soccer, $12$ play tennis and $5$ play both. How many play neither?
$30 - 25$.
The empty set is:
It has no elements, so every one of its elements (none) is in any set.
How many subsets does $\{a, b, c\}$ have?
$2^3 = 8$.
$A \cap \overline{B}$ means the elements:
In $A$ and in the complement of $B$.
New numbers every time. Keep going until you get five in a row.
Coaching Centre