Expected time to expand a random-walk range Created 2026-10-05 Updated 2026-10-06
For a simple symmetric random walk on the integers, let be the first time that distinct vertices have been visited. The visited set is an interval, and at the walk is at an endpoint. The Strong Markov property turns the time to add one vertex into gambler's ruin between the two immediately exterior vertices, starting one step from a boundary. The expected duration of symmetric gambler's ruin is therefore . This also holds at .
Past exam of the mathematics course of the University of Cambridge 2015 ia Paper 2 9F Solution Created 2026-09-24 Updated 2026-10-06
Let and measure Lionel's fortune in unit stakes. This is gambler's ruin: the fortune moves by with probability and with probability , stopping at or . Let be the expected value of the absorption time starting at . It is finite: from any interior state, a run of wins or losses has a fixed positive probability of absorption within steps, giving a geometric bound on survival over successive blocks. First-step analysis therefore givesFor , the homogeneous solution of the recurrence is , and a particular solution is . Put . Imposing the two endpoint boundary conditions gives the expected duration of biased gambler's ruinConsequently the expected number of games isThe denominator and numerator have matching signs, so this is positive. As a check its continuous limit at is , the expected duration of symmetric gambler's ruin.
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 2 12F a Solution Created 2026-09-24 Updated 2026-10-05
Write and . The expected duration of symmetric gambler's ruin satisfies and, by conditioning on the first step,These expected values are finite: from any interior state, consecutive right steps ensure absorption, an event of probability at least . Blocks of steps therefore bound the survival probability by a decreasing geometric sequence. The candidate has the required boundary values and satisfies . HenceFor completeness, the difference of two solutions of this linear recurrence relation has zero second difference and is affine in ; its two zero boundary values force it to vanish.
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 2 12F b Solution Created 2026-09-24 Updated 2026-10-05
The vertices visited by a simple symmetric random walk form an integer interval: nearest-neighbour steps cannot skip a vertex. At the stopping time , write that interval as , with . The walk is at one of its endpoints, because the th new vertex must extend the earlier interval. This also covers , when both endpoints coincide.
The Strong Markov property restarts the walk from this endpoint. Visiting a new vertex is exactly exiting , or reaching or . Translate these absorbing boundaries to . The starting point becomes either or , so the expected duration of symmetric gambler's ruin is in both cases. Taking conditional expectations and then expected values gives the expected time to expand a random-walk range: