1 Maxima and minima

Consider the curve

y = f ( x ) a x b

shown in Figure 7:

Figure 7

A graph showing a function f(x) plotted on the y-axis versus x on the x-axis, with marked points indicating local extrema.

Long description

By inspection we see that there is no y -value greater than that at x = a (i.e. f ( a ) ) and there is no value smaller than that at x = b (i.e. f ( b ) ). However, the points on the curve at x 0 and x 1 merit comment. It is clear that in the near neighbourhood of x 0 all the y -values are greater than the y -value at x 0 and, similarly, in the near neighbourhood of x 1 all the y -values are less than the y -value at x 1 .

We say f ( x ) has a global maximum at x = a and a global minimum at x = b but also has a local minimum at x = x 0 and a local maximum at x = x 1 .

Our primary purpose in this Section is to see how we might locate the position of the local maxima and the local minima for a smooth function f ( x ) .

A stationary point on a curve is one at which the derivative has a zero value. In Figure 8 we have sketched a curve with a maximum and a curve with a minimum.

Figure 8

The image displays two separate graphs, both depicting a curve plotted on a Cartesian coordinate system with the horizontal axis labeled as \(x\) and the vertical axis labeled as \(y\).

Long description

By drawing tangent lines to these curves in the near neighbourhood of the local maximum and the local minimum it is obvious that at these points the tangent line is parallel to the x -axis so that

d f d x x 0 = 0

Key Point 3

Points on the curve y = f ( x ) at which d f d x = 0 are called stationary points of the function.

However, be careful! A stationary point is not necessarily a local maximum or minimum of the function but may be an exceptional point called a point of inflection, illustrated in Figure 9.

Figure 9

The graph of a function shows a local maximum and a local minimum around the vertical dashed line at \(x_0\).

Long description
Example 2

Sketch the curve y = ( x 2 ) 2 + 2 and locate the stationary points on the curve.

Solution

Here f ( x ) = ( x 2 ) 2 + 2 so d f d x = 2 ( x 2 ) .

At a stationary point d f d x = 0 so we have 2 ( x 2 ) = 0 so x = 2 . We conclude that this function has just one stationary point located at x = 2 (where y = 2 ).

By sketching the curve y = f ( x ) it is clear that this stationary point is a local minimum .

Figure 10

A graph showing a downward-opening parabola with a visible local maximum point at the coordinates (2, 2).

Long description
Task!

Locate the position of the stationary points of f ( x ) = x 3 1.5 x 2 6 x + 10 .

First find d f d x :

d f d x = 3 x 2 3 x 6 Now locate the stationary points by solving d f d x = 0 :

3 x 2 3 x 6 = 3 ( x + 1 ) ( x 2 ) = 0 so x = 1 or x = 2 . When x = 1 , f ( x ) = 13.5 and when x = 2 , f ( x ) = 0 , so the stationary points are ( 1 , 13.5 ) and ( 2 , 0 ) . We have, in the figure, sketched the curve which confirms our deductions.

A graph showing a curve with a local maximum and a local minimum, plotted on an x-y coordinate system.

Long description
Task!

Sketch the curve y = cos 2 x 0.1 x 3 π 4 and on it locate the position of the global maximum, global minimum and any local maxima or minima.