murshid_islam
- 468
- 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]?
[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]?