Maximum and minimum values of a function

A maximum value of a function is one that is greater than any values immediately preceding or following. A minimum value of a function is one that is less than any values immediately preceding or following.

For example, in Figure 8.7, it is clear that the function has a maximum value ($ y = 2$) when $ x=1$, and a minimum value ($ y = l$) when $ x = 2$.

The student should observe that a maximum value is not necessarily the greatest possible value of a function nor a minimum value the least. For in Figure 8.7 it is seen that the function ($ = y$) has values to the right of $ x=1$ that are greater than the maximum $ 2$, and values to the left of $ x=1$ that are less than the minimum $ 1$.

Figure 8.8: A continuous function.
\includegraphics[height=7cm,width=11cm]{curve-tangent3.eps}

A function may have several maximum and minimum values. Suppose that Figure 8.8 represents the graph of a function $ f(x)$.

At B, F the function is at a local maximum, and at D, G a minimum. That some particular minimum value of a function may be greater than some particular maximum value is shown in the figure, the minimum value at D being greater than the maximum value at G.

At the ordinary critical points D, F, H the tangent (or curve) is parallel to the $ x$-axis; therefore

$\displaystyle {\rm slope} = \frac{dy}{dx} = f'(x) = 0.
$

At the exceptional critical points A, B, G the tangent (or curve) is perpendicular to the $ x$-axis, giving

$\displaystyle {\rm slope} = \frac{dy}{dx} = f'(x) = \infty .
$

One of these two conditions is then necessary in order that the function shall have a maximum or a minimum value. But such a condition is not sufficient; for at H the slope is zero and at A it is infinite, and yet the function has neither a maximum nor a minimum value at either point. It is necessary for us to know, in addition, how the function behaves in the neighborhood of each point. Thus at the points of maximum value, B, F, the function changes from an increasing to a decreasing function, and at the points of minimum value, D, G, the function changes from a decreasing to an increasing function. It therefore follows from §8.3 that at maximum points

slope $ = \frac{dy}{dx} = f'(x)$ must change from + to -,
and at minimum points

slope $ = \frac{dy}{dx} = f'(x)$ must change from - to +
when we move along the curve from left to right.

At such points as A and H where the slope is zero or infinite, but which are neither maximum nor minimum points,

slope $ = \frac{dy}{dx} = f'(x)$ does not change sign.
We may then state the conditions in general for maximum and minimum values of $ f(x)$ for certain values of the variable as follows:

$\displaystyle f(x) \ {\rm is\ a\ maximum\ if\ }f'(x) = 0, \ {\rm and}\ f'(x)\ {\rm changes\ from\ } +\ {\rm to}\ -.$ (8.1)

$\displaystyle f(x) \ {\rm is\ a\ minimum\ if}\ f'(x) = 0,\ {\rm and}\ f'(x)\ {\rm changes\ from}\ -\ {\rm to}\ +.$ (8.2)

The values of the variable at the turning points of a function are called critical values; thus $ x=1$ and $ x = 2$ are the critical values of the variable for the function whose graph is shown in Figure 8.7. The critical values at turning points where the tangent is parallel to the $ x$-axis are evidently found by placing the first derivative equal to zero and solving for real values of $ x$, just as under §6.1. (Similarly, if we wish to examine a function at exceptional turning points where the tangent is perpendicular to the $ x$-axis, we set the reciprocal of the first derivative equal to zero and solve to find critical values.)

To determine the sign of the first derivative at points near a particular turning point, substitute in it, first, a value of the variable just a little less than the corresponding critical value, and then one a little greater8.5. If the first gives $ +$ (as at L, Figure 8.8) and the second - (as at M), then the function ($ = y$) has a maximum value in that interval (as at I). If the first gives $ -$ (as at P) and the second $ +$ (as at N), then the function ($ = y$) has a minimum value in that interval (as at C).

If the sign is the same in both cases (as at Q and R), then the function ($ = y$) has neither a maximum nor a minimum value in that interval (as at F)8.6.

We shall now summarize our results into a compact working rule.

david joyner 2008-08-11