interval.
We can get lot of information about the function and its graph based on its rst
and second derivatives. The following example will illustrate this in detail.
Example 1
Consider the function f (x) = x3 + 3x2 − 9x − 15. Find the intervals where f (x)
up/down. Try to sketch f (x) based on this information. We will start with the
1
To decide on what interval(s) f 0 (x) is > 0 or < 0, rst we will nd when
straight line. These numbers will divide the line into 3 intervals as shown. We
or negative in any of these 3 intervals. Once in an interval, f 0 (x) will not keep
changing from positive to negative or the other way. This fact is important
because we can pick any number from each of these intervals, plug
that number into f 0 (x) and test whether f 0 (x) is positive or negative. So,
for x < −3, pick x = −4 and plug it into f 0 (x) = 3(x + 3)(x − 1). Clearly it
is positive. This means that for x < −3, f is increasing. We indicate this by
an arrow going up in our picture. Again, for −3 < x < 1, you can pick x=0
plug in to f 0 (x) and we see that f 0 (x) is again positive which means that f (x)
is increasing for x > 1. We also need to know to what value f (x) increases at
at x=1 before it starts increasing again. So, we need the y coordinates of the
points when f 0 (x) = 0. Plug in x = −3 and x=1 in the original f (x). So,
f (−3) = 12
and
f (1) = −20.
With this information we can sketch a graph of f. Please note that the arrows
2
we drew in the above picture should guide us about how the graph goes and
the above numbers will tell us how high/low our graph will go before it starts
turning around.
12 local max
-3 1
Now let us look at some important denitions based on this example. Here
we see that f reaches its local maximum at x = −3 and its local minimum
maximum at x=a if f (a) is more than or equal to the values of f (x) near a.
Also, f has a local mimimum at x=a if f (a) is less than or equal to the values
of f (x) near x = a. We use the term local because the function could attain a
3
10
5
local max
local max
local min
local min
-5
-10
-4 -3 -2 -1 0 1 2 3 4
deciding the local max/min of f. We will give a special name to these points.
all). In our case, we will focus on f 0 (a) = 0 for the denition of critical point.
Theorem 1:
Suppose f is dened on an interval and has a local max/min at x=a (which is
not the end point of the interval). If f is dierentiable at x=a then f 0 (a) = 0.
This theorem means that for a continuous function f (x), the local maximum
4
and minimum (if any) can happen only at any of the critical points and no where
else. A function may or may not have a local max/min. This means a critical
point need not always be a local max/min. So we have the following test for
a local maximum. If the sign of f0 remains the same at x=a then x=a is
Example
Use the second derivative test to classify the critical points of f (x) = x3 + 3x2 −
5
So f 0 (x) = 3x2 + 6x − 9. We have already seen that the critical points of this
f (x) (that is when f 0 (x) = 0) are x = −3 and x = 1. Now nd f 00 (x) which is
f 00 (x) = 6x + 6. When x = −3, f 00 (x) < 0 which means we have a local max
and when x = 1, f 00 (x) > 0 which means local min (which agrees with what we
found earlier).
Inection Point
We know that when f 00 > 0, the graph of f is concave up and when f 00 < 0, the
graph of f is concave down. The point where the transition occurs, i.e when
Example:
Find the inection point(s) of f (x) = x3 + 3x2 − 9x − 15.
Example 1:
Use the rst derivative test to nd the intervals where f (x) = x5 − 15x3 + 10
Solution: First nd the critical point(s). f 0 (x) = 5x4 −45x2 = 5x2 (x2 −9) =
are -3, 0 and 3. Any local max/min can happen only at any of these points and
no where else. Draw a line and mark the critical points in increasing order. We
• x < −3, Pick a test number, say x = −4 and plug into f 0 (x) = 5x2 (x2 − 9)
6
• −3 < x < 0, Pick a test number, say x = −1 and plug into f 0 (x) =
5x2 (x2 − 9) and we see that f 0 < 0. So f is decreasing for −3 < x < 0.
• 0 < x < 3, Pick a test number, say x = 1 and plug into f 0 (x) = 5x2 (x2 −9)
• x > 3, Pick a test number, say x=4 and plug into f 0 (x) = 5x2 (x2 − 9)
max at x = −3. The local max value is f (−3) which you can compute. Also,
a local minimum and the local min value is f (1) which you can compute. At
Example 2
(3,2)
Solution:
The most important thing you should keep in mind is Theorem 1, that is
local max (or local min) will and can happen only at a critical point. So if f
x = 3.So a = −6. To nd b, use the given point, i.e when x = 3, y = 2. This
gives b = 11.