Skip to content

Visits to 1000 before 0 for a walk started at 5

Question

A simple symmetric random walk on the integers starts at 55; each step moves +1+1 or −1-1 with probability 12\tfrac12. What is the expected number of times the walk is at 10001000 before it first reaches 00?

Short answer

1010. By the gambler's ruin formula the walk reaches 1000 before 0 with probability 51000\tfrac5{1000}. From 1000, it comes back before hitting 0 with probability 12+12⋅9991000=1−12000\tfrac12+\tfrac12\cdot\tfrac{999}{1000}=1-\tfrac1{2000}, so the number of visits is geometric with mean 2000. The answer is 51000⋅2000=10\tfrac{5}{1000}\cdot2000=10.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

Start with a free lesson: Expectation, Variance and Covariance is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.

Read it free