Vertex Learn

Sketching the gradient graph of a function

WorksheetShare to Classroom

What this lesson covers

  • The gradient graph is zero where the function turns, positive where it rises and negative where it falls.
  • A cubic has a quadratic gradient graph and a quadratic has a straight-line gradient graph.
Key idea

The gradient graph

  • Underneath a function, draw its gradient.
  • Same x-axis, new y-axis: the gradient.
  • Start with f(x) = x³ − 3x.
The gradient graph
Worked example

Turning points become x-intercepts

  • At a turning point the gradient is zero.
  • F turns at x = −1 and x = 1.
  • So the gradient graph crosses there.
Turning points become x-intercepts
Worked example

Rising is positive, falling is negative

  • Before −1, f is rising: gradient positive.
  • Between −1 and 1, f falls: gradient negative.
  • After 1, rising again: positive.
Rising is positive, falling is negative
Worked example

Join it as one smooth curve

  • Lowest where f falls most steeply, at x = 0.
  • Through both intercepts, symmetric.
  • A parabola: f′(x) = 3x² − 3.
Join it as one smooth curve
Key idea

Try it: the curve and its gradient graph

Worked example

Check it with the derivative

  • Differentiate to check.
  • Zeros under the turns.
  • Symmetric about x = 0.
  1. f(x) = x³ − 3x
  2. f′(x) = 3x² − 3differentiate
  3. = 3(x − 1)(x + 1)factorise
  4. = 0 at x = −1 and x = 1the intercepts
  5. f′(0) = 3(0)² − 3 = −3the lowest point
  6. f′(2) = 3(2)² − 3 = 9
  7. f′(−2) = 3(−2)² − 3 = 9symmetric
Key idea

The degree drops by one

  • A cubic has a quadratic gradient graph.
  • A quadratic has a straight-line gradient graph.
  • Knowing the shape stops wild sketches.
FunctionGradient isSo draw
Cubicquadratica parabola
Quadraticlineara straight line
Straight lineconstanta flat line
Worked example

A quadratic: the gradient is a line

  • G(x) = x² − 4x + 3 turns at x = 2.
  • Falling before 2, rising after.
  • So g′ is a line through (2, 0), going up.
A quadratic: the gradient is a line
Worked example

Confirm it by differentiating

  • Differentiate to confirm.
  • Then check the signs.
  1. g(x) = x² − 4x + 3
  2. g′(x) = 2x − 4differentiate
  3. 2x − 4 = 0, so x = 2the intercept
  4. g(2) = 4 − 8 + 3 = −1the minimum
  5. g′(0) = −4 < 0falling
  6. g′(3) = 2 > 0rising
Key idea

Steep means far from the axis

  • Gentle slope: gradient graph near zero.
  • Steep slope: gradient graph far from zero.
  • Steep and falling: far below.
Key idea

Graphing calculator

Key idea

Four ways sketches lose marks

  • The examiner wants one smooth curve.
  • Intercepts exactly under the turning points.
  • A parabola that is symmetric.
MistakeInstead
Copying the curvethe gradient graph is a new shape
Intercepts in the wrong placethey sit under the turning points
Two separate piecesone smooth curve
Lopsided parabolasymmetric about its lowest point
Worked example

The reverse: from gradient to function

  • Here f′(x) = 2x: negative, then positive.
  • So f falls, turns at 0, then rises.
  • Any curve x² + c fits: the height is unknown.
The reverse: from gradient to function
Key idea

Reading a gradient graph

  • Where it is zero, the function turns.
  • The sign change says max or min.
  • Minus to plus is a minimum.
Gradient graphFunction
f′ = 0f has a turning point
f′ above the axisf is rising
f′ below the axisf is falling
− then +a minimum
+ then −a maximum
Key idea

How the grades step up

  • Achieved: intercepts and signs correct.
  • Merit: the right shape, checked by differentiating.
  • Excellence: justify every feature you draw.
Summary

What to take away

  • Turning points first, then signs, then one smooth curve.
Turning pointsbecome x-intercepts
Risinggradient graph above the axis
Fallinggradient graph below the axis
Steepestfurthest from the axis
Degreedrops by one
Drawone smooth, symmetric curve
Reversesign change tells max or min

Common mistakes

  • The gradient graph of f(x) = x³ − 3x is another S-shaped cubic.
    The degree drops by one, so a cubic's gradient graph is a parabola: f′(x) = 3x² − 3.
  • The gradient graph crosses the x-axis where f crosses it.
    It crosses under the turning points of f, where the gradient is zero: x = −1 and x = 1 for x³ − 3x.
  • f is below the x-axis there, so f′ is negative there.
    The sign of f′ shows whether f is rising or falling, not whether f is above or below the axis.
  • f′ goes from − to + at x = 1, so f has a maximum there.
    Falling then rising is a minimum; a maximum is where f′ goes from + to −.
Your turn

Your turn: four questions

  • Sketch where it helps.
  • Question 4: think about the sign change.
1

f(x) = x² − 6x + 5. Where does f′ cross the x-axis?

2

Cubic: max at x = −2, min at x = 4. Where is f′ < 0?

3

f(x) = x³ − 12x. Find f′(x) and where it is zero.

4

f′ goes from − to + at x = 1. Max or min?

Show answer

1. f′(x) = 2x − 6, which is zero at x = 3. 2. Between the turning points, −2 < x < 4, where the cubic is falling. 3. f′(x) = 3x² − 12 = 3(x − 2)(x + 2), crossing at x = −2 and x = 2. 4. A minimum: the function falls, then rises.

Worked example

The answers

  1. 1. f′(x) = 2x − 6differentiate
  2. 2x − 6 = 0, so x = 3crosses here
  3. 2. f falls from max to min
  4. f′ < 0 for −2 < x < 4
  5. 3. f′(x) = 3x² − 12differentiate
  6. = 3(x² − 4) = 3(x − 2)(x + 2)factorise
  7. zero at x = −2 and x = 2
  8. 4. f′: − then + at x = 1
  9. f falls, then rises: a minimum
Your turn

Sample question: Achieved

A cubic y = f(x) rises until it reaches a local maximum at x = −1, falls to a local minimum at x = 3, and then rises again. Describe the gradient graph y = f′(x): where it crosses the x-axis, where it is above and below the axis, and its shape.

Hint

Turning points have gradient zero, rising parts have positive gradient and falling parts have negative gradient.

Answer

f′(x) crosses the x-axis at x = −1 and x = 3; it is above the axis for x < −1 and x > 3 and below for −1 < x < 3; it is a ∪-shaped parabola

Step by step
  1. The gradient graph shows the gradient of f at each x, so read the gradient off each part of the description.
  2. At a turning point the tangent is flat, so the gradient is zero. f′(x) = 0 at x = −1 and x = 3, so the gradient graph crosses the x-axis there.
  3. For x < −1 the curve is rising, so the gradient is positive. The gradient graph is above the axis there.
  4. Between −1 and 3 the curve is falling, so the gradient is negative. The gradient graph is below the axis there.
  5. For x > 3 the curve rises again, so the gradient graph is above the axis again.
  6. A cubic's gradient graph is a quadratic, one degree lower. Above, then below, then above means a ∪-shaped parabola.
  7. Classic mistake: drawing the gradient graph through the turning points' y values. The turning points move to the x-axis on the gradient graph.
  8. Check with an example: f(x) = x³3 − x² − 3x has f′(x) = x² − 2x − 3 = (x + 1)(x − 3), a ∪ parabola crossing at −1 and 3.
Full working
  1. f′(−1) = 0 and f′(3) = 0turning points: x-intercepts of f′
  2. f′(x) > 0 for x < −1 and x > 3f is rising
  3. f′(x) < 0 for −1 < x < 3f is falling
  4. Cubic, so f′ is quadratic: a ∪ paraboladegree drops by one
  5. ∪ parabola, crossing at x = −1 and x = 3, below the axis between them
Your turn

Sample questions: Merit

1

For f(x) = x³ − 3x² − 9x + 2, find f′(x). Give the x- and y-intercepts and the vertex of the gradient graph, and use them to say where f is decreasing and where f is falling most steeply.

Hint

Differentiate, then factorise to get the x-intercepts. The vertex of a parabola is halfway between its x-intercepts.

Answer

f′(x) = 3x² − 6x − 9; x-intercepts −1 and 3, y-intercept −9, vertex (1, −12); f is decreasing for −1 < x < 3 and falls most steeply at x = 1

Step by step
  1. Differentiate term by term: f′(x) = 3x² − 6x − 9.
  2. Factorise: 3(x² − 2x − 3) = 3(x − 3)(x + 1). So the gradient graph crosses the x-axis at x = −1 and x = 3.
  3. These are the x values of the turning points of f.
  4. y-intercept: f′(0) = −9.
  5. The gradient graph is a ∪-shaped parabola, so its vertex is halfway between the x-intercepts: x = (−1 + 3) ÷ 2 = 1.
  6. f′(1) = 3 − 6 − 9 = −12, so the vertex is (1, −12).
  7. f is decreasing where the gradient is negative, which is where the gradient graph is below the axis: −1 < x < 3.
  8. The most negative gradient is at the vertex, −12, so f falls most steeply at x = 1.
  9. Classic mistake: saying f is decreasing for x < 1 because the gradient graph is going down there. The sign of f′ matters, not whether f′ is rising or falling.
  10. Check: f′(−2) = 12 + 12 − 9 = 15 > 0, so f is rising before x = −1. That fits.
Full working
  1. f′(x) = 3x² − 6x − 9 = 3(x − 3)(x + 1)
  2. x-intercepts −1 and 3; f′(0) = −9
  3. vertex x = (−1 + 3) ÷ 2 = 1, f′(1) = −12halfway between the roots
  4. f′(x) < 0 for −1 < x < 3f decreasing
  5. Intercepts −1, 3 and −9; vertex (1, −12); f decreasing for −1 < x < 3, steepest at x = 1
2

The gradient graph of a function f is the straight line through (2, 0) with gradient −3. Describe what f looks like, explaining your reasoning. Given f(0) = 1, find f(x) and the coordinates of its turning point.

Hint

Write the equation of the line: that is f′(x). Where it is positive f rises, where it is negative f falls. Then anti-differentiate.

Answer

f′(x) = 6 − 3x, so f is a ∩-shaped parabola; f(x) = −1.5x² + 6x + 1, with a maximum at (2, 7)

Step by step
  1. The line has gradient −3 and passes through (2, 0): y − 0 = −3(x − 2), so f′(x) = 6 − 3x.
  2. A straight-line gradient graph means f is a quadratic, one degree higher.
  3. For x < 2 the line is above the axis, so f′(x) > 0 and f is rising.
  4. For x > 2 the line is below the axis, so f′(x) < 0 and f is falling.
  5. Rising then falling means f has a maximum at x = 2, so f is a ∩-shaped parabola.
  6. Classic mistake: thinking f has a maximum where the gradient graph is highest. f turns where the gradient graph crosses the axis.
  7. Anti-differentiate: f(x) = 6x − 3x²2 + c = 6x − 1.5x² + c.
  8. Use f(0) = 1: c = 1. So f(x) = −1.5x² + 6x + 1.
  9. Turning point: f(2) = −6 + 12 + 1 = 7. So the maximum is (2, 7).
  10. Check: differentiating gives −3x + 6, the line we started with. Correct.
Full working
  1. f′(x) = −3(x − 2) = 6 − 3xline through (2, 0), gradient −3
  2. f′ > 0 for x < 2, f′ < 0 for x > 2rising then falling
  3. f(x) = 6x − 1.5x² + c, c = 1f(0) = 1
  4. f(2) = 12 − 6 + 1 = 7
  5. f(x) = −1.5x² + 6x + 1; maximum (2, 7)
Your turn

Sample questions: Excellence

1

The gradient graph of a cubic f is a ∩-shaped parabola that crosses the x-axis at x = 1 and x = 5 and has a greatest value of 12. Find f′(x). Given that f(1) = 0, find f(x), the coordinates and nature of both turning points of f, and the point where f is rising most steeply.

Hint

Write f′(x) = k(x − 1)(x − 5). The greatest value is at the vertex, halfway between the roots. Then anti-differentiate and use f(1) = 0.

Answer

f′(x) = −3x² + 18x − 15; f(x) = −x³ + 9x² − 15x + 7; minimum (1, 0), maximum (5, 32); steepest rise at (3, 16)

Step by step
  1. A parabola crossing at x = 1 and x = 5 has the form f′(x) = k(x − 1)(x − 5). It is ∩-shaped, so k is negative.
  2. The vertex is halfway between the roots, at x = 3, and the greatest value 12 is there: k(3 − 1)(3 − 5) = −4k = 12, so k = −3.
  3. So f′(x) = −3(x − 1)(x − 5) = −3x² + 18x − 15.
  4. Anti-differentiate: f(x) = −x³ + 9x² − 15x + c. f(1) = 0 gives −1 + 9 − 15 + c = 0, so c = 7.
  5. f(x) = −x³ + 9x² − 15x + 7.
  6. Nature from the gradient graph: for x < 1 it is below the axis (f falling), between 1 and 5 above (f rising), and after 5 below (f falling).
  7. Falling then rising at x = 1 means a minimum: (1, 0).
  8. Rising then falling at x = 5 means a maximum: f(5) = −125 + 225 − 75 + 7 = 32, so (5, 32).
  9. f rises most steeply where its gradient is greatest, which is at the vertex of the gradient graph, x = 3. f(3) = −27 + 81 − 45 + 7 = 16.
  10. Classic mistake: taking x = 3 as a turning point of f. At x = 3 the gradient is 12, the steepest rise, not zero.
  11. Check: differentiating f gives −3x² + 18x − 15, which is f′(x). And f′(3) = −27 + 54 − 15 = 12, the greatest value. Correct.
Full working
  1. f′(x) = k(x − 1)(x − 5); k × 2 × (−2) = 12, so k = −3vertex at x = 3
  2. f′(x) = −3x² + 18x − 15
  3. f(x) = −x³ + 9x² − 15x + c; f(1) = 0 gives c = 7
  4. f′ negative, positive, negative: min at x = 1, max at x = 5
  5. f(5) = 32; steepest rise at x = 3, f(3) = 16
  6. Minimum (1, 0), maximum (5, 32), steepest rise (3, 16)
2

f(x) = ax³ + bx² + cx + d is a cubic with a > 0. Explain why its gradient graph is a ∪-shaped parabola, and prove that f has no turning points exactly when b² ≤ 3ac. Hence decide whether f(x) = x³ − 3x² + 5x has any turning points, and describe its gradient graph.

Hint

Differentiate. f has a turning point only where the gradient graph crosses the x-axis, so use the discriminant of f′(x).

Answer

f′(x) = 3ax² + 2bx + c is ∪-shaped since 3a > 0; no turning points when 4b² − 12ac ≤ 0, that is b² ≤ 3ac; x³ − 3x² + 5x has b² = 9 ≤ 15 = 3ac, so no turning points, and its gradient graph 3x² − 6x + 5 stays above the axis with lowest point (1, 2)

Step by step
  1. Differentiate: f′(x) = 3ax² + 2bx + c. It is a quadratic, so the gradient graph is a parabola. Its x² coefficient is 3a > 0, so it is ∪-shaped.
  2. f has a turning point where the gradient changes sign, which is where the gradient graph crosses the x-axis.
  3. A ∪ parabola crosses the x-axis when its discriminant is positive. Its discriminant is (2b)² − 4 × 3a × c = 4b² − 12ac.
  4. If 4b² − 12ac < 0, the gradient graph stays above the axis, so f always rises: no turning points.
  5. If 4b² − 12ac = 0, the gradient graph just touches the axis. The gradient is zero at one point but positive either side, so f flattens and keeps rising. That is not a turning point.
  6. If 4b² − 12ac > 0, the gradient graph crosses the axis twice, giving a maximum and a minimum.
  7. So f has no turning points exactly when 4b² ≤ 12ac. Dividing by 4: b² ≤ 3ac.
  8. Classic mistake: treating every point where f′(x) = 0 as a turning point. For example x³ + 3x² + 3x has f′(x) = 3(x + 1)², zero at x = −1, but the gradient is positive on both sides.
  9. Hence: x³ − 3x² + 5x has a = 1, b = −3, c = 5. b² = 9 and 3ac = 15. 9 ≤ 15, so there are no turning points.
  10. Its gradient graph is f′(x) = 3x² − 6x + 5 = 3(x − 1)² + 2. Its lowest point is (1, 2), so the gradient is always at least 2.
  11. So f rises everywhere, flattest at x = 1. Check: f′(0) = 5 and f′(2) = 5, both positive.
Full working
  1. f′(x) = 3ax² + 2bx + c3a > 0, so a ∪ parabola
  2. Turning points need f′ to change signthe gradient graph must cross the axis
  3. No crossing: (2b)² − 4(3a)c ≤ 0Δ = 0 only touches
  4. 4b² ≤ 12ac, so b² ≤ 3ac
  5. a = 1, b = −3, c = 5: 9 ≤ 15hence
  6. f′(x) = 3(x − 1)² + 2 ≥ 2
  7. No turning points; f′ is a ∪ parabola above the axis with vertex (1, 2)
Try it

Calculus Grapher

Full screen · PhET Interactive Simulations, University of Colorado Boulder, CC BY 4.0

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91262

Is your child on track?

Take the free placement test