The purpose of this lab is to introduce you to some useful techniques for generating Taylor series, including substitution, multiplication, and term-by-term integration and differentiation.
The general form of the Taylor series representation with base point x=a of a function is given by the following
In class we have derived the following four important Taylor series.
where the last series is really the formula for the sum of a geometric series in disguise.
Once you have a Taylor series representation for a function, it can be used in several ways to generate Taylor series representations of related functions. Here are some examples of four useful techniques.
To get a Taylor series for , you could go through the standard procedure of differentiating and substituting into the general formula, but an easier (and also correct) procedure is to take the series for and substitute 2x for x, obtaining
Writing out the first few terms gives
Here is how you could compare the two approaches using Maple for this example and one of the examples shown below.
Note in the second example how substituting into the second order Taylor polynomial for produces the fourth order Taylor polynomial for . In completing the exercises below, you will have to choose the orders carefully to get the two polynomials to match up. In practice, of course, you can just use trial and error.
Here are a few more examples.
If you have the Taylor series for , and you want the Taylor series for something like , you just multiply each term of the series for by . If the leading term for the Taylor series of is for some integer k > 0, you can use division to obtain the Taylor series for for any integer . Some examples follow.
Maple commands for two of the examples above appear below. Note the use of the expand command to actually carry the multiplication or division out. Note also that in the case of a quotient, you might have to increase the order by one or two to get the desired result. This is a quirk of the way Maple generates Taylor series.
One of the nice properties of Taylor series is that they can be integrated and differentiated term-by-term. Here is the formal theorem, but the procedures are pretty straightforward.