Discrete Math: Linear Inhomogeneous Recurrence

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
32 replies · 7K views
I have again merged threads...please post questions pertaining to this problem in this thread. :D
 
on Phys.org
Unfortunately, I am also not very good with generating functions and have little time. I can only recommend the following formulas.
\begin{align}
(x^{n+1})'&=nx^n+x^n&&\text{to find }\sum(-1)^nnx^n\\
(x^{n+2})''&=n^2x^n+3nx^n+2x^n&&\text{to find }\sum(-1)^nn^2x^n\\
\sum n(3x)^n&=\sum n(3^nx^n)
\end{align}
 
The calculation of a closed form for the generating function G(z) is straight forward. This is a rational function in z. If you're really ambitious (I'm not), you can apply partial fraction decomposition to G(z), use the geometric series and it's derivatives and find the closed form solution for $a_n$.

jph07t.png