HardStochastic ProcessesAcceptance 57%

Random Walk — Expected Steps

Jane StreetTwo Sigma

A symmetric random walk starts at 3 and stops when it hits 0 or 10 (each step ±1, equally likely). What is the expected number of steps until it stops?

Approach

Expected absorption time satisfies Ek=1+12Ek−1+12Ek+1E_k = 1 + \tfrac12 E_{k-1} + \tfrac12 E_{k+1}.

The solution is k(N−k)k(N-k).

Answer

Show the final answer

The answer is 21. Sign in free for the full worked solution and to check your own answer.

Related problems

More in Stochastic Processes.