Derivative Created 2026-09-24 Updated 2026-10-14
The derivative measures the instantaneous rate at which a function changes. For a real function defined near , it exists when the difference quotient has a finite two-sided limit:The quotient is the slope of the straight line joining two nearby points of the graph. Its limit is the slope of the tangent line. Thus a derivative describes a local rate without choosing a particular finite measurement interval.
For , expanding the numerator givesAt , the increments , and give secant line slopes , and . The limit is , and the tangent line is . The picture makes the limiting process visible.
The same calculation shows why the derivative is useful for approximation:This is a local linear approximation. Near , replacing by makes the exact error , smaller than the leading change when is small. A curved graph can therefore be studied locally using a straight line.
If the function records position against time, its derivative is velocity. If it records an objective function, its derivative tests local changes that matter in optimization; in several variables, the gradient collects these directional rates and guides gradient descent. The interpretation comes from the function and its units, rather than from a new rule for each application.
Existence matters. For the absolute value function , the one-sided derivatives at zero are and , so there is no single tangent line described by a finite derivative there. Nor does a zero derivative alone identify a maximum or minimum: has but keeps increasing through zero.
Divided difference Created 2026-09-24 Updated 2026-10-14
For distinct interpolation nodes, the divided difference is the coefficient of in the interpolation polynomial of polynomial degree at most through those interpolation nodes. It is the leading coefficient when that polynomial degree is exactly , and zero when it is smaller. Explicitly,starting with . The divided differences obey the recurrenceFor data , , , the first divided differences are and . The second divided difference is , the leading coefficient of . The first divided difference is the slope of a secant line; higher divided differences supply successive coefficients for the Newton polynomial.
Lipschitz continuity Created 2026-09-24 Updated 2026-10-14
A function between metric spaces is Lipschitz continuous if one finite number controls every change of output by the corresponding change of input:For real inputs and outputs this is . The same bound must work for every pair in the specified domain of a function. It gives a quantitative version of continuity: an input error of at most produces an output error of at most . The least possible bound is the Lipschitz constant. Lebl presents the real and metric-space definitions and their connection with uniform continuity. [ref]
Three functions show why this condition differs from differentiability. The absolute value has a corner at zero, but the reverse triangle inequality gives , so it has Lipschitz constant one on the real line. The sine is smooth and also has Lipschitz constant one: the mean value theorem and bound every secant slope. The square root is continuous on , butNo finite Lipschitz bound works on that interval. At , the ratios are . Smaller input changes near zero therefore require larger amplification factors.
Bounded secant slopes permit a corner, while the square root needs unbounded amplification near zero
. Details. For a real function, Lipschitz continuity means that the absolute slopes of all secant lines are bounded. If the derivative exists at a point, taking a limit of those slopes gives . In the other direction, a function that is continuous on a real interval, differentiable in its interior, and satisfies there is Lipschitz continuous by the mean value theorem. The interval hypothesis matters: the theorem uses the segment connecting the two inputs.
A Lipschitz function is uniformly continuous: for , choosing input tolerance works at every point. If , the function is constant. The converse fails; the square root on is uniformly continuous, and satisfies the weaker Hölder continuity bound , without a finite Lipschitz constant. These distinctions are developed in Lebl's worked examples. [ref]
The usefulness is controlled sensitivity. Successive Lipschitz maps with bounds and have a function composition with bound , because each stage amplifies the previous distance by at most its own bound. For an ordinary differential equation, Lipschitz continuity in the unknown state is the condition that makes nearby trial solutions controllably close in the Picard-Lindelöf theorem. For incomplete data, the McShane extension theorem fills in unobserved values while preserving the same bound. This one inequality connects error estimates, uniqueness, and interpolation.
Mean value theorem Created 2026-09-24 Updated 2026-10-14
The mean value theorem says that an average rate of change is attained as an instantaneous rate somewhere between the endpoints. Let and let the real-valued function be continuous on the closed interval and differentiable on the open interval . Then there exists such thatThe right-hand side is the slope of the secant line joining to ; the left-hand side is the slope of the tangent line at . The derivative need not be continuous, and the function need not be differentiable at the endpoints. [ref]
For the polynomial on , the secant line has slope . Since the derivative is , the required interior point is . The tangent line there is , whereas the secant line is . Their equal slopes make them parallel, but they are distinct straight lines: the theorem equates rates, not heights.
The practical strength is that the unknown point can disappear from an estimate. Under the same hypotheses, if the derivative satisfies throughout , where , thenApplying this to every subinterval proves Lipschitz continuity with Lipschitz bound . For example, on has , so an input change of size at most changes its output by at most , as long as both inputs lie in that interval. A local derivative bound therefore controls finite changes without computing an integral. The sign of the derivative similarly gives the derivative criterion for monotonicity.
Taking shows that a function with zero derivative throughout a real interval is a constant function, provided it is continuous at any included endpoints. The interval condition is essential: on the domain of a function , the function equal to zero on the left interval and one on the right interval has zero derivative everywhere. It is a locally constant function, yet not a constant function on the whole domain of a function. The mean value theorem cannot cross the gap.
A concise proof subtracts the secant line: set and . Then , and Rolle's theorem gives an interior point with . The geometric idea is to remove the average trend and find a horizontal tangent line in what remains.
Rolle theorem Created 2026-09-24 Updated 2026-10-14
Rolle's theorem is the equal-endpoint case of the mean value theorem. Let and let the real-valued function be continuous on the closed interval and differentiable on the open interval . If , there exists with . Geometrically, a tangent line somewhere in the interior is horizontal, like the secant line joining the endpoints. [ref]
For the polynomial on , both endpoint values are zero and the derivative is . Thus , where , and the horizontal tangent line is . The horizontal secant line is : equal endpoint values do not force the interior tangent line to pass through those endpoints.
The absolute value function on exposes the importance of differentiability. It is continuous and , so the secant line has slope zero. However,and the derivative does not exist at zero because the one-sided derivatives disagree. Every existing derivative in the interior is nonzero. The corner fails a hypothesis of both Rolle's theorem and the mean value theorem, so neither conclusion is guaranteed.
Rolle's theorem gives a horizontal tangent line for a polynomial, while a corner defeats differentiability
. Details. For a short proof, the extreme value theorem supplies a greatest and a least value on . If is a constant function, every interior point works. Otherwise at least one of these values differs from the common endpoint value, so it is attained at an interior extremum. At an interior local maximum or local minimum, differentiability forces the derivative to be zero: the difference quotients from the two sides have opposite weak signs and the same limit.
This turns repeated values into information about derivatives. Two distinct roots of a polynomial force a root of its derivative between them; iterating this idea gives the Rolle root count with multiplicities. More generally, a differentiable function with nonzero derivative throughout a real interval cannot repeat a value there, hence is injective. The beauty is that knowing only two equal values guarantees an exact local feature somewhere between them.
Secant line 2026-10-14
A secant line is a straight line passing through two distinct points of a curve. For a graph at and , its slope is the difference quotient . As the second point approaches the first, a limiting secant line can give the tangent line.



