Equivalence of Three Catalan Number Interpretations

The Catalan numbers count:
• the ways a polygon with sides can be cut into triangles;
• the ways to parenthesize a sequence of factors to be multiplied, two at a time;
• the planted trivalent trees with leaves.
This Demonstration shows the equivalence of the three interpretations by optionally labeling each polygon triangulation with the corresponding parenthesized expression, tree, or both.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Snapshots 1, 2: The correspondence is built up by labeling the sides of a polygon. In the parenthesized expression, the innermost pair or pairs of items being multiplied correspond to a new edge drawn from the "beginning" (proceeding counterclockwise) of one polygon side to the "end" of the other: edge (bc) in Snapshot 1 and (ab) in Snapshot 2. Another edge is then drawn based on products involving the original pairs: in Snapshot 1, beginning of side a to end of edge (bc), resulting in (a(bc)); in Snapshot 2, beginning of edge (ab) to end of side c, resulting in ((ab)c).
Snapshot 3: the process is repeated until no products remain in the parenthesized expression, at which point the parenthesized expression corresponding to the triangulation appears at the top side of the polygon
Snapshot 4: in the tree corresponding to a triangulation, each fork connects two terms in each multiplication
M. Gardner, Chapter 20, Time Travel and Other Mathematical Bewilderments, New York: W. H. Freeman, 1988.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+