Chapter VI · Derivatives and integrals

Darboux’s theorem

§129 25 min

A derivative, whether or not it is continuous, takes every value between any two of its values, so a function with a jump can never be a derivative.

Why this matters

In §101 Hardy proved that a continuous function takes every value between ϕ(a)\phi(a) and ϕ(b)\phi(b). Continuity is sufficient for this property, but not necessary. §129 shows that derivatives have the same property, continuous or not. This explains the remark at the end of §125: the derivative of x2sin⁡(1/x)x^2\sin(1/x) may be discontinuous, but no derivative can have a simple jump. It also tells us, before we start on integration in §130, that a function such as sgn⁡x\operatorname{sgn} x or [x][x] cannot be the derivative of anything on an interval that contains a jump.

The idea

Suppose ϕ′(a)\phi'(a) is negative and ϕ′(b)\phi'(b) is positive. Then ϕ\phi is going down as it leaves aa and going up as it arrives at bb. So its lowest point on [a,b][a, b] is somewhere inside, and there the derivative is 00. To hit any other intermediate value γ\gamma instead of 00, tilt the picture: subtract the line γx\gamma x, which lowers every slope by γ\gamma.

Explore Every intermediate slope is attained

Try this. Start with sin⁡x\sin x and move γ\gamma between ϕ′(a)\phi'(a) and ϕ′(b)\phi'(b) (the two end dots in the lower plot). Watch the purple point on ψ=ϕ−γx\psi = \phi - \gamma x. Then switch to x2sin⁡(1/x)x^2\sin(1/x), whose derivative is discontinuous at 00, and do the same.

ϕ(x)=sin⁡x,ψ(x)=ϕ(x)−γx\phi(x) = \sin x,\quad \psi(x) = \phi(x) - \gamma x
xψ
xφ′
  • ψ = φ − γx on [a, b]
  • greatest value of ψ, at ξ
  • φ′, with φ′(a) and φ′(b)
  • the level γ
ϕ′(a)=0.955, ϕ′(b)=−0.942, γ=0.3\phi'(a) = 0.955,\ \phi'(b) = -0.942,\ \gamma = 0.3. γ lies between them, so ψ′(a)\psi'(a) and ψ′(b)\psi'(b) have opposite signs and the greatest value of ψ is attained inside, at ξ≈1.266\xi \approx 1.266, where ϕ′(ξ)=γ\phi'(\xi) = \gamma (computed: 0.3).
Points of (a, b) where φ′ = γ: 1 (small dots).
What to notice

For each γ\gamma strictly between the end slopes, ψ\psi has its extreme value inside the interval, and there ϕ′=γ\phi' = \gamma exactly. With x2sin⁡(1/x)x^2\sin(1/x) the derivative oscillates wildly near 00, yet it still takes every value between ϕ′(a)\phi'(a) and ϕ′(b)\phi'(b), often at many points. Move γ\gamma outside the range of end slopes, and the extreme value of ψ\psi may move to an end point: then the theorem promises nothing.

Precise statements

Theorem Darboux’s theorem Hardy: §129

If ϕ\phi is differentiable at every point of [a,b][a, b] (one-sided at the end points), ϕ′(a)=α\phi'(a) = \alpha, ϕ′(b)=β\phi'(b) = \beta, and γ\gamma lies strictly between α\alpha and β\beta, then there is a ξ\xi with a<ξ<ba < \xi < b such that ϕ′(ξ)=γ\phi'(\xi) = \gamma.

Corollary Derivatives have no jumps

A derivative cannot have a simple discontinuity. More generally, if ϕ′\phi' exists throughout an interval II, then for any x1<x2x_1 < x_2 in II the values of ϕ′\phi' on [x1,x2][x_1, x_2] include every number between ϕ′(x1)\phi'(x_1) and ϕ′(x2)\phi'(x_2). In particular sgn⁡x\operatorname{sgn} x is not the derivative of any function on an interval containing 00, and [x][x] is not a derivative on any interval containing an integer.

Corollary A derivative that never vanishes keeps its sign

If ϕ′(x)≠0\phi'(x) \ne 0 for every xx in an interval, then ϕ′\phi' is either positive throughout or negative throughout, so ϕ\phi is strictly monotonic there.

Proofs

Proof Darboux’s theorem
Strategy

Take α<γ<β\alpha < \gamma < \beta (the other case is symmetric). The function ψ(x)=ϕ(x)−γx\psi(x) = \phi(x) - \gamma x is continuous on [a,b][a, b], so it attains its least value. The signs of ψ′(a)\psi'(a) and ψ′(b)\psi'(b) show that this least value is not at an end. At an interior minimum ψ′=0\psi' = 0, which means ϕ′=γ\phi' = \gamma.

The auxiliary function

ψ(x)=ϕ(x)−γx\psi(x) = \phi(x) - \gamma x is differentiable, hence continuous, on [a,b][a, b], with ψ′(x)=ϕ′(x)−γ\psi'(x) = \phi'(x) - \gamma. In particular ψ′(a)=α−γ<0\psi'(a) = \alpha - \gamma < 0 and ψ′(b)=β−γ>0\psi'(b) = \beta - \gamma > 0.

The least value is attained

By §103, ψ\psi attains its lower bound at some ξ\xi in [a,b][a, b].

Not at aa

Since ψ′(a)<0\psi'(a) < 0, the (right-hand) version of Theorem A of §122 gives ψ(x)<ψ(a)\psi(x) < \psi(a) for xx slightly greater than aa. So ψ(a)\psi(a) is not the least value.

Not at bb

Since ψ′(b)>0\psi'(b) > 0, ψ(x)<ψ(b)\psi(x) < \psi(b) for xx slightly less than bb. So ψ(b)\psi(b) is not the least value either, and a<ξ<ba < \xi < b.

Conclude

ψ\psi has a minimum (in the relaxed sense, ψ(ξ)≤ψ(x)\psi(\xi) \le \psi(x) nearby) at the interior point ξ\xi, and Theorem C (§123), which holds for the relaxed definition too, gives ψ′(ξ)=0\psi'(\xi) = 0, that is, ϕ′(ξ)=γ\phi'(\xi) = \gamma. Notice that continuity of ϕ′\phi' was never used. Only ψ\psi had to be continuous, and ψ\psi is differentiable.

Proof No jumps
Strategy

A jump leaves a gap of values near the point that ϕ′\phi' would have to skip; Darboux’s theorem forbids skipping.

Suppose a one-sided limit differs from the value

Suppose ϕ′(x)→α\phi'(x) \to \alpha as x→+0x \to +0 but ϕ′(0)=c≠α\phi'(0) = c \ne \alpha. Let γ=12(c+α)\gamma = \tfrac12(c + \alpha), the midpoint.

Near 00, ϕ′\phi' avoids γ\gamma

Choose δ>0\delta > 0 so that ∣ϕ′(x)−α∣<12∣c−α∣|\phi'(x) - \alpha| < \tfrac12|c - \alpha| for 0<x<δ0 < x < \delta. Then ϕ′(x)≠γ\phi'(x) \ne \gamma for those xx.

Darboux says otherwise

On [0,12δ][0, \tfrac12\delta], ϕ′(0)=c\phi'(0) = c and ϕ′(12δ)\phi'(\tfrac12\delta) is within 12∣c−α∣\tfrac12|c - \alpha| of α\alpha, so γ\gamma lies strictly between them. Darboux gives ξ\xi in (0,12δ)(0, \tfrac12\delta) with ϕ′(ξ)=γ\phi'(\xi) = \gamma, a contradiction. Hence α=c\alpha = c. (This is the result of Examples XLVII, 5, proved there by the mean value theorem.)

Worked examples and exercises

Exercise sgn is not a derivative ●○○ Hardy: §129

Show that there is no function ϕ\phi with ϕ′(x)=sgn⁡x\phi'(x) = \operatorname{sgn} x for all xx in (−1,1)(-1, 1), where sgn⁡0=0\operatorname{sgn} 0 = 0.

Hint
Which value strictly between ϕ′(−12)\phi'(-\tfrac12) and ϕ′(12)\phi'(\tfrac12) is never taken?

Solution

ϕ′(−12)=−1\phi'(-\tfrac12) = -1 and ϕ′(12)=1\phi'(\tfrac12) = 1. By Darboux, ϕ′\phi' would take the value 12\tfrac12 somewhere in (−12,12)(-\tfrac12, \tfrac12). But sgn⁡\operatorname{sgn} takes only the values −1-1, 00, 11. (The natural candidate ∣x∣|x| has ϕ′=sgn⁡x\phi' = \operatorname{sgn} x except at 00, where it has no derivative at all.)

Exercise Two-valued derivatives ●●○ Hardy: §129

Suppose ϕ′(x)\phi'(x) exists for all xx in an interval and takes only the values 00 and 11. Show that ϕ\phi is of the form cc or x+cx + c there.

Solution

If ϕ′\phi' took both values, at x1x_1 and x2x_2 say, then by Darboux it would take the value 12\tfrac12 between them, which is impossible. So ϕ′\phi' is identically 00 or identically 11. In the first case ϕ\phi is constant (§127). In the second, (ϕ(x)−x)′=0(\phi(x) - x)' = 0, so ϕ(x)−x\phi(x) - x is constant.

Exercise ●●○ Hardy: §§125, 129

Let ϕ(x)=x2sin⁡(1/x)\phi(x) = x^2\sin(1/x), ϕ(0)=0\phi(0) = 0. Show that in every interval (0,ε)(0, \varepsilon), ϕ′\phi' takes every value strictly between −1-1 and 11.

Hint
Find points in (0,ε)(0, \varepsilon) where ϕ′=−1\phi' = -1 and where ϕ′=1\phi' = 1, and apply Darboux’s theorem between them.

Solution

For x≠0x \ne 0, ϕ′(x)=2xsin⁡(1/x)−cos⁡(1/x)\phi'(x) = 2x\sin(1/x) - \cos(1/x). At xk=1/(2kπ)x_k = 1/(2k\pi) this is −1-1, and at xk′=1/{(2k+1)π}x_k' = 1/\{(2k + 1)\pi\} it is 11. Choose kk so large that xk<εx_k < \varepsilon; then xk′<xk<εx_k' < x_k < \varepsilon as well. Since ϕ\phi is differentiable on [xk′,xk][x_k', x_k], Darboux’s theorem shows that ϕ′\phi' takes every value strictly between −1-1 and 11 in (xk′,xk)(x_k', x_k), hence in (0,ε)(0, \varepsilon). So close to 00 the discontinuous derivative behaves very differently from a function with a jump: it fills a whole interval of values.

Exercise Non-vanishing derivatives ●●○ Hardy: §129

Prove the second corollary: if ϕ′≠0\phi' \ne 0 throughout an interval, then ϕ\phi is strictly monotonic there. Why is Darboux’s theorem needed, given Cor. 1 of §122?

Solution

If ϕ′\phi' took a positive value at x1x_1 and a negative value at x2x_2, Darboux would give a point between them where ϕ′=0\phi' = 0, contrary to hypothesis. So ϕ′\phi' has one sign throughout, and Cor. 1 of §122 (or the mean value theorem) shows that ϕ\phi is strictly increasing, or strictly decreasing. Cor. 1 needs ϕ′>0\phi' > 0 everywhere. Without Darboux we would only know ϕ′≠0\phi' \ne 0, and if ϕ′\phi' were not continuous we could not otherwise rule out a change of sign without passing through 00.

Check yourself

Check yourself True or false?

Darboux’s theorem is just the intermediate value theorem of §101 applied to the function ϕ′\phi'.

Why

False. The intermediate value theorem needs ϕ′\phi' to be continuous, and Darboux’s theorem does not assume this; x2sin⁡(1/x)x^2\sin(1/x) is the standard example. The proof applies the theorem on attained bounds (§103) to ϕ(x)−γx\phi(x) - \gamma x, which is continuous because it is differentiable.

Check yourself Choose one

Which of these functions on (−1,1)(-1, 1) could be the derivative of some function?

Why

The third is the derivative of x2sin⁡(1/x)x^2\sin(1/x). The others all have a jump, and a derivative never has one. Being discontinuous is no obstacle to being a derivative; jumping is.

Check yourself Enter a number

ϕ\phi is differentiable on [0,1][0, 1] with ϕ′(0)=−2\phi'(0) = -2 and ϕ′(1)=3\phi'(1) = 3. At least how many points ξ\xi in (0,1)(0, 1) with ϕ′(ξ)=0\phi'(\xi) = 0 does Darboux’s theorem guarantee?

Why

At least one. There may be many more (as for x2sin⁡(1/x)x^2\sin(1/x)), but the theorem guarantees only existence. If ϕ′\phi' is continuous, this is also a consequence of the intermediate value theorem.

Check yourself True or false?

If ϕ\phi is differentiable on an interval and ϕ′(x)≠0\phi'(x) \ne 0 everywhere there, then ϕ\phi is strictly monotonic on that interval.

Why

True. By Darboux, ϕ′\phi' cannot change sign without passing through 00, so it has one sign throughout, and then ϕ\phi is strictly monotonic by the mean value theorem.

Hardy’s language

There are other classes of functions which possess this property, and in particular the class of derivatives.

— G. H. Hardy, §129

Summary

Summary
  • Darboux: if ϕ\phi is differentiable on [a,b][a, b], then ϕ′\phi' takes every value strictly between ϕ′(a)\phi'(a) and ϕ′(b)\phi'(b) somewhere in (a,b)(a, b), even if ϕ′\phi' is discontinuous.
  • Proof: ψ=ϕ−γx\psi = \phi - \gamma x has ψ′(a)\psi'(a) and ψ′(b)\psi'(b) of opposite signs, so its extreme value is attained inside, where ψ′=0\psi' = 0.
  • Derivatives cannot jump; sgn⁡x\operatorname{sgn} x and [x][x] are not derivatives on intervals containing their jumps.
  • A derivative that never vanishes on an interval keeps one sign, so the function is strictly monotonic.