Applications of differentiation · Lesson 1 of 2

Stationary points and optimisation

Find and classify stationary points, find where a function is increasing or decreasing, sketch a curve, solve 'largest' and 'smallest' problems by writing the quantity in one letter first, and find the greatest height of a thrown object.

25 minYou should already know: Differentiation Calculus (JAMB bridge)
  1. 1
  2. 2

In General Maths you found stationary points by setting dydx=0\frac{dy}{dx} = 0 (see calculus). Further Maths asks you to classify them, then to use the same idea to find the best value of something: the largest area, the smallest surface, the greatest height.

Stationary points and their nature

At a stationary point the tangent is flat: dydx=0\frac{dy}{dx} = 0. The second derivative tells you which kind it is:

  • d2ydx2<0\dfrac{d^2y}{dx^2} < 0: the gradient is falling through 0, so it is a maximum;
  • d2ydx2>0\dfrac{d^2y}{dx^2} > 0: the gradient is rising through 0, so it is a minimum.
xmaxmin+−−+
Maximum and minimumFlat tangents: the gradient goes + 0 − at a maximum and − 0 + at a minimum

Worked example · WAEC 2013

WAEC 2013 · Paper 2 · Q12 (a)

Find the maximum and minimum points of the curve y=2x3−3x2−12x+4y = 2x^3 - 3x^2 - 12x + 4.

  1. Where is the gradient zero?

    • dydx=6x2−6x−12{\frac{dy}{dx} = 6x^2 - 6x - 12}.
    • Take out 6: 6(x2−x−2)=6(x−2)(x+1){6(x^2 - x - 2) = 6(x - 2)(x + 1)}.
    • So dydx=0{\frac{dy}{dx} = 0} at x=2{x = 2} and x=−1{x = -1}.

    Think first. Differentiate, then factorise.

  2. Which is which?

    • d2ydx2=12x−6{\frac{d^2y}{dx^2} = 12x - 6}.
    • At x=−1{x = -1}: −18<0{-18 < 0}, so a maximum.
    • At x=2{x = 2}: 18>0{18 > 0}, so a minimum.

    Think first. Find the second derivative and its sign at each point.

  3. The points

    • x=−1{x = -1}: y=−2−3+12+4=11{y = -2 - 3 + 12 + 4 = 11}. The maximum point is (−1,11){(-1, 11)}.
    • x=2{x = 2}: y=16−12−24+4=−16{y = 16 - 12 - 24 + 4 = -16}. The minimum point is (2,−16){(2, -16)}.

    Think first. Put each x into the curve, not into dy/dx.

More: stationary points

Increasing and decreasing functions

A function is increasing where its graph rises from left to right, so its gradient is positive. It is decreasing where the graph falls, so its gradient is negative:

f′(x)>0: increasingf′(x)<0: decreasingf'(x) > 0: \text{ increasing} \qquad f'(x) < 0: \text{ decreasing}
xf′ > 0f′ < 0f′ > 0
Rising and fallingf′(x) > 0 where the curve rises, f′(x) < 0 where it falls; the turning points separate the two

To find the interval, differentiate and solve the inequality. When f′(x)f'(x) is a quadratic, find its roots first. With a positive x2x^2 term it is negative between the roots and positive outside them (see quadratic inequalities).

Worked example

Find the range of values of xx for which f(x)=x3−6x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1 is decreasing.
  1. The gradient

    • f′(x)=3x2−12x+9{f'(x) = 3x^2 - 12x + 9}.
    • Take out 3: f′(x)=3(x2−4x+3){f'(x) = 3(x^2 - 4x + 3)}.
    • Factorise: f′(x)=3(x−1)(x−3){f'(x) = 3(x - 1)(x - 3)}.

    Think first. Differentiate, then factorise.

  2. Where is it zero?

    • f′(x)=0{f'(x) = 0} at x=1{x = 1} and x=3{x = 3}.

    Think first. These are the turning points.

  3. Where is it negative?

    • f′(x){f'(x)} has a positive x2x^2 term, so it is negative between the roots.
    • Test x=2{x = 2}: 3(1)(−1)=−3<0{3(1)(-1) = -3 < 0}. It agrees.
    • So ff is decreasing for 1<x<3{1 < x < 3}.

    Think first. Positive x² term: negative between the roots or outside them?

More: increasing and decreasing

Sketching a curve

A sketch shows the shape and the key points; it is not a plotted graph, so you don’t need a table of values. Find these, then join them with a smooth curve:

x=0: the y-intercepty=0: the x-interceptsdydx=0: the turning points\begin{aligned} x = 0 &: \text{ the } y\text{-intercept} \\ y = 0 &: \text{ the } x\text{-intercepts} \\ \tfrac{dy}{dx} = 0 &: \text{ the turning points} \end{aligned}
xymaxminx = 0y = 0
Sketching a cubicPut x = 0 and y = 0 for the intercepts, find the turning points, then show where the ends go
  1. Intercepts. Put x=0x = 0 for where it cuts the yy-axis. Put y=0y = 0 and factorise for where it meets the xx-axis. A squared factor such as x2x^2 means the curve touches the axis there instead of crossing it.
  2. Turning points. Solve dydx=0\frac{dy}{dx} = 0 and use d2ydx2\frac{d^2y}{dx^2} to say which is a maximum and which a minimum.
  3. The ends. For large ∣x∣|x| the highest power wins. For a cubic with a positive x3x^3 term the curve comes up from the bottom left and goes off to the top right; with a negative x3x^3 term it is the other way round.
  4. Join the points with a smooth curve, and label each point with its coordinates.

Worked example · WAEC 2014

WAEC 2014 · Paper 2 · Q11 (b)

Sketch the curve y=9x−x3y = 9x - x^3.

Calculate the total area bounded by the xx-axis and the curve y=9x−x3y = 9x - x^3.

  1. Where it cuts the axes

    • x=0{x = 0} gives y=0{y = 0}: the curve passes through the origin.
    • y=0{y = 0}: x(9−x2)=0{x(9 - x^2) = 0}.
    • Difference of two squares: x(3−x)(3+x)=0{x(3 - x)(3 + x) = 0}.
    • So it crosses the xx-axis at x=−3{x = -3}, 0{0} and 3{3}.

    Think first. Put x = 0, then put y = 0 and factorise.

  2. The turning points

    • dydx=9−3x2=0{\frac{dy}{dx} = 9 - 3x^2 = 0}, so x2=3{x^2 = 3}.
    • So x=3{x = \sqrt3} or x=−3{x = -\sqrt3}.
    • d2ydx2=−6x{\frac{d^2y}{dx^2} = -6x}.
    • At x=3{x = \sqrt3} it is negative: a maximum.
    • There y=93−33=63≈10.4{y = 9\sqrt3 - 3\sqrt3 = 6\sqrt3 \approx 10.4}.
    • At x=−3{x = -\sqrt3} it is positive: a minimum, y=−63≈−10.4{y = -6\sqrt3 \approx -10.4}.

    Think first. Set dy/dx = 0, then use the second derivative.

  3. The ends

    • For large ∣x∣|x| the −x3{-x^3} term wins.
    • Large negative xx: yy is large and positive, so the curve starts at the top left.
    • Large positive xx: yy is large and negative, so it ends at the bottom right.

    Think first. Which term wins when x is large?

  4. The sketch

    • From the top left, down through (−3,0){(-3, 0)} to the minimum (−3,−63){(-\sqrt3, -6\sqrt3)}.
    • Up through the origin to the maximum (3,63){(\sqrt3, 6\sqrt3)}.
    • Down through (3,0){(3, 0)} and off to the bottom right.

    Think first. Join the points in order from left to right.

  5. (ii) The total area

    • ∫03(9x−x3) dx=[9x22−x44]03{\int_0^3 (9x - x^3)\,dx = \left[\frac{9x^2}{2} - \frac{x^4}{4}\right]_0^3}.
    • =812−814=814{= \frac{81}{2} - \frac{81}{4} = \frac{81}{4}}.
    • The part from −3-3 to 00 is the same size below the axis: 814{\frac{81}{4}}.
    • Total: 814+814=40.5{\frac{81}{4} + \frac{81}{4} = 40.5} square units (see areas below the axis).

    Think first. The curve is below the axis on one side of 0. Integrate each part separately.

More: sketching curves

Optimisation: the best value

“Largest” and “smallest” questions are stationary-point questions in disguise. The quantity usually depends on two letters, linked by a fact the question gives (a fixed volume, a fixed length of fence). Use the fact to write the quantity in one letter first:

1. write the quantity in one letter, using the given fact2. differentiate and set it = 03. solve, then check it is a max or min4. answer the question asked
A best-value problemOne letter, differentiate, set to zero, check, answer

Slide xx and look for the flat tangent:

Find the best xPick a problem, slide x
51015202530100200300400500xy
352area (m²)28dA/dx = 60 − 4x
Two sides of x m and one of (60 − 2x) m. So A = x(60 − 2x) = 60x − 2x². The gradient is positive, so increasing x improves it. Solve 60 − 4x = 0 to jump straight to x = 15.

Worked example · WAEC 2022

WAEC 2022 · Paper 2 · Q10

A solid rectangular block has a base which measures 3x cm3x\text{ cm} by 2x cm2x\text{ cm}. The height of the block is y cmy\text{ cm} and its volume is 72 cm372\text{ cm}^3.

Express yy in terms of xx.

Find an expression for the total surface area of the block in terms of xx only;

Find the value of xx for which the total surface area has a stationary value (2 d.p.).

  1. Use the volume

    • 3x×2x×y=72{3x \times 2x \times y = 72}, so 6x2y=72{6x^2y = 72}.
    • So y=12x2{y = \frac{12}{x^2}}.

    Think first. Volume = length × width × height. Make y the subject.

  2. The surface area

    • Top and bottom: 2×3x×2x=12x2{2 \times 3x \times 2x = 12x^2}.
    • Two faces 3x3x by yy: 6xy{6xy}. Two faces 2x2x by yy: 4xy{4xy}.
    • So A=12x2+10xy{A = 12x^2 + 10xy}.
    • Substitute y=12x2{y = \frac{12}{x^2}}: A=12x2+120x{A = 12x^2 + \frac{120}{x}}.

    Think first. Six faces, in three pairs. What is the area of each pair?

  3. Set dA/dx = 0

    • dAdx=24x−120x2{\frac{dA}{dx} = 24x - \frac{120}{x^2}}.
    • Set it to 0: 24x=120x2{24x = \frac{120}{x^2}}, so 24x3=120{24x^3 = 120}.
    • So x3=5{x^3 = 5} and x=53≈1.71{x = \sqrt[3]5 \approx 1.71}.
    • Check: d2Adx2=24+240x3>0{\frac{d^2A}{dx^2} = 24 + \frac{240}{x^3} > 0}, so this is the smallest surface area.

    Think first. Differentiate 12x² + 120x⁻¹.

Greatest height

For an object thrown upwards, the height hh depends on the time tt. At the top it is momentarily at rest: its velocity dhdt\frac{dh}{dt} is 0. So the greatest height is a maximum-point question.

Worked example · WAEC 2016

WAEC 2016 · Paper 2 · Q7

A ball is thrown vertically upwards from ground level and its height after tt seconds is (15.4t−4.9t2) m(15.4t - 4.9t^2)\text{ m}. Find, correct to one decimal place, the:

time it takes to reach the maximum height;

maximum height it attains.

  1. When is it at rest?

    • dhdt=15.4−9.8t=0{\frac{dh}{dt} = 15.4 - 9.8t = 0}.
    • So t=15.49.8=117≈1.6{t = \frac{15.4}{9.8} = \frac{11}{7} \approx 1.6} s.

    Think first. Differentiate h and set it to 0.

  2. The greatest height

    • 15.4×117=24.2{15.4 \times \frac{11}{7} = 24.2}.
    • 4.9×(117)2=4.9×12149=12.1{4.9 \times \left(\frac{11}{7}\right)^2 = 4.9 \times \frac{121}{49} = 12.1}.
    • So h=24.2−12.1=12.1{h = 24.2 - 12.1 = 12.1} m.

    Think first. Put t = 11/7 into the height, not the velocity.

More: motion

Your turn

WAEC 2018 · Paper 2 · Q8

A body is thrown vertically upwards. Its height hh metres at time tt seconds is given by h=(12t−25t2) mh = \left(12t - \frac25t^2\right)\text{ m}. Find:

  1. (a)

    the time at which it is momentarily at rest;

  2. (b)

    the maximum height reached by the body.

Worked solution (try it first)

(a)

  1. The body is momentarily at rest when its velocity is zero: dhdt=12−45t=0\dfrac{dh}{dt} = 12 - \dfrac45t = 0.
  2. So 45t=12\dfrac45t = 12 and t=15t = 15 s.

(b)

  1. Put t=15t = 15 into the height: h=12(15)−25(15)2h = 12(15) - \frac25(15)^2
    =180−90= 180 - 90
    =90= 90 m.

Report a problem with this question