Answer to Question #306322 in Discrete Mathematics for kasish

Question #306322

 Consider the recurrence relation an=4 an−1−4 an−2

Find the general solution to the recurrence relation and the solution when a0=−2 and a1=3.


1
Expert's answer
2022-03-08T00:40:03-0500

Let us solve the recurrence relation an=4an14an2a_n=4 a_{n−1}−4 a_{n−2}

The characteristic equation k2=4k4k^2=4k-4 is equivalent to (k2)2=0,(k-2)^2=0,

and hence has the roots k1=k2=2.k_1=k_2=2.

Therefore, the general solution if of the form:

an=(An+B)2n.a_n=(An+B)2^n.


Let us find the solution when a0=2a_0=−2 and a1=3.a_1=3.


It follows that 2=a0=B-2=a_0=B and 3=a1=(A+B)2=(A2)2=2A4.3=a_1=(A+B)2=(A-2)2=2A-4.

We conclude that A=72, B=2,A=\frac{7}2,\ B=-2, and hence the solution is

an=(72n2)2n.a_n=(\frac{7}2n-2)2^n.



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!

Leave a comment