Next: About this document ...
Up: Calculus Lecture Notes
Previous: Approximating the natural logarithm
When we say that f is differentiable at a we mean that

has a limit as h approaches , or equivalently,

has a limit as x approaches a. We have on many occasions said that we
should regard the value of this limit as the slope, m, of a line tangent to
the graph of y = f(x) at the point (a,f(a)). This tangent line has
equation y = f(a) + m(x-a). If we write this out
symbolically we have

By using various properties of limits, we can rewrite this last equation as

We should interpret this new equation as saying that f has a derivative at
a if we can find some line with equation y = f(a) + m(x-a) so that

Notice that the numerator of this quotient gives the magnitude of the
difference between the second coordinate of (x,f(x) and the
second coordinate (x,f(a)+m(x-a)), while the denominator gives the magnitude
of the difference between the first coordinates. One interpretation, then, of
the numerator is that it tells us how well f(a) + m(x-a) approximates f(x).
Thus, f has a derivative at a means that there is some line which
approximates f so well that the error in the approximation, |f(x) - (f(a) +
m(x-a))| goes to faster than |x-a| goes to , and we call the slope of
this line the derivative of f at a. We denote this special slope by
f'(a). Furthermore, no other slope will have this property. For this
reason, the function L(x) = f(a) + f'(a)(x-a) is called the best linear
approximation to f at a. For example, the best linear approximation to
at 1 is
.
An approximation is not very valuable if we have no way to assess its accuracy.
It is evident to the most untutored eye that a tangent line is close to a graph
near the point of tangency, but if we are to make qualitative statements about
particular values we must have more information. If we are to make these
statements we must have more information about f. All we know so far is that
the error appoaches faster than (x-a) approaches . We will now show
that under certain circumstances, the error approaches like (x-a)2.
Suppose, for example, that we knew that f has a second derivative at a.
Since the second derivative is the derivative of the first derivative, f must
have a first derivative not only at a, but in an interval containing a,
since the second derivative of f at a is the limit of

as x approaches a. Let us denote this second derivative in the usual
fashion by f''(a), so we may write

Consider now the quotient

Since both the numerator and denominator of this quotient approach , it is
reasonable to try to apply L'Hopital's Rule to see if the quotient itself has a
limit as x approaches a. The quotient of the derivatives is

which, by the defintion of f''(a) has a limit of f''(a)/2. Hence, by
L'Hopital's Rule, we may conclude that

This tells us that

While this is an improvement, it does not tell us what happens for a specific
value of x. To do this, we need different information about f.
So, pick a particular value for x.
We know that there is some number, call it B, so that
f(x) - f(a) - f'(a)(x-a) = B(x-a)2,
or
f(x) - f(a) - f'(a)(x-a) - B(x-a)2 = 0.
The goal is to express B in terms of f''. To this end, we are going to
invent a rather strange function to which we will apply Rolle's theorem.
Define
by
R(t) = f(tx + (1-t)a) -f(a) - f'(a)(x-a)t - B(x-a)2t2
Where did this come from? First looked for the linear function of t which
was equal to a when t=0 and x when t=1. This function has rule tx +
(1-t)a. We then replaced x with tx + (1-t)a in f(x) - f(a) - f'(a)(x-a) -
B(x-a)2. If f is nice enough, this will give a function to which we can
easily apply Rolle's Theorem.
It is easy to see that

where the last equality is true from the definition of B. We see from the
chain rule that R will be differentiable on (0,1) if f is differentiable
between x and a. Supposing that this is so, we have for some
,R'(s) = 0. What does R'(t) look like?

Well, not only is R'(s) = 0 for some
, we can also see that

So, if R' is differentiable on (0,s), we may apply Rolle's Theorem to R'
and get for some
that R''(r) = 0. What does R''(t)
look like?

so R''(r) = 0 gives the equation
0 = (x-a)2(f''(rt +(1-r)a) - 2B)
so presuming that x and a are different, and setting xr = rx + (1-r)a,
f''(xr) - 2B = 0
or

Note that xr is some number lying strictly bewteen x and a. We have
derived the following, a special case of Taylor's Theorem:
Theorem 8513
Suppose that f is twice differentiable on the open interval with endpoints
x and a, continuous at a and x, and that f' is continuous at a.
Then for some number xr lying strictly between a and x,

This says we can get precise information of the accuracy of the linear
approximation at a if we can say how large or small f'' is between x and
a.
Here are three examples.
How well does that linear approximation to
at approximate
? The linear approximation to
at is
. What we want is an estimate of
. What
we know is that for some
that

so

since
and
is increasing on
.
How well does the linear approximation to
at 1 approximate
?
The linear approximation to
at 1 is
. What we want is an estimate of
.What we know is that for some
that

so

How well does the linear approximation to
at 1 approximate
?
The linear approximation to
at 1 is
. What we want is an estimate of
.
What we know is that for some
that

so

Two additional notes.
- If f'(a) = 0 and f'' is non-negative in some interval around a then
f(a) is the smallest value of f in this interval, since for x in this
interval,

Similarly, if f'' is non-positive in some interval, and f'(a) = 0, then
f(a) is the largest value of f in this interval, since for x in this
interval,

-
It is possible to get other polynomial approximations.
The most popular is the quadratic approximation at a: Q(x) = f(a) +
f'(a)(x-a) + f''(a)(x-a)/2. With the proper conditions on f we can show
(by the same method as for the linear approximation) that for some xr
between x and a that f(x) - Q(x) = f'''(xr)(x-a)3/6.
Next: About this document ...
Up: Calculus Lecture Notes
Previous: Approximating the natural logarithm
David G Radcliffe
8/18/1998