Random Walk of Two Drunks

The one-dimensional random walk is a key foundational concept in statistical physics which crops up in a variety of situations, albeit normally with far more dimensions. This light-hearted question which is circling amongst statistical physics professors serves as a good introduction to random walks.

If you were set this as a homework and were struggling with where to go, about now would be a good time to pat yourself on the back.


Two persons each move in a one-dimensional random walk. The properties of the random walks are identical for the two, that is, each takes a forward step with probability and a backward step with probability . The steps are of equal size and are taken at the same times. Given that the two start their random walk at the same location, what is the probability that they meet back at that location after they have each taken steps? Assume each direction has an equal probability (i.e. ).


At any given point, the displacement from the origin will be : $$D = x-(N-x)$$where is the number of steps right and the total number of steps.

Thus we can write \begin{equation} D=2x-N \label{eq:D} \end{equation}

The probability of having taken steps to the right after steps is Binomial: $$P_N(x)=\frac{N!}{x!(N-x)!}p^xq^{N-x}$$

In terms of displacement , from \eqref{eq:D} we find: , and .

Therefore we can rewrite the probability in terms of and :

$$ P_N(x)=\frac{N!}{\left(\frac{D+N}{2}\right)! \left(\frac{N-D}{2}\right)!}p^{\frac{D+N}{2}}q^{\frac{N-D}{2}}$$

For the given situation, , the total number of steps is for each drunk, giving in total, and the displacement must be zero, since they are said to meet.1 This gives us

$$P_{2N}(x=\frac N2)=\frac{(2N)!}{\left(\left(\frac{2N}{2}\right)!\right)^2}p^Nq^N=\frac{(2N)!}{N!^2}p^Nq^N$$ $$=\frac{(2N)!}{(2^N N!)^2}$$

So the probability of the two drunks meeting again after N staggers is .

  1. That is, back at the origin. Many thanks to David Rinaldi for pointing that out (and querying the respective notation, now updated). []