I'm having a bit of trouble finding the generating function for the following recurrence relation: $$ w_n -1 = \sum _{k=1}^{n-1} w_k w_{n-k}, \quad n \geq 2, \; w_0 = 0, \; w_1 = 1. $$ I set out to find a generating function $F$ such that $$ F(x) = \sum _{n=0}^{\infty} w_n x^n. $$ First, I multiplied the LHS of the equation with $x^n$ and summed, obtaining $$ F(x) - (w_0 + w_1 x) - \sum _{n=0}^{\infty} x^n = F(x)-x-\frac{1}{1-x}. $$ For the RHS, we can observe that the $n$-th coefficient of $F(x)^2$ concide with $$ \sum _{k=1}^{n-1} w_k w_{n-k}. $$ That is, if we perform the product term by term and collect, we can check $$ F(x)^2 = w_1 w_1 x^2 + (w_1 w_2 + w_2 w_1)x^3 + (w_1 w_3 + w_2 w_2 + w_3 w_1)x^4 + \cdots $$ and this is possible because $w_0 = 0$. Equating both expressions, I get $$ F(x) - x - \frac{1}{1-x} = F(x)^2. $$ But this equation is wrong! Because if I take $x=0$, $$ (0) - (0) - \frac{1}{1 - (0)} = 0 \implies -1 = 0. $$ I haven't been able to spot my mistake. Any and all help is appreciated :)
2026-04-01 09:58:43.1775037523
Need Help with Mistake in Generating Function for Nonlinear Recurrence relation
97 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in RECURRENCE-RELATIONS
- Recurrence Relation for Towers of Hanoi
- Solve recurrence equation: $a_{n}=(n-1)(a_{n-1}+a_{n-2})$
- General way to solve linear recursive questions
- Approximate x+1 without addition and logarithms
- Recurrence relation of the series
- first order inhomogeneous linear difference equation general solution
- Guess formula for sequence in FriCAS
- Solve the following recurrence relation: $a_{n}=10a_{n-2}$
- Find closed form for $a_n=2\frac{n-1}{n}a_{n-1}-2\frac{n-2}{n}a_{n-2}$ for all $n \ge 3$
- Young Tableaux generating function
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?
Multiplying both sides of the recurrence by $x^n$ and summing for $n=2$ to infinity: $$ \sum_{n=2}^\infty w_nx^n = \sum_{n=2}^\infty \sum_{k=1}^{n-1} w_kw_{n-k}x^n + \sum_{n=2}^\infty x^n. $$ Because $w_0=0$, $w_1=1$, and $w_n$ is a sum of products of $w_1,\ldots,w_{n-1}$ plus one, $w_n$ is nonnegative for all $n$. So by Tonelli's theorem we may interchange the order of summation: $$ F(x) - x = \sum_{k=1}^\infty w_k\sum_{n=k+1}^\infty w_{n-k}x^n + \frac{x^2}{1-x}. $$ Shifting the index of the sum over $k$ down by $n$, we have $$ F(x) = \sum_{k=1}^\infty w_k x^k\sum_{n=1}^\infty w_nx^n + x + \frac{x^2}{1-x}. $$ But since $w_0=0$, $\sum_{n=0}^\infty w_nx^n = \sum_{k=1}^\infty w_kx^k = F(x)$, so we have $$ F(x) = F(x)^2 + x + \frac{x^2}{1-x}, $$ and hence $$ F(x) - F(x)^2 = x + \frac{x^2}{1-x}. $$ The roots of this equation are $$ F(x) = \frac{1}{2} \left(1-\frac{\sqrt{5 x-1}}{\sqrt{x-1}}\right),\quad F(x) = \frac{1}{2} \left(\frac{\sqrt{5 x-1}}{\sqrt{x-1}}+1\right). $$ Since $F(0) = w_0 = 0$, we see that the first root is the correct expression for $F(x)$, and so $$ F(x) = \frac{1}{2} \left(1-\frac{\sqrt{5 x-1}}{\sqrt{x-1}}\right). $$ Unfortunately there is unlikely to be a closed form series expression for $F$. Mathematica only returns something in the form of $\texttt{DifferenceRoot}$ and the first few terms $$ 0,1,2,5,15,51,188,731,2950,12235,51822,223191 $$ didn't match anything on OEIS.