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 ff that are differentiable everywhere on an interval, whose derivative f′f' 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 f′f' takes two values y1y_1 and y2y_2, 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 f′f' 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 ff minus a linear function to convert a value statement about f′f' into a statement about extrema of ff — recur throughout analysis. This includes later in the study of Derivatives of Inverse Functions.

Key takeaways
  • Darboux's theorem: if ff is differentiable on [a,b][a,b], then f′f' takes every value between f′(a)f'(a) and f′(b)f'(b).
  • This holds even though f′f' need not be continuous — differentiability alone forces the intermediate value property.
  • The proof reduces to finding an interior point where an auxiliary function g(x)=f(x)−λxg(x) = f(x) - \lambda x 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 f(x)=x2sin⁡(1/x)f(x) = x^2\sin(1/x) (with f(0)=0f(0)=0) is differentiable everywhere but f′f' is discontinuous at 00 — Darboux's theorem still applies to it.
  • Key idea: differentiability, though weaker than continuity of f′f', is strong enough to force f′f' 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 ⊊\subsetneq differentiable-derivative ⊊\subsetneq 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 f′f' for some antiderivative ff, 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 f′f' (for instance in locating critical points of ff by hunting for sign changes of f′f'), even in situations where f′f' is known to be discontinuous, since continuity of f′f' 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 [−1,1][-1,1], using Darboux's theorem?]

  • f(x)=x2f(x) = x^2
  • f(x)=sin⁡(x)f(x) = \sin(x)
  • A step function taking only the values −1-1 and 11, jumping at x=0x=0 ✓
  • f(x)=x2sin⁡(1/x)f(x) = x^2\sin(1/x) with f(0)=0f(0)=0, restricted to its derivative

Ask the tutor: Can you show me why the function g(x)=f(x)−y0xg(x) = f(x) - y_0 x must be continuous even though f′f' itself might not be, and walk through why that continuity is exactly what's needed for the Extreme Value Theorem step?

DefinitionDarboux property (intermediate value property) and derivative

Let I⊆RI \subseteq \mathbb{R} be an interval and let g:I→Rg : I \to \mathbb{R} be a function. We say gg has the Darboux property (or the intermediate value property) on II if for every a,b∈Ia, b \in I with a<ba < b, and every yy strictly between g(a)g(a) and g(b)g(b), there exists c∈(a,b)c \in (a,b) with g(c)=yg(c) = y. Let f:[a,b]→Rf : [a,b] \to \mathbb{R}. We say ff is differentiable at x0∈[a,b]x_0 \in [a,b] if the limit

f′(x0):=lim⁡h→0f(x0+h)−f(x0)hf'(x_0) := \lim_{h \to 0} \frac{f(x_0 + h) - f(x_0)}{h}

exists (as a finite real number), where for x0=ax_0 = a (resp. x0=bx_0 = b) only h>0h > 0 (resp. h<0h<0) is used, i.e. one-sided derivatives at endpoints. If ff is differentiable at every point of [a,b][a,b], the function f′:[a,b]→Rf' : [a,b] \to \mathbb{R} is called the derivative of ff. Darboux's theorem asserts that every such derivative f′f' has the Darboux property on [a,b][a,b], regardless of whether f′f' 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 f′f' 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, f′f' 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 f′f' takes a value y0y_0 directly, we tilt the whole function, replacing ff by g(x)=f(x)−y0xg(x) = f(x) - y_0 x. This shifts every value of f′f' down by y0y_0, so hitting the value y0y_0 for f′f' becomes equivalent to hitting the value 00 for g′g' — that is, finding a critical point of gg. Since gg 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 g′g' vanishes there, which is exactly what we want. The heart of the proof is verifying that the sign of g′g' at the two endpoints forces the extremum to be interior, not at the endpoints themselves.

Figure
The tilt trick: turning "f′f' hits y0y_0" into "g′g' vanishes"
x y a b interior min c: g'(c)=0 g(x) = f(x) - y₀x g'(a) < 0 forces initial dip; g'(b) > 0 forces final rise ⇒ min occurs inside (a,b)

The central theorem

TheoremDarboux's Theorem

Let f:[a,b]→Rf : [a,b] \to \mathbb{R} be differentiable at every point of [a,b][a,b] (one-sided derivatives at the endpoints). Suppose f′(a)≠f′(b)f'(a) \neq f'(b), and let y0y_0 be any real number strictly between f′(a)f'(a) and f′(b)f'(b). Then there exists c∈(a,b)c \in (a,b) such that

f′(c)=y0.f'(c) = y_0.

Consequently, f′f' has the Darboux property on [a,b][a,b]: for every subinterval [α,β]⊆[a,b][\alpha,\beta] \subseteq [a,b], f′f' takes every value between f′(α)f'(\alpha) and f′(β)f'(\beta).

Proof

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 f′(a)<y0<f′(b)f'(a) < y_0 < f'(b); the case f′(b)<y0<f′(a)f'(b) < y_0 < f'(a) is handled identically by replacing ff with −f-f (note (−f)′(x)=−f′(x)(-f)'(x) = -f'(x), which reverses the inequality, and a value cc with (−f)′(c)=−y0(-f)'(c) = -y_0 gives f′(c)=y0f'(c) = y_0).

Step 2: The auxiliary function. Define g:[a,b]→Rg : [a,b] \to \mathbb{R} by

g(x)=f(x)−y0x.g(x) = f(x) - y_0 x.

Since ff is differentiable on [a,b][a,b] and x↦y0xx \mapsto y_0 x is differentiable everywhere with derivative y0y_0, the function gg is differentiable on [a,b][a,b] with

g′(x)=f′(x)−y0g'(x) = f'(x) - y_0

for all x∈[a,b]x \in [a,b] (one-sided at the endpoints). In particular:

g′(a)=f′(a)−y0<0,g′(b)=f′(b)−y0>0.g'(a) = f'(a) - y_0 < 0, \qquad g'(b) = f'(b) - y_0 > 0.

Our goal is now equivalent to finding c∈(a,b)c \in (a,b) with g′(c)=0g'(c) = 0.

Step 3: gg is continuous on [a,b][a,b]. Differentiability at a point implies continuity at that point: if gg is differentiable at x0x_0, then

lim⁡x→x0(g(x)−g(x0))=lim⁡x→x0g(x)−g(x0)x−x0⋅(x−x0)=g′(x0)⋅0=0,\lim_{x \to x_0} \big(g(x) - g(x_0)\big) = \lim_{x \to x_0} \frac{g(x)-g(x_0)}{x - x_0}\cdot (x - x_0) = g'(x_0) \cdot 0 = 0,

using that the difference quotient converges to the finite number g′(x0)g'(x_0) and the factor (x−x0)→0(x-x_0) \to 0; this shows g(x)→g(x0)g(x) \to g(x_0). Since gg is differentiable at every point of [a,b][a,b], it is continuous at every point of [a,b][a,b], i.e. g∈C([a,b])g \in C([a,b]).

Step 4: gg attains a minimum on [a,b][a,b]. 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 [a,b][a,b] and continuity, not dependent on the present theorem), gg attains a global minimum value at some point c∈[a,b]c \in [a,b]:

g(c)≤g(x)for all x∈[a,b].g(c) \le g(x) \quad \text{for all } x \in [a,b].

Step 5: The minimum cannot occur at either endpoint. We show c≠ac \neq a and c≠bc \neq b, so that c∈(a,b)c \in (a,b) is an interior point. Suppose c=ac = a. Since g′(a)<0g'(a) < 0, by definition of the (right-sided) derivative at aa,

lim⁡h→0+g(a+h)−g(a)h=g′(a)<0.\lim_{h \to 0^+} \frac{g(a+h) - g(a)}{h} = g'(a) < 0.

By the definition of limit, taking ε=−g′(a)/2>0\varepsilon = -g'(a)/2 > 0, there exists δ>0\delta > 0 such that for all hh with 0<h<δ0 < h < \delta (and a+h≤ba + h \le b),

∣g(a+h)−g(a)h−g′(a)∣<ε,\left| \frac{g(a+h)-g(a)}{h} - g'(a) \right| < \varepsilon,

which forces g(a+h)−g(a)h<g′(a)+ε=g′(a)/2<0\dfrac{g(a+h)-g(a)}{h} < g'(a) + \varepsilon = g'(a)/2 < 0. Since h>0h > 0, this gives g(a+h)−g(a)<0g(a+h) - g(a) < 0, i.e. g(a+h)<g(a)g(a+h) < g(a) for such hh. This contradicts g(a)≤g(x)g(a) \le g(x) for all x∈[a,b]x \in [a,b] (taking x=a+hx = a+h for small h>0h>0). Hence c≠ac \neq a. Suppose c=bc = b. Since g′(b)>0g'(b) > 0, by definition of the (left-sided) derivative at bb,

lim⁡h→0−g(b+h)−g(b)h=g′(b)>0.\lim_{h \to 0^-} \frac{g(b+h) - g(b)}{h} = g'(b) > 0.

Taking ε=g′(b)/2>0\varepsilon = g'(b)/2 > 0, there is δ>0\delta>0 such that for all hh with −δ<h<0-\delta < h < 0 (and b+h≥ab+h \ge a),

∣g(b+h)−g(b)h−g′(b)∣<ε,\left| \frac{g(b+h)-g(b)}{h} - g'(b)\right| < \varepsilon,

so g(b+h)−g(b)h>g′(b)−ε=g′(b)/2>0\dfrac{g(b+h)-g(b)}{h} > g'(b) - \varepsilon = g'(b)/2 > 0. Since h<0h < 0, multiplying the inequality by the negative number hh reverses it: g(b+h)−g(b)<g′(b)2h<0g(b+h) - g(b) < \frac{g'(b)}{2} h < 0. So g(b+h)<g(b)g(b+h) < g(b) for such small negative hh, again contradicting minimality of g(b)g(b). Hence c≠bc \neq b.

Step 6: Conclude via the interior extremum lemma. Combining Steps 4 and 5, c∈(a,b)c \in (a,b) is an interior point of [a,b][a,b] at which gg attains a local (indeed global) minimum, and gg is differentiable at cc. 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 00), we conclude

g′(c)=0.g'(c) = 0.

Recalling g′(c)=f′(c)−y0g'(c) = f'(c) - y_0, this gives

f′(c)=y0,f'(c) = y_0,

with c∈(a,b)c \in (a,b), as required.

Step 7: The general Darboux property. For the final statement, let [α,β]⊆[a,b][\alpha,\beta] \subseteq [a,b] with α<β\alpha < \beta and let y0y_0 lie strictly between f′(α)f'(\alpha) and f′(β)f'(\beta). Since ff is differentiable on all of [a,b][a,b], it is in particular differentiable on [α,β][\alpha,\beta] (restricting the domain does not affect the existence or value of the derivative at interior points of [α,β][\alpha,\beta], and one-sided derivatives at α,β\alpha,\beta match the two-sided derivative there since α,β\alpha,\beta are interior to [a,b][a,b] or are a,ba,b themselves). Applying Steps 1–6 to ff restricted to [α,β][\alpha,\beta] produces c∈(α,β)⊆[a,b]c \in (\alpha,\beta) \subseteq [a,b] with f′(c)=y0f'(c) = y_0. ■\blacksquare

∎
CorollaryNo jump discontinuities in a derivative

Let ff be differentiable on an interval II. If x0x_0 is an interior point of II at which the one-sided limits lim⁡x→x0−f′(x)\lim_{x \to x_0^-} f'(x) and lim⁡x→x0+f′(x)\lim_{x \to x_0^+} f'(x) both exist, then both limits equal f′(x0)f'(x_0) (in particular f′f' is continuous at x0x_0). Equivalently, f′f' 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.

Proof

Suppose toward contradiction that L−:=lim⁡x→x0−f′(x)L^- := \lim_{x\to x_0^-} f'(x) exists and L−≠f′(x0)L^- \neq f'(x_0); the case for L+L^+ is symmetric. Without loss of generality L−<f′(x0)L^- < f'(x_0) (the other case is symmetric using −f-f). Choose y0y_0 with L−<y0<f′(x0)L^- < y_0 < f'(x_0). Since L−L^- is the left-hand limit, there is δ>0\delta > 0 such that f′(x)<y0f'(x) < y_0 for all x∈(x0−δ,x0)x \in (x_0 - \delta, x_0). But by Darboux's theorem applied on [x0−δ/2,x0][x_0 - \delta/2, x_0], since f′(x0−δ/2)<y0f'(x_0 - \delta/2) < y_0 (as x0−δ/2∈(x0−δ,x0)x_0-\delta/2 \in (x_0-\delta,x_0), using the bound just derived, provided δ/2<δ\delta/2 <\delta, which holds) — more directly, since y0y_0 lies strictly between values f′(x0−δ/2)<y0f'(x_0-\delta/2)< y_0 and f′(x0)>y0f'(x_0) > y_0, Darboux's theorem gives some c∈(x0−δ/2,x0)c \in (x_0 - \delta/2, x_0) with f′(c)=y0f'(c) = y_0. This is consistent so far; to reach a genuine contradiction we instead argue as follows. Take any strictly decreasing sequence xn→x0−x_n \to x_0^- with xn∈(x0−δ,x0)x_n \in (x_0-\delta,x_0), so f′(xn)→L−f'(x_n) \to L^-. Fix y0y_0 strictly between L−L^- and f′(x0)f'(x_0), and note that since f′(xn)→L−<y0f'(x_n) \to L^- < y_0, there is NN with f′(xN)<y0<f′(x0)f'(x_N) < y_0 < f'(x_0). Applying Darboux's theorem on [xN,x0][x_N, x_0], there exists c1∈(xN,x0)c_1 \in (x_N,x_0) with f′(c1)=y0f'(c_1) = y_0. This alone does not contradict anything yet — it merely produces one point. To get a contradiction we sharpen the choice: since L−<y0L^- < y_0, in fact for every sufficiently large nn, f′(xn)<y0f'(x_n) < y_0, so we may repeat the argument on [xn,x0][x_n, x_0] for every large nn, producing points cn∈(xn,x0)c_n \in (x_n, x_0) with f′(cn)=y0f'(c_n) = y_0 and cn→x0c_n \to x_0 (since xn→x0x_n \to x_0 and xn<cn<x0x_n < c_n < x_0 forces cn→x0c_n \to x_0 by the squeeze principle). But these points cnc_n all lie eventually inside (x0−δ,x0)(x_0 - \delta, x_0), where we established f′(x)<y0f'(x) < y_0 for all xx in that punctured neighborhood — yet f′(cn)=y0f'(c_n) = y_0, a direct contradiction (as y0≮y0y_0 \not< y_0). Hence L−=f′(x0)L^- = f'(x_0). The argument for L+L^+ is identical using an interval [x0,x0+δ][x_0, x_0+\delta]. ■\blacksquare

∎

Worked examples

Example 1: Certifying that a specific piecewise function is not a derivative. Let

h(x)={−1,−1≤x<01,0≤x≤1.h(x) = \begin{cases} -1, & -1 \le x < 0 \\ 1, & 0 \le x \le 1. \end{cases}

We claim there is no function FF differentiable on [−1,1][-1,1] with F′=hF' = h. Suppose for contradiction such FF existed. Then F′=hF' = h satisfies F′(−1/2)=−1F'(-1/2) = -1 and F′(1/2)=1F'(1/2) = 1. Take y0=0y_0 = 0, which lies strictly between −1-1 and 11. By Darboux's theorem applied on [−1/2,1/2]⊂[−1,1][-1/2, 1/2] \subset [-1,1], there must exist c∈(−1/2,1/2)c \in (-1/2,1/2) with F′(c)=0F'(c) = 0. But F′=hF' = h takes only the two values −1-1 and 11 on [−1,1][-1,1] — it never equals 00 anywhere, by direct inspection of the formula for hh. This contradicts the existence of such a cc. Hence hh is not the derivative of any function differentiable on [−1,1][-1,1], even though hh 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: hh has one-sided limits −1-1 and 11 at x0=0x_0=0 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 f:[−1,1]→Rf : [-1,1] \to \mathbb{R} by

f(x)={x2sin⁡ ⁣(1x),x≠00,x=0.f(x) = \begin{cases} x^2 \sin\!\left(\dfrac{1}{x}\right), & x \neq 0 \\ 0, & x = 0. \end{cases}

Differentiability at x≠0x \neq 0: By the product and chain rules (valid since x2x^2 and sin⁡(1/x)\sin(1/x) are each differentiable at any x≠0x \neq 0),

f′(x)=2xsin⁡ ⁣(1x)−cos⁡ ⁣(1x),x≠0.f'(x) = 2x \sin\!\left(\frac{1}{x}\right) - \cos\!\left(\frac{1}{x}\right), \qquad x \neq 0.

Differentiability at x=0x = 0: Compute the difference quotient directly:

f(h)−f(0)h=h2sin⁡(1/h)h=hsin⁡(1/h),h≠0.\frac{f(h) - f(0)}{h} = \frac{h^2 \sin(1/h)}{h} = h \sin(1/h), \qquad h \neq 0.

Since ∣sin⁡(1/h)∣≤1|\sin(1/h)| \le 1, we get ∣hsin⁡(1/h)∣≤∣h∣→0|h \sin(1/h)| \le |h| \to 0 as h→0h \to 0, so by the squeeze theorem

f′(0)=lim⁡h→0hsin⁡(1/h)=0.f'(0) = \lim_{h\to 0} h\sin(1/h) = 0.

Discontinuity of f′f' at 00: Consider xn=12πn→0x_n = \dfrac{1}{2\pi n} \to 0. Then sin⁡(1/xn)=sin⁡(2πn)=0\sin(1/x_n) = \sin(2\pi n) = 0 and cos⁡(1/xn)=cos⁡(2πn)=1\cos(1/x_n) = \cos(2\pi n) = 1, so

f′(xn)=2xn⋅0−1=−1for all n.f'(x_n) = 2x_n \cdot 0 - 1 = -1 \quad \text{for all } n.

Thus f′(xn)→−1≠0=f′(0)f'(x_n) \to -1 \neq 0 = f'(0) even though xn→0x_n \to 0, so f′f' is not continuous at 00. (In fact f′f' oscillates between values near −1-1 and near 11 infinitely often as x→0x \to 0, consistent with the Corollary: it has no one-sided limit at 00 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 [a,b]=[x2,x1][a,b] = [x_2, x_1] where x1=12π≈0.15915x_1 = \frac{1}{2\pi} \approx 0.15915 and x2=14π≈0.07958x_2 = \frac{1}{4\pi} \approx 0.07958. Compute:

f′(x1)=2x1sin⁡(2π)−cos⁡(2π)=0−1=−1,f'(x_1) = 2x_1\sin(2\pi) - \cos(2\pi) = 0 - 1 = -1,
f′(x2)=2x2sin⁡(4π)−cos⁡(4π)=0−1=−1.f'(x_2) = 2x_2 \sin(4\pi) - \cos(4\pi) = 0 - 1 = -1.

These happen to coincide, so let's instead use x3=1(2n+1)πx_3 = \frac{1}{(2n+1)\pi} type points to get a sign change. Take u=12π≈0.15915u = \frac{1}{2\pi} \approx 0.15915 (so f′(u)=−1f'(u) = -1 as above) and v=2π≈0.63662v = \frac{2}{\pi} \approx 0.63662, at which sin⁡(1/v)=sin⁡(π/2)=1\sin(1/v) = \sin(\pi/2) = 1 and cos⁡(1/v)=cos⁡(π/2)=0\cos(1/v)=\cos(\pi/2)=0, giving

f′(v)=2v⋅1−0=2v=4π≈1.2732.f'(v) = 2v \cdot 1 - 0 = 2v = \frac{4}{\pi} \approx 1.2732.

So on [u,v]≈[0.15915, 0.63662][u,v] \approx [0.15915,\,0.63662], we have f′(u)=−1f'(u) = -1 and f′(v)≈1.2732f'(v) \approx 1.2732. Take y0=0y_0 = 0, strictly between them. Darboux's theorem guarantees some c∈(u,v)c \in (u,v) with f′(c)=0f'(c)=0, i.e.

2csin⁡(1/c)=cos⁡(1/c).2c\sin(1/c) = \cos(1/c).

Indeed, at c=1π≈0.31831c = \frac{1}{\pi} \approx 0.31831 we have sin⁡(1/c)=sin⁡(π)=0\sin(1/c) = \sin(\pi) = 0 and cos⁡(1/c)=cos⁡(π)=−1\cos(1/c) = \cos(\pi) = -1, giving f′(c)=0−(−1)=1≠0f'(c) = 0 - (-1) = 1 \neq 0 — so c=1/πc=1/\pi itself is not quite the root, but it confirms f′f' does cross zero somewhere in (u,1/π)(u, 1/\pi) or nearby since f′(u)=−1<0f'(u) = -1 <0 while f′(1/π)=1>0f'(1/\pi) = 1 > 0; a genuine root exists in (u, 1/π)≈(0.15915,0.31831)(u,\,1/\pi) \approx (0.15915, 0.31831) 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 2csin⁡(1/c)=cos⁡(1/c)2c\sin(1/c)=\cos(1/c) in closed form.

CounterexampleContinuity of ff alone is not enough — differentiability is essential

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 ff differentiable at every point of the interval, not just continuous. Here we show what fails if we only assume ff is continuous and demand an "intermediate value property" for some replacement of f′f', or, more sharply, what fails if ff is differentiable only on a sub-interval missing finitely many points (so the hypothesis "ff differentiable on all of [a,b][a,b]" is dropped). Consider F:[−1,1]→RF : [-1,1]\to\mathbb{R} defined by

F(x)={−x,−1≤x≤0x,0≤x≤1,i.e. F(x)=∣x∣.F(x) = \begin{cases} -x, & -1 \le x \le 0 \\ x, & 0 \le x \le 1, \end{cases} \quad \text{i.e. } F(x) = |x|.

FF is continuous everywhere on [−1,1][-1,1], and FF is differentiable at every point except x=0x=0: for x>0x>0, F′(x)=1F'(x) = 1; for x<0x<0, F′(x)=−1F'(x)=-1; at x=0x=0 the left and right difference quotients are −1-1 and 11 respectively, so F′(0)F'(0) does not exist. Define g:[−1,1]∖{0}→Rg : [-1,1]\setminus\{0\} \to \mathbb{R} by g=F′g = F', i.e. g(x)=−1g(x) = -1 for x<0x<0 and g(x)=1g(x)=1 for x>0x>0 (undefined at 00). This gg fails to have any intermediate value property near 00: g(−1/2)=−1g(-1/2) = -1 and g(1/2)=1g(1/2)=1, yet gg never takes the value 00 (or any value in (−1,1)(-1,1)) anywhere on [−1,1]∖{0}[-1,1]\setminus\{0\}. This does not contradict Darboux's theorem, because Darboux's theorem requires ff to be differentiable at every point of the closed interval [a,b][a,b], including 00 — and here FF fails to be differentiable exactly at 00. The single missing point is enough to destroy the intermediate value property entirely; gg jumps straight from −1-1 to 11 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 [a,b][a,b]" cannot be weakened to "differentiable except at finitely many points."

Scope, edge cases & common traps

SituationWhat happens
ff differentiable on all of [a,b][a,b]Darboux's theorem applies in full; f′f' has the intermediate value property on [a,b][a,b].
ff differentiable except at one interior pointTheorem can fail entirely, as in the counterexample (f(x)=∣x∣f(x)=|x|).
f′f' itself happens to be continuousDarboux'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.
f′f' is unbounded near a point (e.g. f(x)=x2/3f(x)=x^{2/3} type issues)Must first check differentiability holds at every point in the domain of application; if f′f' fails to exist (even as ±∞\pm\infty) 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 f′f' continuousInvalid — 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
JG
Jean Gaston Darboux
1842–1917 · Analysis and differential geometry in 19th-century France

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.

History
- 1875 — Darboux publishes the memoir establishing the intermediate value property of derivative functions, alongside his reformulation of the Riemann integral via upper and lower sums.
- 1870s–1880s — This period sees the broader rigorization of calculus, with Weierstrass-style ε\varepsilon–δ\delta arguments becoming standard; Darboux's theorem is one of the sharper products of this rigor applied specifically to derivatives.
- Late 1800s — Mathematicians begin systematically cataloguing examples of differentiable functions with discontinuous derivatives (functions like x2sin⁡(1/x)x^2\sin(1/x) become standard counterexamples in textbooks).
- 20th century — Darboux's theorem becomes a standard early theorem in real analysis courses, typically proved immediately after the Mean Value Theorem and interior extremum results, exactly as in this article.
- Ongoing — The precise characterization of which functions with the intermediate value property actually arise as derivatives (a converse question) remains a topic studied in descriptive set theory and real analysis research, going well beyond Darboux's original theorem.
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 f(x)=x2sin⁡(1/x)f(x) = x^2\sin(1/x) (with f(0)=0f(0)=0) is differentiable everywhere on any interval containing 00, and its derivative f′(x)=2xsin⁡(1/x)−cos⁡(1/x)f'(x) = 2x\sin(1/x) - \cos(1/x) satisfies Darboux's theorem perfectly, yet f′f' is discontinuous at x=0x=0 because f′(x)f'(x) oscillates between values near ±1\pm 1 as x→0x \to 0 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 f′f'?

Because f′f' 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 R\mathbb{R} via suprema of level sets, a method that genuinely requires continuity. Since f′f' can fail to be continuous, that proof technique is unavailable. Darboux's proof instead exploits that f′f' arises as the derivative of a genuinely continuous function ff, using the auxiliary function g(x)=f(x)−y0xg(x) = f(x) - y_0x and locating an interior extremum of gg, which sidesteps any need for continuity of f′f' itself.

Does Darboux's theorem require f′(a)≠f′(b)f'(a) \ne f'(b), and what if they're equal?

The theorem's hypothesis requires y0y_0 to lie strictly between f′(a)f'(a) and f′(b)f'(b), which is vacuous (there is no such y0y_0) if f′(a)=f′(b)f'(a) = f'(b). 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 f′(a)≠f′(b)f'(a) \neq f'(b), forcing genuinely new intermediate values to be attained inside the open interval.

Can Darboux's theorem be used to prove a function like f(x)=∣x∣f(x) = |x| is not differentiable at 00?

Not directly as a proof technique — the usual argument (checking that the one-sided difference quotients −1-1 and 11 disagree) is simpler and more direct. However, Darboux's theorem does explain why ∣x∣|x| cannot be "patched" into a differentiable function by simply defining F′(0)F'(0) to equal any single value: if such an FF were differentiable everywhere including at 00, then F′F' would have to satisfy the intermediate value property, but the one-sided values −1-1 and 11 near 00 combined with any single value F′(0)F'(0) cannot produce a function taking every intermediate value in every neighborhood of 00 unless F′F' itself already fails to jump — which is impossible given the discontinuous jump between −1-1 and 11 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 f(x)−[f(a)+f(b)−f(a)b−a(x−a)]f(x) - \left[f(a) + \frac{f(b)-f(a)}{b-a}(x-a)\right] to produce a point where f′f' equals the average slope. Darboux's theorem uses the simpler auxiliary function f(x)−y0xf(x) - y_0 x to produce a point where f′f' equals a prescribed intermediate value y0y_0. 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 gg actually attains a minimum on the closed interval [a,b][a,b], 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 R\mathbb{R} 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.

Before this

Where this leads