The order of work
A sketch shows the shape of a curve and the points that fix it, without plotting a table of values. The derivatives supply the shape. Work through the same list every time:
First the intercepts: set y = 0 for the x-intercepts and x = 0 for the y-intercept. Then the stationary points, from , each classified as a maximum, a minimum or neither. Then the points of inflection, from the second derivative and its change of sign. Then the ends: what y does as x runs far to the right and far to the left, and any asymptotes. Finally, join the points up in a way that agrees with all of it.
The intercepts
Take . Setting y = 0 gives , so x = 0 or . The x-intercepts are x = 0, and .
Setting x = 0 gives y = 0, so the y-intercept is the origin too.
Check for symmetry as well. Replacing x by −x gives , so the curve has rotational symmetry about the origin: whatever it does at x, it does upside down at −x.
Stationary points and inflection
, which is 0 at x = −1 and x = 1. The heights are −1 + 3 = 2 and 1 − 3 = −2.
The second derivative is 6x: −6 at x = −1, so (−1, 2) is a local maximum, and 6 at x = 1, so (1, −2) is a local minimum. The two agree with the symmetry.
6x is 0 at x = 0 and changes from negative to positive there, so the origin is a point of inflection: concave down to its left, concave up to its right. The gradient there is −3, so the curve crosses the origin falling.
The ends
For large x the term dominates: at x = 10, y = 1000 − 30 = 970. So as , and by the symmetry as . At x = 3 the curve is already at 18, and at x = −3 at −18.
Now join the pieces. Start at the bottom left, rising; cross the axis at ; turn at the peak (−1, 2); fall through the origin with gradient −3; turn at the trough (1, −2); rise through and off the top of the window.
The gold curve , crossing the x-axis at , 0 and , with its peak (−1, 2) and trough (1, −2). The gold line y = −3x is the tangent at the point of inflection, the origin; both ends leave the window, rising on the right and falling on the left.
A curve that touches the axis
Take . It factors as , so the x-intercepts are x = 0 and x = 3, and the y-intercept is 0.
The root at x = 3 is a double root: is never negative, so the curve touches the axis there and turns back up without crossing it. For x < 0 the factor x is negative, so the curve is below the axis; for x > 0 it is at or above it.
, zero at x = 1 and x = 3. The second derivative 6x − 12 is −6 at x = 1 and 6 at x = 3, so (1, 4) is a local maximum, since 1 − 6 + 9 = 4, and (3, 0) a local minimum, on the axis, where the double root is.
6x − 12 is 0 at x = 2 and changes from negative to positive, so (2, 2) is a point of inflection, since 8 − 24 + 18 = 2. The gradient there is 12 − 24 + 9 = −3.
At the ends the term wins: the value is 10.125 at x = 4.5 and −6.125 at x = −0.5, so on the right and on the left.
The gold curve . It rises through the origin to the peak (1, 4), falls through the point of inflection (2, 2), touches the x-axis at its trough (3, 0), and rises off the top; on the left it falls off the bottom.
A curve with an asymptote
Take . The denominator is never 0, so the curve is defined for every x. y = 0 only when x = 0, so the origin is the only intercept. Replacing x by −x changes the sign of y, so the curve is symmetric about the origin, as is.
By the quotient rule, , which is 0 at x = 1 and x = −1. The second derivative is : at x = 1, so is a local maximum, and at x = −1, so is a local minimum.
The second derivative is 0 at x = 0 and , and changes sign at each: at x = −2, −1, 0.5 and 2 it is −0.032, 0.5, −1.408 and 0.032. So there are three points of inflection: the origin, and , at heights about .
Far out, the in the denominator outgrows the x on top: at x = 10 and at x = 100. So as , from above, and as , from below. The x-axis is a horizontal asymptote. A curve that levels off is not always running off to infinity.
The gold curve , with the vertical scale stretched: a maximum at , a minimum at , points of inflection at the origin and at , and both ends closing in on the x-axis.
The usual mistakes
Mixing up the intercepts. y = 0 gives the x-intercepts; x = 0 gives the y-intercept.
Setting y = 0 to find the stationary points. That gives where the curve crosses the axis; flat points come from .
Drawing a crossing at a double root. touches the axis at x = 3 and turns back.
Leaving out the ends. A peak and a trough fit both and , in opposite orders; the sign of the term decides which end rises.