You are on the 2nd/top floor of a building and you wish to ride the elevator to the 0th/ground floor. Unfortunately the elevator is dodgy. You enter the lift and the doors behind you close. The lift then proceeds to:
Move up 1 floor.
Move down 1 floor.
Shake violently and then Open the doors.
Each movement lasts 10 seconds and at each floor each possible movement occurs with equal probability. (e.g. the first operation is either the opening of the lift, or moving down 1 floor, each with probability 0.5).
Let P be the probability that the first time the doors open you are on the ground floor.
The doors end up opening first on the ground floor.
Let E be the expected amount of time taken in minutes.
If P = b a for coprime a , b , and E = d c for coprime c , d .
Find a + b + c + d .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This question is also a bit ambiguous. It's not clear if the "if possible" statement means that there is a 33% chance of doing nothing in the case that it is not possible or that the other two cases have a 50% chance of occurring.
Log in to reply
Thanks for the comment. Would saying something like: Does the subset of possible moves from {move up 1, move down 1, open door} with equal probability?
Let A n , B n , and C n be the probability that it takes 2 0 n − 1 0 , 2 0 n , and 2 0 n + 1 0 seconds to reach the ground floor and have the elevator open there from the ground, 1st and 2nd floors respectively. Then
A n = 2 1 B n − 1
B n = 3 1 ( A n + C n − 1 )
C n = 2 1 B n
Solving recursively leads to C n = 3 1 C n − 1 . C 1 = 1 2 1 so C n = 1 2 1 ( 3 1 ) n − 1 . Note that P = ∑ n = 1 ∞ 1 2 1 ( 3 1 ) n − 1 = 8 1 The doors end up opening on the first floor so this becomes C n = 8 1 1 2 1 ( 3 1 ) n − 1 = 3 n 2 . The expected value E is ∑ n = 1 ∞ ( 1 0 + 2 0 n ) ( 3 n 2 ) , which evaluates to 40. This is 3 2 in minutes. 1 + 8 + 2 + 3 is 14, which gives us the desired answer.
Problem Loading...
Note Loading...
Set Loading...
Let P n be the probability the door opens first on the ground floor | given that you are currently on the n t h floor.
P 2 P 1 P 0 = = = 2 1 P 1 3 1 P 2 2 1 P 1 + + + ( 2 1 0 ) 3 1 P 0 2 1 1 + ( 3 1 0 )
Hence, P 1 = 6 1 P 1 + 6 1 P 1 + 6 1 = 3 1 P 1 + 6 1 .
So, 3 2 P 1 = 6 1 ,
P 1 = 4 1 ,
P = P 2 = 8 1 .
The probability of the doors opening after 3 lift-movements requires the lift to go from floor 2 to 1 and 1 to 0 and then opening, and is equal to: 2 1 × 3 1 × 2 1 = 1 2 1 . The probability of the doors opening after 3 + 2 n lift-movements requires the lift to go a combination of floor 1 to 2 and 2 to 1, or floor 0 to 1 and 1 to 0, n times in some order, and the movements previous. This is equal to 1 2 1 × ( 3 1 2 1 + 3 1 2 1 ) n = 1 2 1 × ( 3 1 ) n . Hence the expected amount of movements is 1 + ( expected number of movements over 1 ) = 1 + 8 1 1 2 1 × 2 ∑ n = 0 ∞ n ( 3 1 ) n − 1 = 1 + 8 1 6 1 × ( 2 3 ) 2 = 4 .
E = 6 0 4 0 = 3 2 .
a + b + c + d = 1 + 8 + 2 + 3 = 1 4 .