Skip to content
MathClicksIGCSE← All notes Cambridge IGCSE® Mathematics 0580 Extended Chapter 18 — Curved Graphs

18.5  Gradients of Curves and Differentiation

From tangent-by-eye to the derivative — differentiating axⁿ, finding gradients at a point, locating turning points and deciding maximum or minimum.

The gradient of a curve

A straight line has one gradient — the same everywhere along it. A curve does not. Walk along y = x² from left to right: you come downhill, flatten out at the bottom, then climb, and the climb keeps getting steeper. The gradient of a curve changes from point to point, so it only makes sense to ask for the gradient at a particular point.

Key idea The gradient of a curve at a point P is the gradient of the tangent to the curve at P — the straight line that touches the curve at P and points in exactly the same direction as the curve does there.

Before you meet any algebra, you can estimate a gradient from an accurate graph:

  1. Lay your ruler so it touches the curve at the chosen point only, balanced so the curve peels away equally on both sides. Draw a long tangent line.
  2. Pick two points on the tangent that are far apart and easy to read from the grid.
  3. Draw the right-angled triangle and calculate gradient = riserun, keeping the sign (downhill means negative).

A drawn tangent on y = x² at P(2, 4)

1 2 3 4 8 P(2, 4) run = 1 4 tangent y = x²

The triangle on the tangent gives gradient = riserun = 41 = 4. Differentiation will confirm this is exact.

Why a range of answers is accepted A drawn tangent is an estimate — nobody balances a ruler perfectly. Mark schemes give a tolerance (for a true gradient of 4 you might see “accept 3.4 to 4.6”). Make your triangle as large as the grid allows: the bigger the run, the smaller the effect of a wobbly ruler.
Exam tip When Paper 4 says “by drawing a tangent, estimate the gradient”, the tangent and the triangle are the method marks. Draw them clearly on the printed graph, write the rise and the run you used, and only then give the value.

Differentiation: the power rule

Drawing tangents is slow and approximate. Differentiation gives the gradient exactly, for every point at once: from the equation of the curve it produces a new expression, the derivative, whose value at any x is the gradient of the curve there. We write the derivative of y as dy/dx (say “dee y by dee x”).

y = axn   ⇒   dydx = naxn−1 Multiply by the power, then reduce the power by one

That is the whole rule for this course: it works for any rational constant a and any power n that is a positive integer or zero, and you may differentiate a sum of up to three such terms one term at a time.

yThinkdy/dx
x³3 comes down, power drops to 23x²
5x²2 × 5 = 10, power drops to 110x
½x⁴4 × ½ = 2, power drops to 32x³
7x7x¹: 1 × 7 = 7, power drops to 07
4a constant is 4x⁰ — a flat line0
Why constants vanish The graph of y = 4 is a horizontal line: its gradient is 0 everywhere. Adding a constant to any curve just slides the whole curve up or down — it does not change the steepness at any point. So the constant term never survives differentiation.
Watch out The most common slip is forgetting to drop the power: 5x² differentiates to 10x, not 10x². Say the rhythm to yourself every time: multiply by the power — then reduce the power by one.
Example 1Find dy/dx for the curve y = 2x³ − 5x² + 4.
1
Differentiate 2x³: multiply by the power 3, reduce the power to 2. 2x³ → 3 × 2x² = 6x²
2
Differentiate −5x²: multiply by 2, reduce the power to 1. Keep the minus sign. −5x² → 2 × (−5)x = −10x
3
The constant +4 differentiates to 0 — it disappears completely. +4 → 0
dy/dx = 6x² − 10x

Derivative explorer

Set the coefficients of y = ax³ + bx² + cx + d, then slide the point along the curve. The tangent is drawn live — watch its gradient m hit 0 exactly at the turning points (try x = 0 and x = 2 on the starting curve).

Move the point along the curve: x1
−2 −1 0 1 2 3 4

The gradient at a point

dy/dx is a gradient machine: feed in an x-value and it returns the gradient of the curve at that point. The order of operations is not negotiable:

differentiate first  →  substitute second The gradient at x = p is the value of dy/dx when x = p
Example 2Find the gradient of the curve y = x³ − 6x at the point where x = 2.
1
Differentiate term by term. The power rule turns x³ into 3x² and −6x into −6. dy/dx = 3x² − 6
2
Now substitute x = 2 into the derivative, not into y. dy/dx = 3(2)² − 6 = 12 − 6 = 6
gradient at x = 2 is 6
Classic error Substituting x = 2 into y first gives y = 8 − 12 = −4 — that is the height of the curve, not its gradient, and differentiating the number −4 gives 0. Always differentiate before you substitute.

The same machine runs backwards. If a question tells you the gradient and asks where on the curve it happens, set dy/dx equal to that number and solve the equation for x — you will see this in Example 5.

Exam tip “Find the gradient of the curve at the point (2, −4)” only needs the x-coordinate. The y-coordinate is there so you can check the point really lies on the curve — a free sanity check, so use it.

Turning points: maxima and minima

At the top of a hill or the bottom of a valley the curve is momentarily flat — the tangent is horizontal. These are the turning points (also called stationary points), and they are exactly where the derivative equals zero.

Key idea At a turning point dy/dx = 0. To find turning points: differentiate, set dy/dx = 0, solve for x, then substitute each x back into the original equation to find y.

Finding them is half the job — Paper 4 then asks you to classify each one. Any of these three methods earns the marks:

1. Gradient either side

Test an x-value just before and just after the turning point in dy/dx:

  • + 0 − → uphill, flat, downhill: a maximum
  • − 0 + → downhill, flat, uphill: a minimum

2. Shape of the curve

An accurate sketch settles it. For y = ax² + bx + c: a > 0 gives a ∪-shape (minimum), a < 0 gives a ∩-shape (maximum). A cubic with positive x³ term always has its maximum first, then its minimum.

A third method: the second derivative Differentiate dy/dx once more to get d²y/dx². At the turning point, if d²y/dx² > 0 the curve bends upwards (minimum); if d²y/dx² < 0 it bends downwards (maximum). Any one of the three methods is accepted — you are never expected to identify points of inflection.
Example 3Find the coordinates of the turning points of y = x³ − 3x² − 9x + 2 and determine the nature of each.
1
Differentiate. dy/dx = 3x² − 6x − 9
2
Set the derivative equal to zero and solve. Take out the common factor 3 first — it makes the factorising easy. 3x² − 6x − 9 = 0
3(x² − 2x − 3) = 0
3(x − 3)(x + 1) = 0
x = 3  or  x = −1
3
Substitute each x into the original equation for y. x = −1:  y = −1 − 3 + 9 + 2 = 7
x = 3:  y = 27 − 27 − 27 + 2 = −25
4
Classify with the gradient either side (using dy/dx = 3x² − 6x − 9). x = −2: dy/dx = 12 + 12 − 9 = +15
x = 0: dy/dx = −9
x = 4: dy/dx = 48 − 24 − 9 = +15
Around x = −1 the pattern is + 0 − (maximum); around x = 3 it is − 0 + (minimum).
maximum at (−1, 7)  ·  minimum at (3, −25)

The curve from Example 3, with its two turning points

−1 3 maximum (−1, 7) minimum (3, −25) + − − +

Either side of the maximum the gradient runs +  0  −; either side of the minimum it runs −  0  +. The dashed lines are the horizontal tangents where dy/dx = 0.

Watch out “Find the turning points” means coordinates — both x and y. Solving dy/dx = 0 for x is only half the marks; substitute back into the original equation (not the derivative!) to finish.

More worked examples

Example 4Given y = 5x⁴ + 2x − 7, find dy/dx and hence the gradient of the curve at x = 1.
1
Differentiate each term: 4 × 5 = 20 with the power dropping to 3; 2x becomes 2; the constant vanishes. dy/dx = 20x³ + 2
2
Substitute x = 1. dy/dx = 20(1)³ + 2 = 22
dy/dx = 20x³ + 2  ·  gradient at x = 1 is 22
Example 5The curve y = x² + 4x has gradient 10 at the point P. Find the coordinates of P.
1
Differentiate to get the gradient function. dy/dx = 2x + 4
2
The gradient is 10, so set the derivative equal to 10 and solve. 2x + 4 = 10
2x = 6
x = 3
3
The question asks for coordinates, so find y from the original equation. y = 3² + 4(3) = 9 + 12 = 21
P = (3, 21)
Why this works dy/dx = 2x + 4 is a formula for the gradient at every point. Asking “where is the gradient 10?” is just asking the formula to output 10 — an ordinary equation in x. The same idea answers “where is the tangent parallel to y = 10x + 3?”, because parallel lines share a gradient.
Example 6A ball is thrown upwards. Its height after t seconds is h = 20t − 5t² metres. Find the time at which the height is greatest, show that it is a maximum, and find the maximum height.
1
Differentiate h with respect to t — same rule, different letters. dh/dt = 20 − 10t
2
At the greatest height the curve turns, so set the derivative to zero. 20 − 10t = 0  →  t = 2
3
Show it is a maximum — check the gradient either side of t = 2. t = 1.9: dh/dt = 20 − 19 = +1
t = 2.1: dh/dt = 20 − 21 = −1
The pattern + 0 − confirms a maximum. (Alternatively: the coefficient of t² is negative, so the graph is a ∩-shaped parabola.)
4
Substitute t = 2 into the original formula for the height itself. h = 20(2) − 5(2)² = 40 − 20 = 20
t = 2 s  ·  maximum height = 20 m
Exam trap “Show that it is a maximum” needs a reason written down — a sign check, a sketch shape or a second derivative (d²h/dt² = −10 < 0). Simply asserting “it is a maximum” scores nothing. And read the final line carefully: some questions want the time, some want the height, this one wants both — with units.

Your turn

Practice set

  1. Differentiate y = x⁴ + 3x² − 7.
  2. Find the gradient of y = 2x² − 5x at the point where x = 3.
  3. Find the coordinates of both turning points of y = x³ − 12x and state the nature of each.
  4. The curve y = x² + 6x − 1 has gradient 10 at the point A. Find the x-coordinate of A.
  5. A rocket’s height is h = 30t − 5t² metres after t seconds. Find the time at which it reaches its maximum height, and the maximum height.

  1. Term by term: 4x³ + 6x + 0 → dy/dx = 4x³ + 6x (the −7 vanishes).
  2. dy/dx = 4x − 5; at x = 3: 4(3) − 5 = 7
  3. dy/dx = 3x² − 12 = 0 → x² = 4 → x = ±2. y(−2) = −8 + 24 = 16, y(2) = 8 − 24 = −16: maximum (−2, 16), minimum (2, −16)
  4. dy/dx = 2x + 6 = 10 → 2x = 4 → x = 2
  5. dh/dt = 30 − 10t = 0 → t = 3; h = 30(3) − 5(9) = 90 − 45 → 45 m at t = 3 s

Key points to remember

  • The gradient of a curve at a point equals the gradient of the tangent there; a drawn tangent gives an estimate, and mark schemes accept a sensible range.
  • Power rule: y = axn gives dy/dx = naxn−1 — multiply by the power, reduce the power by one, one term at a time.
  • A constant differentiates to 0 — it never survives.
  • Always differentiate before substituting; substituting first turns the curve into a number and the gradient into 0.
  • Turning points: solve dy/dx = 0 for x, then substitute into the original equation for y.
  • Classify by any method: gradient signs + 0 − = maximum, − 0 + = minimum, or an accurate sketch, or the sign of d²y/dx².

Where next?

✅ Mark scheme All notes

Progress is saved on this device only and appears on the notes home page.