Last time | Next time |
Here was my "haiku Valentine" (that I might have sent to my wife, but didn't...:)
(What is a haiku?)
As Confucius implied, "If names be not correct, affairs cannot be carried on to success."
But I'm going to put a problem like this on the test....
Note: we won't spend time on closed form solutions of second-order recurrence with constant coefficients (like Fibonaccis). But it is possible (the method described in the text seems ad hoc to me -- and not very enlightening).
\[ Fib(n) = \frac{1}{\sqrt{5}} \left( \left(\frac{1+\sqrt{5}}{2}\right)^n - \left(\frac{1-\sqrt{5}}{2}\right)^n \right) \]
\[ \gamma = \frac{1+\sqrt{5}}{2} \approx 1.618 \] is called the "golden ratio", while \[ \frac{1-\sqrt{5}}{2} = 1-\gamma = \frac{-1}{\gamma} \approx -0.618 \] It turns out that \[ Fib(n) \approx \frac{1}{\sqrt{5}}\gamma^n \] So well, that by simply rounding this quantity you get all the right values! \[ Fib(n) = Round\left(\frac{1}{\sqrt{5}}\gamma^n\right) \] This shows that the Fibonacci numbers grow exponentially fast, with base $\gamma$.
This is called a "closed-form solution" for the Fibonacci number sequence.