QlarIITy

MathematicsJEE Main 2024 · 30 JanuaryInteger

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 ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

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,

n(A∪B∪C)=S1−S2+S3n(A \cup B \cup C) = S_1 - S_2 + S_3

where S1S_1 adds the three sets, S2S_2 adds the three pairwise intersections and S3S_3 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 xx, yy, zz for the numbers passing Mathematics and Physics, Physics and Chemistry, and Mathematics and Chemistry, and TT for those passing all three. Every student who passed all three is counted in each of xx, yy and zz. The drawing shows the case that gives the maximum.

Three overlapping circles M, P and C with the numbers of students in the seven regions for the extreme case: 10 in M only, 14 in P only, 5 in C only, 0 in M and P only, 1 in P and C only, 0 in M and C only, and 10 in all three.

Approach. Express the common part through the pairwise overlaps, use that each overlap contains it, and check that the bound is attained.

  1. Step 1: The relation

    The union is the whole group of 40, so inclusion and exclusion gives 40=20+25+16−(x+y+z)+T40 = 20 + 25 + 16 - (x + y + z) + T. Hence T=x+y+z−21T = x + y + z - 21.

  2. Step 2: The bound

    Since T≤xT \leq x, y+z≤21y + z \leq 21, and in the same way x+z≤21x + z \leq 21 and x+y≤21x + y \leq 21. Adding the three gives 2(x+y+z)≤632(x + y + z) \leq 63, so x+y+z≤31x + y + z \leq 31 and T≤10T \leq 10.

  3. Step 3: The maximum

    The values x=10x = 10, y=11y = 11, z=10z = 10 satisfy the given limits and give T=10T = 10, 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. T=x+y+z−21T = x + y + z - 21

More on Set Operations & Venn Diagrams