Folioby Interconnected
Log InSign Up

Catalan Numbers and Lattice Paths: The Reflection Principle and Bijective Proofs

We prove the formula C_n = (1/(n+1)) C(2n, n) for the Catalan numbers using the reflection principle, state the Lindstr\"{o}m--Gessel--Viennot lemma, construct bijections among five combinatorial interpretations of the Catalan numbers, solve the ballot problem, and introduce Narayana numbers.

FO
Folio Official
March 1, 2026

1 Lattice Paths and Binomial Coefficients

Definition 1 (Lattice path).
A lattice path from (a,b) to (c,d) in Z2 is a sequence of unit steps, each going either right (1,0) or up (0,1).
Theorem 2.
The total number of lattice paths from (0,0) to (m,n) is (mm+n​).
Proof.
A path consists of m+n steps in total, of which exactly m must be rightward. Choosing which m of the m+n steps go right gives (mm+n​) paths. □

2 The Reflection Principle and Catalan Numbers

Definition 3 (Dyck path).
A Dyck path of length 2n is a lattice path from (0,0) to (2n,0) using steps (1,1) (up) and (1,−1) (down), that never dips below the x-axis (i.e., satisfies y≥0 throughout).
Theorem 4.
The number of Dyck paths of length 2n is
Cn​=n+11​(n2n​).
Proof.
The total number of paths from (0,0) to (2n,0) with n up-steps and n down-steps is (n2n​). We subtract the number of "bad" paths that reach y<0 at some point.

We apply the reflection principle (due to Andréy=−1 for the first time at some point. Reflecting the portion of the path after this first contact across the line y=−1 establishes a bijection between bad paths and all paths from (0,0) to (2n,−2). Such a reflected path has n−1 up-steps and n+1 down-steps, so the number of bad paths is (n−12n​).

Therefore, the number of Dyck paths is
(n2n​)−(n−12n​)=(n2n​)−n+1n​(n2n​)=n+11​(n2n​)=Cn​.
□

3 The Lindström–Gessel–Viennot Lemma

Theorem 5 (Lindstr\"om–Gessel–Viennot lemma).
In a directed acyclic graph, given a tuple of sources (s1​,…,sn​) and a tuple of sinks (t1​,…,tn​), the signed count of n-tuples of vertex-disjoint paths is
det(e(si​,tj​))1≤i,j≤n​,
where e(s,t) denotes the number of paths from s to t.
Proof.
Expanding the determinant gives ∑σ∈Sn​​sgn(σ)∏i=1n​e(si​,tσ(i)​). For each permutation σ, consider all n-tuples of paths with the i-th path running from si​ to tσ(i)​. Any tuple of paths that shares a vertex can be paired, by swapping paths at a shared vertex, with a tuple corresponding to a different permutation σ′ whose sign is opposite to that of σ. These paired contributions cancel. The only surviving terms come from vertex-disjoint path tuples, which (under suitable planarity conditions) correspond to σ=id. □

4 Five Interpretations of the Catalan Numbers

Theorem 6.
Each of the following five families of objects is counted by Cn​, and they are connected by explicit bijections:
  1. Well-formed strings of n pairs of parentheses.

  2. Full binary trees with n+1 leaves.

  3. Lattice paths from (0,0) to (n,n) that do not cross above the diagonal y=x.

  4. Non-crossing partitions of {1,2,…,n} (under the appropriate interpretation).

  5. Triangulations of a convex (n+2)-gon.

Proof.
(1) Bijection with Dyck paths: map each "(" to an up-step and each ")" to a down-step. The condition that the parentheses are well-formed is equivalent to y≥0.

(2) Bijection with Dyck paths: in a depth-first traversal of a full binary tree with n+1 leaves, each descent to a left child corresponds to an up-step and each descent to a right child corresponds to a down-step. Conversely, reading up-steps as "go left" and down-steps as "go right" reconstructs the tree.

(3) Bijection with Dyck paths: a lattice path from (0,0) to (n,n) that stays weakly below y=x can be transformed into a Dyck path by interpreting a right-step as an up-step and an up-step as a down-step.

(4) Bijection with Dyck paths: scan the elements 1,2,…,n from left to right. When a new block opens, take an up-step; when a block closes, take a down-step. The non-crossing condition ensures y≥0.

(5) Fix one edge of the convex (n+2)-gon and classify triangulations by which triangle contains that edge. This case analysis yields the recurrence Cn​=∑k=0n−1​Ck​Cn−1−k​, which is the Catalan recurrence. □

5 The Ballot Problem

Theorem 7 (Ballot problem).
Suppose candidate A receives a votes and candidate B receives b votes, with a>b. The probability that A is strictly ahead of B throughout the entire counting process is (a−b)/(a+b).
Proof.
Model each vote for A as a step (1,1) and each vote for B as a step (1,−1), giving a path from (0,0) to (a+b,a−b). We seek the fraction of such paths that satisfy y>0 at every intermediate step. By the reflection principle, the paths that touch or cross y=0 can be placed in bijection with certain reflected paths. Computing the resulting ratio yields (a−b)/(a+b). □

6 Narayana Numbers

Definition 8 (Narayana number).
The Narayana number is
N(n,k)=n1​(kn​)(k−1n​).
It counts the number of Dyck paths of length 2n with exactly k peaks.
Theorem 9.
k=1∑n​N(n,k)=Cn​
Proof.
Classifying all Dyck paths of length 2n by their number of peaks, we see that the total over all possible peak counts must equal the Catalan number. Hence ∑k=1n​N(n,k)=Cn​. □

The Narayana numbers provide a refinement of the Catalan numbers. By introducing a q-parameter, one obtains the q-Catalan numbers and the Carlitz q-Narayana numbers, opening the door to rich algebraic extensions.

CombinatoricsDiscrete MathematicsTextbookCatalan NumbersLattice Paths
FO
Folio Official

Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.

1 followers·107 articles
Combinatorics TextbookPart 8 of 13
Previous
Recurrence Relations and Counting: Solving Linear Recurrences
Next
The Pigeonhole Principle and Ramsey Theory: Existential Combinatorics

Share your expertise with the world

Write articles with LaTeX support, build your audience, and earn from your knowledge.

Start Writing — It's Free

More from Folio Official

Folio Official·March 1, 2026

Recurrence Relations and Counting: Solving Linear Recurrences

We present the method of characteristic equations for solving linear recurrences with constant coefficients, treat the case of repeated roots, discuss nonhomogeneous recurrences, establish the equivalence with generating functions, and introduce matrix exponentiation and the Kitamasa method.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

The Inclusion--Exclusion Principle: Counting by Alternating Sums

We prove the inclusion--exclusion principle and apply it to derive the formula for the number of derangements D_n, Euler's totient function, the relationship between surjections and Stirling numbers of the second kind, and the M\"{o}bius inversion formula.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

Combinatorial Designs and Latin Squares: Balanced Arrangements

We define Latin squares and prove their existence, introduce mutually orthogonal Latin squares (MOLS), develop the theory of balanced incomplete block designs (BIBDs), prove Fisher's inequality, and discuss the connection with finite projective planes.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

Burnside's Lemma and P\'olya Enumeration: Counting Under Symmetry

Starting from the definitions of group actions, orbits, and stabilizers, we prove Burnside's lemma (the Cauchy--Frobenius theorem), introduce the cycle index of a permutation group, and derive P\'olya's enumeration theorem. Applications to necklace and bracelet counting are given.

CombinatoricsDiscrete MathematicsTextbook