ArticleslgStudy

mathematics

Catalan's triangle

Catalan's triangle is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Catalan's triangle rather than just read about it. In short: In combinatorial mathematics, Catalan's triangle is a number triangle whose entries C(n,k) give the number of strings consisting of n X's and k Y's such that no initial segment of the string has more Y's than X's. It is a generalization of the Catalan numbers, and is named after Eugène Charles Catalan.

Catalan's triangle — main illustration
Catalan's triangle — illustration

Key takeaways

  • Catalan's triangle belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Catalan's triangle to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Catalan's triangle from memory before moving on to harder problems.

Reference excerpt

In combinatorial mathematics, Catalan's triangle is a number triangle whose entries C(n,k) give the number of strings consisting of n X's and k Y's such that no initial segment of the string has more Y's than X's. It is a generalization of the Catalan numbers, and is named after Eugène Charles Catalan. Bailey shows that C(n,k) satisfy the following properties:

C(n,0)=1 for n≥0. C(n,1)=n for n≥1. C(n+1,k)=C(n+1,k−1)+C(n,k) for 1<k<n+1 C(n+1,n+1)=C(n+1,n) for n≥1. Formula 3 shows that the entry in the triangle is obtained recursively by adding numbers to the left and above in the triangle. The earliest appearance of the Catalan triangle along with the recursion formula is in page 214 of the treatise on Calculus published in 1800 by Louis François Antoine Arbogast. Shapiro introduces another triangle which he calls the Catalan triangle that is distinct from the triangle being discussed here.

General formula The general formula for C(n,k) is given by

C(n,k)=(n+kk)−(n+kk−1) So

C(n,k)=n−k+1n+1(n+kk) When k=n, the diagonal C(n, n) is the n-th Catalan number. The row sum of the n-th row is the (n + 1)-th Catalan number, using the hockey-stick identity and an alternative expression for Catalan numbers.

Table of values Some values are given by

Properties Formula 3 from the first section can be used to prove both C(n,k)=∑i=0kC(n−1,i)=∑i=knC(i,k−1) That is, an entry is the partial sum of the above row and also the partial sum of the column to the left (except for the entry on the diagonal).

If k>n, then at some stage there must be more Y's than X's, so C(n,k)=0. A combinatorial interpretation of the (n,k−1)-th value is the number of non-decreasing partitions with exactly n parts with maximum part k such that each part is less than or equal to its index. So, for example, (4,2)=9 counts 1111,1112,1113,1122,1123,1133,1222,1223,1233

Generalization Catalan's trapezoids are a countable set of number trapezoids which generalize Catalan’s triangle. Catalan's trapezoid of order m = 1, 2, 3, ... is a number trapezoid whose entries Cm(n,k) give the number of strings consisting of n X-s and k Y-s such that in every initial segment of the string the number of Y-s does not exceed the number of X-s by m or more. By definition, Catalan's trapezoid of order m = 1 is Catalan's triangle, i.e., C1(n,k)=C(n,k). Some values of Catalan's trapezoid of order m = 2 are given by

Some values of Catalan's trapezoid of order m = 3 are given by

Again, each element is the sum of the one above and the one to the left. A general formula for Cm(n,k) is given by

Cm(n,k)={(n+kk)0≤k<m(n+kk)−(n+kk−m)m≤k≤n+m−10k>n+m−1 ( n = 0, 1, 2, ..., k = 0, 1, 2, ..., m = 1, 2, 3, ...).

Proofs of the general formula

Proof 1 This proof involves an extension of the second proof for the Catalan number to different diagonals. The following shows how every path from the bottom left (0,0) to the top right (k,n) of the diagram that crosses the constraint n−k+m−1=0 can also be reflected to the end point (n+m,k−m).

We consider three cases to determine the number of paths from (0,0) to (k,n) that do not cross the constraint: (1) when m>k the constraint cannot be crossed, so all paths from (0,0) to (k,n) are valid, i.e. Cm(n,k)=(n+kk). (2) when k−m+1>n it is impossible to form a path that does not cross the constraint, i.e. Cm(n,k)=0. (3) when m≤k≤n+m−1, then Cm(n,k) is the number of 'red' paths (n+kk) minus the number of 'yellow' paths that cross the constraint, i.e. ((n+m)+(k−m)k−m)=(n+kk−m). Therefore the number of paths from (0,0) to (k,n) that do not cross the constraint n−k+m−1=0 is as indicated in the formula in the previous section "Generalization".

Proof 2 Firstly, we confirm the validity of the recurrence relation Cm(n,k)=Cm(n−1,k)+Cm(n,k−1) by breaking down Cm(n,k) into two parts, the first for XY combinations ending in X and the second for those ending in Y. The first group therefore has Cm(n−1,k) valid combinations and the second has Cm(n,k−1). Proof 2 is completed by verifying the solution satisfies the recurrence relation and obeys initial conditions for Cm(n,0) and Cm(0,k).

References

Worked examples

Example 1 — a first encounter with Catalan's triangle

Start with the simplest possible case. Write down what Catalan's triangle claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Catalan's triangle before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Catalan's triangle ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Catalan's triangle

In research
Catalan's triangle appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Catalan's triangle in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Catalan's triangle is common in secondary-school and first-year university syllabi. It links to neighbouring topics Triangles named after people, Triangles of numbers, so understanding it makes those chapters shorter.
In everyday life
Look for Catalan's triangle outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Catalan's triangle” →

How to study Catalan's triangle in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Catalan's triangle means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Catalan's triangle out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Catalan's triangle in simple terms?

In combinatorial mathematics, Catalan's triangle is a number triangle whose entries C(n,k) give the number of strings consisting of n X's and k Y's such that no initial segment of the string has more Y's than X's. It is a generalization of the Catalan numbers, and is named after Eugène Charles Cata…

Why does Catalan's triangle matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Catalan's triangle?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Catalan's triangle.

Tags

  • Triangles named after people
  • Triangles of numbers

Keep exploring