2 Taylor series
In HELM booklet 16 we encountered Maclaurin series and their generalisation, Taylor series. Taylor series are a useful way of approximating functions by polynomials. The Taylor series expansion of a function about may be stated
(The special case called Maclaurin series arises when .)
The general idea when using this formula in practice is to consider only points which are near to . Given this it follows that will be small, will be even smaller, will be smaller still, and so on. This gives us confidence to simply neglect the terms beyond a certain power, or, to put it another way, to truncate the series.
Example 2
Find the Taylor polynomial of degree 2 about the point , for the function .
Solution
In this case and we need to evaluate the following terms
Hence
which will be reasonably accurate for close to 1, as you can readily check on a calculator or computer. For example, for all between 0.9 and 1.1, the polynomial and logarithm agree to at least 3 decimal places.
One drawback with this approach is that we need to find (possibly many) derivatives of . Also, there can be some doubt over what is the best choice of . The statement of Taylor series is an extremely useful piece of theory, but it can sometimes have limited appeal as a means of approximating functions by polynomials.
Next we will consider two alternative approaches.