Serlo: EN: Derivative and local extrema
{{#invoke:Mathe für Nicht-Freaks/Seite|oben}}
In this chapter we will use derivatives to derive necessary and sufficient criteria for the existence of extrema. In calculus, one often uses the theorem that a function must necessarily satisfy so that has a (local) extremum in . If the derivative function in addition changes the sign at , then we have found an extremum. The sign change of the derivative is therefore a sufficient criterion for the extremum. We will now derive this statement and other consequences mathematically and illustrate them with the help of numerous examples. First, however, we will clearly define what an extremum is and what kinds of extrema there are.
Types of extrema
A function can have two types of an extremum: A maximum or a minimum. This in turn can be local or global. As the names already suggest, a local minimum is for example a value , which is "locally minimal", i.e. In a neighbourhood of there is also . Mathematically: There is an interval around , so that for all arguments which lie in . A global maximum on the other hand is a value , which is "everywhere maximal". That means, for all arguments from the domain of definition, we must have . This intuitive idea is illustrated in the following figure:

For local extrema, a distinction is also made between strict and non-strict extrema. A strict local minimum, for example, is one that is only "strictly" attained at a single point. A non-strict extremum can be attained on an entire subinterval.

We now define the intuitively explained terms formally:
Mathe für Nicht-Freaks: Vorlage:Definition
A local maximum/minimum is also sometimes referred to in the literature as relative maximum/minimum, and a strict maximum/minimum as isolated maximum/minimum. With this definition it is also clear that every global extremum is also a local one. Similarly, every strict local extremum is also a local extremum in the usual sense. In the following we want to determine some necessary and sufficient conditions for (strict) local extrema, using the derivative. Unfortunately our criteria are not sufficient to characterise global extrema. Those are a bit harder to catch!
Mathe für Nicht-Freaks: Vorlage:Frage
Necessary condition for extrema
Theorem and proof
In order for a function to have a local extremum at a position within its domain of definition, the function must have a horizontal tangent there. This means that the derivative at this point must be zero. This is exactly what the following theorem says:
Mathe für Nicht-Freaks: Vorlage:Satz
Examples
Mathe für Nicht-Freaks: Vorlage:Beispiel
Mathe für Nicht-Freaks: Vorlage:Beispiel
Mathe für Nicht-Freaks: Vorlage:Beispiel
Mathe für Nicht-Freaks: Vorlage:Beispiel
Exercises
Mathe für Nicht-Freaks: Vorlage:Gruppenaufgabe
Application: Intermediate values for derivatives
We have already stated in the previous sections that the derivative function of a differentiable function does not necessarily have to be continuous. An example for this is the following function, which we have learned about in the chapter "derivatives of higher order":
However, it can be shown that the derivative function always fulfils the intermediate value property. The reason why this is not a contradiction is that continuity is a stronger property than the intermediate value property. To prove this, we will use our necessary criterion from the previous theorem. This result is also known in the literature as "Darboux's theorem":
Mathe für Nicht-Freaks: Vorlage:Satz
Necessary condition: sign change
Theorem
For many functions it can be tedious to determine only with the necessary condition whether has an extremum in : There is a proof necessary that the function actually does not get greater or lower within the environment. Therefore we are now looking for sufficient conditions for an extremum, which saves us the extra proof work. One possibility is to investigate in the surroundings of the possible extremum . If the function increases on the left of and decreases on the right, then there is a maximum. If the function first decreases and then increases, there is a minimum.
Mathe für Nicht-Freaks: Vorlage:Satz
Mathe für Nicht-Freaks: Vorlage:Hinweis
Mathe für Nicht-Freaks: Vorlage:Warnung
Example
Mathe für Nicht-Freaks: Vorlage:Beispiel
Mathe für Nicht-Freaks: Vorlage:Frage
Exercises
Mathe für Nicht-Freaks: Vorlage:Aufgabe
Conditions are not necessary
The condition in the previous theorem is a sufficient condition for the existence of an extreme point. There is however no necessary condition. We do not have that an extreme position exists exactly when one of the conditions in the previous sentence is fulfilled. The following example illustrates this.
Mathe für Nicht-Freaks: Vorlage:Beispiel
Necessary condition: presign of the second derivative
Theorem
If is twice differentiable, we can also use the following sufficient criterion:
Mathe für Nicht-Freaks: Vorlage:Satz
Mathe für Nicht-Freaks: Vorlage:Warnung
Example and Exercise
Mathe für Nicht-Freaks: Vorlage:Beispiel
Mathe für Nicht-Freaks: Vorlage:Aufgabe
Extended sufficient crietrion
The problem with functions like is that and so the second derivative vanishes. We cannot decide just by the second derivative whether and what kind of extrema are present. If we now differentiate two more times, we get . The question now is whether we can conclude from this, analogous to the second criterion, that in has a strict local minimum.
The answer is "yes" - but there is something we need to take care of: Let us look at the example . This has, in contrast to no extremum at , but a saddle point. And this although for the third derivative is also . The difference is that here the smallest derivative order, which is not equal to zero, is equal to and therefore odd. With on the other hand, the smallest order is , so it is even. We can generalize this to the following criterion:
Mathe für Nicht-Freaks: Vorlage:Satz
{{#invoke:Mathe für Nicht-Freaks/Seite|unten}}