Solveeit Logo

Question

Question: A bag contains a coin of value M, and a number of other coins whose aggregate value is m. A person d...

A bag contains a coin of value M, and a number of other coins whose aggregate value is m. A person draws one at a time till he draws the coin M: find the value of his expectation.

Explanation

Solution

In this question we are going to find out the expectation value of the person till he draws the coin MM. Firstly we will find out the number of coins present in the bag and then find the probability for drawing the first, second and third coin till he gets the coin having value MM. And then we will add all the probability to get the value of his expectation using formulas of arithmetic progression and logic. And the formula is listed below.

Forumula used: Formula of probability of successive n draws = probability of 1st{1^{st}}draw ×\times probability of 2nd{2^{nd}} draw ×\times probability of 3rd{3^{rd}} draw ×\times ……………………..×\times Probability of nth{n^{th}} draw.

Sum of n terms in an AP = n(n+1)2\dfrac{{n(n + 1)}}{2}

Probability of occurring the event + Probability of not occurring the event =1

Complete step-by-step solution:

First we will find out the number of coins in the bag.

According to question a bag coin of value MM means there is 1 coin of having MM value,

And there are number of coins whose aggregate value is mm

Let assume there are kk coins which have an aggregate value as mm.

So, one is the coin which has value MM and other is kk coins whose aggregate value is m

So, from the above results the total number of coins in the bag is (k+1).

Since kk coins having aggregate value as mm, so using unitary method calculation the value of 1 coin,

Value of one 1 coin will be = mk\dfrac{m}{k}

Now, we are going to find out the probability for successive draws till (k+1) to get the expectation value

For 1st{1^{st}} draw the probability = probability getting coin of MM value = number of coin having MM value divided by the total number of coins in bag

We get,

Probability of 1st{1^{st}} draw =1k+1\dfrac{1}{k+1} ---------- [1]

Now, we will calculate the probability of getting coin of MM value at 2nd{2^{nd}} draw = Probability of not getting coin of value MM in 1st{1^{st}} draw ×\times probability of getting coin of value MM in 2nd{2^{nd}} draw

Now, the number of coins are kk, but in first draw the number of coins will be (k+1)(k+1),

So we get using formula stated above

Probability of not getting coin of value MM will be = (11k+1)(1 - \dfrac{1}{{k + 1}})

And probability of getting coin of value MM will be = 1k\dfrac{1}{k}

So by multiplying above two expressions we get,

Probability of getting coin of value MM in 2nd{2^{nd}}draw = (11k+1)1k(1 - \dfrac{1}{{k + 1}})\dfrac{1}{k}

Taking LCM we get,

=(kk+1)1k\left( {\dfrac{k}{{k + 1}}} \right)\dfrac{1}{k}

Dividing numerator and denominator by kk we get,

=(1k+1)\left( {\dfrac{1}{{k + 1}}} \right) --------------- [2]

Now, we will calculate the probability of getting coin of MM value at 3rd{3^{rd}} draw = Probability of not getting it in 1st{1^{st}} draw ×\times probability of not getting it in 2nd{2^{nd}}draw ×\times probability of getting coin of value MM in 3rd{3^{rd}} draw

Now, the number of coin in3rd{3^{rd}} draw will (k1)(k-1), but in the first and second draw the number of coins will be (k+1)(k+1) and kk respectively

Probability of not getting coin of value MM will be = (11k+1)(1 - \dfrac{1}{{k + 1}})

Probability of not getting coin of value MM will be = (11k)(1 - \dfrac{1}{k})

Probability of getting coin of value MM will be = 1(k1)\dfrac{1}{{(k - 1)}}

So, multiplying above three expressions we get,

Probability of getting coin of value in 3rd{3^{rd}} draw = (11k+1)(11k)(1k1)(1 - \dfrac{1}{{k + 1}})(1 - \dfrac{1}{k})(\dfrac{1}{{k - 1}})

Taking LCM in above term we get,

=(kk+1)(k1k)(1k1)(\dfrac{k}{{k + 1}})(\dfrac{{k - 1}}{k})(\dfrac{1}{{k - 1}})

Dividing numerator and denominator by (k1)(k-1) and kk we get,

=1(k+1)\dfrac{1}{{(k + 1)}}

Now we will calculate the probability of getting coin of value MM in (k+1)th{(k + 1)^{th}} draw = = Probability of not getting it in 1st{1^{st}} draw ×\times probability of not getting it in 2nd{2^{nd}}draw ×\times probability of not getting coin of value MM in 3rd{3^{rd}} draw ×\times……………………………………………………………..×\times Probability of getting coin of value MM in (k+1)th{(k + 1)^{th}}draw

Probability of not getting coin of value MM in1st{1^{st}}draw will be = (11k+1)(1 - \dfrac{1}{{k + 1}})

Probability of not getting coin of value MM in 2nd{2^{nd}}draw will be = (11k)(1 - \dfrac{1}{k})

Probability of not getting coin of value MM in 3rd{3^{rd}}draw will be = (11k1)\left( {1 - \dfrac{1}{{k - 1}}} \right)

Probability of getting coin of value MM in (k+1)th{(k + 1)^{th}}draw will be = 1(k+1)\dfrac{1}{{(k + 1)}}-------- [3]

So now we will calculate the expectation value = Value in 1st{1^{st}}draw + Value in 2nd{2^{nd}} draw + Value in 3rd{3^{rd}} draw + …………………………………………..+ Value in (k+1)th{(k + 1)^{th}}draw

Value in 1st{1^{st}} draw = M(1k+1)M(\dfrac{1}{{k + 1}}) -------- from equation [1]

Value in 2nd{2^{nd}}draw =(1k+1)(M+mk)(\dfrac{1}{{k + 1}})\left( {M + \dfrac{m}{k}} \right) from above stated value of mm term and from equation [2]

Value in 3rd{3^{rd}}draw = (1k+1)(M+2mk)(\dfrac{1}{{k + 1}})\left( {M + \dfrac{{2m}}{k}} \right) --------- from equation [3]

Value in (k+1)th{(k + 1)^{th}} draw = (1k+1)(M+kmk)(\dfrac{1}{{k + 1}})\left( {M + \dfrac{{km}}{k}} \right)

Now, adding above expression to get the expectation value

We get,

=(1k+1)(M)+(1k+1)(M+mk)+(1k+1)(M+2mk)+............................+(1k+1)(M+kmk)(\dfrac{1}{{k + 1}})\left( M \right) + (\dfrac{1}{{k + 1}})(M + \dfrac{m}{k}) + (\dfrac{1}{{k + 1}})(M + \dfrac{{2m}}{k}) + ............................ + (\dfrac{1}{{k + 1}})(M + \dfrac{{km}}{k})

Taking common 1(k+1)\dfrac{1}{{(k + 1)}} from above equation we get,

=(1k+1)(M+(M+mk)+(M+2mk)+............................+(M+kmk))(\dfrac{1}{{k + 1}})(M + (M + \dfrac{m}{k}) + (M + \dfrac{{2m}}{k}) + ............................ + (M + \dfrac{{km}}{k}))

Now In above equation we know that M is repeated (k+1)th{(k + 1)^{th}} times so above equation becomes

=(1k+1)(M(k+1)+mk+2mk+............................+kmk)(\dfrac{1}{{k + 1}})(M(k + 1) + \dfrac{m}{k} + \dfrac{{2m}}{k} + ............................ + \dfrac{{km}}{k})

Taking mk\dfrac{m}{k} in above expression we get,

=(1k+1)(M(k+1)+mk(1+2+3+....................+k))(\dfrac{1}{{k + 1}})(M(k + 1) + \dfrac{m}{k}(1 + 2 + 3 + .................... + k))

Since the formula for sum of nn terms is stated above the sum of kk term will be k(k+1)2\dfrac{{k(k + 1)}}{2}

Putting the value of sum ok kk terms we get,

=(1k+1)(M(k+1)+mk(k(k+1)2)(\dfrac{1}{{k + 1}})(M(k + 1) + \dfrac{m}{k}(\dfrac{{k(k + 1)}}{2})

Multiplying (k+1)(k+1) in the expression we get,

=(M(k+1)(k+1)+mk((k+1)k(k+1)2)(M\dfrac{{(k + 1)}}{{(k + 1)}} + \dfrac{m}{k}(\dfrac{{}}{{(k + 1)}}\dfrac{{k(k + 1)}}{2})

Dividing numerator and denominator by (K+1) we get,

=(M+m2)\left( {M + \dfrac{m}{2}} \right)

Hence the value of his expectation will be (M+m2)\left( {M + \dfrac{m}{2}} \right).

Note:

By seeing the question, we must figure out what method and which formula we should use to calculate to find the desired output. For this type of question you must check given terms and what should be found out.

Use a proper formula for finding out the probability for successive events drawn and the sum of the n term in an AP and to where it should apply.