Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

What is the formula for the expected value of a geometric random variable?

Answer
VerifiedVerified
442.2k+ views
like imagedislike image
Hint: To derive the formula for the expected value of a geometric random variable, we have to consider a random variable X that has the values x1,x2,... with corresponding probability P(x1),P(x2),... . We know that the expected value of the random variable (also known as mean) is given by E(X)=XP(X) . Now, we have to expand the sum and substitute P(X=x)=(1p)x1p... in it. Then, we have to simplify and multiply (1p) to the result. Then, we have to subtract this result from the previous result and simplify. Finally, we will get a geometric series and we have to simplify it using the sum to infinite formula of a GP.

Complete step-by-step answer:
Let us first see what is meant by expected value. Let us consider a random variable X that has the values x1,x2,... with corresponding probability P(x1),P(x2),... , then the expected value of the random variable (mean) is given by:
E(X)=XP(X)
Let us expand the sum.
E(X)=1P(X=1)+2P(X=2)+3P(X=3)+.... ...(i)
We know that geometric distribution states that the probability that first success appears after x number of trials. Let us consider p to be the probability of success or failure of each trial. Then, the probability that success appears on the xth trial is given by
P(X=x)=(1p)x1p...
Let us substitute the above result equation (i).
E(X)=1(1p)11p+2(1p)21p+3(1p)31p+....E(X)=1p+2(1p)p+3(1p)2p+....E(X)=p+2p(1p)+3p(1p)2+.... ...(ii)
Let us multiply equation (ii) (1p) times.
(1p)E(X)=p(1p)+2p(1p)2+3p(1p)3+.... ...(iii)
Now, we have to subtract equation (iii) from (ii).
E(X)(1p)E(X)=p+2p(1p)+3p(1p)2+....[p(1p)+2p(1p)2+3p(1p)3+....]
We have to rearrange the terms.
E(X)(1p)E(X)=p+2p(1p)p(1p)+3p(1p)22p(1p)2+....
Now, let us perform the subtraction.
E(X)(1p)E(X)=p+p(1p)+p(1p)2+....
We have to simplify the LHS by using distributive property.
E(X)E(X)+pE(X)=p+p(1p)+p(1p)2+....pE(X)=p+p(1p)+p(1p)2+....
Let us take p outside from the RHS.
pE(X)=p[1+(1p)+(1p)2+....]
We can now cancel p from both the sides.
E(X)=1+(1p)+(1p)2+.... ...(iv)
Now, we can see that the RHS is a geometric progression (GP). We have to find the common ratio, r. For this, we have to divide the second term by the first term or divide the third term by the second term. Either way, we have get the same value of r.
r=(1p)1=(1p)
We know that sum to infinity of a geometric progression is given by the formula
S=a1r;1<r<1
Where a is the first term of the GP. From the RHS of equation (iv), we can see that a=1 . Therefore, we can write the RHS of equation (iv) as
E(X)=11(1p)
Let us simplify the denominator of the RHS.
E(X)=111+pE(X)=1p
Hence, the formula for the expected value of a geometric random variable is E(X)=1p .

Note: Students must know the general formula of probability to derive the expectation. Expectation of a geometric random variable is also known as the mean μ . Students must know to find the common ratio of a GP and also must be very thorough with the formulas related to the GP. We have obtained a geometric progression during the derivation. This is the reason we call geometric random variables.