Difference between revisions of "Binet's Formula"
(→Proof using Calculus) |
|||
Line 39: | Line 39: | ||
==Proof using Calculus== | ==Proof using Calculus== | ||
+ | |||
+ | The fibonacci sequence is defined as follows: <cmath>F_0=0,~F_1=1,~F_n+F_{n+1}=F_{n+2}</cmath> | ||
+ | We can write a power series: <cmath>f(x)=\sum_{n=0}^{\infty} F_n x^n</cmath> | ||
+ | It's coefficients look like this: | ||
+ | 0 1 1 2 3 5 8 ... | ||
+ | Coefficients for: | ||
+ | f(x)-x 0 0 1 2 3 5 8 ... | ||
+ | x f(x) 0 0 1 1 2 3 5 ... | ||
+ | x²f(x) 0 0 0 1 1 2 3 ... | ||
+ | <cmath>f(x)-x=xf(x)+x^2f(x) \text{ so } f(x)=\frac{x}{1-x-x^2}</cmath> | ||
+ | Minor technical point: This will only converge if <cmath>|x|<\frac{\sqrt{5}-1}{2}</cmath> but we will only evaluate at 0. | ||
+ | |||
+ | Then, we can take partial fractions! <cmath>\left(\frac{s_0}{x-r_0}+\frac{s_1}{x-r_1}\right)</cmath> | ||
+ | <cmath>r_0,r_1=\frac{-1\pm\sqrt{5}}{2},s_0,s_1=\frac{-5\pm\sqrt{5}}{10}</cmath> | ||
+ | |||
+ | It is known that the nth derivative of <cmath>\frac{r}{x-s}</cmath> is <cmath>(-1)^{n}n!\frac{r}{(x-s)^{n+1}}</cmath> | ||
+ | Hint: let u=x-s and use the chain rule. | ||
+ | |||
+ | Recall Maclaurin series: <cmath>\sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!}x^n</cmath> | ||
+ | Since we broke it down into two simple fractions, now we can plug it into the formula. | ||
+ | <cmath>F_n=-\left(\frac{s_0}{r_0^{n-1}}+\frac{s_1}{r_1^{n-1}}\right)</cmath> | ||
+ | This is a formula, but not Binet's. Or is it? | ||
+ | <cmath>F_n=-\left(\frac{\left(\frac{-5+\sqrt{5}}{10}\right)}{\left(\frac{-1+\sqrt{5}}{2}\right)^{n-1}}+\frac{\left(\frac{-5-\sqrt{5}}{10}\right)}{\left(\frac{-1-\sqrt{5}}{2}\right)^{n-1}}\right)</cmath> | ||
+ | |||
==See Also== | ==See Also== | ||
*[[Fibonacci number]] | *[[Fibonacci number]] | ||
[[Category:Theorems]] | [[Category:Theorems]] |
Revision as of 20:21, 30 May 2024
Binet's formula is an explicit formula used to find the th term of the Fibonacci sequence. It is so named because it was derived by mathematician Jacques Philippe Marie Binet, though it was already known by Abraham de Moivre.
Formula
If is the th Fibonacci number, then .
Proof
To derive a general formula for the Fibonacci numbers, we can look at the interesting quadraticBegin by noting that the roots of this quadratic are according to the quadratic formula. This quadratic can also be written as From this, we can write expressions for all : We note thatLet the roots of our original quadratic be and Since both and are roots of the quadratic, they must both satisfy SoandSubtracting the second equation from the first equation yields This yields the general form for the nth Fibonacci number:
Proof using Recursion
The Fibonacci recursive relation is This is a constant coefficient linear homogenous recurrence relation. We also know that and Thus, its characteristic equation is which has solutions Let and We get that Plugging in our initial conditions, we get
Since subtracting from we get Since and Therefore, Therefore, the general form of the th Fibonacci number is ~peelybonehead
Proof using Calculus
The fibonacci sequence is defined as follows: We can write a power series: It's coefficients look like this:
0 1 1 2 3 5 8 ...
Coefficients for:
f(x)-x 0 0 1 2 3 5 8 ... x f(x) 0 0 1 1 2 3 5 ... x²f(x) 0 0 0 1 1 2 3 ...
Minor technical point: This will only converge if but we will only evaluate at 0.
Then, we can take partial fractions!
It is known that the nth derivative of is Hint: let u=x-s and use the chain rule.
Recall Maclaurin series: Since we broke it down into two simple fractions, now we can plug it into the formula. This is a formula, but not Binet's. Or is it?