The inclusion-exclusion principle is a counting method used when groups overlap. Students need this reference because adding group sizes directly often double-counts items in intersections. This cheat sheet helps organize problems involving sets, Venn diagrams, probability, and combinatorics.
It is especially useful for questions that ask for counts in unions or complements.
Key Facts
- For two sets, the inclusion-exclusion formula is .
- For three sets, the formula is .
- The complement rule is , where is the universal set.
- For two events in probability, .
- If two sets are disjoint, then and .
- The number in neither of two sets is .
- The general inclusion-exclusion pattern alternates signs: add single sets, subtract pairwise intersections, add triple intersections, and continue.
- For finite sets , .
Vocabulary
- Set
- A set is a collection of distinct objects, numbers, or outcomes.
- Union
- The union contains every element that is in , in , or in both.
- Intersection
- The intersection contains only the elements that are in both and .
- Complement
- The complement contains all elements in the universal set that are not in .
- Disjoint Sets
- Disjoint sets have no elements in common, so .
- Universal Set
- The universal set is the full collection of elements being considered in a problem.
Common Mistakes to Avoid
- Adding overlapping groups without subtracting intersections is wrong because elements in both groups get counted twice.
- Subtracting the three-way intersection in the three-set formula is wrong because it has already been removed too many times and must be added back.
- Using when the problem asks for is wrong because intersection means both conditions, while union means at least one condition.
- Forgetting the universal set when finding neither is wrong because neither means the complement of the union, .
- Assuming sets are disjoint without evidence is wrong because disjoint sets require .
Practice Questions
- 1 In a class of students, take physics, take chemistry, and take both. How many students take physics or chemistry?
- 2 A survey of people finds like tea, like coffee, and like both. How many like neither tea nor coffee?
- 3 In a group of students, play soccer, play basketball, play tennis, play soccer and basketball, play soccer and tennis, play basketball and tennis, and play all three. How many play at least one sport?
- 4 Explain why the term is added in the three-set inclusion-exclusion formula instead of subtracted.