Non Homogenous Recurrence Relation: $$a_n=5a_{n-1}-6a_{n-2}+(13+6n)5^{n-2}$$
Most problems I've solved are of the form $a_n+a_{n-1}+a_{n-2}+F(N)$ I have never seen anything of this form its super weird.
Non Homogenous Recurrence Relation: $$a_n=5a_{n-1}-6a_{n-2}+(13+6n)5^{n-2}$$
Most problems I've solved are of the form $a_n+a_{n-1}+a_{n-2}+F(N)$ I have never seen anything of this form its super weird.
We guess a solution of the form $a_n=(a+bn)5^n$ for some constants $a$ and $b$. Substituting into the recurrence and solving, I got $a=0, b=1$, so that a particular solution is $a_n=n5^n$.
EDIT
Substituting into the recurrence gives $$(an+b)5^n-5(a(n-1)+b)5^{n-1}+6(a(n-2)+b)5^{n-2}=(13+6n)5^{n-2}$$ Dividing through by $5^{n-2}$, $$ 25(an+b)-25(an-a+b)+6(an-2a+b)=13+6n\\ 25a+6an-12a+6b=13+6n$$ Equating coefficients, $$6a = 6\\ 13a+6b=13$$ and $$(a,b)=(1,0)$$
$signs. Use ^ for exponents and _ for subscripts.$x_1^{2/3}$shows up as $x_1^{2/3}$. – saulspatz Apr 21 '21 at 00:06