in Combinatory edited by
2,530 views
2 votes
2 votes

The Solution of the recurrence relation An-2An-1=2n  where A0=1 ?

in Combinatory edited by
2.5k views

1 Answer

1 vote
1 vote

solution for this recurrence rel is given by A+ A {hypothesis + particular  solution}

for  A , given equation can be put equal to zero

i.e = An - 2An-1 = 0

it is of degree 1

divide whole equation by An-1

Now equation remains as  A - 2 = 0   --> characteristic equation

i.e A = 2 

i.e Ah =  c(2)n

A0 = 1 therefor  by putting value of n in above equation we get value of c as 1

now we have to solve particular solution

the solution would be d.abecause it is of the form 2n

i.e  d . 2n   - 2 . d. 2n-1  = 2n  we don;t have a solution for this equation as both terms on left side cancel each other therefor we can put it as zero

i.e An = Ah + Ap

Answer  =          An = 1.(2)+ 0   == (2)n

1 comment

@Mohit. We have to put the value of A0 once we get  Ah+Ap i.e. entire solution. Plz confirm.

0
0
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