Suppose is a function that we approximated by . Further, suppose , while our approximation was . Let .
True or false:
True or false:
True or false:
True or false:
Taylor Polynomials
14 problems · hints, answers and solutions shown beside each one
Suppose is a function that we approximated by . Further, suppose , while our approximation was . Let .
True or false:
True or false:
True or false:
True or false:
(a) False (b) True (c) True (d) True
From the given information,
So, (a) is false (since 8 is not less than or equal to 7), while (b), (c), and (d) are true.
Remark: is the error in our approximation. As mentioned in the text, we almost never know exactly, but we can give a bound. We don't need the tightest bound–just a reasonable one that is easy to calculate. If we were dealing with real functions and approximations, we might not know that , but if we knew it was at most 9, that would be a pretty decent approximation.
Often in this section, we will make simplifying assumptions to get a bound that is easy to calculate. But, don't go overboard! It is a true statement to say that our absolute error is at most 100, but this statement would probably not be very helpful as a bound.
Let , and let be the third-degree Maclaurin polynomial for ,
Use Equation 9.6.5 to give a reasonable bound on the error . Then, find the error using a calculator.
Equation 9.6.5 tells us
for some strictly between 0 and 2.
Equation 9.6.5 gives us the bound . A calculator tells us actually .
Equation 9.6.5 tells us that, when is the th degree Taylor polynomial for a function about , then
for some strictly between and . In our case, , , , and , so
Since is strictly between 0 and 2, :
but this isn't a number we really know. Indeed: is the very number we're trying to approximate. So, we use the estimation :
We conclude that the error is less than 6.
Now we'll get a more exact idea of the error using a calculator. (Calculators will also only give approximations of numbers like , but they are generally very good approximations.)
So, our actual answer was only off by about 1.
Remark: , so this does not in any way contradict our bound .
Let , and let be the fifth-degree Taylor polynomial for about . Give the best bound you can on the error .
You are approximating a third-degree polynomial with a fifth-degree Taylor polynomial. You should be able to tell how good your approximation will be without a long calculation.
Whenever you approximate a polynomial with a Taylor polynomial of greater or equal degree, your Taylor polynomial is exactly the same as the function you are approximating. So, the error is zero.
You and your friend both want to approximate . Your friend uses the first-degree Maclaurin polynomial for , while you use the zeroth-degree (constant) Maclaurin polynomial for . Who has a better approximation, you or your friend?
Draw a picture–it should be clear how the two approximations behave.
You do, you clever goose!
The constant approximation gives
while the linear approximation gives
Since , the constant approximation is better. (But both are a little silly.)
Suppose a function has sixth derivative
Let be the 5th-degree Taylor polynomial for about .
Give a bound for the error .
In this case, Equation 9.6.5 tells us that
for some strictly between 11 and 11.5.
Equation 9.6.5 tells us that, when is the th degree Taylor polynomial for a function about , then
for some strictly between and . In our case, , , , and .
for some in . We don't know exactly which this is true for, but since we know that lies in , we can provide bounds.
Therefore, when .
With this bound, we see
Our error is less than 0.02.
Let , and let be the second-degree Taylor polynomial for about . Give a reasonable bound on the error using Equation 9.6.5.
In this case, Equation 9.6.5 tells us that for some strictly between 0 and 0.1.
Equation 9.6.5 tells us that, when is the th degree Taylor polynomial for a function about , then
for some strictly between and . In our case, , , and , so
for some in .
We will find , and use it to give an upper bound for
when is in .
When , also , so:
With these bounds in mind for secant and tangent, we return to the expression we found for our error.
The error is less than .
Let , and let be the fifth-degree Maclaurin polynomial for . Use Equation 9.6.5 to give a bound on the error .
(Remember , the natural logarithm of .)
In our case, Equation 9.6.5 tells us
for some between and 0.
Equation 9.6.5 tells us that, when is the th degree Taylor polynomial for a function about , then
for some strictly between and . In our case, , , and , so
for some in . We'll need to know the sixth derivative of .
Plugging in :
for some in .
We're interested in an upper bound for the error: we want to know the worst case scenario, so we can say that the error is no worse than that. We need to know what the biggest possible value of is, given . That means we want to know the biggest possible value of . This corresponds to the smallest possible value of , which in turn corresponds to the smallest absolute value of .
Since , the smallest absolute value of occurs when . In other words, .
That means the smallest possible value of is .
Then the largest possible value of is 1.
Then the largest possible value of is .
Finally, we conclude
Let , and let be the third-degree Taylor polynomial for about . Give a bound on the error .
In this case, Equation 9.6.5 tells us that for some strictly between 30 and 32.
Your answer may vary. One reasonable answer is
. Another reasonable answer is
.
Equation 9.6.5 tells us that, when is the th degree Taylor polynomial for a function about , then
for some strictly between and . In our case, , , and , so
for some in .
We will now find . Then we can give an upper bound on when .
Using this,
Since ,
This isn't a number we know. We're trying to find the error in our estimation of , but shows up in our error. From here, we have to be a little creative to get a bound that actually makes sense to us. There are different ways to go about it. You could simply use . We will be a little more careful, and use the following estimation:
We conclude .
Let
and let be the first-degree Taylor polynomial for about . Give a bound on the error , using Equation 9.6.5. You may leave your answer in terms of .
Then, give a reasonable bound on the error .
In our case, Equation 9.6.5 tells us
for some between 0.01 and .
Equation 9.6.5 gives the bound .
A more reasonable bound on the error is that it is less than 5.
Equation 9.6.5 tells us that, when is the th degree Taylor polynomial for a function about , then
for some strictly between and . In our case, , , and , so
for some in .
Let's find .
Now we can plug in a better expression for :
for some in .
What we want to do now is find an upper bound on this expression containing ,
$\dfrac{1}{2}\left(\dfrac{100-\pi}{100\pi}\right)^2\cdot
\dfrac{\left|2c\cos\left(\frac{1}{c}\right)-\sin\left(\frac{1}{c}\right)\right|}{c^4}$
.
Since , it follows that , so .
For any value of , and are at most 1. Since , also . So,
Therefore,
Equation 9.6.5 gives the bound .
The bound above works out to approximately fourteen million. One way to understand why the bound is so high is that moves about crazily when is near zero–it moves up and down incredibly fast, so a straight line isn't going to approximate it very well at all.
That being said, because is still “sine of something," we know . To get a better bound on the error, let's find .
Now that we know , and we know , we can give the bound
A more reasonable bound on the error is that it is less than 5.
Still more reasonably, we would not use to evaluate approximately. We would write and approximate the right hand side, which is roughly .
Let , and let be the second-degree Maclaurin polynomial for . Give a reasonable bound on the error using Equation 9.6.5. What is the exact value of the error ?
Using Equation 9.6.5, for some in .
Using Equation 9.6.5,
The actual error is
which is about 0.02.
Equation 9.6.5 tells us that, when is the th degree Taylor polynomial for a function about , then
for some strictly between and . In our case, , , and , so
for some in .
The next task that suggests itself is finding .
Since for some in ,
for some in .
We want to know what is the worst case scenario-what's the biggest this expression can be. So, now we find an upper bound on when . Remember that our bound doesn't have to be exact, but it should be relatively easy to calculate.
When , the biggest can be is .
So, the numerator of is at most .
The smallest can be is .
So, the smallest can be is .
Then smallest possible value for the denominator of is
Then
Let's put together these pieces. We found that
for some in . We also found that
when is in . We conclude
For the second part of the question, we need to find and .
Finding is not difficult.
In order to find , we need to find .
Conveniently, we've already found the first few derivatives of .
So, the actual error is
A calculator tells us that this is about 0.02.
Let , and let be the th-degree Taylor polynomial for about . You use to estimate . If your estimation needs to have an error of no more than , what is an acceptable value of to use?
It helps to have a formula for . You can figure it out by taking several derivatives and noticing the pattern, but also this has been given previously in the text.
Any greater than or equal to 3.
Our error will have the form for some constant , so let's find an equation for . This has been done before in the text, but we'll do it again here: we'll take several derivatives, then notice the pattern.
So, when ,
Now that we know the derivative of , we have a better idea what the error in our approximation looks like.
for some in
What we've shown so far is
If we can show that , then we'll be able to conclude
That is, our error is less than .
So, our goal for the problem is to find a value of that makes . Certainly, is such a number. Therefore, any greater than or equal to 3 is an acceptable value.
Give an estimation of using a Taylor polynomial. Your estimation should have an error of less than 0.001.
You can approximate the function .
It's a good bit of trivia to know .
A low-degree Taylor approximation will give you a good enough estimation.
If you guess a degree, and take that Taylor polynomial, the error will probably be less than 0.001 (but you still need to check).
$\sqrt[7]{2200}\approx3+\dfrac{13}{7\cdot 3^6} \approx 3.00255$
We will approximate using a Taylor polynomial. Since , we will use as our centre.
We need to figure out which degree Taylor polynomial will result in a small-enough error.
If we use the th Taylor polynomial, our error will be
for some in . In order for this to be less than 0.001, we need
It's a tricky thing to figure out which makes this true. Let's make a table. We won't show all the work of filling it in, but the work is standard.
That is: if we use the first-degree Taylor polynomial, then for some between and ,
So, actually, the linear Taylor polynomial (or any higher-degree Taylor polynomial) will result in an approximation that is much more accurate than required. (We don't know, however, that the constant approximation will be accurate enough–so we'd better stick with .)
Now that we know we can take the first-degree Taylor polynomial, let's compute . Recall we are taking the Taylor polynomial for about .
We conclude .
Use Equation 9.6.5 to show that
Use the 6th-degree Maclaurin approximation for .
If we're going to use Equation 9.6.5, then we'll probably be taking a Taylor polynomial. Using Example 9.5.5, the 6th-degree Maclaurin polynomial for is
so let's play with this a bit. Equation 9.6.5 tells us that the error will depend on the seventh derivative of , which is :
for some between 0 and 1. Since ,
Remark: there are lots of ways to play with this idea to get better estimates. One way is to take a higher-degree Maclaurin polynomial. Another is to note that, since , then , so
If you got tighter bounds than asked for in the problem, congratulations!
If we're going to use Equation 9.6.5, then we'll probably be taking a Taylor polynomial. Using Example 9.5.5, the 6th-degree Maclaurin polynomial for is
so let's play with this a bit. Equation 9.6.5 tells us that the error will depend on the seventh derivative of , which is :
for some between 0 and 1. Since ,
Remark: there are lots of ways to play with this idea to get better estimates. One way is to take a higher-degree Maclaurin polynomial. Another is to note that, since , then , so
If you got tighter bounds than asked for in the problem, congratulations!
In this question, we use the remainder of a Maclaurin polynomial to approximate .
Write out the 4th degree Maclaurin polynomial of the function .
Compute .
Use your answer from (b) to conclude .
For part (c), after you plug in the appropriate values to Equation 9.6.5, simplify the upper and lower bounds for separately. In particular, for the upper bound, you'll have to solve for .
(a) (b) (c) See the solution.
(a) For every whole number , the th derivative of is . So:
(b)
(c) Using Equation 9.6.5,
Since is a strictly increasing function, and , we conclude :
Simplifying the left inequality, we see
From the right inequality, we see
So, we conclude
as desired.
Remark: , and .
From the UBC Math 100 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.