Chapter 10
Polynomial and Series Representations of Functions





10.3 Taylor Series

In the preceding section we saw that

  1. some familiar important functions can be approximated by polynomial functions, and
  2. the coefficients of these polynomials can be calculated from derivatives of the original functions.

We found that these approximations can be quite accurate close to the reference point `x = 0`, but the accuracy deteriorates as we move away from that point. On the other hand, accuracy appears to improve as the degree of the approximating polynomial increases. This suggests that we may want to consider what happens as the degree becomes quite large — perhaps even to consider limiting values as the degree goes to infinity. That will be the subject of this section.

We note in passing two features of Taylor polynomials that emerge from our study thus far:

10.3.1 What Happens as the Degree Increases?

If `P_n text[(] x text[)]` is the `n`th degree Taylor approximation to the function `e^x`, then for each real number `x_0`, the numbers `P_n text[(] x_0 text[)]` approach `e^(x_0)` as the degree `n` increases. Similarly, if `P_n text[(] x text[)]` is the `n`th degree Taylor approximation to the function `sin x`, then for each real number `x_0`, the numbers `P_n text[(] x_0 text[)]` approach `sin x_0` as the degree `n` increases. We illustrate these convergences numerically in Tables 1 and 2 by showing the successive approximations to `e^2 = 7.389056` and `sin text[(] -pi`/`2 text[)] = -1`, respectively.

Table 1   Approximating `e^2`
`n`
`P_ntext[(]2text[)]`
`0`
`1.0000`
`1`
`3.0000`
`2`
`5.0000`
`3`
`6.3333`
`4`
`7.0000`
`5`
`7.2667`
`6`
`7.3556`
`7`
`7.3810`
`8`
`7.3873`
Table 2   Approximating `sintext[(]-pitext[/]2text[)]`
`n`
`P_n text[(] -pi text[/] 2 text[)]`
`0`
`0.0000`
`1`
`-1.5708`
`2`
`-1.5708`
`3`
`-0.9248`
`4`
`-0.9248`
`5`
`-1.0045`
`6`
`-1.0045`
`7`
`-0.9998`
`8`
`-0.9998`

Now we investigate these convergences graphically.

Activity 1

  1. Use your graphing tool to explore the convergence of the Taylor polynomials for `e^x` at a variety of values `x_0`. You will see more clearly what is happening at values `x_0` that are two or more units away from `0`.

  2. Make the necessary changes in your worksheet, and explore the convergence of the Taylor polynomials for `sin x` at a variety of values `x_0.` To review the approximating polynomials for `sin x`, see the Comment on Activity 2 in the preceding section.

In these two examples, our values of `x_0` are not terribly far from zero, and the approach to `f text[(] x_0 text[)]` is fairly rapid in each case. For reasons we will see later, the statement about Taylor polynomial values approaching values of the exponential and sine functions is correct even for very large values of `x_0.`

Go to Back One Page Go Forward One Page

Contents for Chapter 10