A marker starts at on a number line, and at each step it moves one unit right with probability or one unit left with probability . Where is it likely to be after four steps, and how far does it tend to stray from its average position? One step is easy to describe, but the position after many steps depends on the whole history of steps. This lesson builds the simple random walk from its steps, ties its position to a binomial count, finds its drift and variance, and separates events about paths, endpoints and visits.
Key terms
Simple random walk
Definition Let , and let be mutually independent random variables with
for every . The variable is the increment, or step, at time . Starting from a fixed integer , the simple random walk is the process given by
Each step moves the walk to a neighboring integer. More generally, the increment of the walk from time to time is , and increments over disjoint blocks of steps are independent. On this page the walk starts at unless a different start is named. When the walk is called symmetric, and some books reserve the name simple random walk for that case.
In plain words At each step the walk moves one unit right or one unit left, with the same chances every time and independently of all earlier steps. The position is the starting point plus the running total of the steps.
Example With , the increments , , , give the positions , , , after steps to . The increment over steps and is .
Position
Definition The position after steps is . For a walk started at , let be the number of right steps among the first . Then there are left steps, , and , that is,
Hence, for each integer with ,
and every other value has probability . For the increment depends only on , so it is independent of the earlier positions . The positions and themselves are dependent, because contains . A walk started at a fixed integer has every position shifted by .
In plain words To find a position probability, translate the position into the number of right steps it needs, then use the binomial formula. The steps are independent, but the positions are not, since each position contains all earlier steps.
Example With , the four-step positions and their probabilities are below. They add to .
| Right steps | Position | Probability |
|---|---|---|
A return to needs two right and two left steps, in one of orders, each with probability . Dependence shows up quickly. The event has probability , and given it the first step must have gone right, so , while .
Drift
Definition The drift of a simple random walk is the expected increment
By linearity of expectation, a walk with fixed start has . The drift is positive when , zero when and negative when .
In plain words The drift is the average movement per step, and steps move the mean position by times the drift. It describes the average over all possible walks, not the course of any one walk. A walk with positive drift can still end at or to the left of its start.
Example With the drift is , so a walk started at has . Yet happens exactly when at most five of the ten steps go right, which has probability about . Starting at instead of moves the mean position after ten steps to .
Variance of a random walk
Definition Each increment satisfies , so
Because the increments are independent, their variances add, and a walk with fixed start has
and . The same result follows from , since . For the shared steps give . Without independent increments the variance of the sum would also need covariance terms, and a random start would add its own variance and twice its covariance with the sum of the steps.
In plain words The spread of the position grows with the number of steps, and the standard deviation grows like . Zero drift does not mean the walk stays near its start. It means the mean position stays at the start while the spread keeps growing. If every step were forced, with equal to or , the formula would correctly give variance .
Example With and ten steps, and , which is large compared with the mean . Moving the start from to leaves the variance at . For the symmetric walk with four steps, the drift is and . Its positions , , , and have probabilities , , , and , so the walk is back at with probability only .
Parity restriction
Definition For a walk started at , the position has the same parity as , which means that is even. Also . So unless is an integer with and even, and since , every such has positive probability. The support of is . For a walk started at , the same statements hold for the displacement .
In plain words Every step changes the position by one, so the position switches between even and odd at each step. If solving for the number of right steps gives a non-integer, or a value outside to , the position is impossible, and the value of should not be rounded.
Example With , returning to after two steps needs one right and one left step in either order, with probability . A return to after three steps would need right steps, so . Position after five steps needs , which gives
Path probability
Definition A path of length is a sequence of steps with each equal to or , or equivalently the sequence of positions it produces. If the path has right steps, independence gives
The endpoint event is the union of the disjoint events for the paths that end at , and all of those paths have the same number of right steps, so its probability is their number times this common probability. The event that for some with is a visit event. It contains the endpoint event, together with any paths that reach before step and end elsewhere.
In plain words A path records the whole history, while an endpoint keeps only the final position. Several paths can end at the same position, so an endpoint probability is a sum of path probabilities. Visiting a position during the first steps and ending there at step are in general different events, and the visit probability needs information about the whole path, not only its last position.
Example With , the path RLRR, meaning right, left, right, right, has probability and ends at . The paths that end at are RRRL, RRLR, RLRR and LRRR, each with exactly one left step, so . The path RRLL visits at step and ends at , so it belongs to the visit event for position but not to the endpoint event.
Check yourself
- For the walk with started at , find the mean and the variance of and the probability that the walk is at position after six steps.
Show the answer
The drift is , so . Each step has variance , so . Position after six steps needs all six steps to go right, which has probability .
- For the same walk, find , and decide whether the walk can be at position after six steps.
Show the answer
Position needs , so right steps. There are orders, each with probability , so
Position would need , so , which is not an integer. After an even number of steps the position is even, so . Rounding to or would answer a question about position or instead.
- For the same walk, a classmate claims that the probability of visiting position at some time during the first four steps equals . Find the visit probability and explain the difference.
Show the answer
By parity the walk can be at only at an even time, so within four steps it visits exactly when , or when and the next two steps both go right. A walk at after two steps cannot reach by step . The event has probability . The event has probability , and steps and are independent of it, so the second case has probability . The two cases are disjoint, so the visit probability is
Every path that ends at visits , but the visit event also contains the paths RRLL and RRRR, which pass through and end at or . Their probabilities and account for the difference , so the classmate’s claim is wrong.