Chapter IX: DIFFERENTIAL EQUATIONS AND POLYNOMIALS: TAYLOR'S
THEOREM
© 2000 M. Flashman
In numerous cases throughout this book, as in the
real world, we find problems
where an exact numerical answer is either impossible or impractical to
express as a decimal number. Examples of these situations include
calculation
of , and . As we have seen there are many ways
to characterize and
define
these numbers and use these characterizations to find an estimate. For
our discussion in this chapter it is important to notice that each of
these
numbers can be characterized as arising from the evaluation of a
function
which is the solution to a differential equation.Euler's method is one
way we have studied to make these estimates. [See Table 1 below.]
NUMBER
|
FUNCTION
|
DIFFERENTIAL
EQUATION
|
|
|
|
|
|
|
|
|
|
|
4arctan
|
|
We have discussed approximations from the very beginning of our
work on
the derivative, with Newton's method for estimating the roots of
equations,
Euler's method for estimating particular solutions to differential
equations,
and numerous methods for estimating definite integrals. In the
following
sections we will delve further into the nature and applications of
polynomial approximations
based on information about the derivatives of a function.
We shall refer to these polynomial approximations as Taylor's
approximation theory. To provide further motivation let's consider
first a simple situation where
an exact value for a function is attainable but perhaps not worth the
effort.
EXAMPLE IX.A.1: Suppose
and
we wish to find
.
Of course the exact answer is , but if
we only need an estimate of the answer it is easy to settle for .375.
The
error we make in using this estimate is relatively small [namely
].
In this example we should note two things.
- First, the computation for the estimate is theoretically easy
because the function involved
is a polynomial; and
- second, the estimate was found by evaluating a related
polynomial, .
Taylor's Theory-Objective and Key Ideas: The main concerns
of Taylor's theory for estimating function values are
- to find estimating polynomials for a given function and
- to measure the error in using these polynomials to estimate the
desired
values
for
the given function.
Two Key Ideas: You may recall from our earlier discussions of
estimations
using the differential that when is close to is
approximately
equal to a linear function, . Furthermore,
the Mean Value Theorem guarantees that as long as is a sufficiently
well behaved function there is some between and where . Thus the difference between the function's
value at and can be measured using the value of the derivative
of at ..
Taylor's theory generalizes these two ideas that use the derivative
to estimate.
IX.A. Estimating with Polynomials: An
Introduction
to Taylor's Theory.
To focus our discussion more specifially, in this section we will
consider
only and begin by trying to estimate illu
strating the key ideas
of
Taylor's theory.
At , we find that , , and since
we have that for all
natural numbers . We now consider our first result, typical of
the Taylor's theory approach to estimation using polynomials and
derivative
information.
PROPOSITION IX.A.1: If
then
is a polynomial of degree n
so that
and is approximately equal to .
In
fact, if we let , then for some between
and ,
.
GeoGebra: Table, Graph, and Mapping Diagram of and
Estimating e: Before we proceed to justify this result,
we'll
apply
this result using to estimate the value of .
First, ,
so according to the proposition, is approximately equal to
and
where for some
between and . Thus, is approximately and the
error
in using this estimate is . Since is between and ,
is between and , so we can deduce that , the difference
between e and the estimate, , is no greater than . Using
estimates of from our earlier work in Chapter VI we know
that so our error is no larger than .This compares roughly well with the error from the
GeoGebra applet that shows an error after setting the slider
to find .
A more accurate estimate can be obtained by using a larger value
for
. Try using and to see the improvement. [This can be done
progressively
using the GeoGebra applet above or download a spreadsheet
which
you can examine now or later.]
Proof of Proposition: We'll begin our proof by finding
.
From this it follows easily that .
Now suppose that is not and let .
We need only justify the formula for evaluating .
For convenience we'll write and let
.
Then
,
while
from the definition of R.
Furthermore
But , so.
Now we apply the Mean Value (or Rolle's) Theorem to the function g,
we
can
say
that there is a number between and where
.
Thus
and .
Solving this last equation for R gives
.
EOP.
Note: Since the exponential function has a positive
derivative for all , the function is increasing for all
.
(i) If then and .
(iia) If then and if
is odd then is positive and thus
.
(iib) If then and if
is even then is negative and thus
.
Putting this information about the quality of together we can see
the following:
For all and for any , ,
while for the polynomials differ in relation to :
When is odd then ;
when is even then .
Estimating the
value of e is not the only use for the previous proposition.
Before turning to the more general Taylor's theory in the next section,
here are two more examples of its application in estimating definite
integrals
related to ex.
EXAMPLE IX.A.2: Estimate .
Use this to estimate .
Solution: Using Proposition IX.1 with for each x
between and we have
where
for some with .
Thus.
[Remember .] and so
for all between and . Now we use the monotone property of
the
definite integral [Ch. V . ** ] to obtain the estimate:
,
so
.
Therefore is approximately
as in the first estimate we saw in the note after the statement of the
theorem, and the error in using this estimate is less than
as we also saw previously.
The next
example follows a similar analysis but applied to a more
difficult
yet important integral for probability and statistics.
EXAMPLE IX.A.3: Estimate .
Solution: For each between and , is
between and . Let . By Proposition
IX.1 with for each between and we have
where for
some
with .
Since , , and since we
have that .
|

|
GeoGebra Estimates for . Check off box to show estimate.
|
|
Substituting for ,we see that
Now since we have
.
By evaluating these integrals we obtain
or
Therefore,
is approximately equal to ;
and this is an overestimate by no more than .
Comment: In both of these examples we have been able to
estimate
a definite integral involving the exponential function by using a
Taylor
polynomial of degree 4. It should be apparent that by using a higher
degree
for the estimating polynomial, the error term will become smaller and
we
will obtain a more precise estimate. The systematic pattern in these
polynomials
should allow you to find more precise estimates for the last example
without
much difficulty.
Go on to Chapter IX.B
Exercises IX.A.:
- Use the Taylor polyonmial for of degree to estimate
the
following:
(a) (b) (c) (d) (e) . [Use GeoGebra or Spreadsheet
helper.]
- Estimate e using the Taylor polynomial of degree n where
n is (a)
6 (b)
7 (c) 8 (d) 10.
In each of these estimates discuss the size of the error term Rn.
[Use GeoGebra or
Spreadsheet
helper.]
- What value of n should be used so that the Taylor
polynomial of
degree
n will give an estimate of e that is within .000001 of the exact value
of e? Explain your result using Proposition XI.A.1
- Use the Taylor polynomial for ex of degree 5 to
estimate
.
Discuss the error in this approximation.
- Use the trapezoidal rule and Simpson's rule with n = 6 to
estimate
.
- Use the Taylor polynomial for of degree 6 to estimate
. Discuss the error in this approximation.
- On the same graph sketch the graph of along with those for
the Taylor polynomials for of degree
1,2,3,4 and 5. [You can do this by use the trace feature on the graph of
in the GeoGebra applet.] Discuss the graphical interpretation
of . [Here is Java
sketch
solution
for
n = 1 to 5]
- What value of n should be used so that the Taylor polynomial of
degree
n will give an estimate of that
is within of the exact value? Explain your result.
- Use the Taylor polynomial for of degree 4 to estimate the
area of the region in the plane contained by the lines , ,
the X-
axis and the graph of . [Hint:
First find a polynomial to estimate .] Discuss the
error in this approximation.
- Another Polynomial Estimate: Consider the functions
and
.
- Show that where
.
- Show that
where .
- Show that when where
- Show that when where .
- Use the definite integral and the previous equations to
estimate ln(.9)
= ln (1 - .1) and ln(1.1) = ln(1 + .1). [ This approach to estimating
the
natural logarithm was used
by Isaac Newton to give very accurate estimates of ln(2), ln(3),
etc.].
Discuss the error in your estimate based on the integrals of R1
and R2.
- Generalize this for higher degree polynomials and estimating
ln(.8),
ln(1.2),
ln(.99) and ln(1.01).