Taylor Series
Tags | MATH 115 |
---|
Taylor Series
Definition π§
A taylor series
is an approximation of a function by capturing its ο»Ώ derivatives. We can express a taylor approximation by the following:
Derivation of coefficients π
We know that ο»Ώ and we know from derivatives that ο»Ώ. Letβs try to derive ο»Ώ.
Derivation of ο»Ώ
We can solve for ο»Ώ, which gets you
And the function approximation should be perfectly correct as ο»Ώ, so we take the limit using lβhopitalβs rule. If we do this, we get
which is exactly what it should be. In the next part, we will derive a general rule.
You can do this inductively for any number of terms. Just solve for that coefficient, and compute the limit as ο»Ώ using Lβhopitalβs rule. The factorial in the term comes from the repeated differentiation of ο»Ώ.
Taylorβs Theorem π
Theorem: A function can be expressed exactly in terms of its taylor expression as
So the second term is just the taylor approximation with ο»Ώ terms, but this first term is actually quite magical. It tells us that we can make up the difference with just the next term, but you evalutate the ο»Ώat some ο»Ώ. Of course, this ο»Ώ depends a lot on what ο»Ώ is; you wonβt get a perfect function just by adding another term with a singular value. We can also call this first term the remainder
.
Proof
To help with this, we look at the case where ο»Ώ and then we use induction.
Letβs set ο»Ώ. Letβs compute
We know that ο»Ώ by construction. Now, letβs solve for m such that ο»Ώ. This is possible because you have one equation and one variable. Now, letβs assume you have solved for ο»Ώ. Then, we have ο»Ώ. By Rolleβs theorem, there exists some ο»Ώ where ο»Ώ.
Letβs look at ο»Ώ. We have that ο»Ώ. This means that ο»Ώ.
Therefore, we have ο»Ώ, and by Rolleβs theorem, we can find a ο»Ώ that satisfies ο»Ώ. If we look at ο»Ώ we have ο»Ώ. Because ο»Ώ, then ο»Ώ, and we have ο»Ώ.
Now, itβs critical to note here that we didnβt just define ο»Ώ; we defined it at the start of the problem. Therefore, what we derived is the existence of ο»Ώ whose ο»Ώ is exactly equal to this remainder coefficent ο»Ώ!
Ok, so this shows taylorβs theorem for 2. Can we do this inductively? Yes! Hereβs a sketch
- Start by pinning down ο»Ώ using the equality ο»Ώ
- Use Rolleβs theorem to get some ο»Ώ and this yields ο»Ώ. We always know that ο»Ώ. As such, ο»Ώ, and we can use Rolleβs theorem again.
- Do this over and over, effectivley βpinchingβ the bounds of ο»Ώ. As you get to the final term, you will get ο»Ώ. Therefore, we have ο»Ώ. And this is exactly what we wanted to show! There is some ο»Ώ that satisfies this coefficient.