Next: About this document ...
Up: lab_template
Previous: lab_template
Subsections
The purpose of this lab is to use Maple to introduce you to
Taylor polynomial approximations to functions, including some
applications.
To assist you, there is a worksheet associated with this lab that
contains examples similar to some of the exercises. On your Maple screen go to File - Open then type the following in the white rectangle:
\\storage\academics\math\calclab\MA1023\Powerseries_start_B18.mw
You can copy the worksheet now, but you should read through the lab
before you load it into Maple. Once you have read through the exercises, start up Maple, load the worksheet, and go through it carefully. Then you can start working on the exercises.
The idea of the Taylor polynomial approximation of order
at
, written
, to a smooth function
is to require
that
and
have the same value at
.
Furthermore, their derivatives at
must match up to order
. For example the Taylor polynomial of order three for
at
would have to satisfy the conditions
You should check for yourself that the cubic polynomial satisfying
these four conditions is
The general form of the Taylor polynomial approximation of order
to
is given by the following
Theorem 1
Suppose that
is a smooth function in some open interval
containing
. Then the
th degree Taylor polynomial of the
function
at the point
is given by
We will be seeing this formula a lot, so it
would be good for you to memorize it now! The notation
is used in the definition to stand for the value of the
-th derivative of
at
. That is,
,
, and so on. By convention,
. Note that
is fixed and so the derivatives
are
just numbers. That is, a Taylor polynomial has the form
which you should recognize as a power series that has been truncated.
The Ratio Test for convergence of a series can be thought of as a measurement of how fast the series is increasing or decreasing. This can be found by looking at the ratio
as
.
Given the series
, suppose that
Given the series
, suppose that
Then
- the series converges if
,
- the series diverges if
,
- the test is inconclusive if
.
The radius of convergence of a series can usually be found by using the ratio test:
Next, you would need to solve for the interval of
values such that
.
To use the Taylor and TayPlot commands you need to load the CalcP7 package.
>with(CalcP7):
The exponential function can be approximated at a base point zero with a polynomial of order four using the following command.
>Taylor(exp(x),x=0,4);
You might want to experiment with changing the order. To see
and its fourth order polynomial use
>TayPlot(exp(x),x=0,{4},x=-4..4);
This plots the exponantial and three approximating polynomials.
>TayPlot(exp(x),x=0,{2,3,4},x=-2..2);
Notice that the further away from the base point, the further the polynomial diverges from the function.
- Use Maple to find the interval of convergence for the following series
- a)
-
- b)
-
- Find the power series for each function listed below about
and then determine the interval of
values over which the series converges.
-
-
-
- For the function,
, use the TayPlot command to plot the function and multiple Taylor polynomial approximations of various orders with base point
on the same graph over the interval
; use a y-range from
to
.
- a)
- If you increase the order of the Taylor polynomial, can you get a good approximation at
?
- b)
- Estimate the interval of convergence based on the plot and compare to the actual interval of convergence as done in the previous exercise.
Next: About this document ...
Up: lab_template
Previous: lab_template
Dina J. Solitro-Rassias
2018-11-14