Differentiation · Year 1

Tangents, normals and stationary points

The derivative tells you how steep a curve is at a point. Now you put it to work. You will write the equation of the straight line that touches a curve, find where a curve rises and where it falls, find the points where its gradient is zero, and decide whether each of them is a maximum, a minimum or neither.

Where you will use this: the greatest area for a given length of fence, the least cost of making a container, the highest point of a path, and the sketching and rate-of-change work in every Year 2 calculus topic.

This page assumes three skills. You can differentiate powers of x, including negative and fractional powers. You can write the equation of a straight line through a point with a given gradient. You know that two lines at right angles have gradients that multiply to −1. The warm-up checks all three. It covers all four English exam boards: nothing here is specific to one board.

Warm-up: what do you already know?

Three quick questions. No marks. A wrong answer shows where to look.

Skip to the lesson

Differentiate y =x3 −5x2 +4x −1 with respect to x. Type dydx like 4x^2-3x+7.

  1. Differentiate each term separately.
  2. Bring the power down as a multiplier, then take 1 off the power. A number on its own, like the last term, differentiates to 0.
  3. The term 4x has the power 1.
  • The constant −1 differentiates to 0. It does not stay in the answer.
  • The term 4x is 4x1. It differentiates to 4, so it does not disappear.
  • The term −5x2 has the multiplier −5×2=−10, not −5. Bring the 2 down.

dydx =3x2−10x+4. The terms gave 3x2, −10x, 4 and 0.

A straight line has gradient 3 and passes through (2, 7). Find its equation. Type it like y=5x+2.

  1. Write y−y1 =m(x−x1), where m is the gradient and (x1,y1) is the point.
  2. Put in the numbers, then make y the subject.
  • 7 is the y-coordinate of the point, not the place where the line crosses the y-axis. Use y−7=3(x−2).
  • You stopped at 3(x−2). The equation is y−7=3(x−2), so the 7 must be added back.

y−7=3(x−2), so y =3x−6+7 =3x+1. Check: at x=2, y=7. ✓

A line has gradient 45. A second line is at right angles to it. Find the gradient of the second line. Give a fraction or a decimal.

  1. The gradients of two lines at right angles multiply to −1.
  2. The new gradient is a negative reciprocal: turn the fraction upside down, and change the sign.
  • The product must be −1, not 1. The new gradient is negative.
  • You changed the sign but did not turn the fraction upside down.

45×(−54) =−1, so the second gradient is −54.

Quick recap of the algebra you need (skip if you are happy)

Which values of x satisfy x2−4x+3>0?

  • x < 1 or x > 3
  • 1 < x < 3
  • x > 3
  1. Factorise: x2−4x+3 =(x−1)(x−3). Where is it 0?
  2. A U-shaped curve is above the x-axis outside its roots.

The curve y =(x−1)(x−3) is U-shaped and crosses the x-axis at 1 and 3. It is above the axis, so y>0, for x<1 and for x>3.

Write 8x2 as a number times a power of x. Type it like 7x^(-2).

  1. A negative power means one over the positive power.
  2. The 8 on top stays as a multiplier.
  • The x is on the bottom of the fraction, so the power is negative.
  • The minus sign belongs in the power, not in front of the 8.

8x2 =8×1x2 =8x−2.

1. Tangents to a curve

You have already met the tangent to a curve at a point. It is the straight line that touches the curve there and has the same gradient as the curve there. This lesson writes down the equation of that line.

A straight line needs two things: a point on it and its gradient. The point is on the curve. The gradient is the value of the derivative at that point.

Key idea: suppose y=f(x) has a derivative at x=a. The tangent at the point (a,f(a)) is the straight line through that point with gradient f′(a). Its equation is

y−f(a)=f′(a)(x−a)

The point comes from the equation of the curve. The gradient comes from the derivative.

The tangent to y = x^2 - 4x + 5 at A (3, 2)A U-shaped curve, y equals x squared minus 4x plus 5, with its lowest point at (2, 1). A straight tangent touches it at the marked point A (3, 2). A dashed triangle under the tangent goes across 1, from (3, 2) to (4, 2), and up 2, from (4, 2) to (4, 4), so the tangent rises 2 for each 1 across.xyA (3, 2)across 1up 2tangenty = x2​ − 4x + 5
The tangent at A (3, 2) touches the curve y=x2−4x+5. The dashed triangle goes across 1 and up 2, so the tangent has gradient 2.

The method has three steps. The picture below shows them for the curve above.

  1. Differentiate to find dydx. If the equation has roots or fractions, rewrite them as powers of x first.
  2. Put the x-value into dydx. The result is the gradient m of the tangent.
  3. Put the same x-value into the equation of the curve to find y. Then write y−y1 =m(x−x1) with this point as (x1,y1), and tidy it.
Three steps to the equation of a tangentThree boxes, one above the next, joined by arrows, for the curve y equals x squared minus 4x plus 5 at x equals 3. Box 1: differentiate, dy by dx equals 2x minus 4. Box 2: put in x equals 3 to get the gradient, m equals 2 times 3 minus 4, which is 2. Box 3: find y at x equals 3, then use y minus y1 equals m times x minus x1, which gives y minus 2 equals 2 times x minus 3.1 Differentiatedy/dx = 2x − 42 Put in x = 3 for the gradientm = 2(3) − 4 = 23 Find y at x = 3, then usey − y1​ = m(x − x1​)y − 2 = 2(x − 3)
The three steps for y=x2−4x+5 at x=3.

Do not mix the two equations up. The derivative gives the gradient. The original equation gives the y-coordinate.

Worked example

Find the equation of the tangent to the curve y=x2−4x+5 at the point where x=3.

  1. Differentiate: dydx=2x−4.
  2. At x=3, the gradient is 2(3)−4=2.
  3. At x=3, y =9−12+5 =2. The point is (3, 2). The tangent is y−2=2(x−3), which is y=2x−4.

Check with the picture: the tangent crosses the x-axis where 2x−4=0, at x=2.

Now you finish it

Find the equation of the tangent to y=x2+2x−3 at the point where x=1. Type the last answer like y=5x+2.

  1. dydx=___.
  2. At x=1, the gradient is ___.
  3. At x=1, y=1+2−3=___. So the tangent is y−0=4(x−1), which is ___.
Check my answer

dydx=2x+2, which is 4 at x=1. The point is (1, 0). The tangent is y =4(x−1) =4x−4.

Sometimes you are given the gradient and asked where it happens. Then solve dydx=m for x. On y=x2−4x+5, the tangent has gradient 6 where 2x−4=6, so x=5. The point is (5, 10).

Check your knowledge: tangents

The curve y=x2−2x+3 passes through the point P (3, 6). Find the equation of the tangent to the curve at P. Type it like y=5x+2.

A curve with the point P marked on itA U-shaped curve with its lowest point near the vertical axis. The point P (3, 6) is marked on the right-hand side of the curve.xyP (3, 6)
  1. Differentiate, then put x=3 into your derivative to get the gradient.
  2. Use the point (3, 6) and your gradient in y−y1 =m(x−x1).
  3. Tidy it into the form y=mx+c.
  • 6 is the y-coordinate of P, not the place where the tangent crosses the y-axis. Use y−6=4(x−3).
  • You stopped at 4(x−3). The equation is y−6=4(x−3), so the 6 must be added back.

dydx=2x−2, which is 4 at x=3. The tangent is y−6=4(x−3), so y =4x−12+6 =4x−6.

Find the gradient of the tangent to y=x3−5x at the point where x=2.

  1. Differentiate x3−5x term by term.
  2. Put x=2 into the derivative, not into the equation of the curve.
  • That is the value of y at x=2: 8−10=−2. The gradient comes from the derivative.
  • That is the 3x2 term on its own. The term −5x also has a derivative, −5.

dydx=3x2−5. At x=2: 3×4−5=7.

Find the equation of the tangent to y=x2+3x−1 at the point where x=2. Type it like y=5x+2.

  1. Find the gradient from the derivative, and the y-coordinate from the curve.
  2. Both come from putting x=2 in, but into different equations.
  • 9 is the y-coordinate of the point, not the place where the tangent crosses the y-axis. Use y−9=7(x−2).
  • You stopped at 7(x−2). The equation is y−9=7(x−2), so the 9 must be added back.

dydx=2x+3, which is 7 at x=2. At x=2, y =4+6−1 =9. The tangent is y−9=7(x−2), so y =7x−14+9 =7x−5.

The tangent to a curve at the point P has equation y=3x−2. What is the gradient of the curve at P?

  • 3, the gradient of the tangent
  • Minus 2, the number on its own
  • It cannot be found without the equation of the curve
  1. The gradient of a curve at a point is the gradient of the tangent there.
  2. In y=mx+c, which number is the gradient?

The gradient of the curve at P is the gradient of its tangent at P. In y=3x−2 that is 3.

The tangent to the curve y=x2−4x+5 has gradient 6 at the point P. Find the x-coordinate of P.

  1. The gradient of the tangent is the value of the derivative.
  2. Differentiate, then set the derivative equal to 6 and solve.
  • You solved 2x−4=6 as 2x=6−4. Add 4 to both sides: 2x=6+4.
  • 10 is the y-coordinate of P: 25−20+5=10. The question asks for the x-coordinate.

dydx=2x−4. Set 2x−4=6, so 2x=10 and x=5.

Find the equation of the tangent to y=8x2 at the point where x=2. Type it like y=5x+2.

  1. Rewrite 8x2 as a number times a power of x before you differentiate.
  2. Put x=2 into the derivative for the gradient, and into the curve for y.
  • The curve is falling at x=2, so the gradient is negative. The power is −2, so the multiplier is 8×(−2)=−16, and −16x−3 is −2 at x=2.
  • You stopped at −2(x−2). The equation is y−2 =−2(x−2), so the 2 must be added back.

y=8x−2, so dydx =−16x−3. At x=2: −16×18=−2. At x=2, y=84=2. The tangent is y−2 =−2(x−2), so y=−2x+6.

2. Normals to a curve

The normal to a curve at a point is the straight line through that point at right angles to the tangent there.

You know from Straight lines that two lines at right angles have gradients that multiply to −1. So the gradient of the normal is the Negative reciprocal of the gradient of the tangent: turn the fraction upside down, and change the sign.

Key idea: suppose the tangent to a curve at a point has gradient m, and m is not 0. The normal at the same point has gradient −1m, so the two gradients multiply to −1. The normal passes through the same point as the tangent. If m=0, the tangent is horizontal, and the normal is the vertical line x=a through the point, where a is the x-coordinate of the point. (You cannot use −1m when m=0: it would need a division by 0.)

The tangent and the normal to y = x^2 - 4x + 5 at A (3, 2)The curve y equals x squared minus 4x plus 5, drawn with the same scale on both axes. At the marked point A (3, 2) a straight tangent rises to the right with gradient 2. A second straight line, the normal, crosses it at A and falls to the right with gradient minus one half. A small square at A shows that the two lines are at right angles.xyA (3, 2)tangentnormaly = x2​ − 4x + 5
At A (3, 2) on y=x2−4x+5, the tangent has gradient 2 and the normal has gradient −12. Both axes have the same scale, so the right angle looks like one.

To find the equation of a normal, do the same three steps as for a tangent, then use the new gradient in the last step.

Worked example

Find the equation of the normal to y=x2−4x+5 at the point where x=3. Give your answer in the form x+by=c, with whole numbers b and c.

  1. From lesson 1, the tangent at x=3 has gradient 2, and the point is (3, 2).
  2. The normal has gradient −12, because 2×(−12)=−1.
  3. y−2 =−12(x−3). Multiply both sides by 2: 2y−4 =−(x−3) =−x+3. So x+2y=7. Check: at (3, 2), 3+4=7. ✓

Now you finish it

Find the equation of the normal to y=x2−2x+3 at the point P (3, 6). Give your answer in the form x+by=c.

  1. dydx=2x−2. At x=3, the gradient of the tangent is ___.
  2. The gradient of the normal is ___.
  3. y−6 =−14(x−3). Multiply by 4: 4y−24=−x+3. So x+4y=___.
Check my answer

The tangent has gradient 4, so the normal has gradient −14. The equation is x+4y=27. Check: at (3, 6), 3+24=27. ✓

When the tangent is horizontal

On y=x2−4x+5, dydx=2x−4 is 0 at x=2, and y =4−8+5 =1. At the point (2, 1) the tangent is the horizontal line y=1. The normal is at right angles to it, so it is the vertical line x=2.

A horizontal tangent and its vertical normal at the lowest point (2, 1)The curve y equals x squared minus 4x plus 5, drawn with the same scale on both axes. Its lowest point, (2, 1), is marked. A horizontal tangent touches the curve there, and a vertical normal crosses it. A small square shows that the two lines are at right angles.xy(2, 1)tangentnormal
At the lowest point (2, 1) of y=x2−4x+5 the tangent is horizontal and the normal is vertical. Both axes have the same scale.

Check your knowledge: normals

The tangent to a curve at a point has gradient 5. Find the gradient of the normal at that point. Give a fraction or a decimal.

  1. The two gradients multiply to −1.
  2. The normal gradient is the negative reciprocal of the tangent gradient.
  • The product of the two gradients must be −1. This gradient is positive, so the product is 1.
  • You changed the sign but did not turn 5 upside down.
  • That is the gradient of the tangent. The normal is at right angles to it.

5×(−15)=−1, so the normal has gradient −15.

Find the gradient of the normal to y=x2 at the point where x=4. Give a fraction or a decimal.

  1. First find the gradient of the tangent: differentiate and put x=4 in.
  2. Then take the negative reciprocal.
  • The normal gradient is the negative reciprocal. The sign must change.
  • You changed the sign but did not take the reciprocal.
  • 16 is the y-coordinate of the point. The gradient of the tangent comes from the derivative, 2x.

dydx=2x, which is 8 at x=4. The normal has gradient −18.

The normal to a curve at the point P (2, 4) passes through the point Q (6, 3). Find the gradient of the tangent to the curve at P.

A curve with a straight line through the points P and QA U-shaped curve, drawn with the same scale on both axes. A straight line crosses the curve at the marked point P (2, 4) and runs on, falling gently, through the marked point Q (6, 3).xyP (2, 4)Q (6, 3)
  1. The normal is the straight line PQ. Find its gradient.
  2. The tangent and the normal are at right angles.
  • That is the gradient of the normal, the line PQ. The question asks for the tangent.
  • You changed the sign of −14 but did not turn it upside down.
  • You turned −14 upside down but did not change the sign. The two gradients multiply to −1, so they have opposite signs.

The normal PQ has gradient 3−46−2 =−14. The tangent has gradient 4, because 4×(−14)=−1.

Find the equation of the normal to y=x at the point where x=4. Type it like y=5x+2.

  1. Write x as x1/2 and differentiate. Put x=4 in for the gradient of the tangent.
  2. Take the negative reciprocal for the gradient of the normal, and use the point on the curve.
  • You used the gradient 4. The product of the two gradients must be −1, and 14×4=1. The normal gradient is negative.
  • You stopped at −4(x−4). The equation is y−2 =−4(x−4), so the 2 must be added back.

dydx =12x−1/2, which is 12×12=14 at x=4. The normal has gradient −4. At x=4, y=2. So y−2 =−4(x−4), which is y=−4x+18.

The normal to y=x3−12x at the point where x=2 is a vertical line with equation x=a, where a is the x-coordinate of the point. Find a.

  1. Find the gradient of the tangent at this point.
  2. What kind of line is at right angles to a line with that gradient? What does every point on it have in common?
  • −16 is the y-coordinate of the point. A vertical line x=a is described by the x-coordinate.

dydx =3x2−12, which is 0 at x=2. The tangent is horizontal, so the normal is vertical. It passes through the point where x=2, so x=2 and a=2.

A line has gradient 34. A second line is at right angles to it. What is the gradient of the second line?

  • Minus four thirds
  • Four thirds
  • Minus three quarters
  1. The two gradients must multiply to −1.
  2. Turn the fraction upside down, and change the sign.

34×(−43) =−1, so the second gradient is −43.

3. Increasing and decreasing

A curve rises where its gradient is positive, and falls where its gradient is negative. A function is increasing where its graph rises as x increases. It is decreasing where its graph falls as x increases.

Key idea: on an interval where dydx>0 at every point, y is increasing as x increases. On an interval where dydx<0 at every point, y is decreasing as x increases. At a point where dydx=0, the tangent is horizontal.

The curve y = x^3 - 6x^2 + 9x, rising, then falling, then risingA cubic curve that rises to a marked peak at (1, 4), falls to a marked valley at (3, 0) and then rises again. The two rising parts are drawn solid and the falling part between the peak and the valley is drawn dashed. A key at the top says solid means increasing and dashed means decreasing.xy(1, 4)(3, 0)increasingdecreasing
The curve y =x3 −6x2 +9x. It is drawn solid where it rises and dashed where it falls. The gradient is 0 at the two marked points, where the curve changes between rising and falling.

To find where a function is increasing or decreasing, differentiate, then solve an inequality. Solve dydx>0 for the values of x where it is increasing. Solve dydx<0 for the values where it is decreasing. The answer is a set of x-values, not y-values. (Quadratic inequalities are in the Inequalities topic: find where the quadratic is 0, then decide which parts are above and below the x-axis.)

Worked example

Find the values of x for which f(x) =x3 −6x2 +9x is increasing, and the values for which it is decreasing.

  1. Differentiate: f′(x) =3x2−12x+9 =3(x2−4x+3) =3(x−1) (x−3).
  2. f′(x)=0 at x=1 and x=3. The graph of y=f′(x) is U-shaped, because the coefficient of x2 is positive. It is below the x-axis between the roots, and above it outside them.
  3. So f′(x)>0 for x<1 and for x>3: f is increasing there. And f′(x)<0 for 1<x<3: f is decreasing there.
The sign of dy/dx for the cubic, on a number lineA horizontal number line with two marked points, 1 and 3. To the left of 1, dy by dx is greater than 0, so the curve is increasing. Between 1 and 3, dy by dx is less than 0, so the curve is decreasing. To the right of 3, dy by dx is greater than 0, so the curve is increasing.13dy/dx > 0dy/dx < 0dy/dx > 0increasingdecreasingincreasingx
The sign of dydx for y =x3 −6x2 +9x, on a number line. The two marked points are where the gradient is 0.

This page writes x<1 and x>3, where the gradient is strictly positive. Including the end points, x≤1 and x≥3, is also correct, and is the form the glossary uses: the curve never goes down on those ranges.

Now you finish it

Find the values of x for which f(x) =2x3 −3x2 −12x is decreasing.

  1. f′(x)=___.
  2. f′(x) =6(x−2) (x+1), which is 0 at x=−1 and x=2.
  3. The graph of y=f′(x) is U-shaped, so it is below the x-axis between the roots. So f is decreasing for ___ < x < ___.
Check my answer

f′(x) =6x2−6x−12 =6(x2−x−2) =6(x−2) (x+1). It is negative between −1 and 2, so f is decreasing for −1<x<2. For example, f′(0)=−12, which is negative.

Check your knowledge: increasing and decreasing

f(x) =x2−8x+3. The function f is increasing for x>a. Find a.

  1. Differentiate. The function is increasing where f′(x)>0.
  2. Solve the inequality for x.
  • You solved 2x−8>0 as 2x>−8. Add 8 to both sides, not subtract it.
  • 8 is the number in the derivative. Divide by the 2 in front of x.

f′(x)=2x−8. Solve 2x−8>0: 2x>8, so x>4. So a=4.

The gradient of a curve is dydx =(x−2)(x+5). Find the value of the gradient at x=0.

  1. Put x=0 into each bracket.
  2. Then multiply the two results.
  • A negative number times a positive number is negative.
  • The two brackets are multiplied, not added.

(0−2)(0+5) =(−2)×5 =−10. The gradient is negative, so the curve is falling at x=0.

f′(x)=x2−9. For which values of x is f decreasing?

  • −3 < x < 3
  • x < −3 or x > 3
  • x < 3
  1. Factorise: x2−9 =(x−3)(x+3).
  2. The graph of y=x2−9 is U-shaped. Where is it below the x-axis?

x2−9 is below the x-axis between its roots, −3 and 3. So f′(x)<0 for −3<x<3, and f is decreasing there.

The graph shows y=f(x). For which values of x is f decreasing?

The graph of a cubic function fA smooth curve through the origin. Coming from the lower left it rises to a peak, falls through the origin to a valley, then rises again to the upper right. The horizontal axis has a scale mark at each whole number from minus 4 to 4 except 0; minus 2, minus 1, 1 and 2 are numbered. The vertical axis has no scale.xy−2−112y = f(x)
  • Between x = −2 and x = 2
  • x < −2 or x > 2
  • Between x = −3.5 and x = 3.5
  1. The curve is decreasing where it goes down as you move to the right.
  2. Find where it stops rising and starts falling, and where it stops falling and starts rising.

The curve rises up to the maximum point where x=−2, falls until the minimum point where x=2, then rises again. So it is decreasing for −2<x<2.

Why is f(x)=x3+6x increasing for every value of x?

  • f′(x)=3x2+6, and x2 is never negative, so f′(x) is always positive
  • f(x) is positive for every x
  • f′(x)=3x2+6 is 0 at x=0, so the curve is increasing there
  1. Find f′(x).
  2. Think about the smallest value 3x2 can take.

f′(x)=3x2+6. Since x2≥0, f′(x)≥6>0 for every x. The gradient is always positive, so f is always increasing.

4. Stationary points

A stationary point is a point on a curve where the gradient is zero: dydx=0. The tangent there is horizontal.

Key idea: a stationary point of y=f(x) is a point where dydx=0. To find the stationary points: differentiate; solve dydx=0 to get every x-value; then put each x-value into y=f(x) to find its y-coordinate. Solving dydx=0 gives only x-values. The y-coordinates come from the curve. At a stationary point the tangent is the horizontal line y=k, where k is the y-coordinate, and the normal is the vertical line x=a, where a is the x-coordinate of the point.

The curve y = x^3 - 12x with a horizontal tangent at each stationary pointA smooth cubic curve through the origin. It has a peak at the marked point (minus 2, 16) and a valley at the marked point (2, minus 16). A horizontal tangent touches the curve at each of these points and is labelled m equals 0, where m is the gradient. The gradient of the curve is 0 at both.xy(−2, 16)(2, −16)m = 0m = 0y = x3​ − 12x
The curve y=x3−12x has a horizontal tangent at each of its two stationary points, (−2, 16) and (2, −16). The gradient of the curve is 0 at both.

Worked example

Find the stationary points of y=x3−12x.

  1. Differentiate: dydx =3x2−12.
  2. Solve 3x2−12=0: x2=4, so x=2 or x=−2. (Both values count: x2=4 has two solutions.)
  3. Put each x-value into the curve. At x=2: y=8−24=−16. At x=−2: y=−8+24=16. The stationary points are (2, −16) and (−2, 16).

Now you finish it

Find the stationary points of y=2x3−6x.

  1. dydx=___.
  2. 6x2−6=0 gives x2=1, so x=1 or x=−1.
  3. At x=1: y=2−6=___. At x=−1: y=−2+6=___.
Check my answer

The stationary points are (1, −4) and (−1, 4).

Solve every factor

When dydx factorises, set each factor equal to 0. Do not divide both sides by x: that loses the solution x=0.

Worked example: a derivative that factorises

Find the stationary points of y=x3−6x2.

  1. dydx =3x2−12x =3x(x−4).
  2. 3x(x−4)=0 gives x=0 or x=4.
  3. At x=0: y=0. At x=4: y =64−96 =−32. The stationary points are (0, 0) and (4, −32).

If the equation has a fraction or a root, rewrite it as powers of x before you differentiate. For example, take y=x+4x for x>0. Then y=x+4x−1 and dydx =1−4x−2. Setting this equal to 0 gives x2=4. The condition x>0 rules out x=−2, so x=2, and y=2+2=4. The stationary point is (2, 4).

Check your knowledge: stationary points

Find the x-coordinate of the stationary point of y=x2−6x+4.

  1. A stationary point is where dydx=0.
  2. Differentiate, set the derivative equal to 0 and solve.
  • You solved 2x−6=0 as 2x=−6. Add 6 to both sides.
  • 6 is the number in the derivative. Divide by the 2 in front of x.

dydx=2x−6. Set it equal to 0: 2x=6, so x=3.

Find the coordinates of the stationary point of y=x2−6x+4. Type them like (2, 7).

  1. Find the x-coordinate from dydx=0.
  2. Put that x-value into the equation of the curve to find y.
  • 0 is the gradient at the point. The y-coordinate comes from the curve: put your x-value into y=x2−6x+4.
  • You solved 2x−6=0 as 2x=−6. Add 6 to both sides to get x.

dydx =2x−6 =0 gives x=3. Then y =9−18+4 =−5. The stationary point is (3, −5).

The curve y=x3−6x2 has two stationary points. One is at x=0. Find the y-coordinate of the other one.

  1. Differentiate and factorise the derivative. Solve dydx=0.
  2. Put the x-value of the other stationary point into the equation of the curve.
  • That is the y-coordinate of the stationary point at x=0. The question asks for the other one.
  • 64−96 is negative. Check the sign: 43=64 and 6×42=96.

dydx =3x2−12x =3x(x−4), so the other stationary point has x=4. Then y =64−96 =−32.

y=x+4x, for x>0. Find the x-coordinate of the stationary point.

  1. Write 4x as 4x−1, then differentiate.
  2. Set the derivative equal to 0. Only keep an answer that satisfies x>0.
  • You differentiated 4x−1 as −4x−1. The power must go down by 1: it becomes −4x−2.
  • x2=4 has two solutions, but the question says x>0.

y=x+4x−1, so dydx =1−4x−2. Setting this to 0 gives x2=4. Since x>0, x=2.

A curve has a stationary point at (2, −16). Write down the equation of the tangent to the curve at this point. Type it like y=7.

  1. What is the gradient of the tangent at a stationary point?
  2. What is the equation of a horizontal line through the point?
  • x=2 is a vertical line. That is the normal. The tangent at a stationary point is horizontal.

The gradient is 0, so the tangent is horizontal. It passes through (2, −16), so its equation is y=−16.

5. Maximum, minimum or neither

A stationary point can be a maximum, a minimum, or neither. A maximum or a minimum is also called a turning point. Deciding which kind a stationary point is means finding its nature. There are two tests, and you should be able to use both.

Test 1: the second derivative

The second derivative, d2ydx2, tells you how fast the gradient is changing. At a stationary point the gradient is 0. If the gradient is increasing there, it goes from negative to positive, so the curve goes down and then up: a minimum. If the gradient is decreasing there, it goes from positive to negative: a maximum.

Key idea: at a stationary point of y=f(x), where dydx=0, find d2ydx2 there. The second derivative must exist at the point. If d2ydx2>0, the point is a minimum. If d2ydx2<0, the point is a maximum. If d2ydx2=0, the test does not decide: the point could be a minimum, a maximum or neither.

The curve y = x^3 - 6x^2 + 9x with its maximum point and its minimum pointA cubic curve that rises to a peak at the marked point (1, 4), labelled maximum point, falls to a valley at the marked point (3, 0), labelled minimum point, and then rises again.xy(1, 4)(3, 0)maximum pointminimum point
The curve y =x3 −6x2 +9x has a maximum point at (1, 4) and a minimum point at (3, 0).

Worked example

Find the stationary points of y =x3 −6x2 +9x, and decide the nature of each.

  1. dydx =3x2−12x+9 =3(x−1) (x−3), which is 0 at x=1 and x=3.
  2. At x=1: y =1−6+9 =4. At x=3: y =27−54+27 =0. The stationary points are (1, 4) and (3, 0).
  3. d2ydx2 =6x−12. At x=1 it is −6, which is negative, so (1, 4) is a maximum. At x=3 it is 6, which is positive, so (3, 0) is a minimum.

Now you finish it

The curve y=x3−12x has stationary points at (2, −16) and (−2, 16). Decide the nature of each. Type each word like maximum.

  1. d2ydx2=___.
  2. At x=2: d2ydx2=___. This is positive, so (2, −16) is a ___.
  3. At x=−2: d2ydx2=___. This is negative, so (−2, 16) is a ___.
Check my answer

d2ydx2=6x. At x=2 it is 12 (positive): a minimum. At x=−2 it is −12 (negative): a maximum. This matches the picture in lesson 4.

A maximum point means the curve is higher there than at every point close to it. The curve may go higher somewhere else. On y =x3 −6x2 +9x, the maximum point (1, 4) is lower than points far to the right, because y increases without limit as x increases. In the same way, the minimum point (3, 0) is higher than points far to the left, because y decreases without limit as x decreases.

Test 2: the sign of the gradient either side

The second test uses the sign of dydx a little to the left and a little to the right of the stationary point. Choose x-values close enough to the point that there is no other stationary point between them and it.

Key idea: go from left to right through a stationary point and look at the sign of dydx. If it goes from negative to positive, the point is a minimum. If it goes from positive to negative, the point is a maximum. If it has the same sign on both sides, the point is neither a maximum nor a minimum. For example, (0, 0) is a stationary point of y=x3, and the curve rises on both sides of it.

Three tangents to a curve on either side of its lowest pointThe curve y equals x squared minus 4x plus 5 with three marked points and a tangent at each; m is the gradient of the tangent. At (1, 2) the tangent slopes down to the right and is labelled m equals minus 2. At the lowest point (2, 1) the tangent is horizontal and is labelled m equals 0. At (3, 2) the tangent slopes up to the right and is labelled m equals 2.m = −2m = 0m = 2
Three tangents to y=x2−4x+5, with m the gradient of each. The gradient goes from −2 to 0 to 2: from negative to positive, so the lowest point is a minimum.

When the second derivative is 0

Look at y=x4 and y=x3. Both have a stationary point at (0, 0). For y=x4: dydx=4x3 and d2ydx2 =12x2. For y=x3: dydx=3x2 and d2ydx2=6x. In both cases the second derivative is 0 at x=0, so Test 1 does not say which kind of point it is. Test 2 does.

x−0.500.5
dydx for y=x4−0.500.5
dydx for y=x30.7500.75

For y=x4 the gradient goes from negative to positive: (0, 0) is a minimum. For y=x3 the gradient is positive on both sides: (0, 0) is neither a maximum nor a minimum. It is called a stationary point of inflection: the tangent is horizontal there, but the curve does not turn. Points of inflection are defined in Year 2.

The curves y = x^4 and y = x^3 both have a stationary point at the originTwo curves that both pass through the marked point (0, 0). The solid curve, y equals x to the 4, is a U shape with its lowest point at (0, 0). The dashed curve, y equals x cubed, rises from the lower left through (0, 0) to the upper right, with a horizontal tangent at the origin.xy(0, 0)y = x4​y = x3​
Both curves have a stationary point at (0, 0), and the second derivative is 0 at that point for both. The solid curve y=x4 has a minimum there. The dashed curve y=x3 does not.

Worked example: using both tests

Find the stationary points of y=x4−4x3 and decide the nature of each.

  1. dydx =4x3−12x2 =4x2(x−3), which is 0 at x=0 and x=3. At x=0, y=0. At x=3, y =81−108 =−27.
  2. d2ydx2 =12x2−24x. At x=3 it is 108−72=36, which is positive, so (3, −27) is a minimum.
  3. At x=0 the second derivative is 0, so the test does not decide. Use the gradient. At x=−1: dydx =−4−12 =−16. At x=1: dydx =4−12 =−8. Both are negative, so (0, 0) is neither a maximum nor a minimum.

Check your knowledge: maximum, minimum or neither

At a stationary point, d2ydx2=−4. What is the nature of the point?

  • A maximum
  • A minimum
  • The test does not decide
  1. Is the second derivative positive, negative or zero?
  2. Negative means the gradient is decreasing.

The second derivative is negative, so the gradient is decreasing through the point: it goes from positive to negative. The point is a maximum.

y =2x3 −9x2 +12x has stationary points at x=1 and x=2. Find the value of d2ydx2 at x=1.

  1. Differentiate twice.
  2. Put x=1 into the second derivative.
  • That is the value at x=2. The question asks about x=1.
  • You differentiated 6x2 as 12x, but the term −18x also differentiates, to −18. The second derivative is 12x−18.

dydx =6x2 −18x +12, so d2ydx2 =12x−18. At x=1: 12−18=−6.

y =2x3 −9x2 +12x has stationary points at x=1 and x=2, and d2ydx2 =12x−18. Find the y-coordinate of the maximum point.

  1. Put each x-value into 12x−18. Which one gives a negative value?
  2. Put that x-value into the equation of the curve.
  • That is the y-coordinate of the stationary point at x=2, which is the minimum. The second derivative at x=2 is positive.
  • 1 is the x-coordinate of the maximum point. The question asks for the y-coordinate.
  • −6 is the value of the second derivative at the maximum point. The y-coordinate comes from the equation of the curve.

At x=1: 12−18=−6, negative, so the maximum is at x=1. Then y =2−9+12 =5. At x=2: 24−18=6, positive, a minimum, with y =16−36+24 =4.

For y=x4, d2ydx2 =12x2, which is 0 at x=0. What can you conclude about the stationary point (0, 0)?

  • Nothing yet: use the sign of dy by dx on either side
  • It is a point of inflection
  • It is a maximum
  1. What does the second-derivative test say when the second derivative is 0?
  2. Which other test could you use?

When d2ydx2=0, Test 1 does not decide. Use the gradient: dydx=4x3 is negative for x<0 and positive for x>0, so (0, 0) is a minimum.

The gradient dydx is positive a little to the left of a stationary point and negative a little to the right of it. What is the point?

  • A maximum
  • A minimum
  • Neither a maximum nor a minimum
  1. Imagine moving along the curve from left to right through the point.
  2. Is the curve rising or falling on each side?

The curve rises (positive gradient), then falls (negative gradient). So the stationary point is a maximum.

The gradient dydx is positive a little to the left of a stationary point and also positive a little to the right of it. What is the point?

  • Neither a maximum nor a minimum
  • A maximum
  • A minimum
  1. Does the gradient change sign through the point?
  2. Think of y=x3 at the origin.

The curve rises before the point and keeps rising after it, with a horizontal tangent at the point. It is neither a maximum nor a minimum.

y=x+4x, for x>0. Find the value of d2ydx2 at x=2.

  1. Write 4x as 4x−1 and differentiate twice.
  2. Put x=2 into the second derivative.
  • The derivative of −4x−2 is −4×(−2)x−3 =+8x−3. A minus times a minus is a plus.
  • The second derivative has the power −3, not −2. Differentiate −4x−2 once more.

dydx =1−4x−2 and d2ydx2 =8x−3. At x=2: 88=1. This is positive, so the stationary point (2, 4) is a minimum.

6. Optimisation in context

Optimisation means finding the greatest or the least value of a quantity. Many problems fix a total, such as a length of fence or a perimeter, and ask for the best shape. The idea is the same as before: write the quantity as a function of one variable, then find where its derivative is 0.

  1. Name the quantity and the variable. Use any fixed total to write the quantity in terms of one variable.
  2. Differentiate, and solve dQdx=0.
  3. Use the second derivative, or the sign of the gradient, to check that the point is a maximum (or a minimum, whichever the question asks for).
  4. Put the x-value into the quantity. Give the value the question asks for, with units. Check that the x-value is possible in the problem, such as a length that is positive. If it is the only stationary point in the allowed values, and those values form one unbroken range, a maximum there is the greatest value and a minimum there is the least value.

Key idea: to find the greatest or least value of a quantity Q that depends on one variable x, write Q as a function of x, solve dQdx=0, and check the nature of each solution. Then put the x-value into Q. This finds a maximum or a minimum where the gradient is 0, so the x-value must be allowed in the problem. If the allowed values of x stop at an end point, the quantity at the end point must be compared too.

The area A = x(20 - x) of a rectangle with perimeter 40 cm, against its width xAn upside-down U-shaped curve that starts at the origin, rises to a marked peak at (10, 100) and falls back to the horizontal axis at x equals 20. Dashed lines run from the peak down to x equals 10 and across to the vertical axis at A equals 100. The greatest area is at the peak.xA (cm2​)(10, 100)width 10
The area A=x(20−x) of a rectangle with perimeter 40 cm, against its width x cm. The greatest area is at the marked maximum point, (10, 100).

Worked example

A rectangle has perimeter 40 cm. Its width is x cm. Find the greatest possible area.

  1. The perimeter is 40, so the width plus the length is 20. The length is 20−x cm. The area is A =x(20−x) =20x−x2 cm², for 0<x<20.
  2. dAdx=20−2x. Set it equal to 0: x=10.
  3. d2Adx2=−2, which is negative, so this is a maximum.
  4. A =10×10 =100. The greatest area is 100 cm², when the rectangle is a square of side 10 cm.

Now you finish it

A farmer has 60 m of fence. She uses it for three sides of a rectangular field. The fourth side is a wall. Find the greatest possible area of the field.

  1. Let the two sides at right angles to the wall be x m. The side along the wall is 60−2x m. So A=x(60−2x)=___.
  2. dAdx=___. Set it equal to 0: x=___.
  3. d2Adx2=−4, which is negative: a maximum. A=15×30=___ m².
Check my answer

A=60x−2x2, dAdx=60−4x, so x=15 and the side along the wall is 30 m. The greatest area is 15×30=450 m².

Check your knowledge: optimisation

Two numbers add up to 12. Find the greatest possible value of their product.

  1. Call one number x. What is the other number, in terms of x?
  2. Write the product as a function of x, differentiate, and solve for x.
  3. Then find the product itself.
  • 6 is the value of x that gives the greatest product. The question asks for the product.
  • 12 is the sum of the two numbers. The question asks for their product.

The numbers are x and 12−x. The product is P =x(12−x) =12x−x2. dPdx =12−2x =0 gives x=6. d2Pdx2=−2 is negative: a maximum. P=6×6=36.

The cost, in pounds, of making a container is C=x+16x, for x>0. Find the least possible value of C.

  1. Write 16x as 16x−1, then differentiate and solve dCdx=0.
  2. Only keep an answer that satisfies x>0. Then put it into C.
  • 4 is the value of x that gives the least cost. The question asks for the least value of C.
  • You wrote 4+16. The second term is 16x, which is 164=4 when x=4.

C=x+16x−1, so dCdx =1−16x−2. Set it to 0: x2=16, so x=4 (the only solution with x>0). d2Cdx2 =32x−3, which is 3264=12 at x=4: positive, a minimum. C=4+4=8.

A rectangle has perimeter 30 cm. Find its greatest possible area, in cm².

  1. Let the width be x cm. Use the perimeter to find the length in terms of x.
  2. Write the area as a function of x, then find where its derivative is 0.
  • 7.5 is the width that gives the greatest area. The question asks for the area.
  • You used a length of 30−x. Half the perimeter, 15, is the width plus the length, so the length is 15−x.
  • You used a length of 15. The length is 15−x, which is 7.5 when the width is 7.5.

The length is 15−x. A =x(15−x) =15x−x2. dAdx =15−2x =0 gives x=7.5. d2Adx2=−2: a maximum. A =7.5×7.5 =56.25.

In an optimisation question you solve dAdx=0 and find x. Why do you then work out d2Adx2?

  • To check whether the stationary point is a maximum or a minimum
  • To find the greatest value of A
  • To check that you differentiated correctly
  1. The first derivative is 0 at a maximum and at a minimum.
  2. What tells the two apart?

dAdx=0 at both a maximum and a minimum. The sign of d2Adx2 says which one it is.

A farmer has 80 m of fence for three sides of a rectangular field. The fourth side is a wall. Find the greatest possible area of the field, in m².

  1. Let the two sides at right angles to the wall be x m. Find the side along the wall.
  2. Write the area as a function of x, differentiate, and solve.
  • 20 is the length of each short side. The question asks for the area.
  • You used a side of 80−x. Only the two short sides count twice: the side along the wall is 80−2x.
  • 40 is the length of the side along the wall. The question asks for the area.

The side along the wall is 80−2x. A =x(80−2x) =80x−2x2. dAdx =80−4x =0 gives x=20. d2Adx2=−4: a maximum. A =20×40 =800.

Flip it: from the stationary point back to the equation

So far you started with an equation and found its stationary points. Now run it backwards: you are told about a stationary point, and you must find missing numbers in the equation.

Forwards

Start with y=x2−6x+7. Then dydx=2x−6, which is 0 at x=3. At x=3, y =9−18+7 =−2. The stationary point is (3, −2), and d2ydx2=2 is positive, so it is a minimum.

Backwards

Start with a curve y=x2+bx+c that has a minimum point at (3, −2). Find b and c. A stationary point gives two facts about the curve.

  • The gradient is 0 at x=3. Use the derivative.
  • The point (3, −2) is on the curve. Use the equation of the curve.
The curve y = x^2 - 6x + 7 with its minimum point at (3, -2)A U-shaped curve with its lowest point at the marked point (3, minus 2), where a horizontal tangent touches it. The curve crosses the vertical axis at the marked point (0, 7).xy(3, −2)(0, 7)y = x2​ − 6x + 7
The curve you will find. It has a minimum point at (3, −2), where the tangent is horizontal, and it crosses the y-axis at (0, 7).

Key idea: a stationary point at a known point gives two equations. The first is dydx=0 at the x-value of the point. The second is that the y-value equals the equation of the curve at that x-value. Two equations are enough to find two unknown numbers.

Worked example

The curve y=x2+bx+c has a minimum point at (3, −2). Find b and c.

  1. dydx=2x+b. At x=3 the gradient is 0: 6+b=0, so b=−6.
  2. The point (3, −2) is on the curve: −2 =9+3b+c =9−18+c, so c=7.
  3. The equation is y=x2−6x+7. Check: d2ydx2=2 is positive, so the point is a minimum, as stated.

Now you finish it

The curve y=x2+bx+c has a minimum point at (−1, 4). Find b and c.

  1. dydx=2x+b. At x=−1 the gradient is 0: −2+b=0, so b=___.
  2. The point (−1, 4) is on the curve: 4 =1−b+c =1−2+c, so c=___.
Check my answer

b=2 and c=5, so y=x2+2x+5. At x=−1: y =1−2+5 =4. ✓

The same flip works on graphs. If the graph of y=f′(x) crosses the x-axis from above to below, the gradient of f changes from positive to negative there, so f has a maximum. If it crosses from below to above, f has a minimum.

Check your knowledge: flip it

The curve y=x2+bx+9 has a stationary point where x=4. Find b.

  1. Differentiate. The gradient is 0 at a stationary point.
  2. Put x=4 into the derivative, set it equal to 0, and solve for b.
  • You solved 8+b=0 as b=8. Subtract 8 from both sides: b=0−8.
  • You differentiated x2 as x. The derivative of x2 is 2x.

dydx=2x+b. At x=4: 8+b=0, so b=−8.

The curve y =2x2+bx+1 has a stationary point where x=−1. Find b.

  1. Differentiate each term. The gradient is 0 at a stationary point.
  2. Put x=−1 into the derivative, set it equal to 0, and solve for b.
  • You wrote b=4x. From 4x+b=0 you get b=−4x, which is −4×(−1)=4 when x=−1.

dydx=4x+b. At x=−1: −4+b=0, so b=4.

The tangent to the curve y=x2+kx+3 at the point where x=2 has gradient 7. Find k.

  1. The gradient of the tangent is the value of the derivative.
  2. Differentiate, put x=2 in, and set the result equal to 7.
  • 7 is the gradient of the tangent, which is 4+k. It is not k.
  • You solved 4+k=7 as k=7+4. Subtract 4 from both sides.

dydx=2x+k. At x=2: 4+k=7, so k=3.

The curve y=ax2+8x has a maximum point where x=2. Find a.

  1. Differentiate. The gradient is 0 at a stationary point.
  2. Put x=2 into the derivative, set it equal to 0, and solve for a.
  • The curve has a maximum, so the second derivative 2a must be negative. Check the sign.
  • You wrote the derivative as 2a+8. The derivative of ax2 is 2ax, which is 4a at x=2.

dydx=2ax+8. At x=2: 4a+8=0, so a=−2. Check: d2ydx2 =2a =−4 is negative, so the point is a maximum. ✓

The graph of y=f′(x) crosses the x-axis at x=2. As x increases, it goes from above the axis to below it. What does the graph of y=f(x) have at x=2?

  • A maximum point, because the gradient changes from positive to negative
  • A minimum point, because the gradient changes from positive to negative
  • Nothing special: f is increasing everywhere
  1. Above the x-axis means the gradient of f is positive. Below means negative.
  2. Positive, then negative: does f rise then fall, or fall then rise?

f′(x) is positive, then zero, then negative. So f rises, has a horizontal tangent, then falls: a maximum point.

Spot the mistake

Finding an error in someone else’s working helps you learn. For each one, decide what went wrong.

Asha says: the tangent to y=x2 at x=3 has gradient 2x=6, so its equation is y=6x. What went wrong?

  • She used the gradient but not the point. The tangent must pass through (3, 9): y−9=6(x−3), so y=6x−9
  • The gradient should be 2
  • Nothing, it is correct
  1. A tangent touches the curve. Does y=6x pass through the point on the curve where x=3?
  2. Use y−y1 =m(x−x1) with the point on the curve.

At x=3, the curve has y=9. The line y=6x gives 18, so it misses the point. The tangent is y−9=6(x−3), which is y=6x−9.

Ben says: the tangent to a curve has gradient 2, so the normal has gradient −2. What went wrong?

  • He changed the sign but did not turn 2 upside down. The normal gradient is −12
  • The normal gradient should be 12
  • Nothing, it is correct
  1. The two gradients must multiply to −1. Multiply 2 by −2.

2×(−2)=−4, not −1. The normal gradient is −12, because 2×(−12)=−1.

Chen says: for y=x3−3x2, dydx =3x2−6x. I divide both sides of 3x2−6x=0 by x to get 3x−6=0, so the only stationary point is at x=2. What went wrong?

  • Dividing by x lost the solution x=0. Factorise instead: 3x(x−2)=0 gives x=0 or x=2
  • The derivative should be 3x2−3x
  • x=2 is not a stationary point
  1. Is x=0 a solution of 3x2−6x=0?
  2. If you divide by x, what happens to that solution?

3x2−6x =3x(x−2), which is 0 when x=0 or x=2. The stationary points are (0, 0) and (2, −4).

Dee says: for y=x4, d2ydx2 =12x2 =0 at x=0, so (0, 0) is a point of inflection. What went wrong?

  • A second derivative of 0 does not decide the nature. The gradient 4x3 is negative for x<0 and positive for x>0, so (0, 0) is a minimum
  • (0, 0) is a maximum
  • Nothing, it is correct
  1. What does the second derivative test say when the second derivative is 0?
  2. Find the sign of dydx=4x3 on each side of 0.

When d2ydx2=0, use the sign of the gradient. 4x3 is negative for x<0 and positive for x>0, so the gradient goes from negative to positive: a minimum.

Check your knowledge: mixed review

Find the gradient of the tangent to y =2x3 −5x2 +4 at the point where x=1.

  1. Differentiate, then put x=1 into the derivative.
  • That is the value of y at x=1: 2−5+4=1. The gradient comes from the derivative.
  • 6−10 is negative. Check the sign.

dydx =6x2−10x. At x=1: 6−10=−4.

Find the equation of the normal to y=4x at the point where x=4. Type it like y=5x+2.

  1. Rewrite 4x as 4x−1 and differentiate. Put x=4 in for the gradient of the tangent.
  2. Take the negative reciprocal for the normal, and use the point on the curve.
  • The tangent has gradient −14, which is negative. The normal gradient is the negative reciprocal, so it is positive.
  • You stopped at 4(x−4). The equation is y−1=4(x−4), so the 1 must be added back.

dydx=−4x−2, which is −416=−14 at x=4. The normal has gradient 4. At x=4, y=1. So y−1=4(x−4), which is y=4x−15.

Find the coordinates of the maximum point of y =x3 −3x2 −9x +1. Type them like (2, 7).

  1. Find the stationary points: solve dydx=0, and find y for each.
  2. Use the second derivative to decide which one is a maximum.
  • That is the minimum point: the second derivative 6x−6 is 12, positive, at x=3.
  • −12 is the value of the second derivative at x=−1. The y-coordinate comes from the equation of the curve.

dydx =3x2−6x−9 =3(x−3) (x+1), so x=3 or x=−1. d2ydx2 =6x−6: at x=−1 it is −12 (negative, a maximum), at x=3 it is 12 (positive, a minimum). At x=−1: y =−1−3+9+1 =6. The maximum point is (−1, 6).

A rectangle has perimeter 36 cm. Find its greatest possible area, in cm².

  1. Let the width be x cm. Use the perimeter to find the length in terms of x.
  2. Write the area as a function of x, then find where its derivative is 0.
  • 9 is the width that gives the greatest area. The question asks for the area.
  • You used a length of 36−x. Half the perimeter, 18, is the width plus the length, so the length is 18−x.

The length is 18−x. A =x(18−x) =18x−x2. dAdx =18−2x =0 gives x=9. d2Adx2=−2: a maximum. A=9×9=81.

Exam style

Use these like a real paper. The marks tell you how much to write. M marks are for method. A marks are for an accurate answer. B marks are for a correct fact or statement.

Write your working on paper, then type the answer.

  • The curve C has equation y =x3 −6x2 +9x +2.

(a) [2 marks] Find dydx. Type it like 5x^2-3x+1.

  1. Differentiate each term. The constant term differentiates to 0.
  • The constant 2 differentiates to 0. It does not stay in the answer.
  • The term −6x2 has the multiplier −6×2=−12, not −6.

dydx =3x2−12x+9.

  • M1 for differentiating at least two terms correctly
  • A1 for 3x2−12x+9

(b) [4 marks] Find the equation of the tangent to C at the point where x=2. Type it like y=5x+1.

  1. Find the y-coordinate of the point on C, and the gradient from your answer to part (a).
  2. Use y−y1 =m(x−x1).
  • 4 is the y-coordinate of the point, not the place where the tangent crosses the y-axis. Use y−4 =−3(x−2).
  • You stopped at −3(x−2). The equation is y−4 =−3(x−2), so the 4 must be added back.

At x=2: y =8 −24 +18 +2 =4, and dydx =12−24+9 =−3. The tangent is y−4 =−3(x−2), so y=−3x+10.

  • B1 for y=4 when x=2
  • M1 for substituting x=2 into dydx
  • M1 for y−y1 =m(x−x1) with their gradient and point
  • A1 for y=−3x+10

(c) [5 marks] The curve C has a maximum point. Find its coordinates, and use the second derivative to show that it is a maximum. Type the coordinates like (2, 7).

  1. Solve dydx=0. Factorise your answer to part (a).
  2. Find d2ydx2 at each stationary point. Which one is negative?
  • That is the minimum point: d2ydx2 =6x−12 is positive at x=3.
  • −6 is the value of the second derivative at x=1. The y-coordinate comes from the equation of C.

3x2−12x+9 =3(x−1) (x−3) =0 gives x=1 or x=3. At x=1: y =1−6+9+2 =6. At x=3: y =27 −54 +27 +2 =2. d2ydx2 =6x−12: at x=1 it is −6, which is negative, so (1, 6) is a maximum. At x=3 it is 6, positive: (3, 2) is a minimum.

  • M1 for setting dydx=0
  • A1 for x=1 and x=3
  • M1 for finding a y-coordinate
  • A1 for (1, 6)
  • B1 for d2ydx2=−6 at x=1, which is negative, so a maximum
  • The curve C has equation y=x2−4x+5.
  • The point A on C has x-coordinate 3.
  • The normal to C at A meets the x-axis at the point D.

(a) [4 marks] Find the x-coordinate of D.

  1. Find the gradient of the tangent at A, then the gradient of the normal.
  2. Write the equation of the normal. Where does y=0?
  • 2 is where the tangent meets the x-axis. The question asks about the normal.
  • 3.5 is where the normal crosses the y-axis. D is on the x-axis, where y=0.

dydx=2x−4, which is 2 at x=3. At A, y =9−12+5 =2. The normal has gradient −12: y−2 =−12(x−3). When y=0: −2 =−12(x−3), so x−3=4 and x=7.

  • M1 for the gradient of the tangent at A
  • M1 for the gradient of the normal, −12
  • M1 for the equation of the normal, and y=0
  • A1 for x=7

(b) [3 marks] The tangent to C at A meets the x-axis at the point B. Find the area of the triangle ABD.

  1. Find the equation of the tangent at A. Where does it meet the x-axis?
  2. The base of the triangle is on the x-axis. The height is the y-coordinate of A.
  • You forgot the half. The area of a triangle is 12×base×height.

The tangent is y−2=2(x−3), which is y=2x−4. It meets the x-axis at x=2, so B is (2, 0). D is (7, 0), so BD=5. The height of the triangle is the y-coordinate of A, 2. The area is 12×5×2=5.

  • M1 for the tangent, and where it meets the x-axis, x=2
  • M1 for 12×base×height with BD=5 and height 2
  • A1 for 5
  • A box with no lid is made from a square sheet of card, 12 cm by 12 cm. A square of side x cm is cut from each corner, and the sides are folded up.
  • The base of the box is a square of side 12−2x cm, and its height is x cm. Its volume is V=x(12−2x)2 cm³, for 0<x<6.

(a) [2 marks] Expand and simplify x(12−2x)2. Type it like 5x^3-2x^2+7x.

A square sheet with a small square cut from each cornerA square sheet of card, 12 centimetres along each side. A small square of side x is shaded at each of the four corners, and a dashed square in the middle marks the base of the box. The shaded squares are cut away and the four flaps are folded up.xxxxbase12 cm
  1. Expand (12−2x)2 first. It means (12−2x) (12−2x).
  2. Then multiply every term by x.
  • (12−2x)2 is not 144−4x2. It has three terms: the middle term is −48x.

(12−2x)2 =144 −48x +4x2. Multiply by x: V =144x −48x2 +4x3.

  • M1 for expanding (12−2x)2 with three terms
  • A1 for 4x3 −48x2 +144x

(b) [2 marks] Find dVdx. Type it like 5x^2-3x+1.

  1. Use the expanded form of V from part (a).
  2. Differentiate each term.
  • −48x2 has the multiplier −48×2=−96, not −48.

dVdx =12x2 −96x +144.

  • M1 for differentiating at least two terms correctly
  • A1 for 12x2 −96x +144

(c) [3 marks] Find the value of x, with 0<x<6, for which V is a maximum.

  1. Set dVdx=0. Divide by 12 to make the numbers smaller, then factorise.
  2. Use the condition 0<x<6, and the second derivative, to choose between your answers.
  • x=6 is the other stationary point, but it is outside the allowed values 0<x<6: the box has no volume there.

12x2 −96x +144 =12(x2−8x+12) =12(x−2) (x−6) =0, so x=2 or x=6. d2Vdx2 =24x−96. At x=2 it is −48, negative: a maximum. At x=6 it is 48, positive: a minimum. So x=2.

  • M1 for setting dVdx=0
  • A1 for x=2 and x=6
  • A1 for x=2, with a reason: the second derivative is negative

(d) [2 marks] Find the greatest possible volume, in cm³.

  1. Put your value of x from part (c) into V=x(12−2x)2.
  • 2 is the value of x that gives the greatest volume. The question asks for the volume itself.
  • 0 is the volume when x=6, which is the minimum, not the maximum.

V =2×(12−4)2 =2×64 =128. The greatest volume is 128 cm³.

  • M1 for substituting x=2 into V
  • A1 for 128
  • f(x) =x3+3x+5.

[3 marks] Find the smallest value of f′(x). Then, on paper, explain why f is increasing for every value of x.

  1. Find f′(x). Think about how small 3x2 can be.
  2. x2 is never negative.
  • 3x2 can be 0, but the derivative also has the term 3, which is always there.

f′(x)=3x2+3. Since x2≥0, f′(x)≥3. The smallest value is 3, when x=0. The gradient is always positive, so f is increasing for every value of x.

  • M1 for f′(x)=3x2+3
  • A1 for 3
  • B1 for a reason: f′(x)>0 for every x, so f is increasing

Why it works

  • The tangent equation. The gradient of a curve at a point is the gradient of the tangent there. A straight line is fixed by one point and its gradient, so the tangent is the line through the point on the curve with that gradient.
  • The normal. A line with direction (1,m) turned through a right angle has direction (−m,1), and its gradient is 1−m=−1m. So two lines at right angles have gradients that multiply to −1. If m=0, the direction (−m,1) is (0,1): straight up, a vertical line.
  • Increasing and decreasing. If the gradient is positive at every point of an interval, the curve rises as you move along it. A full proof needs ideas beyond A-level, but the picture is clear: a tangent that slopes up everywhere cannot belong to a curve that goes down.
  • Stationary points. A smooth curve, with no break and no corner, can only turn from rising to falling, or from falling to rising, by passing through a point where its gradient is 0. That is why the stationary points are where to look for a maximum or a minimum. The reverse is not true: y=x3 has a stationary point at the origin and does not turn.
  • The second derivative test. At a stationary point the gradient is 0. If d2ydx2>0, the gradient is increasing, so it is negative a little before and positive a little after: the curve goes down, then up. If d2ydx2<0, it is the other way round. If d2ydx2=0, you cannot tell whether the gradient changes sign: y=x4 and y=x3 are two examples with different results.
  • Optimisation. If a quantity has a greatest or a least value at a point inside the allowed values of x, and it can be differentiated there, the gradient at that point is 0, because the quantity has stopped rising and not yet started to fall (or the reverse). So you look at the stationary points, and check the end points of the allowed values of x.

Common traps

  • Putting the x-value into the original equation to get the gradient, instead of into dydx.
  • Using the gradient as the y-intercept of the tangent, or forgetting to add the y-coordinate back when writing y =m(x−x1) +y1.
  • Using the gradient of the tangent as the gradient of the normal, or changing the sign without turning the fraction upside down.
  • Forgetting that a horizontal tangent has a vertical normal, x=a (a is the x-coordinate of the point), with no gradient to find.
  • Solving a derivative inequality and giving y-values instead of x-values.
  • Dividing both sides of dydx=0 by x, and losing the solution x=0.
  • Giving only the x-coordinate of a stationary point, when the question asks for the point.
  • Saying a stationary point is a minimum because d2ydx2=0, or an inflection because it is 0, without checking the sign of the gradient.
  • In optimisation, giving x when the question asks for the greatest value, and forgetting units.
  • Keeping a solution that is not allowed in the problem, such as a negative length.

I can…

Come back in a week and tick again, without looking.

Back to the pyramid Glossary