0
2.3kviews
$\text{Solve the following recurrence relation:} \\ a_n-5a_{n-1}+6a_{n-2}=0 \\ a_n-5a_{n-1}+6a_{n-2}=2^\pi \text{with initial conditions}a_0 = -1 \ \ and \ \ a_1 =1$

Mumbai University > Computer Engineering > Sem 3 > Discrete Structures

Marks: 7 Marks

Year: Dec 2015

1 Answer
0
53views

The characteristic equation of the recurrence relation is $r^2-5r+6=0$

Its roots are $r_1=3, r_2=2$. Hence the sequence {$a_n$} is a solution to the recurrence relation if and only if

$a_n=α_1*3^n+α_2*2^n$

For some constant $α_1$ and $α_2$.

From the initial condition, it follows that

$a_0=-1=α_1 + α_2 \\ a_1= 1 = …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.