A section of Infinite Sequences and Series: Applications of Taylor Polynomials: the full video with all its notes is on that page.
Notes: Approximating Functions by Taylor Polynomials
Written notes — from Infinite Sequences and Series: Applications of Taylor Polynomials.
Approximating Functions by Polynomials
Suppose that f(x) is equal to the sum of its Taylor series at a:

In my earlier video, referenced in the Recap section above, we introduced the notation Tn(x) for the n-th partial sum of this series and called it the n-th degree Taylor polynomial of f at a.
Thus:

Since f is the sum of its Taylor series, we know that Tn(x) → f(x) as n → ∞ and so Tn can be used as an approximation to f:

Notice that the first-degree Taylor polynomial:

is the same as the linearization or linear approximation of f at a that we discussed in my earlier video, referenced below.
Retrieved: 28 November 2020 Video notes archive: https://archive.vn/QYUsw
Notice also that T1 and its derivative have the same values at a that f and f' have.

In general, it can be shown that the derivatives of Tn at a agree with those of f up to and including derivatives of order n, see Exercise 1 at the end of this video.
To illustrate these ideas let's take a look at the graphs of y = ex and its first few Taylor polynomials centered at x = a = 0, thus y = e0 = 1 and the point becomes (0, 1).
First, recall the Maclaurin series for ex and the corresponding first three partial sums:

Using the same Desmos graph from my earlier video on Taylor polynomials, we can see that the higher degree Taylor or Maclaurin polynomials are more in line with the ex.
https://www.desmos.com/calculator/vqtlbufbnn Retrieved: 17 January 2020 Archive: https://archive.ph/wip/EA87o
The graph of T1 is the tangent line to y = ex at (0, 1); this tangent line is the best linear approximation to ex near (0, 1).
The graph of T2 is the parabola y = 1 + x + x2/2, and the graph of T3 is the cubic curve y = 1 + x + x2/2 + x3/6, which is a closer fit to the exponential curve y = ex than T2.
The next Taylor polynomial T4 would be an even better approximation, and so on.
The values in the table below give a numerical demonstration of the convergence of the Taylor polynomials Tn(x) to the function y = ex.
https://1drv.ms/x/s!As32ynv0LoaIiMQd31Z5qwO1xuXqpA?e=zGdg1x Retrieved: 28 November 2020 Archive: Not available
We see that when x = 0.2 the convergence is very rapid, but when x = 3 it is somewhat slower.
In fact, the farther x is from 0, the more slowly Tn(x) converges to ex.
When using a Taylor polynomial Tn to approximate a function f, we have to ask the questions:
How good an approximation is it?
How large should we take n to be in order to achieve a desired accuracy?
To answer these question we need to look at the absolute value of the remainder:

There are three possible methods for estimating the size of the error:
- If a graphing device is available, we can use it to graph |Rn(x)| and thereby estimate the error.
- If the series happens to be an alternating series, we can use the Alternating Series Estimation Theorem.
- In all cases we can use Taylor's Inequality, which says that:
Recall the Alternating Series Test and Estimation Theorem from my earlier video.
https://peakd.com/mathematics/@mes/infinite-sequences-and-series-alternating-tests Retrieved: 29 November 2020 Archive: https://archive.vn/wip/iFUns


- Watch on: YouTube · Telegram
- Full video and written notes: Infinite Sequences and Series: Applications of Taylor Polynomials
- Sections playlist: Infinite Sequences and Series: Applications of Taylor Polynomials (YouTube)
- More: Infinite Sequences and Series · mes.fm/math
Notes originally posted on the Hive blockchain →

