Professional Documents
Culture Documents
Chap 2 A
Chap 2 A
Chapter 2A
August 1999
1
But this last expression clearly gets close to 12 as h gets close to 0, and we learn that the slope of the tangent line to
the graph of y = x3 at the point (2, 8) is 12. We say that the derivative of f at 2 is 12.
Remember that, given the slope m and a point (x0 , y0 ) on a line, the equation of the line is y − y0 = m(x − x0 ),
or y = y0 + m(x − x0 ). So, in this case, the equation of the tangent line to the graph of f (x) = x3 at (2, 8) is
y = 8 + 12(x − 2).
As mentioned, we say that the derivative of f at 2 is 12, the slope of the tangent line to the graph of f at the point
corresponding to x = 2.
Def: The derivative of f at x, denoted as f 0 (x), is defined as
f (x + h) − f (x)
f 0 (x) = lim .
h→0 h
It is often possible to compute this limit for all values of x simultaneously, in which case we have constructed a
new function, f 0 , which is simply called the derivative of f. For example, since
a3 − b3 = (a − b)(a2 + ab + b2 )
we learn that
2
3
(x + h) − x 3 ((x + h) − x) (x + h) + (x + h) x + x2
=
h h
2
= (x + h) + (x + h) x + x2
So,
3
(x + h) − x3
2
lim = lim (x + h) + (x + h) x + x2
h→0 h h→0
2
= 3x .
That is, the slope of the tangent line to the graph of y = x3 at any point (x, x3 ) is 3x2 . Note that this agrees with our
computation of the slope at the point (2, 8) .
Our goal is to discover a variety of formulas which will allow us to compute derivatives in a relatively simple way.
But be sure to remember: the derivative of a function at a particular point, if it exists, is the slope of the tangent line to
the graph at that point.
2 Differentiation formulas
We now have a formal definition of the derivative f 0 (x) of the function f at x:
f (x + h) − f (x)
f 0 (x) = lim ,
h→0 h
provided this limit exists. We also know that this limit represents the slope of the tangent line to the graph of f at
the point (x, f (x)). However, if we are going to put this idea to use, we need to discover some underlying principles
or properties which will allow us to compute derivatives for broad classes of functions without having to resort to the
definition.
For example, if the function f is linear (i.e. if f (x) = mx + b, for some constants m and b), then the graph of f
is a line, and it should be clear that the tangent line at any point is just the original line. So, the derivative of a linear
function must be its slope. (Symbolically, if f (x) = mx + b then f 0 (x) = m.)
(In the above, we explained why the derivative of a linear function is the slope from a geometric point of view.
Use the definition of the derivative to verify that our reasoning was correct, and explain why this yields the following
result: If f is a constant function, then f 0 (x) = 0 for all x.)
2
Many basic rules for differentiation follow directly from the properties of the limit. For example, if f (x) =
g(x) + h(x), it follows immediately from the definition of the derivative and the properties of the limit that f 0 (x) =
g 0 (x)+h0 (x), provided that both of these exist. Similarly, if f (x) = c∗g(x) for some constant c, then f 0 (x) = c∗g 0 (x).
Both of these ”rules” allow us to break larger problems into small pieces, and this is just the sort of thing we want to
do.
We now turn our attention to developing some of the more important rules for differentiation.
But, as h gets close to 0, the expression inside the last limit gets close to nxn−1 . This is the power rule;
This of course agrees with our computation of the derivative of the cube function.
Since we already know that the derivative of a sum of functions (in this case, we will think of each term of a
polynomial as a seperate function) is the sum of the derivatives, and that the derivative of a constant times a function
is the constant times the derivative of the function, we can now readily compute the derivative of any polynomial. For
example, if
p(x) = x4 − 2x3 + 5x2 + 3x + 1,
then
d
p0 (x) x4 − 2x3 + 5x2 + 3x + 1
=
dx
d d d d d
x4 − 2x3 + 5x2 +
= (3x) + (1)
dx dx dx dx dx
d d d d d
x4 − 2 x3 + 5 x2 + 3 (x) +
= (1)
dx dx dx dx dx
= 4x3 − 2 3x2 + 5 (2x) + 3 (1) + 0
3
For example, if √
f (x) = x = x1/2 ,
then
1 1/2−1 1
f 0 (x) = x = x−1/2
2 2
1
= √ .
2 x
You can see from the graph that the tangent line intersects the x-axis very close to the root. We and easily solve
for the point of intersection of the tangent line and the x-axis; the y coordinate is 0, so the x-coordinate must satisfy
0 = .25 + 3(x − 1.5). We find x = 1.5 − .25/3 = 1.416666.... This turns out to be a pretty good approximation to
√
2. However, we can obtain an even better approximation by repeating the process, using our new approximation as
a starting value. (“Repeating the process” is called “iteration.”) Rounding the result to 2 places, we find f (1.42) =
.0164 and f 0 (1.42) = 2.84, so the equation of the tangent line to the graph of f at the point (1.42, .0164) will be
4
y = .0164 + 2.84(x − 1.42). The √ x-coordinate of the point of intersection of this line with the x-axis is approximately
1.414225. How close is this to 2?
Let’s examine this process more closely. At the point (x0 , f (x0 )), the slope of the tangent line is f 0 (x0 ) and the
equation for the tangent line will be y = f (x0 ) + f 0 (x0 )(x − x0 ). Setting y = 0, we find that the x-coordinate of
the point of intersection of the tangent line with the x-axis, call it x1 , will be x1 = x0 − f (x0 )/f 0 (x0 ). Once we
have found x1 , we can repeat this process to find a new approximation x2 = x1 − f (x1 )/f 0 (x1 ),... This is Newton’s
method. Of course, we can apply this idea to other functions, as well, once we learn how to compute the derivative of
the function in question.
5
which looks very similar to the product of difference quotients for g and h. In fact, while a precise proof requires
additional attention to detail, that is essentially what we have, and the end result is that
So, for our example f (x) = (x3 + x2 + x + 1)3 , we know that the derivative of the “outside” function g(x) = x3
is g (x) = 3x2 and the derivative of the “inside” function h(x) = x3 + x2 + x + 1 is h0 (x) = 3x2 + 2x + 1, so that
0
2
f 0 (x) = 3 x3 + x2 + x + 1
3x2 + 2x + 1 .
g(x)
f (x) = .
h(x)
However, since
g(x) 1 −1
= g(x) = g(x) (h(x)) ,
h(x) h(x)
we can use a combination of the product and chain rules to compute f 0 (x). From the product rule,
−1 d −1
f 0 (x) = g 0 (x) (h(x)) + g(x) (h(x)) .
dx
Now, using the chain rule,
d −1
−2
(h(x)) = (−1) (h(x)) h0 (x).
dx
So,
−1 −2
f 0 (x) = g 0 (x) (h(x)) + g(x) (−1) (h(x)) h0 (x)
g 0 (x) g(x)h0 (x)
= − 2
h(x) (h(x))
g 0 (x)h(x) − g(x)h0 (x)
= 2 .
(h(x))