Monotonicity and the Sign of the Derivative
Suppose you are told that a function's derivative is positive everywhere on an interval. Can you conclude the function itself is increasing on that interval? The answer feels obvious from pictures of tangent lines sloping upward. But turning that picture into a proof requires real machinery. This article supplies that machinery. It derives the precise relationship between the sign of and the monotonic behavior of from the Mean Value Theorem. This result is one of the great payoffs of differential calculus. It converts a local, infinitesimal piece of information (the sign of a limit at each point) into a global statement. That statement describes the function's behavior across an entire interval. Without such a theorem, calculus could tell you the instantaneous rate of change at a point. But it could say nothing about how a function actually behaves between two points. The entire program of using derivatives to sketch graphs, solve optimization problems, and prove inequalities would collapse. The big picture is that the Mean Value Theorem is the bridge. It connects local derivative data to global function behavior. Continuity alone cannot do this job. A function can wiggle wildly while remaining continuous. But the existence of a derivative, combined with the MVT, pins down monotonic behavior completely and rigorously. This article states and proves the monotonicity theorem in full generality. It covers strictly increasing, strictly decreasing, nondecreasing, and nonincreasing cases, plus the sharp partial converse. It works through two nontrivial examples. It shows exactly which hypothesis breaks the theorem when weakened. It closes by connecting the result to two ideas it directly feeds. The first: a zero derivative forces a constant function. The second: the differentiability of inverse functions.
- The Mean Value Theorem converts pointwise information about into global information about .
- If for all in an interval, is strictly increasing on that interval, and symmetrically for .
- The theorem requires continuous on a closed interval and differentiable on its interior — a single missing point of differentiability can break monotonicity.
- The converse is asymmetric: strictly increasing differentiable functions need not have everywhere (only ), as shows.
- Nondecreasing/nonincreasing behavior corresponds exactly to / , and this direction is an if-and-only-if.
- Key idea: the sign of the derivative on an interval controls the direction of change of the function across that whole interval, via the MVT.
Where this lives today
The sign-of-the-derivative test is the working engine behind curve sketching and optimization in every calculus course and in applied fields: identifying where a cost function decreases, a population model increases, or a physical potential energy has a stable region all reduce to checking the sign of a derivative on intervals between critical points. In numerical analysis and root-finding, monotonicity certificates (proving on an interval) are used to guarantee that Newton's method or bisection converges to a unique root, since a strictly monotonic continuous function crosses zero at most once. In economics and game theory, utility and production functions are routinely assumed (or shown) to be monotonic in certain variables using exactly this derivative test, which underlies comparative statics — predicting how an equilibrium shifts when a parameter increases. In probability and statistics, cumulative distribution functions are nondecreasing by definition; verifying that a proposed density integrates to a genuinely nondecreasing CDF, or that a quantile function is well-defined, leans on part (3)/(4) of this theorem (nonnegative derivative implies nondecreasing). In cryptography and computer science, monotonic functions (e.g. in the analysis of hash function avalanche properties, or in convexity/monotonicity arguments for algorithmic bounds) are frequently certified via derivative-sign arguments when the underlying functions are real-analytic approximations. Most directly within analysis itself, this theorem is the immediate stepping stone to two central results: <a class="wiki-link" href="/wiki/math-analysis-zero-derivative-constant" data-track="wiki_article.body.wiki_link">Zero Derivative Implies Constant</a>, obtained as the special case (giving both and simultaneously, hence both nondecreasing and nonincreasing, hence constant), and <a class="wiki-link" href="/wiki/math-analysis-inverse-function-theorem-1d" data-track="wiki_article.body.wiki_link">Derivatives of Inverse Functions</a>, where strict monotonicity (guaranteed by a strict sign condition on ) is exactly the hypothesis needed to know is invertible on an interval before differentiating its inverse.
:::quiz[If for all in an open interval , and is continuous on , which conclusion is justified by the theorem?]
- is strictly increasing on
- is increasing (nondecreasing) on ✓
- is constant on
- must be strictly positive somewhere in
:::quiz[Why does the proof of part (1) of the theorem require to be continuous on the closed interval , not just differentiable on the open interval?]
- Continuity is irrelevant; only differentiability on the open interval matters
- The Mean Value Theorem's hypotheses explicitly require continuity on the closed interval to apply at the endpoints ✓
- Continuity is only needed to define and
- It is required to make itself continuous
Ask the tutor: Can you show me why the Mean Value Theorem itself fails without continuity on the closed interval, and how that failure would propagate into a broken monotonicity proof?
Let be an interval (possibly unbounded, possibly not closed) and let .
- is increasing on if for all with , we have . (Some authors call this nondecreasing.)
- is strictly increasing on if for all with , we have .
- is decreasing (or nonincreasing) and strictly decreasing are defined by reversing the inequality on .
- is monotonic on if it is increasing on or decreasing on .
If is differentiable at an interior point of , its derivative is
provided this limit exists. The goal of this article is to relate the sign of on an interval to which of the above monotonicity conditions satisfies globally on that interval.
Intuition
Picture the graph of as a road, and as the slope of the tangent line — the "instantaneous grade" — at each point . If every tangent line along a stretch of road tilts upward, your intuition says the road itself must be climbing overall: you never actually go downhill, even for an instant, so cumulatively you must rise from any earlier point to any later one. The subtlety is that "tangent line slopes up at every point" is a statement about a limit at each individual point, while "the road climbs from to " is a statement comparing the two endpoint values and directly. Bridging a pointwise (local) hypothesis to a two-point (global) conclusion is exactly the kind of gap the Mean Value Theorem is built to close: it guarantees that the average slope between any two points equals the instantaneous slope at some point in between. If instantaneous slopes are always positive, the average slope between any two points must be positive too — and average slope positive is precisely the statement that climbed. The picture below shows a function whose tangent slope is positive throughout an interval, illustrating how the secant line between any two points inherits its sign from some tangent line in between.
Central results
Let be real numbers (allowing or ), let be an interval with endpoints , and let be continuous on and differentiable at every interior point of . Then: 1. If for every interior point , then is strictly increasing on . 2. If for every interior point , then is strictly decreasing on . 3. If for every interior point , then is increasing (nondecreasing) on . 4. If for every interior point , then is decreasing (nonincreasing) on . Moreover, statements 3 and 4 admit exact converses: if is differentiable on all of and increasing (resp. decreasing) on , then (resp. ) for all . (Statements 1 and 2 do not admit exact converses; a strictly increasing differentiable function can have at isolated points.)
Proof of (1), using the Mean Value Theorem. Fix any with . Since is an interval, the entire closed interval lies in . By hypothesis is continuous on , so is continuous on ; and is differentiable at every interior point of , so in particular is differentiable on the open interval , since every point of is an interior point of (an interval containing has in its interior whenever ). These are exactly the hypotheses of the Mean Value Theorem applied on . So there exists a point such that
By hypothesis, for every interior point of ; since and consists of interior points of , we have . Because , multiplying both sides of the displayed equation by gives
so . Since with were arbitrary, is strictly increasing on . This proves (1).
Proof of (2). Apply (1) to . Since for every interior , is strictly increasing on by (1). If then , i.e. , i.e. . So is strictly decreasing.
Proof of (3). The argument mirrors (1) with a weak inequality. Fix in . As above, the MVT gives with
Since and , the right side is , so . As were arbitrary, is increasing on .
Proof of (4). Apply (3) to exactly as in the proof of (2), reversing the inequality.
Proof of the converse for (3). Suppose is differentiable at every point of (not merely the interior — we need differentiability at itself to speak of ) and increasing on . Fix any that is not the right endpoint of (so that points slightly to the right of remain in ; if is an interior point this is automatic). For small enough that , since is increasing and ,
so the difference quotient satisfies
Since is differentiable at , the limit of this difference quotient as exists and equals (the two-sided derivative, if it exists, equals both one-sided limits). A limit of a quantity that is for all small is itself — this is the order-preserving property of limits (if for all in a punctured neighborhood of and exists, the limit is ; otherwise for where is the limit, some within of would be negative, a contradiction). Hence . If instead is the right endpoint of (when has one), a symmetric argument with and the left-hand difference quotient gives the same conclusion. Either way, for every .
Proof of the converse for (4). Apply the converse of (3) to : is increasing since is decreasing, so , i.e. , i.e. .
Why (1) and (2) have no exact converse. It suffices to exhibit one strictly increasing differentiable function with a zero derivative somewhere; see the worked example with below. Strict monotonicity only forces the weak inequality (by the converse of (3), since strictly increasing implies increasing), not the strict inequality .
∎If is continuous on , differentiable on the interior of , for all interior , and the set contains no subinterval of (i.e. is not identically zero on any open subinterval), then is strictly increasing on .
By part (3) of the theorem, is increasing on . Suppose toward a contradiction that is not strictly increasing: then there exist in with (equality, since increasing already rules out ). Since is increasing, for every we have , forcing for all : is constant on . A constant function has derivative at every interior point of (directly from the difference-quotient definition: the quotient is identically ). This exhibits on the open subinterval , contradicting the hypothesis. Hence is strictly increasing.
∎Worked examples
Example 1 (a rational function with an asymmetric domain split). Let on . Determine all intervals of increase and decrease. Solution. is a polynomial, hence continuous and differentiable everywhere, with
This is a upward parabola in vanishing at and , so:
- for (both factors negative, product positive),
- for (factors opposite sign),
- for (both factors positive).
Apply the theorem on each of the three intervals , , — each is a valid interval on which is continuous and differentiable on the interior, so the theorem's hypotheses hold on each piece:
- On : on the interior , so by part (1), is strictly increasing on .
- On : on , so by part (2), is strictly decreasing on .
- On : on , so by part (1), is strictly increasing on .
(Gluing strict monotonicity across the shared endpoints is valid: e.g. for we get from the first piece and or from the second, and if trivially, so suffices; a full comparison across the boundary follows by chaining these strict inequalities through the shared point.) As a numerical check: and , confirming decreased from to , consistent with there. Also , consistent with increase on , and , consistent with increase on .
Example 2 (using the corollary to handle an isolated zero of the derivative). Let on . Show is strictly increasing on all of , even though a naive application of part (1) alone is not immediate everywhere. Solution. Compute
Since for all real , we get for every — in fact here is strictly positive everywhere, with no zero at all, so part (1) of the theorem applies directly on : is strictly increasing on . To illustrate the corollary on a case where the derivative does vanish somewhere, modify the example slightly: let . Then for all , with equality exactly at — a single point, which contains no subinterval of . By part (3), is increasing on ; by the corollary (the zero set contains no open interval), is in fact strictly increasing on , even though . Numerically: , and more finely , confirming strict increase straddling the point where the derivative vanishes.
Weaken the hypothesis of Theorem part (1) by allowing to fail to be differentiable at a single interior point, while keeping continuous there and everywhere else. We exhibit a function satisfying this weaker hypothesis that is not increasing. Define by
Check continuity at : from the left, ; from the right, . These disagree, so this particular is not even continuous at — meaning it does not satisfy the "continuous on " hypothesis, and this exact function is not a fair counterexample to the theorem as stated (the theorem correctly excludes it). The instructive point is exactly this: continuity at every point of , including the point where differentiability might fail, is doing real work. To see this, fix the discontinuity but keep differentiability failing at one interior point where is still merely continuous (not differentiable) — e.g.
is continuous everywhere on and differentiable at every point except , with
Here holds only on , not on all of , so this does not even satisfy " at every interior point" — the theorem's hypothesis genuinely fails to hold here too, and indeed is not increasing on : is fine, but while , yet , so decreases from to — is not increasing on at all, exactly because the sign hypothesis on fails at every point of , not merely at the single point . The genuinely sharp illustration: take but only claim on is false (it's negative on the left half) — so to isolate the role of the single missing differentiability point cleanly, consider instead
This is differentiable with at every point of except , where is not even continuous (left limit , right limit/value but ) — again failing continuity, not just differentiability, and again fails to be increasing: but , so jumps downward across despite everywhere it is defined.
Conclusion. In every attempt to break only the differentiability hypothesis while preserving continuity and the sign condition elsewhere, the continuity hypothesis is what actually fails, and this is not a coincidence: a jump discontinuity is precisely the mechanism by which "locally increasing everywhere it can be measured" fails to add up to "globally increasing," because the MVT cannot be applied across the point of discontinuity. This confirms both hypotheses — continuity on the closed interval and differentiability on the interior — are load-bearing: continuity is what prevents jumps that silently defeat monotonicity, and it cannot be dropped even at a single point.
Scope, edge cases & common traps
| Situation | What holds | What can fail |
|---|---|---|
| on interior, continuous on closed | strictly increasing on | — (theorem applies cleanly) |
| on interior, with isolated zeros only | strictly increasing (via corollary) | If zeros fill an interval, only get nondecreasing |
| differentiable, strictly increasing | everywhere (converse holds) | need not be everywhere ( at ) |
| continuous on but not differentiable at one interior point | Nothing guaranteed from this theorem there | Monotonicity can break at that point (see counterexample) |
| not an interval (e.g. two disjoint pieces) | Sign of controls behavior within each piece | Comparing values across pieces is not controlled by at all |
| One-sided derivative only at an endpoint | Still fine — MVT only needs interior differentiability | Do not require differentiability at or themselves for parts (1)–(4) |
The mathematician behind it
Origins · 1 minJoseph-Louis Lagrange and how this was discovered
Lagrange did not "invent" monotonicity, but the Mean Value Theorem underlying this entire article is often attributed to him in the form closest to its modern statement, arising from his systematic effort (in works like the Théorie des fonctions analytiques, 1797) to place calculus on an algebraic, rigorous footing using power series expansions of functions, anticipating the later analytic rigor of Cauchy. Lagrange's broader legacy — Lagrangian mechanics, the calculus of variations, contributions to number theory and the theory of equations — makes him one of the most versatile analysts of his century, and his notation for the derivative is the one used throughout this article.
Does the theorem require to be continuous?
No. The theorem only requires that exist (as a real number) and have the stated sign at each interior point of the interval; it says nothing about being continuous. This is a genuine strength of the Mean Value Theorem approach: it works even for derivatives that themselves jump around discontinuously, as long as they exist and are of one consistent sign. Contrast this with strategies that try to integrate or use the Fundamental Theorem of Calculus, which typically do need continuity (or at least integrability) of . The MVT-based proof sidesteps that requirement entirely, using only the existence of at a single mean-value point per pair of endpoints.
If is increasing but not strictly increasing, what does the derivative test tell us?
It tells us everywhere it is differentiable (from the converse of part (3)), but it cannot rule out being exactly zero on an entire subinterval. Indeed, if is constant on some subinterval — which is compatible with being (nonstrictly) increasing overall — then throughout . This is precisely the borderline case the corollary addresses: strict increase is guaranteed only when the zero set of contains no subinterval, ruling out these "flat plateaus."
Can this theorem be used to prove inequalities, like for all real ?
Yes, this is one of the most common applications. Define ; then , which is negative for , zero at , and positive for . By part (2) applied on and part (1) applied on , is strictly decreasing then strictly increasing, so has a global minimum at where . Hence for all , i.e. , with equality exactly at . This "derivative sign implies inequality" technique generalizes to a huge range of classical inequalities.
Why does the interval hypothesis matter — can this fail on a union of two disjoint intervals?
Absolutely. The theorem is stated for a single interval precisely because the Mean Value Theorem needs to connect any two points . If is, say, and on the interior of each piece, the theorem only guarantees is strictly increasing within and within separately — it says absolutely nothing about how compares to , since no mean-value point can be found for a pair of endpoints straddling the gap. Monotonicity across disconnected domains requires separate, direct verification.
Does a positive second derivative relate to this theorem?
Indirectly, yes, by applying the theorem one derivative up: if on an interval, the theorem (applied to in place of ) tells us itself is strictly increasing. This is the basis of the second-derivative test for convexity, a related but distinct notion from monotonicity of itself. Monotonicity of is governed by the sign of ; convexity/concavity of is governed by the sign of via the exact same theorem, just applied one level higher.
What happens at the endpoints of a closed interval where only one-sided differentiability makes sense?
The theorem as stated never requires differentiability at the endpoints or of — only continuity there and differentiability on the open interior. This is deliberate and matches the hypotheses of the Mean Value Theorem itself. So can fail to have a derivative (even one-sided) at or , or that derivative can even be undefined or infinite, and the monotonicity conclusion on all of still holds, because every pair used in the proof only invokes the MVT on the strictly smaller closed subinterval , whose interior avoids and unless or — and even then, the MVT's mean-value point is strictly interior to , never equal to or .