The First-Derivative Test #
We prove the first-derivative test in the strong form given on Wikipedia.
The test is proved over the real numbers ℝ
using monotoneOn_of_deriv_nonneg from [Mathlib.Analysis.Calculus.MeanValue].
Main results #
isLocalMax_of_deriv_Ioo: Supposefis a real-valued function of a real variable defined on some interval containing the pointa. Further suppose thatfis continuous ataand differentiable on some open interval containinga, except possibly ataitself.If there exists a positive number
r > 0such that for everyxin(a − r, a)we havef′(x) ≥ 0, and for everyxin(a, a + r)we havef′(x) ≤ 0, thenfhas a local maximum ata.isLocalMin_of_deriv_Ioo: The dual offirst_derivative_max, for minima.isLocalMax_of_deriv: 1st derivative test for maxima using filters.isLocalMin_of_deriv: 1st derivative test for minima using filters.
Tags #
derivative test, calculus
The First-Derivative Test from calculus, maxima version.
Suppose a < b < c, f : ℝ → ℝ is continuous at b,
the derivative f' is nonnegative on (a,b), and
the derivative f' is nonpositive on (b,c). Then f has a local maximum at a.
The First-Derivative Test from calculus, minima version.
The First-Derivative Test from calculus, maxima version, expressed in terms of left and right filters.
The First-Derivative Test from calculus, minima version, expressed in terms of left and right filters.
The First Derivative test, maximum version.
The First Derivative test, minimum version.