MHB Discrete Math: Linear Inhomogeneous Recurrence

Click For Summary
The discussion revolves around solving a linear inhomogeneous recurrence relation defined as an = 6an−2 + 8an−3 + 3an−4 + 64·3^n−4 for n ≥ 4, with specified initial conditions. The characteristic roots were identified as r=3 and r=-1 (with multiplicity), leading to a homogeneous solution of the form h_n = c1(3^n) + c2(-1)^n + c3n(-1)^n + c4n^2(-1)^n. A particular solution was proposed as p_n = An3^n, with A determined to be 1/3, resulting in the general solution a_n = n((-1)^n(1-n) + 3^(n-1)). Part b of the question, which asks for the generating function, remains less explored, with participants suggesting resources for further assistance. The conversation highlights the complexity of deriving both the recurrence solution and the generating function.
  • #31
I have again merged threads...please post questions pertaining to this problem in this thread. :D
 
Physics news on Phys.org
  • #32
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}
 
  • #33
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
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
7K
  • · Replies 3 ·
Replies
3
Views
7K