In How Many Transformations, Daniel came to the realization that linear recurrence of the form
{xn+1=a1xn+b1yn,yn+1=a2xn+b2yn,
could easily be solved by setting up the matrix interpretation, and then diagonalize the matrix (assuming that's possible) which would allow us quick exponentiation, and hence obtain the Nth term directly.
We've seen this in the context of the Fast Fibonacci Transform. Specifically, set xn=fn+1 and yn=fn, and you get the system of equations
{xn+1=1xn+1ynyn+1=1xn+0yn
Hence, (xnyn)=(1110)n(11)
Using this, show the following:
1. Performing the eigenvalue decomposition, prove Binet's formula.
2. Using only matrix properties, conclude that
f2n+1=fn+12+fn2.
Hint: A2n=An×An.
3. Find a similar formula for f2n.
4. Express f3n in terms of fn,fn+1.
#Combinatorics
#RecurrenceRelations
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
This kinda gave away the method one uses to solve my problem (if you don't use eigenvalue decomposition). However, I would still like to see how eigenvalue decomposition works, so it would be nice if a brilliant user could post a solution to the problems suggested in this note. Thanks.
Log in to reply
Added a solution. It's pretty basic matrix manipulation, and would have been the approach that I thought you used.
Let ρ=21+5 and ρ=21−5. Let D=(ρ00ρ). Let A=(ρ1ρ1). Then (1110)=ADA−1.
Log in to reply
(1) So (fn+1fn)=(ADA−1)n(10)=ADnA−1(10). Some painful computations yield (fn+1fn)=51(ρn+1−ρn+1ρn−ρn); Binet's formula falls out of this.
Log in to reply
(2) and (3): let M=(1110)=ADA−1. Then Mn(10)=(fn+1fn), and Mn(01)=Mn−1(10)=(fnfn−1). So Mn=(fn+1fnfnfn−1).
Now then, (f2n+1f2n)=M2n(10)=Mn(fn+1fn)=(fn+1fnfnfn−1)(fn+1fn).
So we get (f2n+1f2n)=(fn+12+fn2fn+1fn+fnfn−1), and the formulas we want can be read off from there.
Log in to reply
f3n=fn(3fn+12−3fnfn+1+2fn2). (Basically the same process as the previous, but I had to substitute fn−1=fn+1−fn in some places.)
(4) Similar computations giveI wish I saw this earlier
Log in to reply
@Trevor B. @Trevor Arashiro @Agnishom Chattopadhyay @Michael Mendrin @Sharky Kesa
Could you guys help fill out the Fast Fibonacci Transform Wiki Page? Thanks!
Log in to reply
Okay! Will go through this
For Fast Fibonacci Transform, here's a python code for calculating fibonacci numbers: