The bag contains 8 balls, each either white or black. We draw 4 balls without replacement and observe exactly 2 white and 2 black balls. We need to find the probability that the bag originally had an equal number of white and black balls, i.e., 4 white and 4 black balls.
Let W be the number of white balls in the bag. Since we drew 2 white and 2 black balls, W must be at least 2 and at most 6 (so that there are at least 2 black balls, i.e., 8−W≥2). Thus, W can be 2, 3, 4, 5, or 6.
We assume that all possible values of W from 0 to 8 are equally likely initially. Therefore, the prior probability P(W=k)=91 for k=0,1,…,8. However, since the event A (drawing 2 white and 2 black balls) can only occur if W is between 2 and 6, we restrict our calculation to these values.
By Bayes' theorem, the conditional probability is:
P(W=4∣A)=∑k=26P(A∣W=k)⋅P(W=k)P(A∣W=4)⋅P(W=4)
Substituting P(W=k)=91 for all k:
P(W=4∣A)=∑k=26P(A∣W=k)⋅91P(A∣W=4)⋅91=∑k=26P(A∣W=k)P(A∣W=4)
Now, P(A∣W=k) is the probability of drawing exactly 2 white and 2 black balls from a bag with k white and 8−k black balls, without replacement. This follows the hypergeometric distribution:
P(A∣W=k)=(48)(2k)(28−k)
First, compute (48):
(48)=4!(8−4)!8!=4×3×2×18×7×6×5=70
Now, compute for each k:
- For k=2: (22)=1, (26)=26×5=15, so P(A∣W=2)=701×15=7015
- For k=3: (23)=3, (25)=25×4=10, so P(A∣W=3)=703×10=7030
- For k=4: (24)=24×3=6, (24)=6, so P(A∣W=4)=706×6=7036
- For k=5: (25)=25×4=10, (23)=3, so P(A∣W=5)=7010×3=7030
- For k=6: (26)=26×5=15, (22)=1, so P(A∣W=6)=7015×1=7015
The denominator is the sum:
∑k=26P(A∣W=k)=7015+7030+7036+7030+7015=7015+30+36+30+15=70126
Now, the probability is:
P(W=4∣A)=701267036=7036×12670=12636
Simplify 12636 by dividing both numerator and denominator by 18:
126÷1836÷18=72
Thus, the probability that the bag contains an equal number of white and black balls is 72.
The correct option is B: 72.