A class has 175 students. The following data shows the number of students obtaining one or more subjects. Mathematics 100 , Physics 70 , Chemistry 40; Mathematics and Physics 30 , Mathematics and Chemistry 28 , Physics and Chemistry 23; Mathematics, Physics and Chemistry 18 How many students have offered Mathematics alone?
Detailed Explanation
1. What Concept Is Tested?
The problem is a direct application of the Principle of Inclusion–Exclusion (PIE) for three finite sets.
For three sets we have
If we want exactly one set (say only ), we subtract the two‐way and add the three‐way intersections, because the three‐way part had been subtracted twice.
[ \text{Only }M = |M| - |M \cap P| - |M \cap C| + |M \cap P \cap C| ]
2. Logical Flow a Student Should Follow
- Identify the Sets: (Math), (Physics), (Chemistry).
- Write Down Given Cardinalities.
- Recognise the Need for PIE because counts of overlaps are supplied.
- Plug into the formula for ‘only‐one’ sets.
- Compute, keeping signs correct (− for two‐way, + for three‐way).
- Box the Answer.
3. Why Each Step Makes Sense
- PIE prevents double- or triple-counting.
- Subtracting two-way overlaps removes students who have an extra subject.
- Adding back the three-way overlap corrects for over-subtraction.
That’s the entire reasoning chain for this straightforward JEE‐level set problem.
Simple Explanation (ELI5)
Imagine Three Big Circles in a Playground
Think of Mathematics (M), Physics (P) and Chemistry (C) as three big circles painted on the ground. Every student stands in the circle(s) for the subject(s) they have chosen.
We know how many students are in:
- The whole Math circle (100)
- The whole Physics circle (70)
- The whole Chemistry circle (40)
- The overlaps of two circles (Math & Physics = 30, Math & Chemistry = 28, Physics & Chemistry = 23)
- The tiny spot where all three circles overlap (Math & Physics & Chemistry = 18)
To find “Math‐only” kids, we start with all 100 standing somewhere in the Math circle and simply kick out everyone who is also touching Physics or Chemistry. But notice: the kids touching both extra circles (all three subjects) will be kicked out twice, so we have to invite them back once!
So Math‐only kids = 100 − 30 − 28 + 18 = 60 students.
Step-by-Step Solution
Step-by-Step Solution
Let
We want the number of students who chose Mathematics only:
|\text{Only }M| &= |M| - |M \cap P| - |M \cap C| + |M \cap P \cap C| \\ &= 100 - 30 - 28 + 18 \\ &= 100 - 58 + 18 \\ &= 42 + 18 \\ &= 60. \end{aligned}$$ \[ \boxed{60\text{ students}} \]Examples
Example 1
Counting unique website visitors who visit multiple pages.
Example 2
Estimating how many people attended only one of several overlapping workshops.
Example 3
Finding customers who bought exactly one of three promotion bundles.