Consider the following linear difference equation f_k=1+1/2 f_(k+1)+1/2 f_(k-1), 1<= k <= n-1with f_0=f_n=0.

gainejavima

gainejavima

Answered question

2021-11-19

Consider the following linear difference equation
fk=1+12fk+1+12fk1, 1kn1
with f0=fn=0. How do i find solution?

Answer & Explanation

Befory

Befory

Beginner2021-11-20Added 19 answers

Apart from trying what Will Jagy said, you can also note that, for n=2,3,4,,
k=2n(nk+1)(1)=k=2n(nk+1)(fk2fk1+fk2)
=fn+k=2n1((nk+12(nk)+(nk1))fk+((n2)2(n1))f(1)+(n1)f(0)
=fnnf(1)+(n1)f(0)
Thus, for every n=0,1,2,,
fn(n)=nf(1)(n1)f(0)k=2n(nk+1)=nf(1)(n1)f(0)n(n1)2
James Kilian

James Kilian

Beginner2021-11-21Added 20 answers

Easily you can determine that for the homogeneous recurrence equation
fk+1h2kh+fk1h=0
the solution is
fkh=c1+c2k
now, a particular solution which should be polynomial, you can propose
fkp=c1+c2k+c3k2
and the coefficients

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?