Question
Question: From a bag containing n balls, all either black or white, all numbers for each being equally likely,...
From a bag containing n balls, all either black or white, all numbers for each being equally likely, a ball is drawn and turns out to be white. This is replaced and another ball is drawn, which is also white. If the ball is replaced prove that chance of drawing black ball in next try is 21(n−1)(2n+1)−1.
Solution
First of all, we do not know how many of the n balls are white or black. So, to begin with, we will find the probability of the bag having k balls. Then, we will apply the Bayes’ Theorem to find the probability of drawing a black ball in the third draw, given that the first and the second ball is white with replacement.
Complete step by step answer:
Let W(i) be the event that a white ball is drawn in the ith draw and let B(i) be the event that a black ball is drawn in the ith draw.
Now, it is given that the bag has only two types of balls, either black or white, so, B(i) + W(i) = 1 and B’(i) = W(i), where B’ is the complement of B.
We do not know the number of white balls in the bag.
Suppose, there are k white balls in the bag, where k can be any integer from 0 to n.
Therefore, k = 0 or k = 1 or so on k = n. So, there are (n + 1) ways in which white balls can be there in the bag.
So, if A(k) is the probability of having k white balls in the bag, so P(A(k))=n+11, as it can be any one way of the (n + 1) ways.
We know that P(B∣A)=P(A)P(A,B), where P(B∣A) is the probability of B happening given that A has happened already and P(A,B) is the probability of A and B happening.
We need to find the probability that the third ball is black, when first and second balls are white. Therefore, we need to find P(B(3)∣(W(2),W(1))).
⇒P(B(3)∣W(2),W(1))=P(W(2),W(1))P(B(3),W(2),W(1))
We will evaluate the numerator and denominator separately.
The numerator is P(B(3),W(2),W(1)).
We shall iterate P(B(3),W(2),W(1)) with the varying number of white balls in the bag.
P(B(3),W(2),W(1))=P(B(3),W(2),W(1),A(0))+P(B(3),W(2),W(1),A(1))+...+P(B(3),W(2),W(1),A(n))
We can say that P(B(3),W(2),W(1),A(0))=P(B(3),W(2),W(1),A(n))=0
Because if there are no white balls or no black balls, in both events, our desired event will be impossible.
Therefore, P(B(3),W(2),W(1))=∑P(B(3),W(2),W(1),A(k))