Question #55335

10 red marbles and 10 blue marbles are placed into a bag. Alex mixes up the bag and randomly selects a marble. He continues to do so, replacing the marble after each selection, until a red marble is selected.
a. What is the probability that the first time that a red marble is pulled is on Alex’s 6th try?
b. On average, how many marbles will Alex have to pull in order to get a red marble? (Hint: use math expectation)
1

Expert's answer

2015-10-07T10:26:08-0400

Answer on Question #55335 – Math – Statistics and Probability

Question

10 red marbles and 10 blue marbles are placed into a bag. Alex mixes up the bag and randomly selects a marble. He continues to do so, replacing the marble after each selection, until a red marble is selected.

a. What is the probability that the first time that a red marble is pulled is on Alex’s 6th try?

b. On average, how many marbles will Alex have to pull in order to get a red marble? (Hint: use math expectation).

Solution

a. Plainly, there are 10+10=2010 + 10 = 20 marbles in the bag. Using the classical definition of probability, the probability of selecting a red marble is given by


p=1020=0.5.p = \frac{10}{20} = 0.5.


Similarly, probability of selecting a blue marble is


q=1020=0.5=1p.q = \frac{10}{20} = 0.5 = 1 - p.


If marbles are replaced, then probability remains the same for all these experiments. We are asked what are the odds of selecting a red marble for the first time on the 6th6^{\text{th}} try. It means that we are asked to determine a probability of the case we will call Q (Alex selects 5 blue marbles on five first tries and a red one on the 6-th try).

Events of marble selection are independent, therefore


P(Q)=P(1st=blue and 2nd=blue and ... and 5th=blue and 6th=red)==P(1st=blue)P(2nd=blue)P(5th=blue)P(6th=red)==qqqp=q5p=0.550.50.016 or P(Q)=1.6%\begin{array}{l} P(Q) = P(1^{st} = \text{blue and } 2^{nd} = \text{blue and ... and } 5^{th} = \text{blue and } 6^{th} = \text{red}) = \\ = P(1^{st} = \text{blue}) \cdot P(2^{nd} = \text{blue}) \cdot \ldots \cdot P(5^{th} = \text{blue}) \cdot P(6^{th} = \text{red}) = \\ = q \cdot q \cdot \ldots \cdot q \cdot p = q^5 \cdot p = 0.5^5 \cdot 0.5 \approx 0.016 \text{ or } P(Q) = 1.6\% \end{array}

Answer: 0.016.

Solution

b. Average number of pulls (denoted by E(X)E(X)) is a mathematical expectation of number of pulls. If Alex pulls a red marble on the 1st1^{\text{st}} try, then the number of such pulls will be


x1=1.x_1 = 1.


Probability of this event is just


p1=p=0.5.p_1 = p = 0.5.


Now, if it happens on the 2nd2^{\text{nd}} try, the number is


x2=2,x_2 = 2,


and the probability is


p2=qp=p2,p_2 = q \cdot p = p^2,


because this event is the following:

Alex selecting a blue marble on the first try (with probability q) and then selecting a red one (with probability p). Now, for 3-rd try the number of pulls is


x3=3,x_3 = 3,


and the probability is


p3=qqp=p3.p _ {3} = q \cdot q \cdot p = p ^ {3}.


Observing the pattern, we get formulae for the n-th try:

number of pulls is


xn=nx _ {n} = n


and probability is


pn=qqp=qn1p=pn.p _ {n} = q \cdot \ldots \cdot q \cdot p = q ^ {n - 1} \cdot p = p ^ {n}.


Then, by definition of the math expectation, we have


E(X)=k=1xkpk=x1p1+x2p2+x3p3+=k=1kpk=p(1p)2=0.5(10.5)2=10.5=2.\mathrm {E} (\mathrm {X}) = \sum_ {k = 1} ^ {\infty} x _ {k} p _ {k} = x _ {1} p _ {1} + x _ {2} p _ {2} + x _ {3} p _ {3} + \dots = \sum_ {k = 1} ^ {\infty} k p ^ {k} = \frac {p}{(1 - p) ^ {2}} = \frac {0 . 5}{(1 - 0 . 5) ^ {2}} = \frac {1}{0 . 5} = 2.


Answer: 2.

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