Two news headlines: "housing prices are still rising" and "housing prices are rising, but more slowly than last year". Both describe an increasing function, so the first derivative is positive in both. The difference is in how the SLOPE is changing. In the second headline the slope is getting smaller, so the graph is still climbing but bending over, like the top of a hill. Describing that bend needs a new tool: the derivative of the derivative.
The SECOND DERIVATIVE is the derivative of . Since is the rate of change of , the second derivative is the rate of change of the rate of change: it measures how fast the slope of the tangent is changing. In motion, if is position, is velocity and is acceleration, the rate at which velocity changes.
For a polynomial, just apply the power rule twice. If , then and . For a simple rational function, rewrite with negative exponents or use the quotient rule twice. If , then and . If , then and .
Concavity
| Concave up | Concave down | |
|---|---|---|
| Sign of | ||
| Tangent slopes | increasing as increases | decreasing as increases |
| Graph compared with its tangents | lies above its tangent lines | lies below its tangent lines |
| Shape | bends upward, like a cup | bends downward, like a cap |
| Simplest example |
Concavity and direction are independent. A graph can be increasing and concave up (rising faster and faster), increasing and concave down (rising more and more slowly, like the housing headline), decreasing and concave up (falling, but levelling off) or decreasing and concave down (falling faster and faster). The first derivative tells you the direction; the second derivative tells you the bend.
Points of inflection
At an inflection point the tangent slopes switch from increasing to decreasing, or the reverse, so the first derivative reaches a local maximum or minimum there. Geometrically, an inflection point is where the graph is steepest (or least steep) compared with nearby points. For the curriculum sample : is zero at and changes from negative to positive, so is a point of inflection. Right there, has its minimum value : the steepest downhill slope on the graph.
The second derivative test
- Find a critical number with , then evaluate .
- If , the graph is concave up at (a cup), so has a LOCAL MINIMUM at .
- If , the graph is concave down at (a cap), so has a LOCAL MAXIMUM at .
- If , the test is INCONCLUSIVE: , and all have , yet they have a minimum, a maximum and neither at . Go back to the first derivative test.
The other two sample functions are the simplest cases. has everywhere: a straight line does not bend, so it is neither concave up nor concave down and has no inflection points. has everywhere, so the parabola is concave up on all of , and the second derivative test confirms that its critical number is a minimum.