Set up the characteristic equation, which is given by r2 − 5r − 6 = 0. The roots of this equation are given by r1 = 6 and r2 = −1. Thus a general solution for the recurrence is given by an = a6 n + b(−1)n . To find a and b, we use the initial conditions. a0 = 1 implies a + b = 1, while a1 = 3 implies 6a − b = 3.

Respuesta :

Answer:

Step-by-step explanation:

From your characteristic equation, your recursive equation is

[tex]f(n+2) = 5 f(n=1) +6f(n)[/tex]

the general solution:

[tex]f(n) = A6^n + B(-1)^n[/tex]

The initial conditions are

[tex]f(0) =1 ~~~and~~~ f(1) = 3[/tex]

For f(0) = 1, that is

[tex]f(0) = A6^0 + B(-1)^0 = A+ B=1 (*)[/tex]

For f(1) = 3, that is

[tex]f(1) = A6^1 + B(-1)^1 = 3[/tex]

[tex]6A- B = 3 (**)[/tex]

From (*) and (**) you solve for A and B

you have A = 4/7 and B= 3/7

Replace A, B into the general one, you have the particular solution for the given condition

[tex]f(n) = 4/7 *6^n +3/7*(-1)^n[/tex]