Deriving the Formula for the nth Term of the Fibonacci Sequence Using Matrices

In summary, there are multiple ways to derive the formula for the nth term of the Fibonacci sequence, including using matrices and generating functions. The matrix proof involves eigenvalues and eigenvectors, which can be learned through linear algebra. Another way to prove it is by expressing the sequence as a linear combination of two basis vectors in a vector space, and solving for the coefficients. The correctness of the assumption about power series can be established by induction.
  • #1
jd12345
256
2
I want to find a derivation for formula of nth term of fibonacci formula. Searching the net - I found two methods : (i) First one assumes that the nth terms will be some number raised to power of n...I don't like this one as it assumes the formula initially
(ii) the second one involves matrices but i don't understand a large portion of the derivation

Is there any other way? If not could you tell me what all i have to learn about matrices before i can understand the derivation( it involves eigenvalues and all other stuff that i don't understand).
The matrix proof is here : http://mathproofs.blogspot.in/2005/04/nth-term-of-fibonacci-sequence.html
 
Mathematics news on Phys.org
  • #2
1. It does not assume the formula initially. It assumes that a polynomial expression exists that satisfies the relation.
2. The matrix proof is a bit complicated. Eigenvalues and eigenvectors are simple concepts; you can look them up on Wikipedia or anywhere else. The proof is complicated in means that it is unnecessary for it to be that complex.
 
  • #3
Another way to derive the formula is via generating functions. Here is a link to one such derivation:

http://courses.csail.mit.edu/6.042/fall05/ln11.pdf
 
  • #4
If you learn enough linear algebra to understand the matrix proof, it will then be easy to see why the solution involves power series.

I can't think of a "simple" way to motivate the assumption about power series, except an analogy with a geometric series. If you take a simpler difference equation like ##a_{n+1} = c a_n##, the solution is ##a_0, a_0c, a_0c^2, \dots a_0c^n \dots## So you might expect the solution to a more complicated difference equation to involve power series as well.

There is also an analogy between linear difference equations with constant coefficients, where the solutions as power series, and linear differential equations with constant coefficients, where the solutions are exponential functions. But you need linear algebra to explain why the differential equations have that form of solution, so that doesn't really help you...
 
  • #5
The supposition that the answer is in the form of a geometric sequence is only temporary. Having found the ratio, the correctness can then be established by induction. So the proof is quite sound.
Or is your objection that the solver had to make the right guess to get started? You can put that down to experience of handling recurrence relations generally.
 
  • #6
jd12345 said:
Just out of interest, I read this proof, and I understood it till the bit where he says:
And now we plug it all into find a formula for the nth power of A

Does the second column of that 2x2 matrix on the third line look wrong to anyone else?

I know it doesn't actually matter to the proof of his theorem (or whatever it is you call it) as it all depends on the first column, but anyway? Have I lost a brain cell or two?
 
  • #7
No, it looks right to me. E.g. (√5-1)n+1(√5+1) = (√5-1)n(√5-1) (√5+1) = (√5-1)n(5-1) = (√5-1)n4
 
  • #8
Another way to prove it using basic linear algebra would be as follows.

First of all, the set [itex]E[/itex] of sequences [itex](u_n)[/itex] such as [itex]u_{n+2} = u_{n+1} + u_n[/itex] for all [itex]n \in \mathbf N[/itex] is a vector space over [itex]\mathbf R[/itex] (this is very easy to show).

Also, [itex]E[/itex] is of dimension 2 (intuitively, any sequence of [itex]E[/itex] is entirely defined by its two first terms, i.e. [itex]E[/itex] is isomorphic to [itex]\mathbf R^2[/itex]).

Next, by calling [itex](F_n)[/itex] our Fibonacci sequence, [itex](F_n) \in E[/itex], so [itex](F_n)[/itex] can be expressed as a linear combination of two basis vectors (here, sequences) of [itex]E[/itex].
This is the tricky part. You have to find two sequences, not proportional to each other, verifying the recurrence relation [itex]u_{n+2} = u_{n+1} + u_n[/itex], that you can clearly explicit. You can easily show that [itex](\varphi^n)[/itex] and [itex](\bar{\varphi}^n)[/itex] verify that relation, where [itex]\varphi[/itex] and [itex]\bar{\varphi}[/itex] are the solutions to the equation [itex]x^2=x+1[/itex], namely [itex]\dfrac{1+\sqrt 5}{2}[/itex] and [itex]\dfrac{1-\sqrt 5}{2}[/itex] .
Indeed, [itex]\varphi^2 = \varphi + 1[/itex] by definition, and multiplying by [itex]\varphi^n[/itex] gives [itex]\varphi^{n+2} = \varphi^{n+1} + \varphi^n[/itex] (same goes for [itex]\bar{\varphi}[/itex]).

So the sequences [itex](\varphi^n)[/itex] and [itex](\bar{\varphi}^n)[/itex] verify the recurrence relation, i.e. are vectors of [itex]E[/itex]. They aren't proportional (you can see that by checking the two first terms of each sequence), so they form a basis of [itex]E[/itex]. Thus, you can express [itex](F_n)[/itex] as a linear combination of [itex](\varphi^n)[/itex] and [itex](\bar{\varphi}^n)[/itex], in other words, there exists [itex]\lambda, \mu[/itex] reals such that for all [itex]n[/itex], [itex]F_n = \lambda \varphi^n + \mu\bar{\varphi}^n[/itex].

Evaluating at [itex]n = 0[/itex] and [itex]n = 1[/itex] gives [itex]\lambda + \mu = 0[/itex] and [itex]\lambda\varphi + \mu\bar{\varphi} = 1[/itex], which solves into [itex]\lambda = -\mu = \dfrac{1}{\varphi-\bar{\varphi}}[/itex].

Finally, [itex]F_n = \dfrac{\varphi^n - \bar{\varphi}^n}{\varphi-\bar{\varphi}}[/itex].
 
Last edited:
  • #9
haruspex said:
No, it looks right to me. E.g. (√5-1)n+1(√5+1) = (√5-1)n(√5-1) (√5+1) = (√5-1)n(5-1) = (√5-1)n4
Thanks. It's obvious now. That'll teach me to be considering maths at 6 in the morning after watching England losing again! :blushing:
 

What is the Fibonacci nth term formula?

The Fibonacci nth term formula is a mathematical formula used to find the value of the nth term in the Fibonacci sequence. The formula is Fn = Fn-1 + Fn-2, where F represents the value of the Fibonacci number and n represents the position of the number in the sequence.

What is the Fibonacci sequence?

The Fibonacci sequence is a series of numbers where each number is the sum of the two preceding numbers. The sequence starts with 0 and 1, and the next number is found by adding the previous two numbers. The sequence continues indefinitely: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, etc.

Who discovered the Fibonacci nth term formula?

The Fibonacci nth term formula was first described by Leonardo Pisano Bigollo, also known as Fibonacci, in the 12th century. However, the sequence was known to Indian mathematicians long before Fibonacci's time.

What is the significance of the Fibonacci sequence?

The Fibonacci sequence has many applications in mathematics, science, and nature. It can be used to model population growth, financial markets, and the branching patterns of trees. It also appears in many natural phenomena, such as the arrangement of leaves on a stem and the spiral patterns of shells and sunflowers.

Is the Fibonacci sequence related to the golden ratio?

Yes, the Fibonacci sequence is closely related to the golden ratio, which is approximately 1.618. As the sequence gets larger, the ratio between successive terms approaches the golden ratio. This ratio is often seen in the proportions of natural objects and is considered aesthetically pleasing.

Similar threads

  • General Math
Replies
5
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
4K
  • General Math
Replies
4
Views
1K
Replies
41
Views
9K
Replies
4
Views
3K
Replies
8
Views
17K
  • Atomic and Condensed Matter
Replies
0
Views
383
  • General Math
Replies
6
Views
3K
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
Back
Top