Question Video: Finding a Bound on the Error When Approximating an Exponential Function at a Point with Its Maclaurin Series Mathematics • Higher Education

Find the error bound when using the third Maclaurin polynomial for the function 𝑓(π‘₯) = 𝑒^(2π‘₯) to approximate the value of 𝑓(0.2). Give your answer to five decimal places.

06:04

Video Transcript

Find the error bound when using the third Maclaurin polynomial for the function 𝑓 of π‘₯ is equal to 𝑒 to the power of two π‘₯ to approximate the value of 𝑓 evaluated at 0.2. Give your answer to five decimal places.

In this question, we need to find the error bound, and we want to approximate the function 𝑒 to the power of two π‘₯ by using the third Maclaurin polynomial at π‘₯ is equal to 0.2. We need to give our answer to five decimal places. To start, we’re going to need to recall how we find the error bound of a Taylor polynomial approximation. We recall that a function 𝑓 of π‘₯ is equal to its 𝑛th term Taylor approximation plus the remainder term 𝑅 𝑛 of π‘₯.

We recall we can find a bound on this remainder term 𝑅 𝑛 of π‘₯ for a Taylor polynomial centered at π‘Ž. The absolute value of 𝑅 𝑛 of π‘₯ will be less than or equal to the absolute value of 𝑀 times π‘₯ minus π‘Ž all raised to the power of 𝑛 plus one divided by 𝑛 plus one factorial. And this is where 𝑀 is an upper bound on the absolute value of the 𝑛 plus oneth derivative of 𝑓 on an interval containing both π‘Ž and π‘₯. In our case though, we’re not using a Taylor polynomial. Instead, we’re using a Maclaurin polynomial. And we need to remember that a Maclaurin polynomial is exactly the same as a Taylor polynomial except Maclaurin polynomial is centered at π‘Ž is equal to zero. So we set our center to be zero. And in fact, we’ll update our error bound so that π‘Ž is zero.

Next, in the question, we’re using the third Maclaurin polynomial for our approximation. So we need to set the value of 𝑛 equal to three. Then, just as we did before, we can update our bound of the value of 𝑛 set to be three. Finally, in the question, we’re using our third Maclaurin polynomial to approximate 𝑓 at 0.2. So we need to set the value of π‘₯ to be 0.2. And once again, we’ll update our bound so the value of π‘₯ is set to be 0.2. And now we can see we’ve simplified the expression for our error bound. The only part of this expression we don’t know is the value of 𝑀. So we need to find the value of 𝑀.

First, we’re going to need to choose an interval which contains both zero and 0.2. This is our value of π‘Ž and our value of π‘₯. We’ll choose the closed interval from zero to 0.2 since this is the smallest interval which contains both of these values. And by choosing the smallest interval we can, we’ll get a better error bound. We now want to find our value of 𝑀. We can see from the definition of 𝑀 it’s an upper bound on the absolute value of the fourth derivative of 𝑓 of π‘₯ on the closed interval from zero to 0.2. So to find this, we’re going to need to find an expression for the fourth derivative of 𝑓 of π‘₯ with respect to π‘₯.

Let’s start by finding the first derivative of 𝑓 of π‘₯ with respect to π‘₯. That’s the derivative of 𝑒 to the power of two π‘₯ with respect to π‘₯. We know how to do this by using our rules for differentiating exponential functions. We just need to multiply by the coefficient of π‘₯ in our exponent. We get 𝑓 prime of π‘₯ is two times 𝑒 to the power of two π‘₯. We can do exactly the same to find our second derivative. We need to multiply by the coefficient of π‘₯, which is two. This gives us 𝑓 double prime of π‘₯ is equal to four times 𝑒 to the power of two π‘₯. Doing this again, we get the third derivative of 𝑓 of π‘₯ with respect to π‘₯ is equal to eight times 𝑒 to the power of two π‘₯. And we’ll do this one more time to find the fourth derivative of 𝑓 of π‘₯ with respect to π‘₯. It’s equal to 16 times 𝑒 to the power of two π‘₯.

We see in our expression for 𝑀, we’re going to need to take the absolute value of the fourth derivative of 𝑓 of π‘₯. So by taking the absolute value of both sides of this equation, we get the absolute value of the fourth derivative of 𝑓 of π‘₯ with respect to π‘₯ is equal to the absolute value of 16 times 𝑒 to the power of two π‘₯. But we can simplify this expression. First, we know 𝑒 to the power of two π‘₯ is greater than zero for all values of π‘₯. And of course, we know that 16 is a positive constant. So this is the product of two positive numbers. So, the absolute value of this won’t change its value. So we can just remove the absolute value symbol from this expression.

We’re now ready to find our value of 𝑀. Remember, we need to maximize the absolute value of the fourth derivative of 𝑓 of π‘₯ on the closed interval from zero to 0.2, so we need to maximize 16 times 𝑒 to the power of two π‘₯ on the closed interval from zero to 0.2. And to make 16 times 𝑒 to the power of two π‘₯ as big as possible, we’re going to need to make 𝑒 to the power of two π‘₯ as big as possible. And we know something interesting about 𝑒 to the power of two π‘₯. It’s an increasing function. The larger our input is, the bigger our output is. In other words, we want to input as bigger value of π‘₯ as possible. And of course, the biggest input we can use on the closed interval from zero to 0.2 is 0.2.

So on this interval, 16 times 𝑒 to the power of two π‘₯ is less than or equal to 16 times 𝑒 to the power of two times 0.2. And we can simplify this slightly. Two times 0.2 is equal to 0.4. So we’ve shown, on the closed interval from zero to 0.2, the absolute value of the fourth derivative of 𝑓 of π‘₯ with respect to π‘₯ is less than or equal to 16 times 𝑒 to the power of 0.4. This means this is going to be our value of the constant 𝑀. We’re now ready to go back and calculate our error bound since we found the value of the constant 𝑀.

Substituting in 𝑀 is equal to 16 times 𝑒 to the power of 0.4 into our error bound, we get the absolute value of our remainder term 𝑅 three is less than or equal to the absolute value of 16 times 𝑒 to the power of 0.4 multiplied by 0.2 minus zero all raised to the power of three plus one all divided by three plus one factorial.

And now we can just calculate this expression. Doing this, we get two times 𝑒 to the power of 0.4 all divided by 1875. But we’re not done yet. Remember, the question wants us to write our answer to five decimal places. And if we do this, we get the absolute value of our remainder term 𝑅 three is less than or equal to 0.00159, which is our final answer. And it’s worth pointing out that 0.00159 is a very small number. And remember, this is a bound on the error of our approximation. When this is small, this means our approximation is very good. So by taking the third Maclaurin polynomial for this approximation, we were able to get our answer to within 0.00159.

We can in fact use a similar line of reasoning to work out how many terms of our Taylor polynomial we would need to get within a certain level of accuracy. However, we don’t need this to answer this question. Therefore, we were able to show the error bound when using the third Maclaurin polynomial for the function 𝑓 of π‘₯ is equal to 𝑒 to the power of two π‘₯ to approximate the value of 𝑓 evaluated at 0.2 to five decimal places is 0.00159.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.