Random Walks

Processes built from repeated random steps, modeled with transition matrices, absorbing boundaries, and diffusion-like spread.

Simple random walk: each step is +1 or -1 with probability 1/2
one path ends at -8sample pathsfinal positions-12-8-404812

Individual paths wiggle, but after many steps the endpoints cluster near the center and spread out like the square root of time.

Definition

A random walk is a process that moves by taking random steps. The simplest version starts at position X0=0X_0 = 0 and, at each time step, moves either +1+1 or βˆ’1-1:

Xt+1=Xt+ΞΎt+1,P(ΞΎt+1=1)=P(ΞΎt+1=βˆ’1)=12X_{t+1} = X_t + \xi_{t+1}, \qquad P(\xi_{t+1}=1)=P(\xi_{t+1}=-1)=\frac12

The individual steps are unpredictable, but the distribution of the position becomes predictable. After many steps, most paths remain near 00, while a few wander far away. That is the central tension: random locally, structured statistically.

Gambler's ruin

A gambler starts with 1010 dollars and repeatedly bets 11 dollar on a fair coin. Heads increases their money by 11; tails decreases it by 11. The game stops at 00 dollars or 2020 dollars. This is a random walk with absorbing boundaries.

By symmetry, starting at 1010 gives a 50%50\% chance of reaching 2020 before 00. Starting at ii dollars gives probability i20\frac{i}{20} of reaching 2020 first.

Try it

In a fair random walk, why is E[Xt]=0E[X_t] = 0 for every tt?

Solution

Each step has expected value E[ΞΎi]=1β‹…12+(βˆ’1)β‹…12=0E[\xi_i] = 1\cdot\frac12 + (-1)\cdot\frac12 = 0. Since Xt=ΞΎ1+β‹―+ΞΎtX_t = \xi_1 + \cdots + \xi_t, linearity of expectation gives

E[Xt]=E[ΞΎ1]+β‹―+E[ΞΎt]=0.E[X_t] = E[\xi_1] + \cdots + E[\xi_t] = 0.

The walk spreads out over time, but it does not drift upward or downward on average.

Related concepts