**1.** So last time we concluded discussing Taylor series with constructing a polynomial using the first terms in the Taylor series. This “Taylor polynomial” approximated our function, and we want to know *how well does it approximate?*

We will derive the Taylor series differently. Our derivation will give us a natural error term.

**2. Set Up.** Lets consider which is sufficiently nice around (i.e., it has enough derivatives at ). The fundamental theorem of calculus tells us that

(1)

Wonderful.

**3. Linear Approximation.** We now use integration by parts for the integral in Equation (1):

(2)

Now we can plug in Equation (1) for the first term in the right hand side:

(3)

We plug this back into Equation (1)

(4)

Observe the first two terms are precisely the linear approximation to . What’s the third term? *The error term!* But we’re not done yet!

**4. Inductive Procedure.** We can iterate a procedure to get a better and better approximation. Performing integration by parts on

(5)

will give us the next term in our approximation plus an integral. The integral gives us the error for using a quadratic approximation.

Lets do it! We use integration by parts

(6)

So our approximation becomes

(7)

The bracketed term in the final line is the error term for using the quadratic approximation. But look: the quadratic approximation corresponds to the first 3 terms of the Taylor series! When we do this iterative procedure on the error term, integrating by parts will produce a higher order approximation. And for free, we get the error term telling us how good our approximation is!

### Like this:

Like Loading...

*Related*

## About Alex Nelson

I like math. I like programming. Most of all, I love puzzles.