in Combinatory edited by
822 views
3 votes
3 votes

Solve the following recurrence relation:

 T(n)=9T(n-1)-20T(n-2)

T(0)=-3

T(1)=-10

a)2.5n-5.4n

b)3.5n-4.3n

c)3.4n-2.5n

d)4.5n-2.3n

can it be solved by substitution..?

in Combinatory edited by
by
822 views

6 Comments

ans a)

best way to solve it

put n=0,n=1

in option

and get answer
1
1

@gari,

it is simply homogenous recurrence equation,

corresponding polynomial is,

x2-9x+20=0

roots are x=4 and x=5

T(n) = a4n + b5n

now to find constants 'a' and 'b' use T(0)=-3 and T(1)=-10

you will get a=-5 and b=2, 

therefore final solution to above homogenous equation is,  $T(n)=-5.4^{n}+2.5^{n}$

it can also be solved by substitution, but it will take time..

for these types of qsns(homogenous recurrence relations), directly use straightforward approach.

2
2

srestha  i tried but i failed..please see

T(2)=9T(1)-20T(0) = 9*(-10)-20*(-3)=-90+60=-30

NOW on putting n=2 in part a i get -22.91...

where am i wrong?

0
0
@gari,

it is, $2*5^n-5*4^n$
0
0

ohh.... Thanku so much @ joshi_nitish ... It was a poor doubt . 

0
0
its not a decimal point it gives -30 in both ways
0
0

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true