Sketching f, f′ and f″
The graphs of a function and its derivatives are tied together point by point. This guide shows how to sketch a derivative from a function, and a function from its derivative, using the features that line up between them.
Features match across the graphs. Where \(f\) has a horizontal tangent, \(f'\) is 0. Where \(f\) rises, \(f'\) is above the axis; where \(f\) falls, below. Where \(f\) is concave up, \(f'\) rises; concave down, \(f'\) falls. Inflection points of \(f\) line up with peaks and valleys of \(f'\). Going backward, from \(f'\) to \(f\), the derivative gives the shape but not the height: you need one known value of \(f\).
1What lines up
| On the graph of f | On the graph of f′ | On the graph of f″ |
|---|---|---|
| Rising | Above the axis | (no direct link) |
| Falling | Below the axis | (no direct link) |
| Horizontal tangent | Zero | |
| Relative max / min | Crosses zero (+ to − / − to +) | Negative / positive (if not 0) |
| Concave up | Rising | Above the axis |
| Concave down | Falling | Below the axis |
| Inflection point | Peak or valley | Crosses zero |
2From f to f′
Use Figure 1
- 1Find where \(f\) has horizontal tangents (its turning points, \(x = -1\) and \(x = 3\)): \(f'\) crosses zero there.
- 2Where \(f\) rises, draw \(f'\) above the axis; where \(f\) falls, below.
- 3Where \(f\) is steepest falling (the inflection point, \(x = 1\)), \(f'\) is at its lowest.
The graph of \(f'\) is not a shifted copy of \(f\). Its height at each \(x\) is the slope of \(f\) there. A tall, flat part of \(f\) gives \(f'\) near zero.
3From f′ to f
Use the top of Figure 2
- 1Sign changes of \(f'\): \(+\) to \(-\) at 1.5 (relative max of \(f\)), \(-\) to \(+\) at 3 (relative min), \(+\) to \(-\) at 6.5 (relative max).
- 2\(f'\) decreasing on \((0, 2)\) and \((5, 8)\): \(f\) concave down. \(f'\) increasing on \((2, 5)\): \(f\) concave up.
- 3Where \(f'\) switches between decreasing and increasing, at \(x = 2\) and \(x = 5\), \(f\) has inflection points.
“\(f'\) changes sign from positive to negative at \(x = 1.5\), so \(f\) has a relative maximum there. \(f'\) is decreasing on \((0, 2)\), so the graph of \(f\) is concave down on \((0, 2)\).”
How high is the sketch?
- 1\(f'\) only gives slopes. Every vertical shift of a correct sketch has the same slopes.
- 2Given \(f(0) = 1\), the graph starts at height 1. Areas under \(f'\) then add or subtract height: from 0 to 1.5, \(f'\) is positive and the area is \(\frac12(1.5)(3) = 2.25\), so \(f(1.5) = 3.25\).
At \(x = 2\) and \(x = 5\), \(f'\) has corners but does not change sign, so \(f\) has no extreme there; those are inflection points. Extrema of \(f\) come from sign changes of \(f'\).
Two sketches with the same slopes can sit at different heights. If a value such as \(f(0) = 1\) is given, start there; if not, any vertical position is allowed, and you should say so.
4Checking a pair of graphs
Do the sketches agree?
A student’s sketch of \(f\) has a relative maximum at \(x = 2\), a relative minimum at \(x = 4\), and is concave down on \((0, 6)\). Their sketch of \(f'\) is positive on \((0, 2)\), negative on \((2, 6)\), and decreasing on \((0, 6)\).
- 1Maximum at 2: \(f'\) changes from \(+\) to \(-\) at 2. ✓
- 2Concave down on \((0, 6)\): \(f'\) is decreasing on \((0, 6)\). ✓
- 3Minimum at 4: \(f'\) would have to change from \(-\) to \(+\) at 4, but it stays negative on \((2, 6)\). ✗
- 4The sketch of f also disagrees with itself: a graph that bends down all the way across (0, 6) cannot have a valley inside that interval.
If \(f'\) touches 0 without crossing, as \(f'(x) = (x - 1)^2\) does at \(x = 1\), \(f\) flattens for an instant and keeps going the same way. Only a sign change of \(f'\) makes a maximum or minimum.
Quick reference
| f′ does this | So f does this |
|---|---|
| Positive / negative | Increases / decreases |
| Crosses zero, + to − | Relative maximum |
| Crosses zero, − to + | Relative minimum |
| Increasing / decreasing | Concave up / down |
| Has a peak, valley or corner | Inflection point |