Subsections

# Taylor Polynomials

## Purpose

The purpose of this lab is to use Maple to introduce you to Taylor polynomial approximations to functions, including some applications.

## Introduction

The purpose of this lab is to learn how to define sequences and series using Maple as well as observe their plots and test for convergence.

## Getting Started

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:
\\filer\calclab\MA1023\Taylor_start_A13.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.

## Background

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.

## Accuracy and Tolerance

To measure how well a Taylor Polynomial approximates the function over a specified interval , we define the tolerance of to be the maximum of the absolute error

over the interval . The Getting started worksheet has examples of how to compute and plot the absolute error.

## Exercises

1. For the following functions and base points, determine what minimum order is required so that the Taylor polynomial approximates the function to within a tolerance of over the given interval.
1. , base point , interval .
2. , base point , interval .
3. , base point , interval .

2. For the function, , use the TayPlot command to plot the function and a Taylor polynomial approximation of order 5 with base point on the same graph over the interval . If you increase the order of the Taylor polynomial, can you get a good approximation at ? Can you make a good guess at the interval of convergence of the Taylor series for ?

3. You read in the begining of the background that a Taylor Polynomial must have the same y-value, at the base point, as the original function. Also, the derivatives at that point must be the same. Three functions and three second-order polynomials are given; determine which function goes with which Taylor Polynomial by following the steps below.

a)
Enter the functions and the polynomials.
b)
Find the y-values of all six at .
c)
Find the first derivative at 0 of all six.
d)
Find the second derivative at 0 of all six.
e)
Which Taylor Polynomials go with which functions.