The Detective's Dilemma
Unraveling Bayes' Theorem
Welcome, future engineer. Today, we are not just solving a probability problem; we are stepping into the shoes of a detective.
Imagine you are presented with two sealed boxes, Box A and Box B. You reach in, pull out two balls, and see one white and one red.
The question is simple, yet profound: Given this evidence, what is the probability that you were holding Box B? This is the essence of inverse probability, and it is the domain of the legendary Bayes' Theorem.
Phase 1
Setting the Stage
Before we dive into the algebra, let us visualize the reality of our boxes. Box A is a collection of 2 white, 3 red, and 2 black balls, totaling 7 balls.
Box B is slightly larger, holding 4 white, 2 red, and 3 black balls, totaling 9 balls.
We define our event E as the act of drawing exactly one white ball and one red ball. Our goal is to find the conditional probability P(B∣E), which reads as 'the probability of Box B given that event E has occurred.'
Phase 2
The Philosophy of Bayes' Theorem
Many students fear Bayes' Theorem, but it is actually quite intuitive. It is a bridge between the 'prior' probability (what we know before the experiment) and the 'posterior' probability (what we know after seeing the evidence).
The formula is:
P(B∣E)=P(A)⋅P(E∣A)+P(B)⋅P(E∣B)P(B)⋅P(E∣B)
Since we choose a box at random, P(A)=P(B)=21. This is our 'prior.' Now, we need the 'likelihoods'—the probability of drawing our specific pair of balls from each box individually.
Phase 3
The Investigation of Box A
Let us peer into Box A. We need to choose 1 white ball from 2 and 1 red ball from 3. The total number of ways to choose any 2 balls from 7 is (27).
Using the combination formula, we calculate:
P(E∣A)=(27)(12)×(13)=212×3=216=72
This is the probability that, if we were holding Box A, we would see the evidence we currently have. It is a crucial piece of our puzzle.
Phase 4
The Investigation of Box B
Now, we turn our attention to Box B. The logic remains identical, but the numbers shift. We need 1 white ball from 4 and 1 red ball from 2.
The total ways to draw 2 balls from 9 is (29).
P(E∣B)=(29)(14)×(12)=364×2=368=92
Notice how the likelihood of our event E changes depending on the box. This difference is exactly what allows us to 'reverse' the probability.
Phase 5
The Grand Synthesis
Now, we bring it all together. We substitute our values into the Bayes' formula.
Because P(A) and P(B) are both 21, they appear in every term of the fraction. We can elegantly cancel them out, simplifying our expression significantly:
P(B∣E)=21⋅72+21⋅9221⋅92=72+9292
We can further simplify by dividing everything by 2:
Now, for the final arithmetic. We find a common denominator for the bottom fraction, which is 63:
P(B∣E)=639+791=91×1663
After canceling the 9 into the 63, we arrive at our final result: 167.
Conclusion
And there it is. The probability that our balls originated from Box B is 167. It is a beautiful, clean result.
Remember, in JEE Advanced, the math is rarely the hardest part—it is the clarity of thought. By breaking the problem into the 'prior' and the 'likelihood,' you turn a complex probability question into a simple, logical sequence. Keep practicing this mindset, and you will master the art of the problem-solver.