As you probably know, I wear my heart on my sleeve:
Well, I took the golden opportunity (ha!) to bring the golden ratio into Calc 2 this week, using it (and its little pal
) to find a closed formula for the
-th term of the Fibonacci sequence.
The ubiquitous Fibonacci sequence! It’s something you may have encountered out in the wild. You know, it goes a little like this:
so
And let’s say for some reason, you need to cook up . I hope you have some time on your hands if you’re planning to add all the way up to that. Instead, wouldn’t it be nice if we had a simple formula that we could use — i.e., a formula that was not recursive — to figure out the
-th Fibonacci number?
Luckily, such a formula exists, and there are lots of ways to find it. In this post, we’ll find it using power series. Read on, brave blogosphere traveler.
First thing we’re going to do is build a power series:
Remember that $F_n = F_{n-1} + F_{n-2}$ as long as $n \geq 2$. This means that we can rewrite our power series:
So far so good? We’re not done yet, though. We can do a little reindexing. In particular, note that by tweaking the index a little bit, we have equalities:
You might want to grab a coffee and some scratch paper to make sure you believe all those equalities up there. No worries; the rest of the post will be here when you’re ready.
Okay — agree with me? Good! Remember that we have figured out
so substituting our work from above, we obtain
so finally, if we solve all of that for , we get the marvelous rational function
All right, kids. Now the question becomes: (a) do you remember Partial Fraction Decomposition from earlier in the semester? and (b) do you remember the quadratic formula? We’re going to need both of those things. Let me google that for you… Partial Fraction Decomposition and Quadratic Formula.
Now that you’ve had a chance to review, you can double check that where
, the Golden Ratio, and
, which we’ll call the Aluminum Ratio for the purposes of this post. Maybe it’ll catch on?
And this means that
I’ll let you check my math here, but I’d wager a cat that
First, let’s work with
That last equality comes from the fact that
so
and vice versa. Similarly,
This means that . Remember that the coefficient of $x^n$ in $F(x)$ is actually $F_n$, and therefore — drumroll, please! —
And so to calculate , you can just plug
into your favorite calculator. For instance, wolfram alpha calculates that this Fibonacci number is merely…