Matrix representation for closed-form expression for Fibonacci numbers

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
murshid_islam
Messages
468
Reaction score
21
TL;DR
Matrix representation for closed-form expression for Fibonacci numbers:
From the wikipedia page for Fibonacci numbers, I got that the matrix representation for closed-form expression for Fibonacci numbers is:

[tex]\begin{pmatrix}<br /> 1 & 1 \\<br /> 1 & 0\\<br /> \end{pmatrix} ^ n =<br /> \begin{pmatrix}<br /> F_{n+1} & F_n \\<br /> F_n & F_{n-1}\\<br /> \end{pmatrix}[/tex]

That only works when [itex]F_0 = 0[/itex] and [itex]F_1 = 1[/itex]. How can I find the matrix representation for arbitrary starting values, for example, when [itex]F_0 = a[/itex] and [itex]F_1 = b[/itex]?
 
Physics news on Phys.org
murshid_islam said:
Summary:: Matrix representation for closed-form expression for Fibonacci numbers:

From the wikipedia page for Fibonacci numbers, I got that the matrix representation for closed-form expression for Fibonacci numbers is:

[tex]\begin{pmatrix}<br /> 1 & 1 \\<br /> 1 & 0\\<br /> \end{pmatrix} ^ n =<br /> \begin{pmatrix}<br /> F_{n+1} & F_n \\<br /> F_n & F_{n-1}\\<br /> \end{pmatrix}[/tex]

That only works when [itex]F_0 = 0[/itex] and [itex]F_1 = 1[/itex]. How can I find the matrix representation for arbitrary starting values, for example, when [itex]F_0 = a[/itex] and [itex]F_1 = b[/itex]?
Start with
[tex]\begin{pmatrix}<br /> a+b & b \\<br /> b & a\\<br /> \end{pmatrix} =<br /> <br /> \begin{pmatrix}<br /> F_2 & F_1 \\<br /> F_1 & F_0\\<br /> \end{pmatrix}[/tex]

Then multiply repeatedly on the left by
[tex]\begin{pmatrix}<br /> 1 & 1 \\<br /> 1 & 0\\<br /> \end{pmatrix} [/tex]
 
Reply
  • Like
Likes   Reactions: PeroK and murshid_islam
Though same as post #2,
2022-05-10 14.01.44.jpg
 
Reply
  • Like
Likes   Reactions: martinbn and murshid_islam