We can use diagonalization to solve the Fibonacci Sequence:
A Tale of Fibonacci
Consider $f_n = {0,1,1,2,3,5,8,13,...}. Namely:
Is it possible to get an iterative formula for ? Notice that: we get make a forumla:
Namely, we take the first two numbers and put them in , and the 2nd and 3rd are in and so on. But consider the transformation from . This is defined as:
implies that:
but we can turn into , so what if I have a diagonal matrix. Consider such a matrix:
if we want then it's just:
Notice that we've turned something that was and turned it into (assuming exponentiation is easy to do). Thus, the idea is to find a basis such that is diagonal. Because if we can then:
where we know the left matrix will be easy to compute if it's diagonalizable. Hence, we need to make the basis vectors as eigenvectors. Hence, ask:
Thus since then so then since as we want nonzero eigenvectors:
Thus solve the quadratic:
this is the golden ratio. Now we need the eigenvectors for these eigenvalues. We ideally want simple eigenvectors where we have our first is simple, so use , then hence:
and similarly for the other eigenvalue:
So my basis . These are eigenvectors so we'll have a diagonal matrix representation, where: