Common mistake
If 18 study Maths and 15 study Physics, then 33 study at least one.
Correct understanding
Students who study both are counted twice in 18 + 15, so the overlap must be subtracted.
Maths · Lesson 2.2
Two-set and three-set Venn diagrams, inclusion-exclusion and survey problems.
By the end of this lesson, you should be able to:
A Venn diagram turns a set problem into a picture. Overlapping circles represent sets, and the regions represent the possible combinations of membership. Counting the elements in each region is often faster and safer than manipulating formulas blindly.
The key counting formula is the inclusion-exclusion principle. For two sets it says n(A ∪ B) = n(A) + n(B) - n(A ∩ B): adding the sizes double-counts the overlap, so we subtract it once.
Draw two overlapping circles inside a rectangle that represents the universal set. The overlap is A ∩ B. The part of A outside the overlap is A - B, and similarly for B. The region outside both circles is (A ∪ B)′.
If you know the total number of elements and the sizes of A, B and A ∩ B, you can fill every region. Start with the overlap, subtract it from each set to get the 'only A' and 'only B' regions, then subtract the union from the total to get the outside region.
A three-set diagram has eight regions: the three 'only' regions, the three pairwise overlaps, the central triple overlap, and the outside. The inclusion-exclusion formula for three sets adds the sizes of the sets, subtracts the three pairwise intersections, and adds back the triple intersection.
In survey problems, the triple intersection is usually the first number to place. Then work outward through the pairwise overlaps, then the single-set regions, and finally the outside. Always check that the sum of all eight regions equals the total.
Use n(M ∪ P) = n(M) + n(P) - n(M ∩ P).
Substitute: n(M ∪ P) = 18 + 15 - 8 = 25.
So 25 students study at least one subject.
The number who study neither is 30 - 25 = 5.
Common mistake
If 18 study Maths and 15 study Physics, then 33 study at least one.
Correct understanding
Students who study both are counted twice in 18 + 15, so the overlap must be subtracted.
It is subtracted three times in the pairwise intersections but was added three times in the individual sets, so its net count is zero. Adding it once restores the correct count.
Yes, but the diagrams become hard to read. Inclusion-exclusion still works, with alternating signs.