Proof that binary trees are counted by Catalan numbers
Builds on Binary treeCatalan numbersRule of sumRule of productBijection principleStrong induction
Proof
We show that the counts satisfy the Catalan recursion, and conclude by strong induction.
- For a natural number , let be the set of binary trees with exactly nodes.
- A tree of the form has at least one node, its root. So the only tree with nodes is the empty tree, and has element.
- Fix a natural number . By the definition, every tree in is for a unique pair of binary trees.
- Its number of nodes is , where and are the numbers of nodes. So and for some .
- Conversely, for , and , the tree has nodes.
- By steps 3 to 5, the map is a bijection from onto the disjoint union over of the sets .
- We prove by strong induction on that is finite with , where are the Catalan numbers, defined by and .
- For , step 2 gives .
- For , assume the claim for all . By step 6, the bijection principle, the rule of product and the rule of sum, is finite and .
- Hence the number of binary trees with exactly nodes is for every natural number .
Idea
A nonempty binary tree is a root with a left and a right subtree, whose node counts add up to one less. So the counts obey the same recursion and start value as the Catalan numbers.
Reading path
To understand this page from the ground up, read these 52 pages in order. The foundations come first. The path takes the proofs Proof that a composition of injections is injective, Proof that a function is bijective iff it has a two-sided inverse, Proof of the rule of product, Proof of strong induction from ordinary induction, Proof that a composition of surjections is surjective, Proof of the rule of sum, Proof of the bijection principle.
- Binary tree definition
- Cardinality of a finite set definition
- Catalan numbers definition
- Definition by recursion concept
- Element definition
- Mathematical induction concept
- Natural numbers object
- Peano axioms concept
- Proposition concept
- Set definition
- Successor function definition
- Conjunction definition
- Implication definition
- Predicate definition
- Empty set object
- Ordered pair definition
- Intersection definition
- Addition of natural numbers definition
- Existential quantifier definition
- The successor function is injective statement
- Universal quantifier definition
- Zero is not a successor statement
- Cartesian product definition
- Disjoint sets definition
- Subset definition
- Order on the natural numbers definition
- Uniqueness quantifier definition
- Binary relation definition
- Proof of strong induction from ordinary induction proof
- Function definition
- Strong induction statement
- Codomain definition
- Function composition definition
- Identity function definition
- Injective function definition
- Surjective function definition
- Left inverse definition
- Right inverse definition
- Proof that a composition of injections is injective proof
- Proof that a composition of surjections is surjective proof
- Bijective function definition
- Composition of injections is injective statement
- Composition of surjections is surjective statement
- Proof of the rule of sum proof
- Proof that a function is bijective iff it has a two-sided inverse proof
- Rule of sum statement
- Bijective iff it has a two-sided inverse statement
- Proof of the rule of product proof
- Proof of the bijection principle proof
- Rule of product statement
- Bijection principle statement
- Proof that binary trees are counted by Catalan numbers proof
Where this leads
1 page builds on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Catalan_number, Applications in combinatorics
About this page
| Tag | XCGX4XJYJE |
|---|---|
| URI | m2://XCGX4XJYJE |
| Kind | proof |
| Writing | W0 stub |
| MSC | 05C05 |
| Proves | Binary trees are counted by Catalan numbers |
| Uses | Binary tree, Catalan numbers, Rule of sum, Rule of product, Bijection principle, Strong induction |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.