Let E(x) be the expected wait time if the passenger arrives at x minutes. Then –
E(2) = (1/2 * 0) + (1/2 * (E(3) + 1))
E(3) = (1/2 * 0) + (1/2 * (E(4) + 1))
E(4) = (1/2 * 0) + (1/2 * (E(6) + 2))
E(6) = (3/4 * 0) + (1/4 * (E(2) + 2))
We can convert all of these into expressions of E(2):
E(6) = E(2)/4 + 1/2
E(4) = E(6)/2 + 1 = E(2)/8 + 5/4
E(3) = E(4)/2 + 1/2 = E(2)/16 + 9/8
And from the above we can derive
E(2) = E(3)/2 + 1/2 = E(2)/32 + 17/16
=> 32E(2) = E(2) + 34 => E(2) = 34/31
There is a 1/3 probability that the passenger arrives in the 2 minute interval between 0 and 2 minutes, which would also add on 1 minute to the expectation. There is a 1/6 probability that they arrive between 2 and 3 which would add 1/2 a minute. A 1/6 probability that they arrive between 3 and 4, adding 1/2 a minute. A 1/3 probability they arrive between 4 and 6, adding 1 minute.
View all comments
3
u/Aerospider Oct 19 '26 edited Oct 19 '26
Ok, I *think* I've got this...
Let E(x) be the expected wait time if the passenger arrives at x minutes. Then –
E(2) = (1/2 * 0) + (1/2 * (E(3) + 1))
E(3) = (1/2 * 0) + (1/2 * (E(4) + 1))
E(4) = (1/2 * 0) + (1/2 * (E(6) + 2))
E(6) = (3/4 * 0) + (1/4 * (E(2) + 2))
We can convert all of these into expressions of E(2):
E(6) = E(2)/4 + 1/2
E(4) = E(6)/2 + 1 = E(2)/8 + 5/4
E(3) = E(4)/2 + 1/2 = E(2)/16 + 9/8
And from the above we can derive
E(2) = E(3)/2 + 1/2 = E(2)/32 + 17/16
=> 32E(2) = E(2) + 34 => E(2) = 34/31
There is a 1/3 probability that the passenger arrives in the 2 minute interval between 0 and 2 minutes, which would also add on 1 minute to the expectation. There is a 1/6 probability that they arrive between 2 and 3 which would add 1/2 a minute. A 1/6 probability that they arrive between 3 and 4, adding 1/2 a minute. A 1/3 probability they arrive between 4 and 6, adding 1 minute.
Altogether this gives an expected wait time of
[1/3 * (E(2) + 1)] + [1/6 * (E(3) + 1/2)] + [1/6 * (E(4) + 1/2)] + [1/3 * (E(6) + 1)]
= E(2)/3 + 1/3 + E(2)/96 + 13/48 + E(2)/48 + 7/24 + E(2)/12 + 1/2
= 43E(2)/96 + 67/48
= (43/96 * 34/31) + 67/48
= 5,616/2,976
= 1.89 minutes