There are three major meanings for the derivative f'(a):
Thus the error in using the tangent line as an approximation is (asymptotically) much smaller than the distance away from a where you are trying to use it.
This view of the derivative as giving the best approximation becomes the view which generalizes to higher dimensions. It also suggests a generalization which gives a reason for finding derivatives of higher order: perhaps using a second derivative we can get a best quadratic approximation, using a third derivative we can get a best cubic approximation, ..., using derivatives up to the nth we can get a best nth degree polynomial approximating f.
The best linear approximation is gotten by matching both t(a) with f(a) and t'(a) with f'(a).
Life will get somewhat simpler if we restrict to the specific case where we are looking for approximations near a=0.
Consider a polynomial
This tells us that p'(0)=1! a1, p''(0)= 2! a2, p'''(0)=3! a3, and in general p(n)(0)=n!an (that's the nth derivative of p evaluated at 0).
This suggests that if we want the first n derivatives of p(x) at 0 to
match the first n derivatives of f(x) at 0, we should let
Taylor's theorem then tells us that if f has enough derivatives (typically we ask for n+1 continuous derivatives near 0) then the error involved in using pn(x) instead of f(x) is asymptotically small even compared to xn. (note that we are working near x=0, so xn is much smaller than x).
Lagrange gave a proof for an approximate form of the error which is easy to remember since it looks rather a lot like the next term:
As with most Mean Value Theorem arguments this involves constructing a rather artificial looking function to which we apply the MVT to get the desired result.
An integral form will give Taylor's Theorem with an exact value for the error:
PROOF:
We use induction and integration by parts: If n=0 this says
![]()
which is just the Fundamental Theorem of Integral Calculus.If we assume that
![]()
then use integration by parts with u=f(k+1)(t) andwe will get du=f(k+2)(t) dt and
. Thus
![]()
simplifying gives
![]()
so
![]()
as needed for the induction.
For cases where a general form for the derivatives of f can be found, Taylor's Theorem gives a means of getting a series representation.
Example:
A series representation for f(x)=ex is easy to obtain since
f(n)(x) = ex
for all n, so all of the derivatives at 0 are 1. This gives
![]()
Now for any x and any n Taylor's theorem tells us that
![]()
for some c between x and 0. If we fix x and letthis error term always goes to 0. Thus the Taylor series for ex converges to ex for every x.
Exercises: While this is the easiest example, several other functions also have Taylor series which can be found by calculating derivatives and then showing that the error term goes to 0. Try the following examples: