A group of 40 students appeared in an examination of 3 subjects - Mathematics, Physics & Chemistry. It was found that all students passed in at least one of the subjects, 20 students passed in Mathematics, 25 students passed in Physics, 16 students passed in Chemistry, at most 11 students passed in both Mathematics and Physics, at most 15 students passed in both Physics and Chemistry, at most 15 students passed in both Mathematics and Chemistry. The maximum number of students passed in all the three subjects is ______.
Solution
Core idea. The common part of three sets is bounded both by the union formula and by each pairwise overlap.
Concept refresher. For three sets,
where adds the three sets, adds the three pairwise intersections and is the common part.
Picture the situation. All 40 students passed at least one subject, so the union of the three sets is 40. Write , , for the numbers passing Mathematics and Physics, Physics and Chemistry, and Mathematics and Chemistry, and for those passing all three. Every student who passed all three is counted in each of , and . The drawing shows the case that gives the maximum.
Approach. Express the common part through the pairwise overlaps, use that each overlap contains it, and check that the bound is attained.
Step 1: The relation
The union is the whole group of 40, so inclusion and exclusion gives . Hence .
Step 2: The bound
Since , , and in the same way and . Adding the three gives , so and .
Step 3: The maximum
The values , , satisfy the given limits and give , with 10, 14 and 5 students passing only Mathematics, only Physics and only Chemistry. So the maximum is 10.
Answer. 10
Sanity check. In that case the seven regions hold 10, 14, 5, 0, 1, 0 and 10 students, which add to 40.
Common wrong answers
- 11: Taking the smallest cap, 11, ignores the total of 40 students, which limits the sum of the overlaps.
Key takeaway
The trap. A cap on each overlap is not a value that the overlap must take.
How toppers think. They add the three inequalities to bound the sum of the overlaps.
Remember.
More on Set Operations & Venn Diagrams
- Let A = {x: |x² - 10| ≤ 6} and B = {x: |x - 2| > 1}. Then
- Let S = {p₁, p₂, …, p₁₀} be the set of first ten prime numbers. Let A = S ∪ P, where P is the set of all…
- Let A = {x ∈ (0, π) - {π/2}: log(2/π)|sin x| + log(2/π)|cos x| = 2} and B = {x ≥ 0: √(x)(√(x) - 4) - 3|√(x)…
- All 31 on Set Operations & Venn Diagrams ›