QlarIITy

MathematicsJEE Main 2025 · 29 JanuarySingle correct

Bag 1 contains 4 white balls and 5 black balls, and Bag 2 contains nn white balls and 3 black balls. One ball is drawn randomly from Bag 1 and transferred to Bag 2. A ball is then drawn randomly from Bag 2. If the probability, that the ball drawn is white, is 29/4529/45, then nn is equal to :

  1. Option A: 6
  2. Option B: 3
  3. Option C: 5
  4. Option D: 4
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A transfer between bags is handled by cases on the colour transferred.

Concept refresher. If E1E_1 and E2E_2 are the only possible cases, the probability of an event AA adds over them:

P(A)=P(E1)P(A∣E1)   +P(E2)P(A∣E2)\begin{aligned} P(A) &= P(E_1)P(A \mid E_1) \\[4pt] &\ \ \ + P(E_2)P(A \mid E_2) \end{aligned}

Picture the situation. Bag 1 has 4 white and 5 black balls, so the transferred ball is white with probability 49\dfrac{4}{9} and black with probability 59\dfrac{5}{9}. After the transfer Bag 2 holds n+4n + 4 balls, with n+1n + 1 or nn white ones. The probability of drawing white is the total over the two cases.

Approach. Add the two cases of the transfer and solve the resulting equation.

  1. Step 1: Total probability

    With a white ball transferred the chance of white is n+1n+4\dfrac{n + 1}{n + 4}, and with a black ball it is nn+4\dfrac{n}{n + 4}. So P(W)=4(n+1)+5n9(n+4)=9n+49(n+4)P(W) = \dfrac{4(n + 1) + 5n}{9(n + 4)} = \dfrac{9n + 4}{9(n + 4)}.

  2. Step 2: The equation

    Setting this equal to 2945\dfrac{29}{45} gives 5(9n+4)=29(n+4)5(9n + 4) = 29(n + 4), that is 45n+20=29n+11645n + 20 = 29n + 116, so n=6n = 6.

Answer. (A) 6

Sanity check. With n=6n = 6: 5890=2945\dfrac{58}{90} = \dfrac{29}{45}.

Why the other options are wrong

  • (B) With n=3n = 3 the probability is 3163\dfrac{31}{63}, not 2945\dfrac{29}{45}.
  • (C) With n=5n = 5 the probability is 4981\dfrac{49}{81}, not 2945\dfrac{29}{45}.
  • (D) With n=4n = 4 the probability is 4072=59\dfrac{40}{72} = \dfrac{5}{9}, not 2945\dfrac{29}{45}.

Key takeaway

The trap. The second bag has one ball more after the transfer, whatever its colour.

How toppers think. They check the value found by substituting it back.

Remember. P(W)=9n+49(n+4)P(W) = \dfrac{9n + 4}{9(n + 4)}

More on Bayes’ Theorem