25. Solve recurrence relation an+3=3an+2+4an+1-12an for n20 with a0-0,al--11,a2--15
1
Expert's answer
2021-07-08T08:12:03-0400
Let us solve recurrence relation an+3=3an+2+4an+1−12an with a0=0,a1=11,a2=15. Firstly, let us solve its characteristic equation k3=3k2+4k−12, which is equivalent to (k−2)(k2−k−6)=0, and hence to (k−2)(k+2)(k−3)=0. We conclude that its roots are k1=2,k2=−2,k3=3. The general solution is an=c12n+c2(−2)n+c33n. It follows that 0=a0=c1+c2+c3,11=a1=2c1−2c2+3c3,15=a2=4c1+4c2+9c3. The system ⎩⎨⎧c1+c2+c3=02c1−2c2+3c3=114c1+4c2+9c3=15 is equivalent to the system ⎩⎨⎧c1+c2+c3=0−4c2+c3=115c3=15, and hence
⎩⎨⎧c1=−1c2=−2c3=3.
Therefore, the solution is an=−2n−2(−2)n+3⋅3n=−2n+(−2)n+1+3n+1.
If n=20, then a20=−220+(−2)21+321=−220−2⋅220+321=321−3⋅220.
Comments