Question #43478

I have a biased coin that lands heads with probability p and start with an empty urn. I flip the coin n times. Each time the coin lands heads, I add a blue ball to the urn. Each time the coin lands tails, I add a green ball to the urn. After I finish flipping the coin and without knowing the composition of the urn, you draw k balls from the urn one at a time, replacing each ball you draw before drawing another one. If all k of the balls that you draw are blue, what is the probability that all n balls in the urn are blue?
1

Expert's answer

2014-06-19T02:17:14-0400

Answer on Question #43478 – Math - Statistics and Probability

I have a biased coin that lands heads with probability pp and start with an empty urn. I flip the coin nn times. Each time the coin lands heads, I add a blue ball to the urn. Each time the coin lands tails, I add a green ball to the urn. After I finish flipping the coin and without knowing the composition of the urn, you draw kk balls from the urn one at a time, replacing each ball you draw before drawing another one. If all kk of the balls that you draw are blue, what is the probability that all nn balls in the urn are blue?

Remark.

We suppose that we replace each ball with the ball of the same color.

Solution.

The probability that there are ii blue ball in the urn equals p(i)=(ni)pi(1p)nip(i) = \binom{n}{i} p^i (1 - p)^{n - i} by Bernoulli trail. Suppose that there are ii blue balls and nin - i green balls. The probability to select one blue ball is in\frac{i}{n}.

We don't know the composition of the urn, so the probability that the randomly selected ball from the urn is blue equals


p1=i=0ninp(i)=i=0nin(ni)pi(1p)ni==i=1n(n1i1)pi(1p)ni==i=0n1(n1i)pi+1(1p)n1i=p.\begin{array}{l} p_1 = \sum_{i=0}^{n} \frac{i}{n} p(i) = \sum_{i=0}^{n} \frac{i}{n} \binom{n}{i} p^i (1 - p)^{n - i} = \\ = \sum_{i=1}^{n} \binom{n-1}{i-1} p^i (1 - p)^{n - i} = \\ = \sum_{i=0}^{n-1} \binom{n-1}{i} p^{i+1} (1 - p)^{n-1-i} = p. \end{array}


Hence the probability that we draw kk blue balls is pk=pkp_k = p^k.

This result could also be obtained from geometric distribution.

The probability that all nn balls in the urn are blue equals pn=pnp_n = p^n.

If all kk of the balls that you draw are blue, then probability that all nn balls in the urn are blue equals


P=pnpk=pnkP = \frac{p_n}{p_k} = p^{n - k}


from the formula of conditional probability.

Answer: P=pnkP = p^{n - k}.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS