A group of 40 students appeared in an examination of 3 subjects – Mathematics, Physics and Chemistry. It was found that all students passed in atleast one of the subjects, 20 students passed in Mathematics, 25 students passed in Physics, 16 students passed in Chemistry, atmost 11 students passed in both Mathematics and Physics, atmost 15 students passed in both Physics and Chemistry, atmost 15 students passed in both Mathematics and Chemistry. The maximum number of students passed in all the three subjects is _____
Correct Answer :
Solution :
The correct answer is 10.
We are given the following information about 40 students and 3 subjects — Mathematics (M), Physics (P), and Chemistry (C):
|M| = 20, |P| = 25, |C| = 16
Total students = 40, and every student passed in at least one subject.
|M ∩ P| ≤ 11, |P ∩ C| ≤ 15, |M ∩ C| ≤ 15
We want to find the maximum number of students who passed in all three subjects, i.e., maximize |M ∩ P ∩ C|.
Step 1: Apply the Inclusion-Exclusion Principle.
By the inclusion-exclusion principle for three sets:
Since all 40 students passed in at least one subject:
Substituting:
Step 2: Rearrange to isolate |M ∩ P ∩ C|.
Step 3: To maximize |M ∩ P ∩ C|, maximize the pairwise intersections.
Since the problem says at most for each pairwise intersection, we use their maximum allowed values:
|M ∩ P| ≤ 11 ⟹ use 11
|P ∩ C| ≤ 15 ⟹ use 15
|M ∩ C| ≤ 15 ⟹ use 15
Step 4: Check if |M ∩ P ∩ C| = 20 is feasible.
Any triple intersection cannot exceed any pairwise intersection, because:
So |M ∩ P ∩ C| cannot exceed 11. The value of 20 violates this constraint, so we cannot use all pairwise intersections at their maximum simultaneously.
Step 5: Re-examine with the binding constraint.
We need:
So the absolute upper bound from the pairwise constraint is 11. Let us verify whether |M ∩ P ∩ C| = 11 is achievable by checking the inclusion-exclusion equation:
Let x = |M ∩ P ∩ C| = 11. We need the pairwise intersections to satisfy:
We need |M ∩ P| + |P ∩ C| + |M ∩ C| = 32, with each pairwise value ≥ x = 11 (since the triple is part of each pair) and within the given at-most bounds (11, 15, 15).
A possible assignment: |M ∩ P| = 11, |P ∩ C| = 11, |M ∩ C| = 10.
But |M ∩ C| ≥ |M ∩ P ∩ C| = 11 is required, so |M ∩ C| = 10 < 11 is invalid.
Try: |M ∩ P| = 11, |P ∩ C| = 11, |M ∩ C| = 10 — still invalid.
Try: |M ∩ P| = 11, |P ∩ C| = 12, |M ∩ C| = 9 — invalid (|M ∩ C| < 11).
Every pairwise intersection must be ≥ 11 (the triple). So minimum sum of pairwise = 11 + 11 + 11 = 33 > 32. This is a contradiction! So |M ∩ P ∩ C| = 11 is not achievable either.
Step 6: Find the true maximum using the correct bound.
Let x = |M ∩ P ∩ C|. Then each pairwise intersection ≥ x, so:
From Step 2:
Since |M ∩ P| + |P ∩ C| + |M ∩ C| ≥ 3x:
Since x must be a whole number (count of students):
Step 7: Verify x = 10 is achievable.
Set |M ∩ P ∩ C| = 10. Then from the inclusion-exclusion equation:
We need values with each pairwise ≥ 10 and within the given bounds. Try:
|M ∩ P| = 11, |P ∩ C| = 10, |M ∩ C| = 10
Sum = 11 + 10 + 10 = 31 ✓
All ≥ 10 ✓
All within the at-most limits (11 ≤ 11, 10 ≤ 15, 10 ≤ 15) ✓
This is a valid configuration, confirming that x = 10 is achievable.
Conclusion: The maximum number of students who passed in all three subjects is 10.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.