Two cars can both be speeding up while one gains speed faster and faster and the other gains it more and more slowly. Their position graphs both rise, yet they bend in opposite directions. The first derivative tells you whether a graph goes up or down. The second derivative tells you which way it bends, and that extra information sharpens both graph sketches and the hunt for maxima and minima.
Key terms
Concave up and concave down
Definition Let be differentiable on an open interval . The function is concave up on if is strictly increasing on , and concave down on if is strictly decreasing on . Equivalently, is concave up on exactly when its graph lies above every one of its tangent lines on , touching each only at its point of tangency, so that for all in
and concave down when the inequality is reversed.
In plain words A concave up graph bends like a cup that holds water, and its slopes keep getting larger. A concave down graph bends like a cap, and its slopes keep getting smaller.
Example For the slope is . On the slope decreases from large positive values toward , so is concave down there. On the slope increases, so is concave up there.
The sign of the second derivative
Definition This is the concavity test. Suppose exists at every point of an open interval .
- If for all in , then is concave up on .
- If for all in , then is concave down on .
The test follows from the increasing and decreasing test applied to . Its converse fails. The function is concave up on all of even though its second derivative is at .
In plain words A positive second derivative means the slope is growing, so the graph bends up. A negative one means the slope is shrinking, so the graph bends down.
Example Take . Then and
| Interval | Sign of | Concavity |
|---|---|---|
| positive | up | |
| negative | down | |
| positive | up |
Inflection points
Definition A point on the graph of is an inflection point if is continuous at and there is a such that is concave up on and concave down on , or concave down on and concave up on .
If exists at an inflection point, then , because has a local maximum or minimum at . The reverse is false. A zero of is only a candidate, and the concavity has to actually change there.
In plain words An inflection point is where the graph switches from bending one way to bending the other. A zero second derivative alone does not make one.
Example For the table above shows a change of concavity at and at . Since and , the inflection points are and . By contrast, has , but on both sides of , so the origin is not an inflection point of .
The second derivative test
Definition Let be differentiable on an open interval containing , with , and suppose exists.
- If , then has a local minimum at .
- If , then has a local maximum at .
In plain words At a point where the tangent is flat, a graph that bends up must sit at the bottom of a valley, and a graph that bends down must sit at the top of a hill.
Example Let . Then , so the critical points are and , and .
So is a local minimum and is a local maximum.
When the second derivative test is inconclusive
Definition If and , or if does not exist, the second derivative test gives no conclusion. The point may be a local minimum, a local maximum or neither. In that case use the first derivative test, which looks at the sign of on each side of .
In plain words A second derivative of zero means the test cannot tell. It does not mean there is no extremum, and it does not mean there is one.
Example Each of these functions has and .
| Function | Sign of left of | Sign of right of | What happens at |
|---|---|---|---|
| negative | positive | local minimum | |
| positive | negative | local maximum | |
| positive | positive | neither |
The same zero second derivative leads to three different answers, which is why the test stays silent.
Check yourself
- Find where is concave up, where it is concave down, and its inflection point.
Show the answer
The second derivative is , which is negative for and positive for . So is concave down on and concave up on . The inflection point is .
- Use the second derivative test to classify the critical points of .
Show the answer
The derivatives are
so the critical points are and . Since , there is a local minimum . Since , there is a local maximum .
- Does have an inflection point at the origin, even though does not exist?
Show the answer
Yes. For the second derivative is
which is positive for and negative for . The function is continuous at and the concavity changes there, so is an inflection point.