Skip to content

Taylor Series

In Section 2.6 we introduced the preliminaries of the Taylor Series. Its core idea is to find a good approximation of a given function using a power series. And that is why we introduced the infinite series and power series in the before sections.

Uniqueness Theorem

This is the basic theorem of the Taylor Series, which described the uniqueness of the Taylor expansion. That is:

*If a function can be expanded in the form of a power series, this expansion must be the Taylor Expansion of the original function.

For a function f(x)=c0+c1(xa)+c2(xa)2++cn(xa)n, to make it the approximation of P(x), we let dPdx=dfdx, d2PdP2=d2fdx2, and d2PdPn=dnfdxn, while finding the nth derivative step by step, we will naturally find cn=f(n)(a)n!. This process is biconditional, so the existence and uniqueness of the Taylor Expansion f(x) of the original function P(x) at x=a is determined.

So now we have the Taylor Series. But since it is the approximation of a function, it can not be calculate while it is infinite, and it can not be 100% accurate while it is finite. So we next introduce the remainder theorem.

Remainder Theorem

While we use Taylor polynomials to approach a function, we need to estimate how accurate the approximation is. For a n-order Taylor polynomial f(x), we can only say that f(x)P(x), but not f(x)=P(x), since the finite polynomial can not make accurate approximation.

So we introduce the remainder Rn(x) for n-order Taylor polynomial. We use it to ensure that the approximation fits the original function well in some interval, so that we can write f(x)+Rn(x)=P(x).

In the Mean Value Theorem of Derivative, we said in a interval [a,b], it must have a point x=c makes that f(c)=f(b)f(a)ba. We expand this theorem into higher order, for example in n-order, so that it could be used in the remainder theorem.

The remainder:

Rn(x)=fn+1(c)(n+1)!(xa)n+1

This method works well when we try to approach P(x) near x=a. The Taylor polynomial itself is 100% accurate at the expand point. But it means that we need to know the value of P(x) at the target point if we do the expansion at there, then it is meaningless to do this since we have known the information we want to find. That is why we introduce the remainder here. A example is given below:

e.g.

Try to find the value of ln1.1.

We do the Taylor expansion at a=1:
(lnx)=1x
(lnx)=1x2
(lnx)=2x3
Since we are just giving an example here, we simply use the there-order Taylor expansion. But in practical cases we can make polynomial longer for a more accurate approximation.

f(x)=f(a)+f(a)(xa)+f(a)2!(xa)2+f(a)3!(xa)3+R3

f(x)=ln(a)+1a(xa)12a2(xa)2+13a3(xa)3+R3

So, when a=1, the approximation f(x)=0+(x1)12(x1)2+13(x1)3+R3 can be used to approach the value of lnx near x=1. We will further explain why this approximation could be used.

For now we can calculate f(x) using x=1.1. The value is 0.095333, while ln1.10.095310. It is actually a good approximation.

We can calculate the remainder using the formula to verify our result:

R3(x)=f(c)4!(x1)4, where 1<c<1.1.

f(c)=6c4

When 1<c<1.1, R3(x)<0.000025. And our error is 0.000023, the remainder works.

The example above shows how to use Taylor expansion to approach a function near the expanding point, and then use the remainder theorem to estimate the error.

But still we need to know whether we can use this method to make the approximation and when we could say it is a good approximation.

Existence Theorem

To prove the Taylor expansion in finite terms of a function exists, we need to prove that:

limnRn(x)=0

Where Rn(x) is the remainder we introduced in the Remainder Theorem.

When a Taylor Series fit this requirement, it means that when the expansion become longer and longer, the error between the Taylor Series and the original function becomes 0, and that is a good approximation we can use.