In a class of 140 students numbered 1 to 140, all even numbered students opted Mathematics course, those whose number is divisible by 3 opted Physics course and those whose number is divisible by 5 opted Chemistry course. Then the number of students who did not opt for any of the three courses is:
- Option A: 42
- Option B: 1
- Option C: 38
- Option D: 102
Solution
Core idea. The count for none of several properties is the total less the union.
Concept refresher. For three sets,
where adds the three sets, adds the three pairwise intersections and is the common part.
Picture the situation. The 140 numbers contain the even numbers, the multiples of 3 and the multiples of 5, which overlap. A student who took no course has a number divisible by none of 2, 3 and 5. So the union of the three sets is counted first.
Approach. Apply inclusion and exclusion to the three sets of multiples and subtract from 140.
Step 1: Single counts
Up to 140 there are 70 multiples of 2, 46 multiples of 3 and 28 multiples of 5, which add to 144.
Step 2: Overlaps
The multiples of 6, 10 and 15 number 23, 14 and 9, which add to 46, and the multiples of 30 number 4.
Step 3: None of the courses
So students took at least one course, and took none.
Answer. (C) 38
Sanity check. Among 30 consecutive numbers, 8 are divisible by none of 2, 3 and 5; up to 120 that gives 32, and from 121 to 140 there are 6 more, a total of 38.
Why the other options are wrong
- (A) The value 42 would need a union of 98; inclusion and exclusion gives 102.
- (B) The value 1 is far too small: the 8 numbers below 30 with no factor 2, 3 or 5 already exceed it.
- (D) The value 102 is the number of students in at least one course; it must be subtracted from 140.
Key takeaway
The trap. The union is not the answer when the question asks for none.
How toppers think. They check with the pattern that repeats every thirty numbers.
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 ›