Lesson 6 of 8 · 20 min
Sketching graphs with derivatives
Combine intercepts, stationary points, points of inflection, concavity and end behaviour to sketch polynomial, exponential and logarithmic graphs with every key feature labelled.
What you will be able to do
- Use the first and second derivatives to locate and classify stationary points and points of inflection.
- Sketch a graph with intercepts, stationary points, points of inflection and asymptotes labelled, and the correct concavity between them.
- Read features of from the graphs of and .
A graphics calculator draws a graph in a second, but it cannot tell you where the important points are exactly, or why the graph has the shape it does. Calculus can. With and you can find every turning point and every change of bend, then join them up with confidence.
Sketching y = f(x) with calculus
Domain and intercepts
State the domain. Find the -intercept, , and the -intercepts if they can be found.
Stationary points
Solve , find the -coordinates, and classify each one with the second derivative test (or a sign table if the test fails).
Points of inflection
Solve and check that changes sign.
End behaviour and asymptotes
What happens as and , and near any value excluded from the domain?
Plot and join
Plot the labelled points, then draw a smooth curve that has the right concavity on each interval.
Worked example
Sketch
Sketch the graph of , labelling the axis intercepts, stationary points and point of inflection. (Hint: .)
The sketch, with every key feature labelled.
Step 1: Intercepts
-intercept: .
Since , is a factor: . The -intercepts are and (where the graph touches the axis).
Step 2: Stationary points
, so or .
and .
Step 3: Their nature
.
: is a local maximum. : is a local minimum.
Step 4: Point of inflection
at , and (linear) changes sign there. , so is a point of inflection.
For a cubic the point of inflection is midway between the turning points: and .
Step 5: End behaviour
The leading term is , so as and as .
Step 6: Sketch
Plot the five labelled points and join them: concave down for , concave up for .
Try it yourself first, then check the working one step at a time.
Answer
The graph has -intercepts and , -intercept , a local maximum at , a local minimum at where it touches the -axis, and a point of inflection at .
Method
Intercepts, then stationary points with the second derivative test.
Points of inflection from with a sign change.
End behaviour from the leading term.
Join with the right concavity on each side of the point of inflection.
Watch out for
Drawing the graph crossing the -axis at . A repeated factor means it touches and turns.
Leaving the point of inflection unlabelled. It is a key feature.
With this is the cubic from the example. Changing slides the graph up and down: the -coordinates of the turning points ( and ) and the point of inflection () never change, because disappears when you differentiate.
The graph of is shown. At which labelled point are both and ?
The same process works for exponential and logarithmic functions. They bring two extra features to watch for: asymptotes, and restricted domains such as for .
Worked example
Sketch
Sketch the graph of , labelling the intercepts, the stationary point, the point of inflection and any asymptote. Give coordinates exactly.
has a maximum at and a point of inflection at , and approaches as .
Step 1: Intercepts
, and only when (since ). The only intercept is the origin.
Step 2: First derivative
Product rule: .
when , and .
Step 3: Second derivative
Product rule on : .
Step 4: Nature of the stationary point
, so is a local maximum.
Step 5: Point of inflection
when . Since , the sign of is the sign of , which changes at . .
Step 6: End behaviour
As , much faster than grows, so : the -axis is a horizontal asymptote.
As , and , so .
Try it yourself first, then check the working one step at a time.
Answer
The graph passes through the origin, has a local maximum at and a point of inflection at . It is concave down for and concave up for , with the -axis as a horizontal asymptote as .
Method
Factor out after each product rule: its sign is always positive.
The sign of or is then the sign of the remaining factor.
Use "exponentials beat powers" for end behaviour.
Watch out for
Sign errors with .
Drawing the curve crossing the asymptote for large . Here for all .
Tip
Exponentials win
As , shrinks to zero faster than any power of grows, so and . As , grows more slowly than any positive power of , so . Use these facts for end behaviour.
Reading the derivative graphs. You can also work backwards. Since is the derivative of , the points of inflection of are where has its turning points. And the stationary points of are where the graph of crosses the -axis.
The graph of . has stationary points where this graph crosses the -axis, and a point of inflection at , where this graph turns.
Use the graph of above. What is the nature of the stationary point of at ?
Exam tip
What a sketch must show
Label every intercept, stationary point and point of inflection with exact coordinates (or decimals if the question allows), draw asymptotes as dashed lines with their equations, and make the concavity match your analysis. A sketch is not a plot: it does not need to be to scale, but the features must be in the right order and the right places relative to each other.
Summary
Process: domain and intercepts, stationary points and their nature, points of inflection, end behaviour, then join with the right concavity.
A cubic has one point of inflection, halfway between its turning points (when it has two).
Constants added to move the graph up or down but do not change the -coordinates of stationary points or points of inflection.
Exponential decay beats any power: as .
Stationary points of : where crosses the axis. Points of inflection of : where turns.
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.