Local Extrema of Functions
Definition of Local Maximum and Local Minimum
Let a function y = f (x) be defined in a δ-neighborhood of a point x0, where δ > 0. The function f (x) is said to have a local (or relative) maximum at the point x0, if for all points x ≠ x0 belonging to the neighborhood (x0 − δ, x0 + δ) the following inequality holds:
If the strict inequality holds for all points x ≠ x0 in some neighborhood of x0:
then the point x0 is a strict local maximum point.
Similarly, we define a local (or relative) minimum of the function
Accordingly, a strict local minimum is described by the inequality
The concepts of local maximum and local minimum are united under the general term local extremum. The word "local" is often ommitted for brevity, so it is said simply about maxima and minima of functions.
Figure
Similarly, the point
(Of course, the number
The subsequent points are classified as follows:
is a strict minimum point; is a non-strict maximum point; is a non-strict maximum or minimum point; is a non-strict maximum point; is a non-strict minimum point; is a non-strict maximum or minimum point; is a non-strict maximum point; − there is no extremum.
Necessary Condition for an Extremum
We introduce some more concepts.
The points at which the derivative of the function
The points at which the derivative of the function
A necessary condition for an extremum is formulated as follows:
If the point
The proof of the necessary condition follows from Fermat's theorem.
Note that the necessary condition does not guarantee the existence of an extremum. A classic illustration here is the cubic function
Local extrema of differentiable functions exist when the sufficient conditions are satisfied. These conditions are based on the use of the first-, second-, or higher-order derivative. Respectively,
First Derivative Test
Let the function
- If the derivative
changes sign from minus to plus when passing through the point (from left to right), then is a strict minimum point (Figure ). In other words, in this case there exists a number such thatFigure 2. - If the derivative
on the contrary, changes sign from plus to minus when passing through the point then is a strict maximum point (Figure ). In other words, there exists a number such thatFigure 3.
Proof.
We confine ourselves to the case of the minimum. Suppose that the derivative
By Lagrange's theorem, the difference of the values of the function at the points
where the point
Likewise, it is established that
(to the right of the point
Based on the definition, we conclude that
Similarly, we can prove the first derivative test for a strict maximum.
Note that the first derivative test does not require the function to be differentiable at the point
Second Derivative Test
Let the first derivative of a function
- If
then is a strict minimum point of the function ; - If
then is a strict maximum point of the function
Proof.
In the case of a strict minimum
Since
The case of the maximum can be considered in a similar way.
The second derivative test is convenient to use when calculation of the first derivatives in the neighborhood of a stationary point is difficult. On the other hand, the second test may be used only for stationary points (where the first derivative is zero) − in contrast to the first derivative test, which is applicable to any critical points.
Third Derivative Test
Let the function
the point
- a strict minimum point if
and - a strict maximum point if
For odd
It is clear that for
Proof.
Expand the function
Since, by assumption, all of the first derivatives up to the
where the remainder term
or
If
Consequently, in this case
If
By definition, this means that
Similarly, if
that corresponds to a strict maximum point.
If
that the difference