Season 2 Episode "Mind Games"Statistics / Probability

NUMB3RS - Season 2 - "Mind Games" - Walkabout

Workbook Guide · Step 1 of 5

Mapping Random Walks to Pascal's Triangle

Imagine starting at position 00 on a vertical number line. At each step, you flip a coin: heads you move up 1 unit (UU), tails you move down 1 unit (DD).

Let's construct a table of final positions for short walks.

  • For a 0-step walk, there is only 11 way to end at 00.
  • For a 1-step walk, there is 11 way to end at U1U1 and 11 way to end at D1D1.
  • For a 2-step walk, the paths are UUUU (ends at U2U2), UDUD (ends at 00), DUDU (ends at 00), and DDDD (ends at D2D2). This gives us 11 way to end at D2D2, 22 ways to end at 00, and 11 way to end at U2U2.

Notice that these counts (1,2,11, 2, 1) match the rows of Pascal's Triangle! Continuing this pattern, let's look at a 4-step walk.

QFor a 4-step random walk, how many different paths will end exactly back at the starting position 00?

Real-Time Stochastic Simulator

1D Lattice Path
-606

Pi Approximation Diagnostics

Total Runs0
Avg distance E(d)0.000
Estimated Pi0.000
Why does this approximate π\pi?

As N→∞N \to \infty, the binomial distribution is approximated by the continuous Gaussian normal distribution. The integration of its absolute expected distance returns the constant 2π\sqrt{\frac{2}{\pi}}, hence establishing π≈2N[E(d)]2\pi \approx \frac{2N}{[E(d)]^2}!