Blog Archive

Wednesday, May 17, 2023

Fibonacci sequence and ODE

We know that the Fibonacci sequence is given by Fn+2=Fn+1+Fn,F0=1,F1=1

But how to get the explicit formula?

Observe an interesting way to approach it by considering the Taylor Series and ODE.

Consider representing a sequence to a Taylor Series,

(a)n=1fan=a0+a1x+a2x22!+a3x33!...

And ddx act on fan gives fan+1=a1+a2x+a3x22!+...

For convenience, we will denote f(x) for the Fibonacci sequence

So we can rewrite Fn+2=Fn+1+Fn as ((ddx)2ddx1)f(x)=0

And we can factor the polynomial, (ddx1+52)(ddx152)

So the solution for the ODE is C1e1+52x+C2e152x

And consider the Taylor Series, we get Fn=C1(1+52)n+C2(1+52)n

And F0=1,F1=1, So C1+C2=1,C1(1+52)+C2152)=1

So C1=1+525,C2=1525

So Fn=15((1+52)n+1+(152)n+1)

 

No comments:

Post a Comment

Popular Posts