Question #238825
Solve the recurrence relation an=6 an-2-12 an-2 + 8 an-2 + n2 2n
1
Expert's answer
2021-09-21T02:12:13-0400

Let us solve the recurrence relation an=6an212an2+8an2+n2+2n,a_n=6 a_{n-2}-12a_{n-2} + 8a_{n-2} + n^2+ 2n, which is equivalent to an2an2=n2+2n.a_n-2a_{n-2}= n^2+ 2n. The characteristic equation k22=0k^2-2=0 of the homogeneous recurence relation an2an2=0a_n-2a_{n-2}=0 has the roots k1=2, k2=2.k_1=\sqrt{2},\ k_2=-\sqrt{2}.

It follows that the solution of an2an2=n2+2na_n-2a_{n-2}= n^2+ 2n is of the form an=C1(2)n+C2(2)n+bp(n),a_n=C_1(\sqrt{2})^n+C_2(-\sqrt{2})^n+b_p(n), where bp(n)=an2+bn+c.b_p(n)=an^2+bn+c. Then an2+bn+c2(a(n2)2+b(n2)+c)=n2+2n,an^2+bn+c-2(a(n-2)^2+b(n-2)+c)=n^2+2n, and hence an2+bn+c2(an24an+4a+bn2b+c)=n2+2n.an^2+bn+c-2(an^2-4an+4a+bn-2b+c)=n^2+2n. It follows that an2+(8ab)n8a+4bc=n2+2n,-an^2+(8a-b)n-8a+4b-c=n^2+2n, and thus a=1, 8ab=2, 8a+4bc=0.a=-1,\ 8a-b=2,\ -8a+4b-c=0. Therefore, a=1, b=10, c=32.a=-1,\ b=-10,\ c= -32.


We conclude that the solution is the following:

an=C1(2)n+C2(2)nn210n32.a_n=C_1(\sqrt{2})^n+C_2(-\sqrt{2})^n-n^2-10n-32.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS