The First Derivative Test
Learning Objectives
- Explain how the sign of the first derivative affects the shape of a function’s graph.
- State the first derivative test for critical points.
- Find local extrema using the first derivative test.
Earlier in this chapter we stated that if a function has a local extremum at a point , then must be a critical point of . However, a function is not guaranteed to have a local extremum at a critical point. For example, has a critical point at since is zero at , but does not have a local extremum at . Using the results from the previous section, we are now able to determine whether a critical point of a function actually corresponds to a local extreme value. In this section, we also see how the second derivative provides information about the shape of a graph by describing whether the graph of a function curves upward or curves downward.
The First Derivative Test
Corollary 3 of the Mean Value Theorem showed that if the derivative of a function is positive over an interval then the function is increasing over . On the other hand, if the derivative of the function is negative over an interval , then the function is decreasing over as shown in the following figure.

A continuous function has a local maximum at point if and only if switches from increasing to decreasing at point . Similarly, has a local minimum at if and only if switches from decreasing to increasing at . If is a continuous function over an interval containing and differentiable over , except possibly at , the only way can switch from increasing to decreasing (or vice versa) at point is if changes sign as increases through If is differentiable at the only way that can change sign as increases through is if . Therefore, for a function that is continuous over an interval containing and differentiable over , except possibly at , the only way can switch from increasing to decreasing (or vice versa) is if or is undefined. Consequently, to locate local extrema for a function , we look for points in the domain of such that or is undefined. Recall that such points are called critical points of .
Note that need not have a local extrema at a critical point. The critical points are candidates for local extrema only. In (Figure), we show that if a continuous function has a local extremum, it must occur at a critical point, but a function may not have a local extremum at a critical point. We show that if has a local extremum at a critical point, then the sign of switches as increases through that point.
Using (Figure), we summarize the main results regarding local extrema.
- If a continuous function has a local extremum, it must occur at a critical point .
- The function has a local extremum at the critical point if and only if the derivative switches sign as increases through .
- Therefore, to test whether a function has a local extremum at a critical point , we must determine the sign of to the left and right of .
This result is known as the first derivative test.
First Derivative Test
Suppose that is a continuous function over an interval containing a critical point . If is differentiable over , except possibly at point , then satisfies one of the following descriptions:
- If changes sign from positive when to negative when , then is a local maximum of .
- If changes sign from negative when to positive when , then is a local minimum of .
- If has the same sign for and , then is neither a local maximum nor a local minimum of .
We can summarize the first derivative test as a strategy for locating local extrema.
Problem-Solving Strategy: Using the First Derivative Test
Consider a function that is continuous over an interval .
- Find all critical points of and divide the interval into smaller intervals using the critical points as endpoints.
- Analyze the sign of in each of the subintervals. If is continuous over a given subinterval (which is typically the case), then the sign of in that subinterval does not change and, therefore, can be determined by choosing an arbitrary test point in that subinterval and by evaluating the sign of at that test point. Use the sign analysis to determine whether is increasing or decreasing over that interval.
- Use (Figure) and the results of step 2 to determine whether has a local maximum, a local minimum, or neither at each of the critical points.
Using the First Derivative Test to Find Local Extrema
Answer:
Step 1. The derivative is . To find the critical points, we need to find where . Factoring the polynomial, we conclude that the critical points must satisfy
Therefore, the critical points are . Now divide the interval into the smaller intervals , and .
Step 2. Since is a continuous function, to determine the sign of over each subinterval, it suffices to choose a point over each of the intervals , and and determine the sign of at each of these points. For example, let’s choose , and as test points.
Interval | Test Point | Sign of at Test Point | Conclusion |
---|---|---|---|
is increasing. | |||
is decreasing. | |||
is increasing. |
Step 3. Since switches sign from positive to negative as increases through has a local maximum at . Since switches sign from negative to positive as increases through has a local minimum at . These analytical results agree with the following graph.

Use the first derivative test to locate all local extrema for .
Answer:
has a local minimum at -2 and a local maximum at 3.
Using the First Derivative Test
Use the first derivative test to find the location of all local extrema for . Use a graphing utility to confirm your results.
Answer:
Step 1. The derivative is
Step 2: Since is continuous over each subinterval, it suffices to choose a test point in each of the intervals from step 1 and determine the sign of at each of these points. The points , and are test points for these intervals.
Interval | Test Point | Sign of at Test Point | Conclusion |
---|---|---|---|
is decreasing. | |||
is increasing. | |||
is increasing. | |||
is decreasing. |
Step 3: Since is decreasing over the interval and increasing over the interval , has a local minimum at . Since is increasing over the interval and the interval , does not have a local extremum at . Since is increasing over the interval and decreasing over the interval has a local maximum at . The analytical results agree with the following graph.

Use the first derivative test to find all local extrema for .
Answer:
has no local extrema because does not change sign at .
Hint
The only critical point of is .
Key Concepts
- If is a critical point of and for and for , then has a local maximum at .
- If is a critical point of and for and for , then has a local minimum at .
1. If is a critical point of , when is there no local maximum or minimum at ? Explain.
For the following exercises, analyze the graphs of , then list all intervals where is increasing or decreasing.

Answer:
Increasing for and ; decreasing for and


Answer:
Decreasing for ; increasing for


Answer:
Decreasing for and ; increasing for and and
For the following exercises, analyze the graphs of , then list
- all intervals where is increasing and decreasing and
- where the minima and maxima are located.


Answer:
a. Increasing over ; decreasing over ; b. maxima at and , minima at and and


Answer:
a. Increasing over , decreasing over ; b. Minimum at

For the following exercises, determine
- intervals where is increasing or decreasing (in interval notation) and
- local minima and maxima (as a coordinate).
12.
Answer:
a. Increasing: , decreasing: b. Local maximum at ; no local minimum.
13.
14.
Answer:
a. Increasing: , decreasing: b. Local maximum at ; local minimum at .
15.
16.
Answer:
a. Increasing: , decreasing: b. Local maximum at ; local minimums at and .
17.
18.
Answer:
a. Increasing: , decreasing: b. No local maximum; local minimum at .
19.
20.
Answer:
a. Increasing: , decreasing: b. local maximum at ; local minimum at .
21.
22. over the interval
Answer:
a. Increasing: , decreasing: b. Local maximum at ; local minimum at
23.
24.
Answer:
a. Increasing: , decreasing: b. local maximum at ; local minimum at .
25.
26.
Answer:
a. Increasing: , decreasing: b. no local maximum; local minimum at .
27.
28.
Answer:
a. Increasing: , decreasing: b. no local maximum; local minimum at .
29.
30.
Answer:
a. Increasing: , decreasing: b. no local maximum; local minimum at .
Glossary
- concave down
- if is differentiable over an interval and is decreasing over , then is concave down over
- concave up
- if is differentiable over an interval and is increasing over , then is concave up over
- concavity
- the upward or downward curve of the graph of a function
- concavity test
- suppose is twice differentiable over an interval ; if over , then is concave up over ; if over , then is concave down over
- first derivative test
- let be a continuous function over an interval containing a critical point such that is differentiable over except possibly at ; if changes sign from positive to negative as increases through , then has a local maximum at ; if changes sign from negative to positive as increases through , then has a local minimum at ; if does not change sign as increases through , then does not have a local extremum at
- inflection point
- if is continuous at and changes concavity at , the point is an inflection point of
- second derivative test
- suppose and is continuous over an interval containing ; if , then has a local minimum at ; if , then has a local maximum at ; if , then the test is inconclusive
Hint
Find all critical points of f and determine the signs of f′(x) over particular intervals determined by the critical points.