How Derivatives Shape a Graph
The sign of the first derivative fixes where a function rises and falls, and a sign change identifies each local extremum through the First Derivative Test. The second derivative sets concavity and inflection points and gives a faster Second Derivative Test.
╌╌╌╌
Critical numbers mark where extrema can occur, but not which are maxima and which are minima. The two derivatives settle it. Since is the slope of the curve, its sign records the direction of travel, and records how that direction is turning. Reading these two signs off a function reconstructs its shape without plotting a single extra point.
Increasing, decreasing, and the sign of
Between two points where the tangent slopes uphill the function is rising; between two points where it slopes downhill it is falling. The Mean Value Theorem promotes that observation to a theorem.
For any in the interval, the Mean Value Theorem gives a between them with . The factor is positive, so takes the sign of : positive slope makes , negative slope reverses it.
The critical numbers cut the domain into intervals on which keeps a constant sign, so testing one point per interval settles the whole interval. For ,
with critical numbers . A sign chart multiplies the signs of the three factors on each interval.
| Interval | |||||
|---|---|---|---|---|---|
| decreasing | |||||
| increasing | |||||
| decreasing | |||||
| increasing |
The First Derivative Test
A local extremum sits where the function stops rising and starts falling, or the reverse. In terms of the derivative, an extremum is a sign change of .
The test follows from the Increasing/Decreasing Test: rising then falling makes a peak, falling then rising makes a valley, and no change of direction makes neither.
For the function above, changes from negative to positive at and at , so both give local minima, and . It changes from positive to negative at , so is a local maximum.
Concavity and the second derivative
The first derivative reports direction; the second reports how direction bends. A curve can rise while curving up like a bowl or up like a dome, and the two look completely different.
Concave upward means the slope is itself increasing, which happens exactly when . Concave downward is the mirror image.
A point where concavity switches is where the curve changes the way it bends.
At an inflection point the second derivative changes sign, so any inflection point with defined has there. The converse fails: has but is not an inflection point, since never changes sign.
The Second Derivative Test
At a critical number where , the concavity settles which kind of extremum it is. A bowl-shaped graph sits above its horizontal tangent (minimum); a dome sits below it (maximum).
The test is inconclusive when : there might be a maximum, a minimum, or neither, and the First Derivative Test must be used instead. It is also inconclusive when does not exist.
For , the derivatives are and . The critical numbers are and . At , , so is a local minimum. At , and the Second Derivative Test gives nothing; the First Derivative Test shows on both sides, so yields neither. The second derivative vanishes at and , and it changes sign at both, so and are inflection points.
| Interval | concavity | |
|---|---|---|
| upward | ||
| downward | ||
| upward |
The two tests carry the same information in different form. The choice between them is one of convenience: the Second Derivative Test is a single evaluation when is easy, while the First Derivative Test always applies and handles the cases the second cannot.
The correspondence between , , and
Stacking a function above its first and second derivatives makes every feature line up vertically. Where crosses zero, has a horizontal tangent; where crosses zero, has an inflection.
Limits at infinity and horizontal asymptotes
The tests above describe local shape. End behavior asks a different question: what does approach as runs off to ?
A curve can approach its asymptote from above, from below, or by oscillating across it, and the two ends may settle toward different values. The base case is the reciprocal power.
For a rational function, divide numerator and denominator by the highest power of in the denominator, then send each reciprocal power to zero. For ,
The same value comes out at , so is a horizontal asymptote at both ends. The rule generalizes: for a rational function the horizontal asymptote is the ratio of leading coefficients when the degrees match, when the denominator's degree is larger, and there is none when the numerator's degree is larger.
A radical in the numerator makes the two ends disagree, because equals for positive but for negative .
Footnotes
- Stewart, §3.3 — How Derivatives Affect the Shape of a Graph: the Increasing/Decreasing Test, First Derivative Test, Concavity Test, inflection points, and Second Derivative Test; §3.4 — Limits at Infinity; Horizontal Asymptotes: limits at infinity, horizontal asymptotes, vanishing reciprocal powers, and end behavior of rational functions. ↩
╌╌ END ╌╌