Interactive · 1 question
The constant, linear and quadratic approximations to a function about a point do pretty well, if we stay close to the value of . However, sometimes we may want to go farther - and, by the title of this section and promises in past sections, one might guess that we could.
As mentioned in the section about quadratic approximation, we can find Taylor polynomials that approximate a function about a point by matching the first few derivatives at . In previous sections, you found how to match up the first two derivatives of a function for the polynomial .
We'll do one more approximation, then we'll try to give the general formula. For , we want: $$\begin{array}[lll]
g_3(a) &=& f(a) \
g_3'(a) &=& f'(a) \ g_3''(a) &=& f''(a) \ g_3'''(a) &=& f'''(a) \end{array}$$
Which of the following definitions of is best?
Right! So, as you've noticed, the number in the denominator grows dramatically quickly - as fast as , in fact. This leads us to the general formula for given as follows: where is the -th derivative of at , so , , etc.
We call the s the Taylor polynomials for at . It turns out that they become dramatically better approximations the further along you go!
Let's have a look at some approximations, with (in red) and . First, we note that (in blue) is not a very good approximation. But (in green) stays close a little longer. Since , . But (in orange) is different, and stays longer still!
One might wonder if this approximation process can be carried out forever, or if these approximations eventually stop getting better. In the next few sections, we'll consider how to analyze the error of these polynomials. Afterwards, in the section on Taylor series, we'll consider what it means to carry this process out "forever" - obtaining what turns out to be a perfect approximation, for many functions.