Académique Documents
Professionnel Documents
Culture Documents
Chapter 2B
August 1999
Now that we have some basic rules for differentiation, we will expand our toolbox and look at some applications.
1
for Y 6= 0. Since
lim cos Y = 1 and lim 1 = 1,
Y →0 Y →0
d sin (x + h) − sin x
(sin x) = lim
dx h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
sin x (cos h − 1) + cos x sin h
= lim
h→0 h
sin x (cos h − 1) cos x sin h
= lim + lim
h→0 h h→0 h
cos h − 1 sin h
= (sin x) lim + (cos x) lim
h→0 h h→0 h
Similarly, we find
2
Since other trigonometric functions can be expressed in terms of the sine and cosine, we can now compute the deriva-
tives of those functions using the rules for differentiation we have already developed.
For example, since
sin x −1
tan x = = sin x (cos x)
cos x
we can use the quotient rule (or the product and chain rules) to learn that
d cos2 x + sin2 x 1
(tan x) = =
dx cos2 x cos2 x
= sec2 x.
As x increases (moves from left to right), we can see that f (x) also increases. That is, if s < t then f (s) < f (t).
We say that the function f is increasing.
Perhaps the simplest example of an increasing function is a line with positive slope. There is a connection between
the notion of an increasing function and slopes of tangent lines. At a point on the graph of an increasing function where
there is a tangent line, the slope of the tangent line will be positive (or at least non-negative; consider the derivative of
f (x) = x3 at x = 0 in the example above). Since the slope of that tangent line to the graph at a point (x, f (x)) is the
value of the derivative f 0 (x), we learn that an increasing function must have a non-negative derivative.
We will be interested in understanding local as well as global behavior of functions, so we will also define a
function to be increasing on an interval [a, b] if, for any pair of numbers s and t in the interval [a, b] with s < t,
f (s) < f (t). In this case, we will have f 0 (x) ≥ 0 for all x ∈ [a, b].
In a similar fashion we define what it means for a function to be decreasing (on an interval).
Consider the following example. Let g(x) = x3 + 2x2 − x + 1. Here is a plot of y = g(x) on the interval [−3, 2].
From the graph, we can see that the function is increasing until x is about −1.5 and again after x passes about 0.2.
We can identify these values more accurately by graphing the derivative, g 0 (x) = 3x2 + 4x − 1.
The points where the graph crosses the x-axis are the points where the derivative changes sign. You can zoom in on
smaller intervals containing those crossings to get better and better approximations of the points where g changes from
increasing to decreasing (or the reverse). (Actually, in this example, our first estimates look pretty good.) Alternatively,
we can find the zeros of the derivative.
√ √
0 2 −4 ± 16 + 12 −2 ± 7
g (x) = 3x + 4x − 1 = 0 ⇐⇒ x = = ≈ −1.549, .215
6 3
3
Figure 2:
In this case, we could solve the equation explicitly. We will see that, in many cases, this is not possible, and we must
approximate the zeros of the derivative.
Note, too, that the zeros of the derivative in this case correspond to ”high” and ”low” points on the graph of g.
These points are referred to as local maximums and local minimums. We will consider this issue in more detail later.
y = f (x0 ) + f 0 (x0 ) (x − x0 ) .
4
Let’s remind ourselves how this works by looking at an example. Suppose we consider the function
√
f (x) = x.
Then
1
f 0 (x) = √ .
2 x
We know the exact value of both f and f 0 at any perfect square (1, 4, 9, 16, ...), and can readily find the equation of
the tangent line to the graph at any point corresponding to one of these.
Let’s look at the tangent line at the point (16,4), together with the original function
Figure 4:
We see that the tangent line remains close to the graph of the function (is a good approximation) close to the point
(16,4). We can use the simpler equation of the tangent line to approximate the function.
Here is a plot of the difference between the two:
Figure 5:
Note that the approximation appears to be very good between 14 and 18:
Note that, at the point (x0 , f (x0 )), the derivative of the function that defines the tangent line has the same value as
the derivative of f at that point. That’s really obvious since we construct the tangent line with slope f 0 (x0 ). The point
is that the tangent line matches the original funcion and its derivative at the point (x0 , f (x0 )).
We can extend this notion of local approximation to higher orders. The next step is to consider quadratic approxi-
mations.
For a function f, we wish to construct a quadratic polynomial which is the best approximation to f near a
given point (x0 , f (x0 )). Following the reasoning above, we want to find a quadratic function which passes through
(x0 , f (x0 )) and has the same first and second derivatives as f at that point. This is best done by writing a quadratic in
the form:
2
q(x) = c + b (x − x0 ) + a (x − x0 ) .
5
Figure 6:
q (x0 ) = f (x0 )
q 0 (x0 ) = f 0 (x0 )
q 00 (x0 ) = f 00 (x0 ) .
b = f 0 (x0 ) .
Note that the linear piece of our quadratic function is the same as the tangent line. Finally, since q 00 (x) = 2a, the
condition q 00 (x0 ) = f 00 (x0 ) means that we must take
f 00 (x0 )
a= .
2
So, our quadratic approximation becomes
f 00 (x0 ) 2
q(x) = f (x0 ) + f 0 (x0 ) (x − x0 ) + (x − x0 ) .
2
√
In our example above, we looked at the linear approximation to the graph of f (x) = x at the point (16,4). Since
1 1
f 00 (x) = − 3/2
and f 00 (16) = − ,
4x 256
the quadratic approximation at the same point is
1 1 2
q(x) = 4 + (x − 16) − (x − 16) .
8 512
Let’s look at a plot of this, together with a plot of f , to see how close the approximation is.
This approximation looks very good near (16,4). Let’s look at the plot of the difference over a smaller interval.
Comparing this approximation to the linear approximation, it appears that we have improved the accuracy by about
a factor of 10. That’s pretty impressive, and fairly representative of what happens with other examples.
6
Figure 7:
Figure 8:
7
On your own
Verify that the equation for y’ just derived for the circle agrees with the result you obtained by constructing a line
perpindicular to the radius.
2 2
Let’s look at another example. The equation x9 y4 = 1 defines the ellipse centered at the origin with major axis
length 6 along the x-axis and minor axis length 4.
Figure 9:
p
At x = 2, there are two possible y values: ±2 ∗ (5)/3 . Let’s compute the slope of the tangent line at the point
in the first quadrant. First we differentiate both sides of the equation defining the ellipse to obtain:
x y
2 + 2 y 0 = 0.
9 4
Solving this equation for y 0 yields:
−4x
y0 = .
9y
√
2 (5) −4
So, at the point (2, 3 ), the slope of the tangent line will be y 0 = √ .
3 (5)
We can now plot the ellipse together with the tangent line.
Figure 10:
On your own
1) For the previous example, compute the equation of the tangent line to the graph at the point ( 2,-2*sqrt(5)/3; ).
2) Consider the equation x2 ∗y−x∗y 2 = 2; .T hepoints(−1, 1)and(−1, −2)arebothonthegraphof thiscurve.Computetheslopeof
8
to model real-world phenomena. The theme of that article, and in fact in much related scientific thought, is that the
same mathematical concepts turn up in entirely unexpected connections. So, while we may be learning about the
fundamental notions of the calculus from a strictly mathematical point of view, we wish to point out that there are
many applications of these tools in diverse areas of science and engineering. Below are just a sampling.
Note that there may be some missing things in the below, since the original version was interspersed with Maple
code/commands as hints to the students.
Problem 1: This problem allows you to look at some of the information that you can derive from a function. It also
will introduce you to the Maple ”diff” function which, in this case, allows you to check your work.
A ball is tossed into the air from a bridge. Its height (y) in feet, after t seconds is given by:
y = t2 + 34t + 36
a. How high above the ground is the bridge?
b. What is the average velocity of the ball for the first second?
c. Approximate the velocity of the ball at t = 1 second (use Maple to get the derivative only to check your
approximation.
d. Graph the function. What is the maximum height the ball will reach? What is the velocity at that point?
e. Look at the derivative of the function. What happens to the derivative as the ball crosses that point?
Problem 2: Match the slopes with the points in the following graph. Do this visually without using Maple to
differentiate. When you have made your estimates, check your answers using Maple.
Slopes: -1.74, 0.54,-0.18,-0.94
Points: (1, y(1)), (2, y(2)), (3, y(3)), (4, y(4))
Figure 11:
Problem 3: The removal of a drug by the kidneys usually proceeds at a rate that is a linear function of the con-
centration of the drug in the blood (i.e., the greater the concentration of the drug, the faster it is removed). Say for a
specific drug:
Figure 12:
Where concentration is on the x axis and removal rate per minute is on the y axis.
9
Say you started with an initial concentration of 20 micro-grams per 100 cc of blood.
Conc := 20
The concentration after 1 minute would be given by the following equation.
newConc:=Rate*1;
newConc := 12.0
Now, take the new concentration and add it to the following list:
C:=[20,:
t:=[0,1,2,3,4,5,6]
Next take the new concentration and plug it (the number) into ”Conc” and toggle down to get another ”newConc”.
Repeat until you have the concentration of the blood as a function of time for the 6 minutes of the test.
Next, zip the 2 lists and look at your plot (you’ll have to fill in the parameters for ”plot”).
What kind of plot is this (what kind of a function governs drug removal)? As mentioned, this is the most common
mechanism for ”clearing drugs” by the kidneys. It’s called a ”first order” reaction. Why? Hint: look at the slope of
dC/dt as a function of C.
See if you can fit a function to the data.
10