1,237 views
1 1 vote
A box contain 2 red balls and 3 white balls. The random experiment is picking two balls from the box. When 2 white balls picked, the balls will be replaced and experiment repeated. Otherwise stop the experiment. What is the expected number of repetations?

3 Answers

Best answer
2 2 votes

Probability to get 2 white = p = 3C2/ 5C2 = 3/10.

Probability to get any other combination other then 2 white = q  = 1-3/10 = 7/10.

Expected no. of repetations = 0 * q + 1 * pq + 2p2q + 3p3q + ..........................

 =>                                 N =  pq + 2p2q + 3p3q + 4p4q......................................... (A)

                                    pN =           p2q + 2p3q + 3p4q...........................................(B)


After doing A)-(B),     (1-p)N = pq +  p2q + p3q + p4q...........................

             =>              (1-p)N = pq ( 1 + p + p2 + p3 + ...................... to infinte term)                   // p<1, 

             =>              (1-p)N = (pq) / (1-p)

                                     N = pq / (1-p)2

                                     N =  (3 * 7) / (7 * 7)

                                     N = 3/7           
 

• selected by
2 2 votes
Let $X$ be a r.v. denoting the number of repetitions of the experiment. Then, $X$ can have values $0,1,2,...$

Probability that the experiment is repeated $0$ times (i.e., not repeated at all) is given by $p(nr)=\frac{1}{10}+\frac{3}{10}+\frac{3}{10}=\frac{7}{10}$ This is obtained by summing up the three possibilities of not getting 2 white balls - either both red, or 1st red, 2nd white or 1st white, 2nd red.

That means, the whole exercise would be repeated with a probability of $\frac{3}{10}$.

Expected number of repeats is given by $E(X)=(0*\frac{7}{10})+(1*\frac{3}{10})+(2*(\frac{3}{10})^2)+...$

That is, $E(X)=\sum_{x=1}^{\infty}x(\frac{3}{10})^x$

This is an infinite G.P. with sum given by $\frac{\frac{3}{10}}{1-\frac{3}{10}}=\frac{3}{7}$

The expected number of repeats would be 1.
1 1 vote

probability of repeating (1 case : WW) = $\frac{3}{5}*\frac{2}{4}$ = $\frac{3}{10}$ = q

probability of stop (3 cases : RR+WR+RW)= $\frac{2}{5}*\frac{1}{4} + \frac{2}{5}*\frac{3}{4} + \frac{3}{5}*\frac{2}{4}$ = $\frac{7}{10}$ = 1 - q = p

Expected repeatation = q/p = 3/7 = $\approx 1$

We can prove $\frac{q}{p}$ result by using $E(repeat)= \sum k*P(k)$ formula. where k = 1,2,3,....

$\\ E = qp + 2q^2p + 3q^3p + ...... \\ \\ E = qp\left ( 1+2q + 3q^2+4q^3 + ... \right )\\ \\ E = qp\left ( \sum_{r=0}^{\infty}\binom{r +1}{r}q^r \right )\\ \\ E = qp\left ( \sum_{r=0}^{\infty}\binom{2 + r -1}{r}q^r \right )\\ \\ E = qp\left ( \frac{1}{(1-q)^2} \right ) \\ \\ E = \frac{qp}{p^2}\\ \\ E = \frac{q}{p}\\ \\ E = \frac{3/10}{7/10}\\ \\ E = 3/7 \approx 1\\$

I think this problem resemblance with expected transmission in network.

• edited by
Position:
Show:

Related questions

1 1 vote
0 0 answers
1.2k
1.2k views
rahul sharma 5 asked Jan 18, 2018
1,224 views
Suppose X and Y are random variables such thatE(X) = 1, Var (X) = 1, E(Y) = 2, Var (Y) = 2, Cov (X, Y) = 1By using above values the following expressions are evaluated(i)...
1 1 vote
1 1 answer
1.3k
1.3k views
Hardik Vagadia asked Dec 17, 2016
1,308 views
Suppose that the expectation of a random variable X is 5. Which of the following statements is true?(A) - There is a sample point at which the X has the value 5.(B) - The...
13 13 votes
1 1 answer
1.3k
1.3k views
GO Classes asked May 5
1,282 views
A machine produces a random score $T$ between $0$ and $2$ with probability density function $$f(t)= \begin{cases}\frac{3t^2}{8}, & \text { if } 0<t<2 \\\\ 0, & \text { ot...
6 6 votes
1 1 answer
534
534 views
GO Classes asked May 5
534 views
Let $X$ be a continuous random variable on $[0,1]$ with probability density function $f(x)=3x^2$ for $0\le x\le 1$ and $0$ otherwise. Let $Y=\log_e(1+X^3)$. Find the expe...