Lesson 7 of 8 · 15 min
The derivative as a function
See the derivative as a function in its own right, which outputs the gradient of f at each x, and sketch the graph of f′ from the graph of f.
What you will be able to do
- Explain why is a function: it assigns a gradient to each value of .
- Read where is positive, negative or zero from the graph of .
- Sketch the graph of from the graph of .
When you differentiate you get . That is a new function: put in an and it gives back the gradient of at that . Like any function it has a graph, and the graph of tells the story of how steep is everywhere.
Drag the point from left to right along . The gradient of the tangent at each is plotted as a point on the gradient function. Where is the gradient zero? Where is it negative?
Three facts let you read from the graph of :
- Where the tangents slope up, , and the graph of rises from left to right: is increasing.
- Where the tangents slope down, , and is decreasing.
- Where the tangent is horizontal, . This happens at every turning point.
Where turns, at and , the graph of crosses the -axis. Between them is decreasing and is negative; outside them is increasing and is positive.
| Graph of | Graph of |
|---|---|
| positive tangent gradient | above the -axis |
| negative tangent gradient | below the -axis |
| turning point | meets the -axis |
| straight line with gradient | horizontal line |
| parabola (degree 2) | straight line (degree 1) |
| cubic (degree 3) | parabola (degree 2) |
The graph of is shown. For which values of is ?
Worked example
Sketch the gradient function of a cubic
The graph of the cubic is shown, with turning points at and . Sketch the graph of , describing its key features.
Step 1: Find where
The tangent is horizontal at the turning points, so and . The graph of meets the -axis at and .
Step 2: Decide the sign of on each interval
- For , is increasing, so .
- For , is decreasing, so .
- For , is increasing, so .
Step 3: Find where f falls most steeply
Between the turning points, falls most steeply about halfway, near . There is most negative: the lowest point of the graph of .
Step 4: Choose the shape
A cubic has a quadratic derivative. Positive, then negative, then positive means an upright parabola through and , with its lowest point near .
Step 5: Check with the equation
This curve is , so . Its zeros are 1 and 3, its minimum is , and its -intercept is 9, matching the sketch.
Try it yourself first, then check the working one step at a time.
Answer
The graph of is an upright parabola crossing the -axis at and , below the axis between them, with its lowest point at . (For this curve it is , with minimum and -intercept 9.)
Method
Mark the zeros of at the -values of the turning points of .
Decide the sign of on each interval from whether is rising or falling.
Use the degree: a cubic gives a parabola, and a parabola gives a straight line.
Watch out for
Drawing through and . Heights of are not values of .
Making cross the axis where crosses the axis.
A cubic has turning points at and . Where does the graph of cross the -axis?
Common mistake
Don't copy the shape of f
The graph of shows gradients, not heights. It is zero where turns, not where crosses the -axis. A tall, flat part of gives values of near zero; a low, steep part of gives large values of .
You can also read the graph the other way. If you know the graph of , then wherever it is above the axis, is increasing, and wherever it crosses the axis, has a horizontal tangent.
The graph of the gradient function is the straight line shown. Which statement about is true?
Note
A function and a number
is a function; is a number, the gradient at . In Leibniz notation, write " when ". Both and are called the derivative, or the gradient function.
Summary
is a function: its input is and its output is the gradient of at .
Where , is increasing; where , is decreasing. A horizontal tangent means , which can occur even on an increasing curve, such as at .
The graph of meets the -axis at the -values of the stationary points of . These can be turning points or stationary points of inflection.
Differentiating lowers the degree by one: a parabola has a linear gradient function, a cubic a quadratic one.
To sketch : mark its zeros, decide its sign on each interval, then join them with the right shape.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.