Taylor Series Error Estimation

If I approximate with the first three terms of its Maclaurin series, how do I find the range of x for which the approximation is accurate to within .005?

First, I found the Maclaurin series that represents this function:

Since we are approximating using three terms, I have to find the 4th derivative of the function, which is .

Up to this point, I think that I am in good shape. Even this next step seems fairly straightforward:

It's in executing this that get confused. I think that the next step is this:

It's at this point where I get stuck. Assuming that I have gotten this far without error (big assumption), the idea would be to solve the inequality for x, which would tell me the range to fall within this error threshold. But the algebra here seems pretty involved, which makes me think that I have made a mistake.

Anybody see anything or have any advice? Thanks.

Re: Taylor Series Error Estimation

you have your original series incorrect, btw, it should be alternating signs.

your 4th derivative is correct, however.

so you should wind up with:

there is a reason i brought |x^4| = x^4 out of the remainder term. if we can find some global maximum for the rest, then the remainder will only depend on the value of |x|.

we can simplify a bit:

now, let's look at the expression inside the absolute value sign, we would like to find an upper bound for it. if

then

note that for g'(z) = 0, either z = 0, or z is a solution to , which is a quadratic in .

the solutions to this quadratic are:

as z goes to plus or minus infinity, eventually the exponential term dominates, so:

so the global maximum for |g(z)| is one of the roots of g'(z). g(z) is an even function, so it suffices to check the 3 non-negative roots of g'(z).

g(0) = 3 (well, that was easy).

at , we get:

at ,

so |g(z)| has a global maximum of 3 at 0.

so:

so in order to ensure choose

(there might be an easier way....feel free, people).

Re: Taylor Series Error Estimation

Thanks very much for the thoughtful response. I wouldn't have figured that out on my own. I have two questions for you.

First, on my work, you said that the series alternates. Since x is raised to an even power, doesn't that make the series always positive? Am I missing how to apply that minus sign? Does it stay outside of the exponential?

Second, at the very end of your reply, did you drop a decimal place? You went from to . Did you mean or am I overlooking something?

Thanks again!