Picture a hiking trail drawn as a graph of height against distance. Uphill stretches, downhill stretches, the summits and the valley floors are the first things a hiker wants to know, and they are exactly the features you want when you sketch a function. A graphing calculator can show you a picture, but it cannot promise that the window shows every peak and valley. The derivative can. Because is the slope of the tangent at every point, its SIGN tells you which way the graph is heading, and the places where the slope is zero (or undefined) are the only places where a continuous graph can turn around.
A function is INCREASING on an interval if its values go up as moves to the right: whenever in the interval, . It is DECREASING if its values go down: whenever , . On a smooth graph, a rising curve has tangents that slope upward, so a positive derivative means increasing, and a negative derivative means decreasing.
| On an interval | Tangent lines | The function |
|---|---|---|
| slope upward | increasing (graph rises left to right) | |
| slope downward | decreasing (graph falls left to right) | |
| at every point | horizontal | constant (a horizontal line) |
Read the figure from left to right. For the derivative is positive, so the graph climbs. At the slope is and the graph levels off at the top of a hill. Between and the derivative is negative and the graph falls. At the slope is again, at the bottom of a valley, and after that the graph climbs forever. The function changes direction only at the two places where .
Critical numbers
Why care about critical numbers? A smooth function cannot switch from rising to falling without passing through a slope of , and a function with a corner can switch at the corner. So every LOCAL MAXIMUM (a point higher than all nearby points) and every LOCAL MINIMUM (a point lower than all nearby points) inside an open interval happens at a critical number. For polynomials exists everywhere, so the critical numbers are just the solutions of . For a function such as , the derivative does not exist at , so is a critical number even though is never zero: the graph has a cusp there and a local minimum at .
The first derivative test
- Find and factor it as far as you can.
- Find the critical numbers: solve , and note any in the domain where does not exist.
- Mark the critical numbers on a number line. They split it into intervals.
- Pick a test value in each interval and find the sign of there (the signs of the factors are enough).
- Classify each critical number: changes from to gives a LOCAL MAXIMUM; from to gives a LOCAL MINIMUM; no sign change gives neither.
- Substitute each critical number into (not ) to find the height of the maximum or minimum.
Two of the curriculum's sample functions show the simplest cases. For , is positive everywhere, so the line increases on all of and has no critical numbers and no extrema. For is zero at , negative before it and positive after it. So decreases on , increases on and has a local (in fact absolute) minimum at , the vertex of the parabola.
| Interval | Test value | Sign of | is |
|---|---|---|---|
| decreasing | |||
| increasing | |||
| decreasing | |||
| increasing |
Reading the chart: goes to at , so there is a local minimum (the graph touches the -axis there). It goes to at , a local maximum of , and to at , a local minimum of . The lower of the two minimums is also the absolute minimum of the whole graph.