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
Answered by Noah O. Further Mathematics tutor

2287 Views

See similar Further Mathematics A Level tutors

Related Further Mathematics A Level answers

All answers ▸

How do you calculate the derivative of cos inverse x?


Find the eigenvalues and eigenvectors of the following 3x3 matrix (reading left to right, top to bottom): (1 0 2 3 1 1 2 0 1)


When using the method of partial fractions how do you choose what type of numerator to use and how do you know how many partial fractions there are?


Find the general solution to the differential equation y'' + 4y' + 3y = 6e^(2x) [where y' is dy/dx and y'' is d^2 y/ dx^2]


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning