|
|
|
|
generating function for the Catalan numbers
|
(Derivation)
|
|
|
This article derives the formula
for the generating function for the Catalan numbers, given in the parent article, in two different ways.
A Dyck path is a lattice path in the Euclidean plane from to whose steps are either or , i.e. either upwards diagonals or downwards diagonals, and which never goes below the -axis. Here are two Dyck paths:
If you rotate a Dyck path counterclockwise by
and then reflect it in the line , the result is a lattice path from to that never goes above the diagonal. One can also think of such a path as a path from to
that never touches or crosses the diagonal. As the article on ballot numbers explains, these paths are counted by the Catalan numbers, and thus the number of Dyck paths of length (or Dyck paths of semilength ) is equal to , the
Catalan number.
Note that any Dyck path has a unique decomposition as follows. Every Dyck path returns to the -axis at some point (possibly at its end). Split the path at the first such point. Then the original path consists of an up step (the first step of the path), an arbitrary (perhaps empty) Dyck path, a down step returning to the -axis, and then another arbitrary (perhaps empty) Dyck path. Considering the first example above, this decomposition looks like this:
So a Dyck path is either empty, or consists of an up/down and two arbitrary Dyck paths. If one thinks about the lengths of the paths involved, it is clear that in terms of the generating function, we have
since a nonempty Dyck path of semilength consists of two Dyck paths the sum of whose semilengths is together with the unique Dyck path of semilength (the up-down steps).
Solving this quadratic equation, we get
and we must decide between the plus and minus sign. However, note that is a formal power series with only nonnegative powers of , and the expansion of
starts with the constant term . So if the sign were positive, then would have a leading term of
. So we must choose the negative sign, and we get
Here is a second method of getting to the same result; it is more straightforward but less informative.
By the generalized binomial formula, we have that
Now,
and so, substituting, we get
Replacing by , we get
where the last equality results from replacing by and adjusting the range of summation. On dividing through by , we get
and we are done.
As a final observation, note that the recurrence
given in the parent article can be easily derived from the functional equation for the generating function,
:
and the coefficient of on the right hand side is the coefficient of in the sum, which is precisely
as desired.
|
"generating function for the Catalan numbers" is owned by rm50.
|
|
(view preamble)
Cross-references: right hand side, coefficient, functional equation, range, equality, binomial formula, negative, positive, constant term, powers, formal power series, plus, quadratic equation, sum, generating function, terms, clear, lengths, point, decomposition, number, Catalan numbers, path, line, reflect, rotate, diagonals, Euclidean plane, lattice path
There are 2 references to this entry.
This is version 6 of generating function for the Catalan numbers, born on 2007-11-30, modified 2007-12-01.
Object id is 10069, canonical name is GeneratingFunctionForTheCatalanNumbers.
Accessed 826 times total.
Classification:
| AMS MSC: | 05A10 (Combinatorics :: Enumerative combinatorics :: Factorials, binomial coefficients, combinatorial functions) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|