Sec 4 G2 and G3 A-Maths

Maxima and Minima

A stationary point has a horizontal tangent. How do you decide whether the curve has reached a peak or a trough?

First solve for where the first derivative is zero. Then inspect how the gradient changes. A positive second derivative bends the curve upwards at a stationary point, giving a local minimum. A negative second derivative gives a local maximum. If the second derivative is zero, check the first derivative on both sides.

Worked example

Find the stationary points of y=x+x+8x−1y=x+\dfrac{x+8}{x-1} and decide which is a local maximum.

  1. y=x+1+9x−1y=x+1+\dfrac9{x-1}

    The numerator is the denominator plus 9. Splitting the fraction leaves a constant and a reciprocal power to differentiate.

  2. dydx=1−9(x−1)2\dfrac{dy}{dx}=1-\dfrac9{(x-1)^2}

    Write the fraction as 9(x−1)−19(x-1)^{-1} and differentiate. The +1 has derivative zero, and the original curve is undefined at x=1x=1.

  3. (x−1)2=9(x-1)^2=9

    Set the derivative equal to zero. Taking both square roots gives x=−2x=-2 and x=4x=4. Substituting into y gives the points (−2,−4)(-2,-4) and (4,8)(4,8).

  4. d2ydx2=18(x−1)3\dfrac{d^2y}{dx^2}=\dfrac{18}{(x-1)^3}

    At −2 the second derivative is negative, so the left branch has a local maximum. At 4 it is positive, so the right branch has a local minimum.

Turning a design constraint into a maximum

A rectangular garden uses exactly 20 m of edging. What dimensions give the greatest area?

  1. 2x+2w=202x+2w=20, so w=10−xw=10-x.

    The edging fixes the perimeter. Writing the width in terms of the length leaves just one input to vary, with 0<x<100<x<10.

  2. A=x(10−x)A=x(10-x), so A′=10−2xA^{\prime}=10-2x.

    The area is stationary at x=5x=5. The gradient is positive before 5 and negative after 5 throughout the allowed interval.

  3. A=5×5=25A=5\times5=25

    The area increases and then decreases, so its greatest value is 25 square metres, for a square measuring 5 m on each side.

Your turn

Can a stationary point fail to be either a maximum or a minimum? Try y=x3y=x^3 at zero.

Show the reasoning

Yes. Its derivative 3x23x^2 equals zero there but is positive on either side. The curve flattens momentarily and keeps rising.