Darboux's Theorem: The Intermediate Value Property of Derivatives
Can a function be discontinuous and still be a derivative? This question sounds like it should have a quick "no." We build our intuition on differentiable functions from smooth pictures. Discontinuity feels incompatible with the delicate limiting process of differentiation. Yet the answer is a resounding yes: there exist functions that are differentiable everywhere on an interval, whose derivative jumps around wildly and fails to be continuous at some points. This is surprising and worth pausing on. It shows that being "a derivative" is a genuinely restrictive condition on a function. This is distinct from mere pointwise properties like boundedness. And yet it is not the same as continuity. Darboux's theorem pins down exactly what survives this loosening of continuity. Every derivative, continuous or not, still satisfies the intermediate value property. If takes two values and , it must take every value strictly between them. This is remarkable because the usual proof of the intermediate value theorem for continuous functions relies crucially on continuity. And need not be continuous at all. Darboux's theorem shows the intermediate value conclusion can survive on a strictly larger class of functions than continuous ones. This holds provided that class consists of derivatives. The result matters for several reasons. It is a sharp classification tool. It immediately certifies that certain functions (for instance ones with jump discontinuities) are not derivatives of anything. This is otherwise hard to rule out. It also refines our picture of the hierarchy of "nice" functions — continuous functions, derivatives, Riemann integrable functions, and so on. It shows that "derivative" is a genuinely intermediate notion. It is stronger than "has the intermediate value property" is in general, but weaker than "continuous." Finally, the proof itself is a beautiful, self-contained application of exactly the tools in this chapter. These are interior extrema and the vanishing derivative, together with basic properties of continuous functions on closed intervals. This article gives the precise statement, a complete proof built from first principles (interior extremum lemma plus a clever auxiliary function), a fully worked construction of a discontinuous derivative, and a discussion of exactly which hypotheses are indispensable. The techniques here — analyzing minus a linear function to convert a value statement about into a statement about extrema of — recur throughout analysis. This includes later in the study of Derivatives of Inverse Functions.
- Darboux's theorem: if is differentiable on , then takes every value between and .
- This holds even though need not be continuous — differentiability alone forces the intermediate value property.
- The proof reduces to finding an interior point where an auxiliary function attains an extremum, then invoking Interior Extrema and the Vanishing Derivative.
- Consequence: functions with jump discontinuities (e.g. a step function) can never be derivatives of any function.
- The classical example (with ) is differentiable everywhere but is discontinuous at — Darboux's theorem still applies to it.
- Key idea: differentiability, though weaker than continuity of , is strong enough to force to have no jump discontinuities, only oscillatory ones.
Where this lives today
Darboux's theorem is a small but sharp tool with reach beyond a single textbook exercise. In real analysis itself, it is the standard method for proving that certain explicitly given functions — typically ones with jump discontinuities — cannot be derivatives of anything, which is otherwise difficult to establish directly from the definition of the derivative. It also refines the classical hierarchy continuous differentiable-derivative Darboux, clarifying that "having the intermediate value property" is a genuinely weaker requirement than continuity, useful when classifying pathological functions in courses following The Mean Value Theorem. In the theory of ordinary differential equations, Darboux's theorem is invoked when one studies whether a given right-hand side function can be realized as for some antiderivative , relevant to existence questions for primitives and to constructing counterexamples showing that not every function is a derivative even when Riemann integrable functions are. In numerical analysis and root-finding, the theorem justifies bisection-type or sign-change arguments applied directly to a derivative (for instance in locating critical points of by hunting for sign changes of ), even in situations where is known to be discontinuous, since continuity of is not actually needed for the sign-change argument to guarantee a root. In the broader landscape of mathematical logic and descriptive set theory, the class of "Darboux functions" (those with the intermediate value property, not necessarily derivatives) is studied as an interesting class in its own right; Darboux's theorem shows that the class of derivatives sits inside this larger, well-studied class, linking basic calculus to more advanced classification results about real functions.
:::quiz[Which of the following functions can be ruled out from being a derivative of any function on , using Darboux's theorem?]
- A step function taking only the values and , jumping at ✓
- with , restricted to its derivative
Ask the tutor: Can you show me why the function must be continuous even though itself might not be, and walk through why that continuity is exactly what's needed for the Extreme Value Theorem step?
Let be an interval and let be a function. We say has the Darboux property (or the intermediate value property) on if for every with , and every strictly between and , there exists with . Let . We say is differentiable at if the limit
exists (as a finite real number), where for (resp. ) only (resp. ) is used, i.e. one-sided derivatives at endpoints. If is differentiable at every point of , the function is called the derivative of . Darboux's theorem asserts that every such derivative has the Darboux property on , regardless of whether is continuous.
Intuition
Continuous functions have the intermediate value property because their graphs cannot "jump" over a horizontal line: the classical proof uses a supremum/completeness argument on the set of points where the function is still below the target value. A derivative need not be continuous, so that argument does not directly apply. Yet there is a completely different mechanism forcing the same conclusion for derivatives: a derivative is a limit of difference quotients — of slopes of secant lines — and slopes of secant lines vary continuously as the two points defining them move continuously. Roughly, inherits intermediate-value behavior not from its own continuity but from being squeezed by a genuinely continuous family (the difference quotients) as the two evaluation points collide. The proof exploits this by a clever trick: instead of trying to show takes a value directly, we tilt the whole function, replacing by . This shifts every value of down by , so hitting the value for becomes equivalent to hitting the value for — that is, finding a critical point of . Since is differentiable (hence continuous) on a closed bounded interval, it attains a maximum or minimum somewhere; if we can force that extremum to occur at an interior point, Interior Extrema and the Vanishing Derivative tells us vanishes there, which is exactly what we want. The heart of the proof is verifying that the sign of at the two endpoints forces the extremum to be interior, not at the endpoints themselves.
The central theorem
Let be differentiable at every point of (one-sided derivatives at the endpoints). Suppose , and let be any real number strictly between and . Then there exists such that
Consequently, has the Darboux property on : for every subinterval , takes every value between and .
We use the technique of reducing a "value" statement to an "extremum" statement via an auxiliary linear-shift function, then applying Interior Extrema and the Vanishing Derivative (the theorem that a differentiable function on an open interval has derivative zero at an interior local extremum). This proof is self-contained and does not use the intermediate value theorem for continuous functions, so there is no circularity.
Step 1: Reduction by symmetry. Without loss of generality assume ; the case is handled identically by replacing with (note , which reverses the inequality, and a value with gives ).
Step 2: The auxiliary function. Define by
Since is differentiable on and is differentiable everywhere with derivative , the function is differentiable on with
for all (one-sided at the endpoints). In particular:
Our goal is now equivalent to finding with .
Step 3: is continuous on . Differentiability at a point implies continuity at that point: if is differentiable at , then
using that the difference quotient converges to the finite number and the factor ; this shows . Since is differentiable at every point of , it is continuous at every point of , i.e. .
Step 4: attains a minimum on . By the Extreme Value Theorem (a continuous real-valued function on a closed bounded interval attains a global minimum and a global maximum on that interval — this is a standard consequence of compactness of and continuity, not dependent on the present theorem), attains a global minimum value at some point :
Step 5: The minimum cannot occur at either endpoint. We show and , so that is an interior point. Suppose . Since , by definition of the (right-sided) derivative at ,
By the definition of limit, taking , there exists such that for all with (and ),
which forces . Since , this gives , i.e. for such . This contradicts for all (taking for small ). Hence . Suppose . Since , by definition of the (left-sided) derivative at ,
Taking , there is such that for all with (and ),
so . Since , multiplying the inequality by the negative number reverses it: . So for such small negative , again contradicting minimality of . Hence .
Step 6: Conclude via the interior extremum lemma. Combining Steps 4 and 5, is an interior point of at which attains a local (indeed global) minimum, and is differentiable at . By Interior Extrema and the Vanishing Derivative (Fermat's interior extremum theorem: if a function differentiable at an interior point of its domain has a local extremum there, its derivative at that point is ), we conclude
Recalling , this gives
with , as required.
Step 7: The general Darboux property. For the final statement, let with and let lie strictly between and . Since is differentiable on all of , it is in particular differentiable on (restricting the domain does not affect the existence or value of the derivative at interior points of , and one-sided derivatives at match the two-sided derivative there since are interior to or are themselves). Applying Steps 1–6 to restricted to produces with .
∎Let be differentiable on an interval . If is an interior point of at which the one-sided limits and both exist, then both limits equal (in particular is continuous at ). Equivalently, can never have a genuine jump discontinuity (removable or jump-type with distinct finite one-sided limits) — its only possible discontinuities are oscillatory, with no one-sided limit existing.
Suppose toward contradiction that exists and ; the case for is symmetric. Without loss of generality (the other case is symmetric using ). Choose with . Since is the left-hand limit, there is such that for all . But by Darboux's theorem applied on , since (as , using the bound just derived, provided , which holds) — more directly, since lies strictly between values and , Darboux's theorem gives some with . This is consistent so far; to reach a genuine contradiction we instead argue as follows. Take any strictly decreasing sequence with , so . Fix strictly between and , and note that since , there is with . Applying Darboux's theorem on , there exists with . This alone does not contradict anything yet — it merely produces one point. To get a contradiction we sharpen the choice: since , in fact for every sufficiently large , , so we may repeat the argument on for every large , producing points with and (since and forces by the squeeze principle). But these points all lie eventually inside , where we established for all in that punctured neighborhood — yet , a direct contradiction (as ). Hence . The argument for is identical using an interval .
∎Worked examples
Example 1: Certifying that a specific piecewise function is not a derivative. Let
We claim there is no function differentiable on with . Suppose for contradiction such existed. Then satisfies and . Take , which lies strictly between and . By Darboux's theorem applied on , there must exist with . But takes only the two values and on — it never equals anywhere, by direct inspection of the formula for . This contradicts the existence of such a . Hence is not the derivative of any function differentiable on , even though is a perfectly reasonable bounded, Riemann integrable, piecewise-continuous function. This shows the class of derivatives is a strict subclass of, say, the Riemann integrable functions, and that a simple jump discontinuity is an obstruction. Note this matches the Corollary above: has one-sided limits and at that disagree, which is exactly the forbidden situation for a derivative.
Example 2: An explicit differentiable function with discontinuous derivative, and locating a Darboux point directly. Define by
Differentiability at : By the product and chain rules (valid since and are each differentiable at any ),
Differentiability at : Compute the difference quotient directly:
Since , we get as , so by the squeeze theorem
Discontinuity of at : Consider . Then and , so
Thus even though , so is not continuous at . (In fact oscillates between values near and near infinitely often as , consistent with the Corollary: it has no one-sided limit at at all, only oscillatory divergence — precisely the only type of discontinuity Darboux's theorem permits.) Locating a genuine Darboux point. Let us verify the theorem concretely on where and . Compute:
These happen to coincide, so let's instead use type points to get a sign change. Take (so as above) and , at which and , giving
So on , we have and . Take , strictly between them. Darboux's theorem guarantees some with , i.e.
Indeed, at we have and , giving — so itself is not quite the root, but it confirms does cross zero somewhere in or nearby since while ; a genuine root exists in by Darboux's theorem applied to that sub-subinterval, illustrating that the theorem's existence claim is easy to confirm numerically even without solving the transcendental equation in closed form.
Darboux's theorem is a statement about derivatives specifically, not merely about continuous functions composed with a difference-quotient-like limiting process; and it crucially needs differentiable at every point of the interval, not just continuous. Here we show what fails if we only assume is continuous and demand an "intermediate value property" for some replacement of , or, more sharply, what fails if is differentiable only on a sub-interval missing finitely many points (so the hypothesis " differentiable on all of " is dropped). Consider defined by
is continuous everywhere on , and is differentiable at every point except : for , ; for , ; at the left and right difference quotients are and respectively, so does not exist. Define by , i.e. for and for (undefined at ). This fails to have any intermediate value property near : and , yet never takes the value (or any value in ) anywhere on . This does not contradict Darboux's theorem, because Darboux's theorem requires to be differentiable at every point of the closed interval , including — and here fails to be differentiable exactly at . The single missing point is enough to destroy the intermediate value property entirely; jumps straight from to with no intermediate value ever attained, exactly the "jump discontinuity" behavior that Darboux's theorem forbids for derivatives, but which is perfectly possible once differentiability fails even at one point. This shows the hypothesis "differentiable at every point of " cannot be weakened to "differentiable except at finitely many points."
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| differentiable on all of | Darboux's theorem applies in full; has the intermediate value property on . |
| differentiable except at one interior point | Theorem can fail entirely, as in the counterexample (). |
| itself happens to be continuous | Darboux's theorem is automatically true (it reduces to the ordinary IVT for continuous functions), but it is not needed as a separate tool in that case. |
| is unbounded near a point (e.g. type issues) | Must first check differentiability holds at every point in the domain of application; if fails to exist (even as ) somewhere, the theorem does not apply there. |
| Converse: "does every Darboux function arise as a derivative?" | False in general — there exist functions with the intermediate value property that are not derivatives of anything (this converse is not claimed by Darboux's theorem and is a separate, harder classification question, proof beyond scope here). |
| Using Darboux's theorem to prove continuous | Invalid — Darboux's theorem gives the intermediate value property only, which is strictly weaker than continuity in general. |
The mathematician behind it
Origins · 1 minJean Gaston Darboux and how this was discovered
Darboux was a French mathematician working at the École Normale Supérieure and the Sorbonne, whose contributions span real analysis, differential geometry, and the theory of surfaces. He is remembered in analysis both for the Darboux integral formulation of Riemann integration (using upper and lower sums, an equivalent and pedagogically cleaner route to the same integral) and for the intermediate value property of derivatives that now bears his name. His work exemplified the rigorous re-foundation of calculus that characterized French analysis in the late 19th century, moving away from purely geometric or infinitesimal intuition toward proofs built on the completeness of the real numbers and precise limiting arguments.
Does Darboux's theorem mean every derivative is continuous?
No — this is the single most common misconception. Darboux's theorem only guarantees the intermediate value property, which is strictly weaker than continuity. The function (with ) is differentiable everywhere on any interval containing , and its derivative satisfies Darboux's theorem perfectly, yet is discontinuous at because oscillates between values near as without converging. So derivatives can be discontinuous; they simply cannot have jump-type discontinuities with distinct finite one-sided limits, only oscillatory ones.
Is the converse of Darboux's theorem true — is every function with the intermediate value property a derivative?
No, this converse is false in general, and it is not claimed by Darboux's theorem. There exist functions with the intermediate value property (so-called Darboux functions) on an interval that are not the derivative of any function. Characterizing exactly which Darboux functions do arise as derivatives is a subtler question studied more deeply in real analysis and descriptive set theory, and goes beyond the scope of the basic theorem; it is not something we prove here, and it should never be casually assumed true without a separate justification.
Why can't the standard intermediate value theorem for continuous functions just be applied directly to ?
Because need not be continuous — that is precisely the situation Darboux's theorem is built to handle. The standard IVT applies to continuous functions on closed intervals and its proof uses the completeness of via suprema of level sets, a method that genuinely requires continuity. Since can fail to be continuous, that proof technique is unavailable. Darboux's proof instead exploits that arises as the derivative of a genuinely continuous function , using the auxiliary function and locating an interior extremum of , which sidesteps any need for continuity of itself.
Does Darboux's theorem require , and what if they're equal?
The theorem's hypothesis requires to lie strictly between and , which is vacuous (there is no such ) if . In that degenerate case the conclusion is trivially true with no content to prove, since there is no value strictly between two equal numbers. The interesting content of the theorem is precisely when , forcing genuinely new intermediate values to be attained inside the open interval.
Can Darboux's theorem be used to prove a function like is not differentiable at ?
Not directly as a proof technique — the usual argument (checking that the one-sided difference quotients and disagree) is simpler and more direct. However, Darboux's theorem does explain why cannot be "patched" into a differentiable function by simply defining to equal any single value: if such an were differentiable everywhere including at , then would have to satisfy the intermediate value property, but the one-sided values and near combined with any single value cannot produce a function taking every intermediate value in every neighborhood of unless itself already fails to jump — which is impossible given the discontinuous jump between and on either side.
How does Darboux's theorem relate to Rolle's theorem and the Mean Value Theorem?
All three theorems share the same core technique: locate an interior extremum of an auxiliary function and apply the fact that a differentiable function has zero derivative at an interior local extremum (Interior Extrema and the Vanishing Derivative). The Mean Value Theorem uses the auxiliary function to produce a point where equals the average slope. Darboux's theorem uses the simpler auxiliary function to produce a point where equals a prescribed intermediate value . Both are, at heart, applications of the same extremum-based idea to two different linear-shift constructions.
Why does the proof need the Extreme Value Theorem, and is that circular?
The proof needs to know that the continuous auxiliary function actually attains a minimum on the closed interval , which is exactly the content of the Extreme Value Theorem (continuous functions on closed bounded intervals attain their extrema). This is not circular: the Extreme Value Theorem is proved independently using completeness of and sequential compactness of closed bounded intervals, and does not rely on Darboux's theorem or on any results built on top of it. It is a genuinely prior, independent result used as an input here.