Quant Memo
Probability/●●●●

Expected time for a random walk to exit an interval

Asked at HRT, Jump Trading

A simple symmetric random walk starts at 00 and takes ±1\pm 1 steps with probability 12\tfrac12 each. It stops upon reaching a-a or +b+b (with a,b>0a, b > 0 integers).

What is the expected number of steps until the walk stops?

Show a hint

Either solve the recurrence Tx=1+12Tx1+12Tx+1T_x = 1 + \tfrac12 T_{x-1} + \tfrac12 T_{x+1}, or find a function of (St,t)(S_t, t) that is a martingale.

Your answer

More Probability questions