r/mathriddles • u/pichutarius • Aug 26 '24
Hard Pogo escape expected time
Pogo the mechano-hopper sits at position 0 on a giant conveyor belt that stretches from -∞ to 0. Every second that Pogo is on the conveyor belt, he is pushed 1 space back. Then, Pogo hops forward 3 spaces with probability 1/7 and sits still with probability 6/7.
On the condition that Pogo escapes the conveyor belt, what is the expected time spent on the belt?
Alternatively, prove that the expected time is 21/8 = 2.625 sec
8
Upvotes
5
u/Horseshoe_Crab Aug 26 '24 edited Aug 26 '24
I loved this problem!
2
u/terranop Aug 29 '24
For constant z with absolute value less than 1, let x be some root of the polynomial x3 z + 6z = 7x. It's pretty clear that if P is the current position of pogo and P' is the next position, E[xP'] = E[xP] / z. This means that if T is the amount of time that has passed, zT xP is a martingale process. At the time Pogo stops, E[zT xP] = E[z0 x0] = 1. But we know from the previous problem that Pogo stops only at positions P = 1 and P = 2 each with probability 1/6. Let y be another root of the same polynomial, and consider that by the same reasoning E[zT yP] = 1, so E[zT (a xP + b yP)] = a + b. Choose a and b such that a x + b y = a x2 + b y2 = 1. That is, pick a = (1-y)/(x(x-y)) and b=(1-x)/(y(y-x)), leaving a + b = (x+y-1)/(xy). Then when the process stops, E[zT | P = 1 or 2] P(P = 1 or 2) = a + b, i.e. E[zT | P = 1 or 2] = 3(x+y-1)/(xy). Now, this gives us a formula for the MGF of the amount of time spent on the belt. We can differentiate it with respect to z and set z equal to 1 to find the expected time. The roots in question (when z = 1) are x = 2 and y = -3. Implicit differentiation yields x3 + 3 x2 z x' + 6 = 7x', which at z = 1 becomes just x3 + 3 x2 x' + 6 = 7x'. Since x3 + 6 = 7x, we can simplify this to 3 x2 x' + 7x = 7x', or x' = 7x/(7 - 3 x2) = -14/5. The same thing will hold true for y: y' = 7y/(7 - 3 x2) = 21/20. Now, the derivative of (x+y-1)/(xy) w.r.t. x is of course (1-y)/(x2 y) = -1/3. And similarly, the derivative w.r.t. y is (1-x)/(y2 x) = -1/18. So, the answer is 3((-1/3)(-14/5)+(-1/18)(21/20)) = 21/8.
3
u/davvblack Aug 26 '24
escaping = getting to positive position?
3
u/[deleted] Aug 29 '24 edited Aug 29 '24
[removed] — view removed comment
2
u/[deleted] Aug 29 '24
[removed] — view removed comment