Once you have found the infinite Taylor Series, you will often be asked to approximate the original function with a finite number of terms from the Taylor Series. Doing so introduces error since the finite Taylor Series does not exactly represent the original function. To handle this error we write the function like this.
\(\displaystyle{
f(x) = f(a) + \frac{f'(a)}{1!}(xa) + \frac{f''(a)}{2!}(xa)^2 + . . . + \frac{f^{(n)}(a)}{n!}(xa)^n + R_n(x)
}\)
where \(R_n(x)\) is the remainder. Notice we are cutting off the series after the nth derivative and \(R_n(x)\) represents the rest of the series.
Lagrange's formula for this remainder term is
\(\displaystyle{ R_n(x) = \frac{f^{(n+1)}(z)(xa)^{n+1}}{(n+1)!} }\)
This looks very similar to the equation for the Taylor series terms . . . and it is, except for one important item. Notice that in the numerator, we evaluate the \(n+1\) derivative at \(z\) instead of \(a\). So, what is the value of \(z\)? \(z\) takes on a value between \(a\) and \(x\), but, and here's the key, we don't know exactly what that value is. So this remainder can never be calculated exactly. However, since we know that \(z\) is between \(a\) and \(x\), we can determine an upper bound on the remainder and be confident that the remainder will never exceed this upper bound. So how do we do that?
Upper Bound on the Remainder (Error)
We usually consider the absolute value of the remainder term \(R_n\) and call it the upper bound on the error, also called Taylor's Inequality.
\(\displaystyle{ \abs{R_n(x)} \leq \frac{\abs{f^{(n+1)}(z)(xa)^{n+1}} }{(n+1)!} }\)
How To Choose z
To find an upper bound on this error, we choose the value of \(z\) using these rules.
1. If the \(n+1\) derivative contains a sine or cosine term, we replace the sine or cosine term with one, since the maximum value of sine or cosine is one. This seems somewhat arbitrary but most calculus books do this even though this could give a much larger upper bound than could be calculated using the next rule. [ As usual, check with your instructor to see what they expect. ]
2. If we do not have a sine or cosine term, we calculate \(\abs{f^{(n+1)}(z)}\) and then choose the value of \(z\) between \(a\) and the \(x\)value that we are estimating that makes this term a maximum. Sometimes, we need to find the critical points and find the one that is a maximum. Since we have a closed interval, either \([a,x]\) or \([x,a]\), we also have to consider the end points. Many times, the maximum will occur at one of the end points, but not always.
Okay, so what is the point of calculating the error bound? The point is that once we have calculated an upper bound on the error, we know that at all points in the interval of convergence, the truncated Taylor series will always be within
\(\abs{R_n(x)}\) of the original function \(f(x)\). This \(\abs{R_n(x)}\) is a mathematical 'nearness' number that we can use to determine the number of terms we need to have for a Taylor series.
Here is a great video clip explaining the remainder and error bound on a Taylor series.
video by Dr Chris Tisdell 

Practice
For the questions related to finding an upper bound on the error, there are many (in fact, infinite) correct answers. However, for these problems, use the techniques above for choosing \(z\), unless otherwise instructed. Give all answers in exact form, if possible.
Basic Problems
Problem Statement 

Find the fourth order Taylor polynomial of \( f(x)=e^x \) at x=1 and write an expression for the remainder.
Solution 

video by PatrickJMT 

close solution

Problem Statement 

Find the first order Taylor polynomial for \( f(x) = \sqrt{1+x^2} \) about x=1 and write an expression for the remainder.
Solution 

video by PatrickJMT 

close solution

Intermediate Problems
Problem Statement 

Show that \(\displaystyle{ \cos(x) = \sum_{n=0}^{\infty}{ (1)^n\frac{x^{2n}}{(2n)!} } }\) holds for all x.
Solution 

video by PatrickJMT 

close solution

Problem Statement 

For \(\displaystyle{ f(x) = x^{2/3} }\) and a=1; a) Find the third degree Taylor polynomial.; b) Use Taylors Inequality to estimate the accuracy of the approximation for \( 0.8 \leq x \leq 1.2 \).
Solution 

video by PatrickJMT 

close solution

Problem Statement 

Use the 2nd order Maclaurin polynomial of \( e^x \) to estimate \( e^{0.3} \) and find an upper bound on the error.
Solution 

video by PatrickJMT 

close solution

Problem Statement 

Determine an upper bound on the error for a 4th degree Maclaurin polynomial of \( f(x) = \cos(x) \) at \( \cos(0.1) \).
Solution 

video by MIP4U 

close solution

Problem Statement 

Determine the error in estimating \( e^{0.5} \) when using the 3rd degree Maclaurin polynomial.
Solution 

video by MIP4U 

close solution

Problem Statement 

Estimate the remainder of this series using the first 10 terms \(\displaystyle{ \sum_{n=1}^{\infty}{ \frac{1}{\sqrt{n^4+1}} } }\)
Solution 

video by Krista King Math 

close solution

You CAN Ace Calculus
To bookmark this page and practice problems, log in to your account or set up a free account.
Single Variable Calculus 

MultiVariable Calculus 

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.
 
Help Keep 17Calculus Free 

The 17Calculus and 17Precalculus iOS and Android apps are no longer available for download. If you are still using a previously downloaded app, your app will be available until the end of 2020, after which the information may no longer be available. However, do not despair. All the information (and more) is now available on 17calculus.com for free. 