I know that generating function for the Catalan number sequence is $$f(x) = \frac{1 -\sqrt{1-4x}}{2x}$$ but I want to prove it.
The sequence for the Catalan numbers is $$1,1,2,5,14, \dots$$ as we all know.
Now I have to find a generating function that generates this sequence.
I read that we can prove it this way: Assume that $f(x)$ is the generating function for the Catalan sequence then by the Cauchy product rule it can be shown that $xf(x)^2 = f(x) − 1$.
And so this implies that $$xf(x)^2 - f(x) + 1 = 0$$ and so we can get that $$f(x) = \frac{1-\sqrt{1-4x}}{2x}$$
But I don't understand how this is possible. How to apply the Cauchy product rule to obtain $xf(x)^2 = f(x) − 1$?
I know that if we multiply the sequence $$1,1,2,5,14, \dots$$ by itself we would get in the resulting sequence $$1,1,5,14,...$$
Because we have that $c_k = a_0b_k + a_1b_{k-1}+ ........ + a_kb_0$ using the cauchy product formula. But still, how do we have that $xf(x)^2 = f(x) − 1$
and how did we get that $$f(x) = \frac{1-\sqrt{1-4x}}{2x}$$ from
$xf(x)^2 = f(x) − 1$? Did we use the quadratic formula somehow?
G.f.: A(x) = (1 - sqrt(1 - 4*x)) / (2*x). G.f. A(x) satisfies A = 1 + x*A^2.
– Lisa Dec 01 '15 at 22:06