The Mystery of the Bag
A Journey into Bayes' Theorem
Imagine you are standing in a room with a mysterious bag containing exactly 8 balls. You know they are either white or black, but you have no idea about the ratio.
In the world of JEE Advanced, we often encounter problems that feel like detective work. We are given an observation, and we must work backward to determine the most likely cause. This is the essence of Bayes' Theorem.
Defining the Universe of Possibilities
Let us define our hypotheses. Let Hi be the hypothesis that the bag contains exactly i white balls. Since there are 8 balls in total, the number of black balls is fixed at 8−i.
We have an observation: we drew 4 balls and found exactly 2 white and 2 black. Let this event be E. This event acts as a filter on our sample space.
If we drew 2 white balls, the bag must have contained at least 2 white balls (i≥2). If we drew 2 black balls, the bag must have contained at least 2 black balls, meaning 8−i≥2, or i≤6. Our universe of possibilities is thus i∈{2,3,4,5,6}.
The Bayes' Engine
We want to find the probability that the bag contains an equal number of white and black balls, which corresponds to i=4. We are looking for P(H4∣E).
Bayes' Theorem tells us:
P(H4∣E)=∑i=26P(E∣Hi)P(Hi)P(E∣H4)P(H4)
Since we have no prior information, we assume each valid hypothesis is equally likely, so P(Hi)=51. Because this term appears in every part of the numerator and denominator, it cancels out. We are left with the ratio of the likelihoods.
Calculating the Likelihoods
The probability of drawing 2 white and 2 black balls from a bag with i white and 8−i black balls is given by the hypergeometric distribution:
P(E∣Hi)=(48)(2i)(28−i)
The denominator, (48), is the total number of ways to choose 4 balls from 8, which is 70. Now, we calculate the numerators for each case:
For i=2 and i=6: (22)(26)=1×15=15. Thus, P(E∣H2)=P(E∣H6)=7015.
For i=3 and i=5: (23)(25)=3×10=30. Thus, P(E∣H3)=P(E∣H5)=7030.
* For i=4: (24)(24)=6×6=36. Thus, P(E∣H4)=7036.
The Final Synthesis
Now, we plug these values into our simplified Bayes' formula. The denominator is the sum of all these probabilities:
The numerator is our target case, which is 36. Thus, the probability is:
Simplifying this fraction by dividing both the numerator and denominator by 18, we arrive at the elegant result:
This problem teaches us that in probability, we must always respect the constraints imposed by our observations. By systematically defining our hypotheses and applying the power of Bayes' Theorem, we turned a complex mystery into a clear, logical path.