You have three keys in your pocket which you extract in a random way to unlock a lock. Assume that exactly one key opens the door when you pick it out of your pocket. Find the expectation value of the number of times you need to pick out a key to unlock.

Let X be the random variable for this question. P(X=x) = 1/3 for all x. When X=x, we have that it took x times for us to retrieve the correct key.Thus, we have the infinite sum 1/3 + 22/31/3 + 3*(2/3)^21/3 + ...Factoring out 1/3 we get 1/3(1+2(2/3)+3*(2/3)^2+...)The infinite sum 1 + 2x^2 + 3x^2 can be sequentially written as 1 + x + x^2 + ... + x*(1+x+x^2+...) + x^2*(1+x+x^2+..) + ....which is equivalent to (1-x)^-2. Thus the expectation value is 1/3*(1-2/3)^-2 = 3.

NO

Related Further Mathematics A Level answers

All answers ▸

prove by induction that, f(n) = 2^(3n+1) + 3(5^(2n+1)) is divisible by 17 for all n>0.


Prove by induction that f(n) = 2^(k + 2) + 3^(3k + 1) is divisible by 7 for all positive n.


The roots of the equation z^3 + 2z^2 +3z - 4 = 0, are a, b and c . Show that a^2 + b^2 +c^2 = -2


Prove e^(ix) = cos (x) + isin(x)