Skip to content
Probability II / Random Walks on the Integers

The Reflection Principle and the Ballot Problem

Knowing where a random walk ends up (Proposition 1 of the previous note) says nothing about whether it crossed a given level on the way. A barrier option pays off (or is extinguished) based on whether the underlying ever touches a level, not just where it ends up — so "did the path cross zero?" is exactly the kind of question path-counting techniques were built to answer directly, without solving a difference equation. This note develops the reflection principle, a purely combinatorial device for counting random-walk paths that touch a barrier, and uses it to solve the classical ballot problem and the first-return probability for the symmetric walk.
Learning objectives. By the end of this note you should be able to:
  • count the number of nn-step paths from one point to another with a specified number of rightward steps;
  • state and apply the reflection principle to count paths that touch a barrier;
  • derive and apply the ballot theorem;
  • compute the probability that a symmetric random walk does not revisit its starting point within nn steps.

In this lesson

  1. Counting sample paths
  2. The reflection principle
  3. The ballot theorem
  4. First returns to the origin

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or explore the curriculum.