- #1
charmedbeauty
- 271
- 0
Homework Statement
Find the general solution to the following recurrence relations (defined n≥2).
c) an=6an-1-9an-2+8n+4
Homework Equations
The Attempt at a Solution
an=6an-1-9an-2+8n+4
8n+4= an -6an-1+9an-2
R2-6R+9=0
R=3,3
So hn=A(3)n+B(3)n
Assume pn=Cn+Cn2 → This is where I got stuck!
What should my assumption be??
I thought this because RHS =8n+4
so for the 4 I used Cn since 4 is a constant so I put an extra n term...likewise for 8n.
but it turned out to be a mess!
HELP