Generating functions really give me a hard time. I'm trying to understand this proof. There are two things I don't see. How do you get the quadratic equation with the $P(z)$ (with straightforward manipulations)? Secondly why can one derive $P(z) = z^2 C(z)^2$?
2026-03-26 14:28:16.1774535296
Manipulation of generating functions+quadratic equation with generating functions
331 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in DISCRETE-MATHEMATICS
- What is (mathematically) minimal computer architecture to run any software
- What's $P(A_1\cap A_2\cap A_3\cap A_4) $?
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- Given a function, prove that it's injective
- Surjective function proof
- How to find image of a function
- Find the truth value of... empty set?
- Solving discrete recursion equations with min in the equation
- Determine the marginal distributions of $(T_1, T_2)$
Related Questions in GENERATING-FUNCTIONS
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- How to multiply generating functions with $x^n$ and $x^{5n}$ and $x^{2n}$
- Relationship between the generating functions of sequences $(a_n),(b_n)$ given $b_n=\sum^n_{i=1}a_i$.
- Double-exponential sum (maybe it telescopes?)
- Solve recurrence equation: $a_{n}=(n-1)(a_{n-1}+a_{n-2})$
- Want to use Herbert Wilf's snake oil method to show $\sum_k \binom{2n+1}{2k}\binom{m+k}{2n} = \binom{2m+1}{2n}$
- Young Tableaux generating function
- Generating function of the sequence $\binom{2n}{n}^3H_n$
- Expansion of fibonacci generating function
- Partial fraction of $A(x)=\frac{x^2+x+1}{(1-x)^3}$
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?

OP did not identify source, hence some guesswork required as to context and objective. I get for plane trees by path length the following functional equation:
$$T(z,u) = z + z T(uz,u) + z T(uz, u)^2 + \cdots = z \frac{1}{1-T(uz, u)}.$$
This is because in the recursive step the subtrees being attached to the new root have their path lengths for every node incremented by one, plus the root, with zero path length. Looking this up in the OEIS we find OEIS A138158 where we discover that there is no simple closed form for $[u^k] [z^n] T(z, u).$
We have
$$\sum_{n\ge 1} E_n z^n = \frac{1}{2} (T(z,1) + T(z,-1)) \quad\text{and}\quad \sum_{n\ge 1} O_n z^n = \frac{1}{2} (T(z,1) - T(z,-1))$$
and hence
$$\sum_{n\ge 1} (E_n-O_n) z^n = T(z, -1).$$
The functional equation tells us that
$$T(z, -1) = z \frac{1}{1-T(-z,-1)} \quad\text{and}\quad T(-z, -1) = - z \frac{1}{1-T(z, -1)}.$$
Substituting the latter into the former we find
$$T(z, -1) = z \frac{1}{1+z/(1-T(z, -1))}$$
which is
$$T(z, -1) (1 + z - T(z, -1)) = z (1 - T(z, -1))$$
or
$$T(z, -1) (1 + 2z - T(z, -1)) = z.$$
Solving the quadratic yields
$$T(z, -1) = z + \frac{1\pm\sqrt{1+4z^2}}{2}.$$
Here we must choose the second branch so as not to have a coefficient on $[z^0]$, which contradicts the functional equation. Note also that with
$$C(z) = \sum_{n\ge 0} C_n z^n = \frac{1-\sqrt{1-4z}}{2z}$$
we have
$$- C(-z) = \sum_{n\ge 0} (-1)^{n+1} C_n z^n = \frac{1-\sqrt{1+4z}}{2z}.$$
which says that
$$T(z, -1) = z - z^2 C(-z^2).$$
Extracting coefficients we get
$$[[n=1]] - [[n\ge 2]] \times [z^{n-2}] C(-z^2) \\ = [[n=1]] - [[n\ge 2,n\;\text{even}]]\times [z^{n/2-1}] C(-z) \\ = [[n=1]] + [[n\ge 2,n\;\text{even}]]\times (-1)^{n/2} C_{n/2-1}.$$
This may be verified using the Lagrange-Burmann formula with
$$z = \frac{T(z, -1)\times (1-T(z,-1))}{1-2T(z,-1)}$$
so that we get
$$[z^n] T(z, -1) = \frac{1}{n} [w^{n-1}] \frac{(1-2w)^n}{(1-w)^n}.$$
This is
$$\frac{1}{n} \sum_{q=0}^{n-1} {n\choose q} (-1)^q 2^q {2n-2-q\choose n-1}.$$
We get for the sum
$$\frac{1}{n} \sum_{q=0}^{n-1} {n\choose q} (-1)^q 2^q [v^{n-1-q}] (1+v)^{2n-2-q} \\ = \frac{1}{n} [v^{n-1}] (1+v)^{2n-2} \sum_{q=0}^{n-1} {n\choose q} (-1)^q 2^q v^q (1+v)^{-q}.$$
Here we get zero contribution to the coefficient extractor when $q\gt n-1$ and hence we may extend the sum to infinity (actually extension to $n$ is sufficient):
$$\frac{1}{n} [v^{n-1}] (1+v)^{2n-2} \left(1-\frac{2v}{1+v}\right)^{n} \\ = \frac{1}{n} [v^{n-1}] (1+v)^{n-2} (1-v)^{n} = \frac{1}{n} [v^{n-1}] (1-v^2)^{n-2} (1-2v+v^2).$$
Extracting coefficients from this we get for $n=1$ the value one, which is correct. For $n\ge 2$ with $n$ odd we obtain
$$\frac{1}{n} (-1)^{(n-1)/2} {n-2\choose (n-1)/2} + \frac{1}{n} (-1)^{(n-3)/2} {n-2\choose (n-3)/2} = 0.$$
For $n$ even we obtain
$$-\frac{2}{n} (-1)^{(n-2)/2} {n-2\choose (n-2)/2} = (-1)^{n/2} \frac{1}{(n-2)/2+1} {n-2\choose (n-2)/2} \\ = (-1)^{n/2} C_{n/2-1}.$$
This is the claim.
The Maple code that was used to verify the above and query the OEIS goes as follows.
with(combinat); X := proc(n) option remember; local part, psize, mset, res; if n=1 then return 1 fi; res := 0; part := firstpart(n-1); while type(part, `list`) do psize := nops(part); mset := convert(part, `multiset`); res := res + u^(n-1)* mul(X(v), v in part)* psize!/mul(v[2]!, v in mset); part := nextpart(part); od; expand(res); end; EODIFF := n -> subs(u = -1 , X(n)); CAT := n -> 1/(n+1)*binomial(2*n,n); EODIFFX := n -> `if`(type(n,odd), `if`(n=1, 1, 0), (-1)^(n/2)*CAT(n/2-1));