Analyzing the Setup
Imagine you are standing in front of a bag containing 20 cards. Half are labeled A, and half are labeled B. You are drawing them one by one, with replacement.
The question asks for the probability that the second A appears before the third B. At first glance, this feels like an infinite, daunting sequence of possibilities.
You might be tempted to start writing out infinite series, calculating the probability of A winning on the second draw, the third, the fourth, and so on, into the abyss. But stop. Take a breath.
In JEE Advanced, when you see a problem that looks like it requires an infinite series, there is almost always a hidden geometric or combinatorial symmetry waiting to be unlocked.
The Philosophy of the Race
Think of this problem not as a sequence of draws, but as a race. A is a runner who needs 2 steps to reach the finish line. B is a runner who needs 3 steps to reach the finish line.
We are drawing cards, and every time we draw an A, runner A takes a step. Every time we draw a B, runner B takes a step.
The game ends the moment one of them crosses their finish line. The question is simply: what is the probability that A wins this race?
The Maximum Trials Shortcut
Here is the "Aha!" moment that separates the masters from the novices. If A needs m=2 successes and B needs n=3 successes, what is the maximum number of trials this race can possibly last?
If we play for m+n−1 trials, which is 2+3−1=4 trials, the game must be over.
Why? Because if the game hasn't ended by the 4th trial, it would mean A has fewer than 2 successes (so A≤1) AND B has fewer than 3 successes (so B≤2).
But if A≤1 and B≤2, the total number of trials would be A+B≤3. This contradicts the fact that we have conducted 4 trials! Therefore, in any sequence of 4 trials, it is mathematically impossible for the game to still be ongoing.
The Binomial Elegance
Since the game must end by the 4th trial, we can rephrase our condition: A wins if and only if A gets at least 2 successes within those 4 trials. If A gets 2 or more successes in 4 trials, A has crossed the finish line before B could possibly reach 3.
This transforms our terrifying infinite problem into a simple Binomial Distribution problem. We have n=4 trials, and the probability of success (drawing an A) is p=21. The probability of failure (drawing a B) is q=21.
We need to find the probability P(X≥2), where X is the number of A's. This is simply the sum of the probabilities of getting exactly 2, 3, or 4 A's:
P(X≥2)=P(X=2)+P(X=3)+P(X=4)
Using the binomial formula P(X=k)=(kn)pkqn−k, we calculate each term:
For
X=2:
P(X=2)=(24)(21)2(21)2=6×161=166
For
X=3:
P(X=3)=(34)(21)3(21)1=4×161=164
For
X=4:
P(X=4)=(44)(21)4(21)0=1×161=161
The Final Victory
Adding these together, we get:
Look at that! We didn't need to sum an infinite series. We didn't need to get lost in the weeds of conditional probability.
By understanding the constraints of the race, we reduced a complex problem to a simple, elegant calculation. This is the power of conceptual clarity in mathematics.
Keep this "Maximum Trials" trick in your toolkit—it will save you precious minutes and prevent countless errors in the exam hall. The final answer is 1611.