Tutorials › Stochastic Processes › Defining the Simple Symmetric Walk

Simple Random Walks on the Integers · Tutorial 274 of 994

Defining the Simple Symmetric Walk

Build the simple symmetric walk from independent fair steps and calculate its short sample paths and sequence probabilities.

Intermediate 9 min read

What You'll Learn

  • Define the walk on the integers using independent increments that are equally likely to be plus one or minus one.
  • Compute positions by adding increments successively.
  • Distinguish a step sequence from the positions it generates.
  • Find the probability of a specified finite sequence of steps.
  • Derive the walk’s one-step transition probabilities from its construction.
  • Check probabilities of events described by several short step sequences.

From Independent Steps to a Walk

A random walk turns a sequence of random steps into a process of positions. For the simple symmetric walk on the integers, each step moves exactly one unit to the right or one unit to the left, with equal probability, and each new step is independent of the earlier ones. This simple construction lets us calculate a path one step at a time and find the probability of any specified finite sequence of steps.

Work on the probability space \((\Omega,\mathcal{F},\mathbb{P})\), where \(\Omega=\{-1,+1\}^{\{1,2,\ldots\}}\) is the set of infinite step sequences, \(\mathcal{F}\) is the product sigma-algebra, and \(\mathbb{P}\) is the product probability measure giving each coordinate probability \(\tfrac12\) of either sign. Let \(\xi_k\) be the \(k\)th coordinate, so the random variables \((\xi_k)_{k\ge1}\) are independent and identically distributed, with \(\mathbb{P}(\xi_k=1)=\mathbb{P}(\xi_k=-1)=\tfrac12\). The time index is discrete, \(n\ge0\), the state space is \(S=\mathbb{Z}\), and the walk starts at the origin.

Definition: The simple symmetric walk is the process \((S_n)_{n\ge0}\) defined by \(S_0=0\) and \(S_n=\sum_{k=1}^{n}\xi_k\) for \(n\ge1\). Equivalently, \(S_{n+1}=S_n+\xi_{n+1}\). Its increments are independent, each taking the values \(+1\) and \(-1\) with probability \(\tfrac12\).

The increments \(\xi_k\) are the steps; the values \(S_n\) are the positions after \(n\) steps. A path records positions at successive times, including \(S_0\). Thus a step of \(+1\) adds one to the current position, and a step of \(-1\) subtracts one. The same position can occur at more than one time, because later steps can undo earlier ones.

For conditioning, use the natural filtration \(\mathcal{F}_n=\sigma(\xi_1,\ldots,\xi_n)\), with \(\mathcal{F}_0=\{\varnothing,\Omega\}\). Since \(S_0=0\), this is also the information generated by the positions observed through time \(n\): each position is a sum of the increments, and each increment is the difference \(S_k-S_{k-1}\).

Probabilities of Step Sequences

Theorem: For any \(n\ge1\) and any specified signs \(a_1,\ldots,a_n\in\{-1,+1\}\), the probability that \(\xi_1=a_1,\ldots,\xi_n=a_n\) is \(2^{-n}\). For \(n=0\), the empty sequence occurs with probability \(1\).

Proof. For \(n\ge1\), independence gives \(\mathbb{P}(\xi_1=a_1,\ldots,\xi_n=a_n)=\prod_{k=1}^{n}\mathbb{P}(\xi_k=a_k)\). Each factor is \(\tfrac12\), whether \(a_k=1\) or \(a_k=-1\), so the product is \((\tfrac12)^n=2^{-n}\). The event specifying no increments imposes no restriction on \(\Omega\); it is all of \(\Omega\), with probability \(1\). \(\square\)

This result concerns a fully specified, ordered sequence: it says that a particular sequence of \(n\) steps has probability \(2^{-n}\). If an event allows several sequences, its probability is the sum of their probabilities, because the distinct specified sequences are disjoint events. Each sequence must be counted once, and the same length must be used when assigning its probability.

Worked Example: Computing a Sample Path

Suppose the first six increments are \(+1,-1,+1,+1,-1,-1\). Compute the positions and the probability of this specified six-step sequence.

Start at \(S_0=0\). Add the increments in order:

$$ \begin{aligned} S_1&=0+1=1,\\ S_2&=1-1=0,\\ S_3&=0+1=1,\\ S_4&=1+1=2,\\ S_5&=2-1=1,\\ S_6&=1-1=0. \end{aligned} $$

The resulting path of positions is \((0,1,0,1,2,1,0)\). The sequence has six specified increments, so its probability is \((\tfrac12)^6=\tfrac1{64}\).

Check: The position after six steps is the sum of all six increments, \(1-1+1+1-1-1=0\), which agrees with \(S_6=0\). The path has six transitions between successive positions, and each transition is one of the two possible signs. The sequence probability \(\tfrac1{64}\) is also the product of six factors of \(\tfrac12\).

Worked Example: An Event Allowing Two Step Sequences

Find the probability that the first three increments have equal first and second signs and that the third increment is \(-1\). The equality condition means \(\xi_1=\xi_2\); it does not prescribe their common sign.

There are two sequences satisfying both conditions: \((+1,+1,-1)\) and \((-1,-1,-1)\). Each is a specified sequence of three increments, so each has probability \((\tfrac12)^3=\tfrac18\). The two events are disjoint, since the first increment cannot be both \(+1\) and \(-1\). Therefore the required probability is \(\tfrac18+\tfrac18=\tfrac14\).

Check: The first two signs agree with probability \(\tfrac12\), since the possibilities \((+1,+1)\) and \((-1,-1)\) each have probability \(\tfrac14\). The third increment is independent of the first two and equals \(-1\) with probability \(\tfrac12\). Multiplying gives \(\tfrac12\cdot\tfrac12=\tfrac14\), the same result.

The One-Step Transition Rule

The increment construction also specifies the probability of the next position, conditional on the positions already observed. From the current position \(i\), the walk moves to \(i+1\) with probability \(\tfrac12\), to \(i-1\) with probability \(\tfrac12\), and nowhere else in one step. In transition-kernel notation, \(p_{ij}=\mathbb{P}(S_{n+1}=j\mid S_n=i)\); the rule does not depend on \(n\).

Theorem: For every \(n\ge0\), every \(i\in\mathbb{Z}\), and every \(j\in\mathbb{Z}\), conditional on \(\mathcal{F}_n\), the next position satisfies \(\mathbb{P}(S_{n+1}=j\mid\mathcal{F}_n)=\tfrac12\mathbf{1}_{\{j=S_n+1\}}+\tfrac12\mathbf{1}_{\{j=S_n-1\}}\) almost surely. Consequently, \((S_n)\) is a time-homogeneous Markov chain with transition probabilities \(p_{i,i+1}=p_{i,i-1}=\tfrac12\) and \(p_{ij}=0\) for all other \(j\).

Proof. By definition, \(S_{n+1}=S_n+\xi_{n+1}\). The value \(S_n\) is determined by \(\mathcal{F}_n\), while \(\xi_{n+1}\) is independent of \(\mathcal{F}_n\) and takes each of \(+1\) and \(-1\) with probability \(\tfrac12\). Thus, conditional on \(\mathcal{F}_n\), the only possible next positions are \(S_n+1\) and \(S_n-1\), each with probability \(\tfrac12\). This gives the displayed conditional probability. Since its value depends on the past only through the current position \(S_n\), it is the Markov property. Since the rule is the same for every \(n\), the chain is time-homogeneous. \(\square\)

The transition probabilities are row-stochastic: for every state \(i\), the two distinct destinations \(i+1\) and \(i-1\) have probabilities summing to \(\tfrac12+\tfrac12=1\), and every other destination has probability \(0\). The state space is infinite, so the transition rule is specified by its formula rather than by displaying an infinite matrix.

Worked Example: A Path from a Nonzero Position

Suppose the walk is at position \(-2\) at time \(n\), and consider the next three increments \(+1,+1,-1\). Compute the next positions, the probability of this increment sequence conditional on \(\mathcal{F}_n\), and the one-step transition probabilities from the starting position.

The positions are obtained successively from \(-2\): \(S_{n+1}=-2+1=-1\), \(S_{n+2}=-1+1=0\), and \(S_{n+3}=0-1=-1\). The sequence specifies three future increments. Their independence from \(\mathcal{F}_n\) and from one another gives conditional probability \((\tfrac12)^3=\tfrac18\).

From state \(-2\), the one-step transition rule assigns probability \(\tfrac12\) to \(-1\) and \(\tfrac12\) to \(-3\); all other states have probability \(0\). These probabilities sum to \(\tfrac12+\tfrac12=1\). In particular, the probability of moving directly from \(-2\) to \(0\) in one step is \(0\), even though the three-step sequence above reaches \(0\) at time \(n+2\).

Check: The changes in the positions are \((-1)-(-2)=1\), \(0-(-1)=1\), and \((-1)-0=-1\), exactly the prescribed increments. The conditional sequence probability is \(\tfrac12\cdot\tfrac12\cdot\tfrac12=\tfrac18\).

What the Definition Does—and Does Not—Say

The construction defines a process through its increments, not by declaring that each position is an independent draw. Positions accumulate the effects of all previous steps. In fact, the relation \(S_{n+1}=S_n+\xi_{n+1}\) means that once the current position and the next increment are known, the next position is fixed.

The increments are independent and identically distributed; the positions are generally dependent. For example, \(S_2=\xi_1+\xi_2\) contains \(\xi_1\), which is also part of \(S_1=\xi_1\). The event \(S_1=1\) therefore tells us something about \(S_2\): if \(S_1=1\), then \(S_2\) can only be \(0\) or \(2\), not every integer. Independence belongs to the step variables, not to the position variables.

Another useful distinction is between a particular sequence and a condition on a sequence. The probability of one prescribed sequence of \(n\) signs is \(2^{-n}\). An event such as “the first two signs agree” includes more than one sequence, so its probability must include all the allowed cases. When the cases are disjoint, add their probabilities; when the event is naturally described using independence, compute it by conditioning or by multiplying the relevant probabilities.

Common mistake. A frequent error is to assign probability \(\tfrac12\) to a prescribed sequence of several steps, as if specifying the first step determined the probability of the whole sequence. For example, the three-step sequence \((+1,-1,+1)\) has probability \(\tfrac12\), not \(\tfrac18\), according to this incorrect calculation. The correction is to include one factor for every specified independent increment: \((\tfrac12)(\tfrac12)(\tfrac12)=\tfrac18\). The answer also checks against the sequence formula \(2^{-3}=\tfrac18\).

To define or compute a short path reliably, proceed in this order:

  1. Write down the increments in their time order.
  2. Start with \(S_0=0\) and add each increment to the preceding position.
  3. For a specified sequence of \(n\) signs, use probability \(2^{-n}\).
  4. If an event allows several sequences, identify its disjoint cases before adding their probabilities.

These steps use only the defining independent fair increments and the sum that constructs each position. They establish the basic language for studying the walk without needing a formula for its endpoint distribution or a method for counting paths by their up-steps.

Check Your Understanding

For each question, distinguish the signs of the increments from the positions of the walk.

  1. If the first four increments are \(-1,+1,+1,-1\), write the positions \(S_0,\ldots,S_4\) and compute the probability of this specified sequence.
  2. What is the probability that the first two increments are both \(-1\)? Verify the answer using the specified-sequence rule.
  3. From state \(3\), list the possible one-step destinations and their probabilities. Check that the row sum is \(1\).
  4. Why does knowing \(S_n\) suffice to specify the conditional distribution of \(S_{n+1}\), even though the positions \(S_0,\ldots,S_n\) are dependent?
  5. Explain the difference between the probability of one specified three-step sequence and the probability of an event that allows two distinct three-step sequences.