412 views
1 votes
1 votes
Raju and Rani are playing betting game. Raju rolls a dice and if 5 comes on face then they stop the game, else Raju needs to pay 1 rupee ro Rani and continue rolling. Expected no of rupees Rani gets in this game?

2 Answers

Best answer
5 votes
5 votes
Probability that game stops in $1^{st}$ roll = $\dfrac{1}{6}$. Rani gets Rs. $0$.

Probability that game stops in $2^{nd}$ roll = $\dfrac{5}{6} \times \dfrac{1}{6}$. Rani gets Rs. $1$.

Probability that game stops in $3^{rd}$ roll = $\dfrac{5}{6} \times \dfrac{5}{6} \times  \dfrac{1}{6}$. Rani gets Rs. $2$.

Probability that game stops in $4^{th}$ roll = $\dfrac{5}{6} \times \dfrac{5}{6} \times \dfrac{5}{6} \times \dfrac{1}{6}$. Rani gets Rs. $3$.

and so on .

Thus, expected amount that Rani gets = $0 \times \left (\dfrac{1}{6} \right )+ 1 \times \left (\dfrac{5}{6} \times \dfrac{1}{6}\right ) + 2 \times \left (\dfrac{5}{6} \times \dfrac{5}{6} \times \dfrac{1}{6} \right)+ 3 \times \left(\dfrac{5}{6} \times \dfrac{5}{6} \times \dfrac{5}{6} \times \dfrac{1}{6}\right)$ and so on.

i.e. $0 \times \left (\dfrac{1}{6} \right )+ 1 \times \left (\dfrac{5}{6} \times \dfrac{1}{6}\right ) + 2 \times \left (\dfrac{5}{6} \times \dfrac{5}{6} \times \dfrac{1}{6} \right)+ 3 \times \left(\dfrac{5}{6} \times \dfrac{5}{6} \times \dfrac{5}{6} \times \dfrac{1}{6}\right)+ ... \infty$

$= 1 \times \left(\dfrac{5}{6} \times \dfrac{1}{6}\right) + 2 \times \left(\left(\dfrac{5}{6}\right)^2 \times \dfrac{1}{6}\right) + 3 \times \left(\left(\dfrac{5}{6}\right)^3 \times \dfrac{1}{6}\right)+ ... \infty$

$=\dfrac{5}{6} \times \dfrac{1}{6} \left(1+2 \times \dfrac{5}{6}+3 \times \left(\dfrac{5}{6}\right)^2+4 \times \left(\dfrac{5}{6}\right)^3 +... \infty\right) $

$= \dfrac{5}{6} \times \dfrac{1}{6} \left(1-\dfrac{5}{6}\right)^{-2}$ $\qquad \color{maroon}{ \because \left [ (1-x)^{-2}= 1+2x+3x^2+4x^3+...\infty\right]}$

$= \dfrac{5}{6} \times \dfrac{1}{6} \times \left( 1- \dfrac{5}{6} \right )^{-2}$

$= \dfrac{5}{6} \times \dfrac{1}{6} \times \left( \dfrac{1}{6} \right )^{-2} $

$= \dfrac{5}{6} \times \dfrac{1}{6} \times 36$

$=5$
selected by
3 votes
3 votes

let random variable x represents the amount Rani getting from Raju

p(x=1) = p(getting other than 5) * p(getting 5 as outcome) = $\frac{5}{6}$*$\frac{1}{6}$

p(x=2) = ($\frac{5}{6}$)2 * $\frac{1}{6}$

p(x=3) = ($\frac{5}{6}$)3 * $\frac{1}{6}$

so on

so expected number of rupees rani gets in the game = 1 * $\frac{5}{6}$*$\frac{1}{6}$  +  2 * ($\frac{5}{6}$)2 * $\frac{1}{6}$  +  3 * ($\frac{5}{6}$)3 * $\frac{1}{6}$  +.......$\infty$

                                                                                               = 5

edited by

Related questions

2 votes
2 votes
0 answers
1
toxicdesire asked May 9, 2019
889 views
Which one of the following notations is most relevant for finding the best algorithm for a problem?(A) $o(f(n))$(B) $O(f(n))$(C) $\omega (f(n))$(D) $ \Omega (f(n))$
0 votes
0 votes
0 answers
2
Mayankprakash asked May 7, 2019
300 views
How to check solutions of screening test 1 for gate 2020?
0 votes
0 votes
0 answers
3
ved asked Apr 13, 2019
225 views
Which SDLC model can be used based on Customers feedbackPrototype ModelRAD ModelIterative ModelWaterfall ModelSpiral Model Which SDLC model is better if the customer is a...
0 votes
0 votes
0 answers
4
ved asked Apr 13, 2019
282 views
In Matrix Multiplication Operation Code uses Temporal Locality and Data uses Spatial LocalityData uses Temporal Locality and Code uses Spatial LocalityBoth data and code ...