Probability & Statistics

The Drunk on the Bridge

From metre 17 of a 100-metre bridge a symmetric one-metre walk exits the far end with probability 17/100 and takes 17 times 83 = 1411 expected steps to leave. The stopped martingale gives the exit law and the quadratic martingale gives the wait.

solvedmedium1 min

A drunk man stands at the 17th metre of a 100-metre bridge. Each step he staggers one metre forward or one metre back, each with probability 12\tfrac{1}{2}, until he either falls off the near end (metre 00) or reaches the far end (metre 100100). What is the probability he reaches the far end, and what is the expected number of steps he takes before leaving the bridge?

Reveal solutionHide solution

#A fair walk between two cliffs

His position is a symmetric random walk on {0,1,,100}\{0, 1, \dots, 100\}, moving up or down one with equal chance, absorbing at both 00 and 100100.

#The hitting probability is linear

Let h(x)h(x) be the probability of reaching 100100 before 00 from position xx. It satisfies h(0)=0h(0) = 0, h(100)=1h(100) = 1, and the averaging rule h(x)=12h(x+1)+12h(x1)h(x) = \tfrac{1}{2}h(x+1) + \tfrac{1}{2}h(x-1), which forces hh to be linear. Hence h(x)=x100h(x) = \tfrac{x}{100} and

P(reaches the far end)=h(17)=17100.(1)\PP(\text{reaches the far end}) = h(17) = \frac{17}{100}. \tag{1}
10
you0100
A fair walk makes the chance of reaching the far end linear in the start, so from the 17th meter of a 100-meter bridge the walker reaches the end with probability 17/100.

#The expected wandering time

Let T(x)T(x) be the expected number of steps to absorption. It satisfies T(0)=T(100)=0T(0) = T(100) = 0 and T(x)=1+12T(x+1)+12T(x1)T(x) = 1 + \tfrac{1}{2}T(x+1) + \tfrac{1}{2}T(x-1), that is T(x+1)2T(x)+T(x1)=2T(x+1) - 2T(x) + T(x-1) = -2. The quadratic T(x)=x(100x)T(x) = x(100 - x) has constant second difference 2-2 and vanishes at both ends, so

E[steps]=T(17)=1783=1411.(2)\E[\text{steps}] = T(17) = 17 \cdot 83 = 1411. \tag{2}

#Slim odds, long wander

He reaches the far end only 1717 times in 100100, since the head start of 1717 metres against a fall is small. Yet he is expected to wander 14111411 steps first, because a fair walk drifts nowhere and dawdles near the middle for a long time before either edge claims him.