QlarIITy

MathematicsJEE Main 2026 · 23 JanuarySingle correct

Bag AA contains 99 white and 88 black balls, while bag BB contains 66 white and 44 black balls. One ball is randomly picked up from the bag BB and mixed up with the balls in the bag AA. Then a ball is randomly drawn from the bag AA. If the probability, that the ball drawn is white, is pq\frac{p}{q}, gcd⁡(p,q)=1\gcd(p, q) = 1, then p+qp + q is equal to

  1. Option A: 2424
  2. Option B: 2222
  3. Option C: 2323
  4. Option D: 2121
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. When something is moved between bags, split by what was moved and add the weighted cases.

Concept refresher. If events E1,E2E_1, E_2 split the sample space (they are disjoint and one of them must happen), then for any event AA, the theorem of total probability gives

P(A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)P(A) = P(E_1)P(A \mid E_1) + P(E_2)P(A \mid E_2)

where P(A∣Ei)P(A \mid E_i) is the probability of AA once EiE_i is known to have happened, and P(Ei)>0P(E_i) > 0.

Approach. Split by the colour of the ball moved from bag B, find the chance of white from bag A in each case, and add the weighted terms.

  1. Step 1: Set up the two cases

    Bag B has 66 white and 44 black balls, so the moved ball is white with probability 610\frac{6}{10} and black with probability 410\frac{4}{10}. After the move bag A has 9+8+1=189 + 8 + 1 = 18 balls.

  2. Step 2: Chance of white in each case

    If a white ball was moved, bag A has 1010 white of 1818; if a black ball was moved, it has 99 white of 1818:

    P(white∣W)=1018, P(white∣K)=918P(\text{white} \mid W) = \frac{10}{18}, \ P(\text{white} \mid K) = \frac{9}{18}
  3. Step 3: Add the weighted cases

    By the theorem of total probability:

    P(white)=610⋅1018+410⋅918=60+36180=96180=815\begin{aligned} P(\text{white}) &= \frac{6}{10} \cdot \frac{10}{18} + \frac{4}{10} \cdot \frac{9}{18} \\[4pt] &= \frac{60 + 36}{180} = \frac{96}{180} = \frac{8}{15} \end{aligned}

    Since gcd⁡(8,15)=1\gcd(8, 15) = 1, p=8p = 8, q=15q = 15 and p+q=23p + q = 23.

Answer. (C) 2323

Sanity check. The chance of white must lie between 918=0.5\frac{9}{18} = 0.5 and 1018≈0.56\frac{10}{18} \approx 0.56, the two cases; 815≈0.533\frac{8}{15} \approx 0.533 does, and it sits closer to 0.560.56 because a white ball is the likelier one to be moved.

Why the other options are wrong

  • (A) A sum of 2424 would need a different probability, such as 717≈0.41\frac{7}{17} \approx 0.41; the probability of white is 815≈0.53\frac{8}{15} \approx 0.53, and in lowest terms that gives 8+15=238 + 15 = 23 only.
  • (B) comes from the probability of black, 1−815=7151 - \frac{8}{15} = \frac{7}{15}, giving 7+15=227 + 15 = 22; the question asks for white.
  • (D) A sum of 2121 would need a fraction such as 813≈0.62\frac{8}{13} \approx 0.62 or 1011\frac{10}{11}; neither equals 815\frac{8}{15}, so it does not match.

Key takeaway

The trap. Keeping 1717 balls in bag A after a ball has been added to it.

How toppers think. They check that the answer lies between the two case probabilities.

Remember. P(A)=∑P(Ei)P(A∣Ei)P(A) = \sum P(E_i)P(A \mid E_i) over a partition E1,E2,…E_1, E_2, \ldots.

More on Bayes’ Theorem