Article · Wikipedia archive · Last revised Jun 5, 2026

Darboux's theorem (analysis)

In real analysis, Darboux's theorem states that the derivative of any real-valued function of a real variable has the intermediate value property, that is, that the image of an interval is also an interval.

Last revised
Jun 5, 2026
Read time
≈ 9 min
Length
2,106 w
Citations
12
Source

In real analysis, Darboux's theorem states that the derivative of any real-valued function of a real variable has the intermediate value property, that is, that the image of an interval is also an interval.

When f {\displaystyle f} is continuously differentiable, this is a consequence of the intermediate value theorem. But even when f {\displaystyle f'} is not continuous, Darboux's theorem places a restriction on the behaviour of f {\displaystyle f'} over any closed interval.

Statement of the theorem

Let I {\displaystyle I} be an open interval, and let f : I R {\displaystyle f\colon I\to \mathbb {R} } be a real-valued differentiable function. Then f {\displaystyle f'} has the intermediate value property: If a {\displaystyle a} and b {\displaystyle b} are points in I {\displaystyle I} with a < b {\displaystyle a<b} , then for every y {\displaystyle y} between f ( a ) {\displaystyle f'(a)} and f ( b ) {\displaystyle f'(b)} , there exists an x {\displaystyle x} in [ a , b ] {\displaystyle [a,b]} such that f ( x ) = y {\displaystyle f'(x)=y} .123

The original proof by Jean Gaston Darboux has been published in 1875.4

Proofs

Proof from the extreme value theorem

The first proof is based on the extreme value theorem.

If y {\displaystyle y} equals f ( a ) {\displaystyle f'(a)} or f ( b ) {\displaystyle f'(b)} , then setting x {\displaystyle x} equal to a {\displaystyle a} or b {\displaystyle b} , respectively, gives the desired result. Now assume that y {\displaystyle y} is strictly between f ( a ) {\displaystyle f'(a)} and f ( b ) {\displaystyle f'(b)} , and in particular that f ( a ) > y > f ( b ) {\displaystyle f'(a)>y>f'(b)} . Let φ : I R {\displaystyle \varphi \colon I\to \mathbb {R} } such that φ ( t ) = f ( t ) y t {\displaystyle \varphi (t)=f(t)-yt} . If it is the case that f ( a ) < y < f ( b ) {\displaystyle f'(a)<y<f'(b)} we adjust our below proof, instead asserting that φ {\displaystyle \varphi } has its minimum on [ a , b ] {\displaystyle [a,b]} .

Since φ {\displaystyle \varphi } is continuous on the closed interval [ a , b ] {\displaystyle [a,b]} , the maximum value of φ {\displaystyle \varphi } on [ a , b ] {\displaystyle [a,b]} is attained at some point in [ a , b ] {\displaystyle [a,b]} , according to the extreme value theorem.

Because φ ( a ) = f ( a ) y > 0 {\displaystyle \varphi '(a)=f'(a)-y>0} , we know φ {\displaystyle \varphi } cannot attain its maximum value at a {\displaystyle a} . (If it did, then ( φ ( t ) φ ( a ) ) / ( t a ) 0 {\displaystyle (\varphi (t)-\varphi (a))/(t-a)\leq 0} for all t ( a , b ] {\displaystyle t\in (a,b]} , which implies φ ( a ) 0 {\displaystyle \varphi '(a)\leq 0} .)

Likewise, because φ ( b ) = f ( b ) y < 0 {\displaystyle \varphi '(b)=f'(b)-y<0} , we know φ {\displaystyle \varphi } cannot attain its maximum value at b {\displaystyle b} .

Therefore, φ {\displaystyle \varphi } must attain its maximum value at some point x ( a , b ) {\displaystyle x\in (a,b)} . Hence, by Fermat's theorem, φ ( x ) = 0 {\displaystyle \varphi '(x)=0} , i.e. f ( x ) = y {\displaystyle f'(x)=y} .

Proof from the mean and intermediate value theorems

The second proof is based on combining the mean value theorem and the intermediate value theorem.12

Define c = 1 2 ( a + b ) {\displaystyle c={\frac {1}{2}}(a+b)} . For a t c , {\displaystyle a\leq t\leq c,} define α ( t ) = a {\displaystyle \alpha (t)=a} and β ( t ) = 2 t a {\displaystyle \beta (t)=2t-a} . And for c t b , {\displaystyle c\leq t\leq b,} define α ( t ) = 2 t b {\displaystyle \alpha (t)=2t-b} and β ( t ) = b {\displaystyle \beta (t)=b} .

Thus, for t ( a , b ) {\displaystyle t\in (a,b)} we have a α ( t ) < β ( t ) b {\displaystyle a\leq \alpha (t)<\beta (t)\leq b} . Now, define g ( t ) = ( f β ) ( t ) ( f α ) ( t ) β ( t ) α ( t ) {\displaystyle g(t)={\frac {(f\circ \beta )(t)-(f\circ \alpha )(t)}{\beta (t)-\alpha (t)}}} with a < t < b {\displaystyle a<t<b} . g {\displaystyle \,g} is continuous in ( a , b ) {\displaystyle (a,b)} .

Furthermore, g ( t ) f ( a ) {\displaystyle g(t)\rightarrow {f}'(a)} when t a {\displaystyle t\rightarrow a} and g ( t ) f ( b ) {\displaystyle g(t)\rightarrow {f}'(b)} when t b {\displaystyle t\rightarrow b} ; therefore, from the Intermediate Value Theorem, if y ( f ( a ) , f ( b ) ) {\displaystyle y\in ({f}'(a),{f}'(b))} then, there exists t 0 ( a , b ) {\displaystyle t_{0}\in (a,b)} such that g ( t 0 ) = y {\displaystyle g(t_{0})=y} . Let's fix t 0 {\displaystyle t_{0}} .

From the Mean Value Theorem, there exists a point x ( α ( t 0 ) , β ( t 0 ) ) {\displaystyle x\in (\alpha (t_{0}),\beta (t_{0}))} such that f ( x ) = g ( t 0 ) {\displaystyle {f}'(x)=g(t_{0})} . Hence, f ( x ) = y {\displaystyle {f}'(x)=y} .

Darboux function

A Darboux function is a real-valued function f {\displaystyle f} which has the "intermediate value property": for any two values a {\displaystyle a} and b {\displaystyle b} in the domain of f {\displaystyle f} , and any y {\displaystyle y} between f ( a ) {\displaystyle f(a)} and f ( b ) {\displaystyle f(b)} , there is some c {\displaystyle c} between a {\displaystyle a} and b {\displaystyle b} with y = f ( c ) {\displaystyle y=f(c)} .5 By the intermediate value theorem, every continuous function on a real interval is a Darboux function. Darboux's contribution was to show that there are discontinuous Darboux functions.

Every discontinuity of a Darboux function is essential, that is, at any point of discontinuity, at least one of the left hand and right hand limits does not exist.

An example of a Darboux function that is discontinuous at one point is the topologist's sine curve function:

x { sin ( 1 / x ) for  x 0 , 0 for  x = 0. {\displaystyle x\mapsto {\begin{cases}\sin(1/x)&{\text{for }}x\neq 0,\\0&{\text{for }}x=0.\end{cases}}}

By Darboux's theorem, the derivative of any differentiable function is a Darboux function. In particular, the derivative of the function x x 2 sin ( 1 / x ) {\displaystyle x\mapsto x^{2}\sin(1/x)} is a Darboux function even though it is not continuous at one point.

An example of a Darboux function that is nowhere continuous is Conway's base 13 function. Another is Bergfeldt's function where a real number x is written in expanded in binary with digits ( x i ) i Z + {\displaystyle (x_{i})_{i\in \mathbb {Z} _{+}}} each 0 or 1, and f ( x ) = k = 1 ( 1 ) x k k {\displaystyle f(x)=\sum \limits _{k=1}^{\infty }{\frac {(-1)^{x_{k}}}{k}}} if the series converges for that x and 0 if it does not.6

Darboux functions are a quite general class of functions. It turns out that any real-valued function ƒ on the real line can be written as the sum of two Darboux functions.7 This implies in particular that the class of Darboux functions is not closed under addition.

A strongly Darboux function is one for which the image of every (non-empty) open interval is the whole real line.5

Further restrictions on derivatives

Darboux's theorem gives a necessary condition for a function to be a derivative, but it is not sufficient. Every derivative of a real function is also of Baire class one, and the set of points at which a derivative is discontinuous is a meagre F σ {\displaystyle F_{\sigma }} set. Conversely, every meagre F σ {\displaystyle F_{\sigma }} subset of the real line can occur as the discontinuity set of a derivative.8

A finer restriction is on the sublevel sets of a derivative. For a real function f {\displaystyle f} , its associated superlevel and sublevel sets are { x : f ( x ) > a } {\displaystyle \{x:f(x)>a\}} and { x : f ( x ) < a } {\displaystyle \{x:f(x)<a\}} , where a {\displaystyle a} is real. Zahorski introduced classes M 0 , , M 5 {\displaystyle M_{0},\ldots ,M_{5}} of sets describing how large such associated sets must be near their own points. In this terminology, one has the following theorems:

  • Every finite derivative has associated sets in M 3 {\displaystyle M_{3}} .
  • Every bounded derivative has associated sets in M 4 {\displaystyle M_{4}} . Moreover, a set is an associated set of some bounded derivative if and only if it belongs to M 4 {\displaystyle M_{4}} .9

Intuitively, if f = F {\displaystyle f=F'} and f ( x 0 ) > a {\displaystyle f(x_{0})>a} , then the set on which f > a {\displaystyle f>a} cannot be arbitrarily sparse near x 0 {\displaystyle x_{0}} . If f {\displaystyle f} is continuous at x 0 {\displaystyle x_{0}} , this is trivial: f > a {\displaystyle f>a} throughout some neighbourhood of x 0 {\displaystyle x_{0}} , so the local density is 1 {\displaystyle 1} . The Zahorski conditions express weaker density requirements that remain valid even when the derivative is discontinuous.

More explicitly, a non-empty F σ {\displaystyle F_{\sigma }} set E {\displaystyle E} belongs to M 3 {\displaystyle M_{3}} if, for every x E {\displaystyle x\in E} , any sequence of closed intervals I n {\displaystyle I_{n}} not containing x {\displaystyle x} , with dist ( x , I n ) 0 {\displaystyle \operatorname {dist} (x,I_{n})\to 0} and λ ( I n E ) = 0 {\displaystyle \lambda (I_{n}\cap E)=0} , satisfies

λ ( I n ) dist ( x , I n ) 0 , {\displaystyle {\frac {\lambda (I_{n})}{\operatorname {dist} (x,I_{n})}}\to 0,}

where λ {\displaystyle \lambda } denotes Lebesgue measure. Thus, near a point of E {\displaystyle E} , gaps in E {\displaystyle E} cannot have length comparable to their distance from the point. The class M 4 {\displaystyle M_{4}} is stronger: E {\displaystyle E} belongs to M 4 {\displaystyle M_{4}} if it can be written as a countable union of closed sets E = K n {\displaystyle E=\bigcup K_{n}} such that, on each K n {\displaystyle K_{n}} , the set E {\displaystyle E} occupies a uniformly positive proportion of every sufficiently small one-sided interval whose length is comparable with its distance from the point. In this sense, M 3 {\displaystyle M_{3}} rules out large nearby holes, while M 4 {\displaystyle M_{4}} imposes a uniform positive lower-density condition.

Notes

Notes

  1. Apostol, Tom M.: Mathematical Analysis: A Modern Approach to Advanced Calculus, 2nd edition, Addison-Wesley Longman, Inc. (1974), page 112.
  2. Olsen, Lars: A New Proof of Darboux's Theorem, Vol. 111, No. 8 (Oct., 2004) (pp. 713–715), The American Mathematical Monthly
  3. Rudin, Walter: Principles of Mathematical Analysis, 3rd edition, MacGraw-Hill, Inc. (1976), page 108
  4. Darboux, Gaston (1875), "Mémoire sur les fonctions discontinues" [Dissertation on discontinuous functions], Annales Scientifiques de l'É.N.S., Serie 2 (in French), 4, Paris: École Normale Supérieure: 109–110, doi:10.24033/asens.122{{citation}}: CS1 maint: date and year (link)
  5. Ciesielski, Krzysztof (1997). Set theory for the working mathematician. London Mathematical Society Student Texts. Vol. 39. Cambridge: Cambridge University Press. pp. 106–111. ISBN 0-521-59441-3. Zbl 0938.03067.
  6. Bergfeldt, Aksel (2018-09-27). "Open maps which are not continuous". Stack Exchange Mathematics. In an answer to the question. Retrieved 2023-07-10.
  7. Bruckner, Andrew M: Differentiation of real functions, 2 ed, page 6, American Mathematical Society, 1994
  8. Bruckner, Andrew M.; Leonard, J. L. (1966). "Derivatives". American Mathematical Monthly. 73 (4, Part II): 24–56.
  9. Bruckner, Andrew M. (1994). Differentiation of Real Functions. CRM Monograph Series. Vol. 5 (2nd ed.). American Mathematical Society. pp. 61–67. ISBN 0-8218-6990-6.
External links