NVAMediumJEE 2024Sets & Operations

JEE Mathematics 2024 Question with Solution

A group of 4040 students appeared in an examination of 33 subjects - Mathematics, Physics, Chemistry. It was found that all students passed in at least one of the subjects, 2020 students passed in Mathematics, 2525 in Physics, and 1616 in Chemistry. At most 1111 students passed in both Mathematics and Physics, 1515 in both Physics and Chemistry, and 1010 in both Mathematics and Chemistry. The maximum number of students passed in all three subjects is:

Answer

Correct answer:10

Step-by-step solution

Standard Method

Given:

  • M=20|M| = 20
  • P=25|P| = 25
  • C=16|C| = 16
  • MPC=40|M \cup P \cup C| = 40
  • MP11|M \cap P| \le 11
  • PC15|P \cap C| \le 15
  • MC10|M \cap C| \le 10

Find: The maximum value of MPC|M \cap P \cap C|.

Use the principle of inclusion-exclusion for three sets MM, PP, and CC:

MPC=M+P+CMPPCMC+MPC|M \cup P \cup C| = |M| + |P| + |C| - |M \cap P| - |P \cap C| - |M \cap C| + |M \cap P \cap C|

Substitute the given values using the maximum allowed pairwise intersections:

40=20+25+16111510+x40 = 20 + 25 + 16 - 11 - 15 - 10 + x x=10x = 10

Thus, the maximum number of students who passed in all three subjects is 1010.

Detailed Verification

Given:

  • Total students in at least one subject =40= 40
  • n(M)=20,  n(P)=25,  n(C)=16n(M) = 20, \; n(P) = 25, \; n(C) = 16
  • n(MP)11n(M \cap P) \le 11
  • n(PC)15n(P \cap C) \le 15
  • n(MC)10n(M \cap C) \le 10

Find: The maximum possible value of x=n(MPC)x = n(M \cap P \cap C).

By inclusion-exclusion,

40=20+25+16n(MP)n(PC)n(MC)+x40 = 20 + 25 + 16 - n(M \cap P) - n(P \cap C) - n(M \cap C) + x 40=61[n(MP)+n(PC)+n(MC)]+x40 = 61 - \left[n(M \cap P) + n(P \cap C) + n(M \cap C)\right] + x

So,

n(MP)+n(PC)+n(MC)=21+xn(M \cap P) + n(P \cap C) + n(M \cap C) = 21 + x

Let

  • dd = students in Mathematics and Physics only,
  • ee = students in Physics and Chemistry only,
  • ff = students in Mathematics and Chemistry only.

Then

n(MP)=d+x,n(PC)=e+x,n(MC)=f+xn(M \cap P) = d + x, \quad n(P \cap C) = e + x, \quad n(M \cap C) = f + x

Therefore,

(d+x)+(e+x)+(f+x)=21+x(d+x) + (e+x) + (f+x) = 21 + x d+e+f+3x=21+xd + e + f + 3x = 21 + x d+e+f=212xd + e + f = 21 - 2x

Since the number of students in each region cannot be negative,

d+e+f0d + e + f \ge 0

Hence,

212x021 - 2x \ge 0 x212=10.5x \le \frac{21}{2} = 10.5

Since xx must be an integer, the maximum possible value is 1010.

Verification for x=10x = 10:

  • d+e+f=2120=1d+e+f = 21 - 20 = 1, which is possible.
  • For example, take d=1,e=0,f=0d=1, e=0, f=0. Then,
n(MP)=1+10=11n(M \cap P) = 1 + 10 = 11 n(PC)=0+10=10n(P \cap C) = 0 + 10 = 10 n(MC)=0+10=10n(M \cap C) = 0 + 10 = 10

All constraints are satisfied.

Therefore, the maximum number of students who passed in all three subjects is 1010.

Common mistakes

  • Using the pairwise intersection limits without inclusion-exclusion is incorrect because the three-way overlap gets counted multiple times. Always apply the full three-set formula before maximizing the common region.

  • Assuming the maximum three-way intersection is the minimum of the pairwise limits directly can be misleading. That gives an upper bound, but feasibility must still be checked using the total union and non-negativity of Venn diagram regions.

  • Forgetting that the number of students in each exclusive Venn region must be non-negative leads to invalid answers. After finding a bound on xx, verify that values like d,e,fd, e, f can actually exist.

Practice more Sets & Operations questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions