2.12 · Extended onlyPaper 2Paper 4

Differentiation

Builds on 2.11 Sketching curves and 2.5 Equations24 min read

In a minute

gives the at any point, without drawing anything. One rule turns each term axnax^n into its , dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}. You then use it to find and , and to decide which are maxima and which are minima.

You'll be able to

  • Estimate the gradient of a curve at a point by drawing a .
  • Differentiate terms of the form axnax^n, and sums of up to three of them, to find dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}.
  • Use dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} to find the gradient at a point, or the point where the gradient has a given value.
  • Find the coordinates of stationary points by solving dydx=0\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0.
  • Tell maxima from minima, using the gradient either side, the second derivative or a sketch.
Before you start3 quick questions on what this builds on
Check yourself
Find the gradient of the straight line through (1,4)(1, 4) and (5,16)(5, 16).
Check yourself
Solve x2−7x=0x^2 - 7x = 0.
Check yourself
What kind of does the curve y=3+2x−x2y = 3 + 2x - x^2 have?

Revise first: 2.11 Sketching curves and 2.5 Equations

Gradient of a curve from a tangent

A straight line has the same steepness everywhere. A curve does not: it can be steep in one place and almost flat in another. So the of a curve depends on the point you choose.

To estimate it from a graph:

1. Place a ruler on the point. Turn it until it just touches the curve there, with the curve bending away equally on each side. Draw the line.

2. Choose two points on your tangent that are far apart and easy to read.

3. Divide the change in yy by the change in xx between them.

The curve y equals one half x squared plus 1, rising from left to right and getting steeper. A straight tangent touches the curve at the point P, 2 comma 3. The tangent passes through 1 comma 1 and 4 comma 7. A dashed right-angled triangle under the tangent shows a run of 3 across and a rise of 6 up. 1 2 3 4 5 2 4 6 8 x y P (2, 3) (1, 1) (4, 7) run = 3 rise = 6
The tangent at PP on y=12x2+1y = \frac{1}{2}x^2 + 1. Its rise and run give the gradient of the curve at PP.
Worked exampleThe figure shows the curve y=12x2+1y = \frac{1}{2}x^2 + 1 and its tangent at P(2,3)P(2, 3). The tangent passes through (1,1)(1, 1) and (4,7)(4, 7). Estimate the gradient of the curve at PP.

Try it first, then reveal one step at a time.

  1. Change in yy along the tangent: 7−1=67 - 1 = 6.

A tangent that slopes down from left to right has a negative gradient. Subtract in the same order on the top and the bottom, and the sign takes care of itself.

Worked exampleA tangent is drawn to a curve at the point QQ. It passes through (1,9)(1, 9) and (7,1.5)(7, 1.5). Estimate the gradient of the curve at QQ.

Try it first, then reveal one step at a time.

  1. Change in yy, right point minus left point: 1.5−9=−7.51.5 - 9 = -7.5.
Check yourself
A tangent to a curve passes through (2,5)(2, 5) and (6,7)(6, 7). Estimate the gradient of the curve where the tangent touches it.
Check yourself
A tangent to a curve passes through (−2,6)(-2, 6) and (4,−3)(4, -3). What is the gradient of the curve where the tangent touches it?

Differentiating powers of x

A drawn tangent only gives an estimate. gives the exact gradient at every point, straight from the curve's equation.

Read dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} as "d y by d x". It is one symbol, not a fraction, so never cancel the d's.

Two special cases come straight from the rule. A term axax becomes aa, because x1x^1 becomes x0=1x^0 = 1. A number on its own, such as 99, is 9x09x^0, so it becomes 00.

For a sum of terms, differentiate each term on its own and keep its sign.

Worked exampleFind dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} when y=2x5−3x2+9y = 2x^5 - 3x^2 + 9.

Try it first, then reveal one step at a time.

  1. 2x52x^5: multiply by the power 55, then lower the power to 44. This gives 10x410x^4.
Worked exampleDifferentiate y=34x4−13x3+5xy = \frac{3}{4}x^4 - \frac{1}{3}x^3 + 5x.

Try it first, then reveal one step at a time.

  1. 34x4\frac{3}{4}x^4: 4×34=34 \times \frac{3}{4} = 3, and the power drops to 33. This gives 3x33x^3.
Check yourself
Differentiate y=6x4−5x+2y = 6x^4 - 5x + 2.
Check yourself
Differentiate y=8−12x6+4x3y = 8 - \frac{1}{2}x^6 + 4x^3.

Gradients and stationary points

To find the gradient at a point, differentiate, then substitute the point's xx-value into dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}. Substituting into yy instead gives the height of the curve, not its gradient.

Worked exampleFind the gradient of y=2x3−5x2y = 2x^3 - 5x^2 where x=2x = 2.

Try it first, then reveal one step at a time.

  1. Differentiate: dydx=6x2−10x\dfrac{\mathrm{d}y}{\mathrm{d}x} = 6x^2 - 10x.

This matches the tangent in the first section. For y=12x2+1y = \frac{1}{2}x^2 + 1, dydx=x\dfrac{\mathrm{d}y}{\mathrm{d}x} = x, so the gradient at x=2x = 2 is exactly 22.

You can also work backwards: if you know the gradient, set dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} equal to it and solve for xx.

The from 2.11, the tops of hills and the bottoms of valleys, are stationary points. Every stationary point in this lesson is a turning point.

A few curves have a stationary point that is neither a top nor a bottom, such as y=x3y = x^3 at (0,0)(0, 0). You won't be asked to identify those.

1. Differentiate.

2. Solve dydx=0\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 to find the xx-values.

3. Substitute each xx-value into the original equation to find its yy-coordinate.

Worked exampleFind the coordinates of the stationary point of y=4+10x−x2y = 4 + 10x - x^2.

Try it first, then reveal one step at a time.

  1. Differentiate: dydx=10−2x\dfrac{\mathrm{d}y}{\mathrm{d}x} = 10 - 2x.
Worked exampleFind the coordinates of the two stationary points of y=x3−12x+1y = x^3 - 12x + 1.

Try it first, then reveal one step at a time.

  1. Differentiate: dydx=3x2−12\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 12.
Check yourself
Find the gradient of y=4x2−x3y = 4x^2 - x^3 where x=−1x = -1.
Check yourself
The curve y=x2+6xy = x^2 + 6x has gradient −2-2 at the point PP. Find the coordinates of PP.
Check yourself
Find the coordinates of the stationary point of y=2x2−20x+7y = 2x^2 - 20x + 7.

Maximum or minimum?

Each stationary point you meet here is either a maximum, the top of a hill, or a minimum, the bottom of a valley. Any correct method earns the marks, as long as you show it. Here are three.

A curve that rises to a maximum, falls to a minimum, then rises again. Short tangent lines show the gradient. Just left of the maximum the gradient is positive, at the maximum it is zero, and just right of it it is negative. Just left of the minimum the gradient is negative, at the minimum it is zero, and just right of it it is positive. + 0 − − 0 + maximum: + 0 − minimum: − 0 +
The sign of the gradient either side tells you which kind of point you have.

**Method 1: the gradient either side.** Work out dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} at an xx-value a little to the left and a little to the right. Pick values close enough that no other stationary point lies between them.

Positive, then 00, then negative means the curve goes up then down: a maximum. Negative, then 00, then positive means a minimum.

Worked exampleIn the last section, y=x3−12x+1y = x^3 - 12x + 1 had stationary points at (−2,17)(-2, 17) and (2,−15)(2, -15). Use the gradient either side to find the coordinates of the maximum point.

Try it first, then reveal one step at a time.

  1. dydx=3x2−12\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 12.

**Method 2: the second derivative.** Differentiate dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} again to get d2ydx2\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}, read "d two y by d x squared". It tells you whether the gradient is going up or down.

Worked exampleFind the coordinates of the minimum point of y=2x3−9x2+1y = 2x^3 - 9x^2 + 1. Use the second derivative to show it is a minimum.

Try it first, then reveal one step at a time.

  1. Differentiate: dydx=6x2−18x\dfrac{\mathrm{d}y}{\mathrm{d}x} = 6x^2 - 18x.

**Method 3: a sketch.** Use the shapes from 2.11. A quadratic with a positive x2x^2 term has a minimum, and one with a negative x2x^2 term has a maximum.

A cubic with a positive x3x^3 term and two stationary points rises, falls, then rises again. So the stationary point on the left is the maximum and the one on the right is the minimum. Label both points on your sketch.

Check yourself
The curve y=x3−27xy = x^3 - 27x has two stationary points, where x=−3x = -3 and x=3x = 3. Which one is the maximum?
Check yourself
The curve y=x4y = x^4 has one stationary point, at (0,0)(0, 0), and there d2ydx2=0\frac{\mathrm{d}^2y}{\mathrm{d}x^2} = 0. What kind of point is it?

Common mistakes

  • Setting y=0y = 0 to find stationary points. That gives where the curve meets the xx-axis. Stationary points come from dydx=0\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0.
  • Stopping at the xx-values. A stationary point needs both coordinates, so substitute each xx into the original equation, not into dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}, which just gives 00.
  • Substituting into yy when asked for the gradient. That gives the height of the curve. Substitute into dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} instead.
  • Keeping a constant term. y=3x2+8y = 3x^2 + 8 gives dydx=6x\dfrac{\mathrm{d}y}{\mathrm{d}x} = 6x, because a number on its own has gradient 00.
  • Stating "maximum" or "minimum" with no reason, or assuming the first point you found is the maximum. Show the second derivative, the gradient either side or a sketch.

Exam tips

  • For **find the coordinates of the turning points**, write dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}, set it equal to 00, solve, then substitute for yy. Show every line: the method marks are for these steps.
  • Paper 2 has no calculator, so solve dydx=0\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 by factorising. Take out common factors, as in 6x2−18x=6x(x−3)6x^2 - 18x = 6x(x - 3). Never divide by xx, or you lose the solution x=0x = 0.
  • For **draw a tangent** and **estimate** the gradient, use a ruler and show the two points you read and your division. Any value in a sensible range around the true gradient is accepted.

Key takeaways

Learn thisThe gradient of a curve at a point is the gradient of the tangent there. Estimate it from two far-apart points on a drawn tangent.
Learn thisy=axn  ⇒  dydx=naxn−1y = ax^{n} \;\Rightarrow\; \dfrac{\mathrm{d}y}{\mathrm{d}x} = nax^{n-1}
Learn thisDifferentiate a sum term by term. axax becomes aa, and a number on its own becomes 00.
Learn thisGradient at a point: substitute its xx-value into dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}, not into yy.
Learn thisStationary points: solve dydx=0\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0, then substitute each xx into the original equation for yy.
Learn thisAt a stationary point (dydx=0\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0): d2ydx2<0\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} < 0: maximum. d2ydx2>0\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} > 0: minimum. If it is 00, use the gradient either side: positive, 00, negative is a maximum.

Practise this

45 past-paper questions on 2.12 in the 0580 Extended bank, each with a mark scheme and a worked explanation.

Practise 2.12 →