🧮 Brain Teaser

The Ballot Box Surprise: Early Leader Locks In

A fair coin is flipped 2n2n times, giving exactly nn heads and nn tails. Given that the sequence is not tied at any point after the start (i.e., the running count of heads minus tails never returns to 00 after the very first flip), what is the probability that heads is always strictly ahead throughout?

More precisely: among all sequences of nn heads and nn tails where the partial sums Hk−Tk≠0H_k - T_k \neq 0 for all k=1,2,…,2nk = 1, 2, \ldots, 2n, what fraction have Hk−Tk>0H_k - T_k > 0 for all kk?

ballot problemcycle lemmareflection principlesymmetrycombinatorics

Answer: The Ballot Box Surprise: Early Leader Locks In

Key Idea / Intuition

The condition "never tied after the start" means the path either stays entirely positive or entirely negative the whole time. By symmetry, exactly half of such paths stay positive and half stay negative. So the answer is simply 12\frac{1}{2} — no calculation needed, just symmetry.

But the deeper surprise is: the number of such "never-returning" paths is itself elegant to compute, and the reflection principle makes the whole story click.


Formal Proof / Solution

Setup. Consider sequences of nn heads (steps +1+1) and nn tails (steps −1-1). Let Sk=Hk−TkS_k = H_k - T_k be the running difference after kk flips, with S0=0S_0 = 0. We want paths where Sk≠0S_k \neq 0 for all k=1,…,2nk = 1, \ldots, 2n.

Step 1: Classify "non-returning" paths.

Such a path must have S1=+1S_1 = +1 (heads first) or S1=−1S_1 = -1 (tails first), and then never return to 00. By symmetry (flip all heads and tails), the number of paths with Sk>0S_k > 0 for all k≥1k \geq 1 equals the number with Sk<0S_k < 0 for all k≥1k \geq 1.

Step 2: Count paths that stay strictly positive.

A path stays strictly positive if and only if:

  • S1=+1S_1 = +1 (must start with a head), and
  • Sk≥1S_k \geq 1 for all k=1,…,2nk = 1, \ldots, 2n, and S2n=0S_{2n} = 0.

By the Cycle Lemma (or the reflection principle / ballot problem), the number of paths from 00 to 00 in 2n2n steps that stay strictly positive after time 00 is:

12n(2nn)\frac{1}{2n}\binom{2n}{n}

Wait — let's use the ballot problem directly. The number of paths of length 2n2n with nn steps +1+1 and nn steps −1-1 that satisfy Sk>0S_k > 0 for all k=1,…,2nk = 1, \ldots, 2n equals:

12n(2nn)\frac{1}{2n}\binom{2n}{n}

This is a classical result: among all 2n2n cyclic rotations of such a balanced sequence, exactly 11 has all partial sums positive (by the cycle lemma).

Step 3: Total non-returning paths.

By symmetry, the number of paths with Sk<0S_k < 0 for all k≥1k \geq 1 also equals 12n(2nn)\frac{1}{2n}\binom{2n}{n}.

So the total number of non-returning paths is:

12n(2nn)+12n(2nn)=1n(2nn)\frac{1}{2n}\binom{2n}{n} + \frac{1}{2n}\binom{2n}{n} = \frac{1}{n}\binom{2n}{n}

Step 4: Answer the conditional probability.

Among all non-returning paths, the ones that stay strictly positive are exactly half:

P(always ahead∣never tied after start)=12n(2nn)1n(2nn)=12n1n=12P(\text{always ahead} \mid \text{never tied after start}) = \frac{\frac{1}{2n}\binom{2n}{n}}{\frac{1}{n}\binom{2n}{n}} = \frac{\frac{1}{2n}}{\frac{1}{n}} = \boxed{\frac{1}{2}}

The Surprise. The answer 12\frac{1}{2} is immediate from symmetry, yet many people expect it to be something more exotic. The elegant hidden content is the count of non-returning paths: it equals 1n(2nn)\frac{1}{n}\binom{2n}{n}, which is twice the Catalan-adjacent number 12n(2nn)\frac{1}{2n}\binom{2n}{n}. The cycle lemma — that among all 2n2n cyclic rotations of a balanced ±1\pm 1 sequence, exactly one keeps all partial sums positive — is the beautiful combinatorial engine underneath.

Source: Mathematical folklore / Cycle Lemma (Dvoretzky & Motzkin)

Type: ProbabilitySource: Mathematical folklore / Cycle Lemma (Dvoretzky & Motzkin)Edit on GitHub ↗