Summary
This lesson moves from what the derivative says at a point to what it says on an interval. It defines local extrema and proves Fermat’s theorem: if a function attains a local extremum at an interior point of its domain and is differentiable there, its derivative vanishes; the proof comes from the proposition on the sign of the derivative at a point, from the lesson on rates of change. Together with the Weierstrass theorem, from the preceding lesson, Fermat yields Rolle’s theorem; Rolle, applied to the difference between the function and its chord, yields Lagrange’s mean value theorem, according to which some tangent is parallel to the chord; and, applied to a combination of two functions, Cauchy’s mean value theorem, with which the following lesson will prove L’Hôpital’s rule. From the mean value theorem follow the first global consequences: a function with zero derivative on an interval is constant, two functions with the same derivative differ by a constant, a bound on the derivative bounds the increments, between two roots of a function there is a root of its derivative, and the limit of the derivative, if it exists, is the derivative. Simple examples show that no hypothesis of the theorems can be dropped.
Learning objectives
- Express with quantifiers what a local extremum is, and prove Fermat’s theorem, distinguishing the necessary condition it gives from a sufficient condition.
- Prove Rolle’s theorem, Lagrange’s mean value theorem and Cauchy’s mean value theorem, read them on the graph and show with counterexamples that their hypotheses cannot be dropped.
- Deduce from the mean value theorem that a function with zero derivative on an interval is constant, and obtain inequalities and error bounds from a bound on the derivative.
- Count the roots of an equation, bounding their number from above with Rolle’s theorem and from below with Bolzano’s theorem.
Local extrema and Fermat’s theorem
The lesson on the Weierstrass theorem guarantees that a function continuous on a closed and bounded interval attains its maximum and its minimum, but does not say where. To locate them, it helps to have a notion that only looks near the point: a value can be the largest among the nearby ones without being the largest of all.
Let be a function defined on a set and an element of . We say that attains a local maximum at if there exists a such that no value of at the points of whose distance from is less than exceeds , and that it attains a local minimum at if none of those values is less than :
A local extremum is a local maximum or a local minimum. The point is an interior point of if there exists an such that .
If attains its maximum on at the point , in the sense of the preceding lesson, it attains a local maximum there, with any ; the converse is false. Consider . Since , we have for every : the function attains at a local maximum, with , which is not its maximum on , because . The interior points of an interval are all its points except the endpoints that belong to it; those of are those of . A local extremum can lie on the boundary: the function , on , attains its minimum at and its maximum at .
Let be a function defined on a set and an interior point of . If attains at a local extremum and is differentiable at , then . If the derivative were positive, the proposition on the sign of the derivative would place to the right of , very close to it, values greater than ; if it were negative, it would place them to the left. The figure shows, with and its local maximum at , why neither of the two slopes is possible.
Proof
Suppose first that attains at a local maximum, with some , and let be such that the interval is contained in . Let be the restriction of to . Every of with lies in ; by the lemma on the local character of the derivative, from the lesson on differentiation rules, is differentiable at , with the same derivative.
If , the proposition on the sign of the derivative at a point, from the lesson on rates of change, applied to on the open interval , gives a such that for every of with . Let be the smallest of the numbers , and . The point lies in , satisfies that condition and its distance from is less than : its value would be at the same time greater than and not greater. Therefore, is impossible.
If , the same proposition, with the inequalities between the values reversed, gives a such that for every of with , and the point produces the same contradiction. Since the derivative is neither positive nor negative, it is zero.
If attains at a local minimum, attains a local maximum there, and it is differentiable at , with derivative , by the theorem on the derivative of a linear combination, from the lesson on differentiation rules. By what has already been proved, that derivative is zero.
The theorem gives a necessary condition, not a sufficient one: has zero derivative at and attains no local extremum there, because it takes negative values to the left of and positive values to the right. The other two hypotheses cannot be dropped either. If is not interior, the derivative may fail to vanish: the function , on , attains its maximum at , and its derivative there, which is the limit of the difference quotient from the left because the domain has no points to the right of , equals . If is not differentiable at , the theorem says nothing: attains its minimum at , where it is not differentiable. Therefore, the local extrema of a function are sought among the interior points at which the derivative vanishes, the points at which it is not differentiable and the points that are not interior; the lesson on monotonicity will give them a name and a test for deciding which of them are extrema. Solved problem 1 of the lesson on differentiation rules observed that the horizontal tangents of touch the graph at its largest and smallest values, and announced that this was not a coincidence: a function differentiable on that attains its maximum attains it at an interior point, where Fermat’s theorem makes the derivative vanish.
Loading the content…
Completed
Sign in to save your progress