A slope can swing but never jump
Worth reading first: The slope of a single point · A curve with a corner at every point.
Every derivative met in a first course is continuous. The slope of a polynomial is a polynomial, the slope of the sine is the cosine, the exponential is its own slope, and the slope of a mirror image is a reciprocal of something continuous. It is easy to come away believing that a function with a slope at every point has a slope that changes smoothly from point to point.
It need not. The function
has a slope at every point, including the origin, and its slope is not continuous at the origin. What makes it worth a whole essay is what its slope does instead of being continuous — and what, according to a theorem Gaston Darboux proved in 1875, no slope anywhere can ever do.
The picture is the derivative, plotted. Away from the origin it is ; as approaches nought the first term dies and the second keeps swinging between and faster and faster, so the slope has no limit there. At the origin itself the slope is nought, a single dot in the middle of the blur. The slope is discontinuous at the origin, and it never jumps: it reaches every level between and — the dashed line at is crossed over and over — on every interval round the origin, however short.
Three powers of one wiggle
The family separates the ways a slope can fail, one power at a time, and the secants from the origin are what separate them.
The secant from the origin to the point at has slope , which for is . For that is just .
Nothing squeezes those slopes. At the secant slope is exactly , at it is exactly , and both families of points crowd into the origin as grows. So the secants from the origin have no limiting slope, and has no derivative there. It is continuous at the origin — squeezed between and — and it has no tangent, which is the corner in a far more restless form: not two slopes, one from each side, but every slope between and from both sides at once.
One more power changes the verdict.
For the secant slope is , and whatever the sine does, the factor drives the product to nought. The function has a derivative at the origin and it is . The curve still crosses the axis infinitely often in every neighbourhood of the origin — it is trapped between two parabolas that touch there, and the parabolas’ common tangent is the axis, so the curve is forced onto it.
Having a derivative at a point is a statement about secants from that point, and nothing else. It says nothing about the slopes at neighbouring points, which for are exactly the swinging values in the first figure. The function is differentiable everywhere, and its derivative is discontinuous at one point.
The theorem: a slope takes every value in between
The swinging looks like lawless behaviour, and the surprise is how much law it obeys.
Darboux’s theorem. If has a derivative at every point of an interval, and lies strictly between and , then at some between and .
That is the intermediate value property, which continuous functions are famous for having, now claimed for derivatives whether or not they are continuous. It says a derivative can never skip a value: if it is below somewhere and above somewhere else, it is equal to somewhere between. And its proof uses nothing about except that it exists.
The argument is the figure. Subtract the line from to get , whose slope is . At the left end that slope is negative, so starts by going down; at the right end it is positive, so ends by going up. A function that is differentiable is continuous, so has a lowest point on the closed interval — and it cannot be either end, since just inside each end is lower than at the end. So the lowest point is inside, and at an interior lowest point the slope is nought: a secant to the right cannot slope down and a secant to the left cannot slope up, so their common limit can only be nought. There .
Nowhere in that argument is the slope assumed continuous. The steps are: is continuous because it is differentiable, a continuous function on a closed interval has a lowest point, and a lowest point inside an interval has slope nought. The intermediate value property of the slope is extracted from the existence of a minimum of the function — a property of , not of .
A second proof, made of secants
There is another proof, and it deserves telling here because it is built entirely out of secants — the objects the derivative was defined from.
Take every pair of points in and the slope of the secant joining them, . As the pair varies continuously that slope varies continuously, because is continuous and the denominator stays away from nought while . The pairs form a triangle, which is connected, so the secant slopes form an interval: every value between two secant slopes is itself a secant slope.
Now bring in the two ends. Secants from to points just to its right have slopes close to , and secants from points just left of to have slopes close to . So any value strictly between and lies between two secant slopes, and is therefore the slope of some secant. Finally, the mean value theorem says every secant’s slope is the slope of a tangent somewhere between its ends. So is a value of .
The two proofs share their essential step. Both use the continuity of — once to get a lowest point, once to make the secant slopes move without jumping — and neither uses anything about beyond its existence. The secants move continuously, and the tangents are their limits and their representatives, so the tangents inherit the secants’ refusal to skip a value.
What a slope cannot do
The theorem rules out whole families of functions at a stroke, and the most useful to rule out is the simplest discontinuous function there is.
A step, equal to for negative and for positive, is not the derivative of anything. It takes the values and and never , so Darboux’s theorem forbids it — whatever is put at the origin itself. The obvious candidate to have it as a slope is , and shows why the candidate fails.
The secants from the right all have slope and those from the left all have slope , and no single number is their limit. The step is the slope of everywhere except the one point where it would need to jump, and at that point has no slope. That is not an accident of this example: Darboux’s theorem says any function with the step as its slope on both sides of the origin must fail to have a slope at the origin itself.
The second thing a slope cannot do is subtler, and it follows from the mean value theorem rather than from Darboux’s. Suppose the slope approaches a limit as approaches a point from either side. For each nearby the secant from to has the slope of the tangent at some point between them, and those tangent slopes approach ; so the secant slopes approach too, and . A slope that has a limit at a point equals it there. A derivative cannot have a removable gap any more than it can have a step.
Put the two together and the discontinuities left to a derivative are exactly the kind the first figure shows: points where the slope has no limit at all because it keeps swinging. That is a strong restriction, and it came from an argument about a lowest point.
A smoother wiggle, and where continuity returns
One more power of and the slope becomes continuous.
The slope of is , and now both terms carry a power of in front, so both are squeezed to nought. The slope still oscillates infinitely often near the origin, and the oscillation is damped. Smoothness is bought one power at a time: is continuous with no slope at the origin, has a slope that is not continuous, has a continuous slope with no second derivative at the origin, has a second derivative that is not continuous, and so on — each further power buys the next step, alternately the existence of one more derivative and then its continuity. Each step up in smoothness costs one more power of .
The same trade appeared in the curve with a corner at every point, where Weierstrass’s sum of cosines is continuous everywhere and has no slope anywhere. There the wiggles are added at every scale at once and nothing ever squeezes them; here there is one wiggle, concentrated at one point, and a power of decides how much of it survives.
How thin the bad set must be
A derivative can be discontinuous at one point. Can it be discontinuous everywhere?
No, and the reason is a theorem from a different part of the subject. The slope is a limit of secant slopes,
and for each the quotient on the right is a continuous function of , since is. So every derivative is a pointwise limit of continuous functions. A limit that jumps at every fraction showed what such limits can and cannot do: René Baire proved that a pointwise limit of continuous functions is continuous at a dense set of points, so it cannot be discontinuous everywhere, and its points of discontinuity form a set that is thin in the sense of being a countable union of nowhere-dense pieces.
That thinness is about arrangement, not size, and the difference is where the real surprise lies. A nowhere-dense set can have positive length — a set with no interval in it and length to spare is one — and Vito Volterra built, in 1881, a function differentiable everywhere whose slope is bounded and discontinuous at every point of such a set. That slope is not integrable in Riemann’s sense, because the points where a function jumps must have no length for Riemann’s sums to close. So Volterra’s function has a slope and the slope has no Riemann integral: the fundamental theorem of calculus, read backwards, fails for it. Darboux’s theorem constrains how a slope can be discontinuous, Baire’s constrains where, and neither prevents the discontinuities from having positive length, which is one of the facts that pushed the subject towards Lebesgue’s integral, under which the fundamental theorem holds for every bounded slope.
A function that takes every value on every interval
The intermediate value property sounds as though it nearly forces continuity. It does not, and the extreme example shows how far apart the two are.
John Conway described a function, usually called the base-13 function, that takes every real value on every interval, however short. Write a number in base thirteen, using the ten digits and three extra symbols read as a plus sign, a minus sign and a decimal point. If from some position onward the expansion spells out a signed decimal number — a sign, some digits, a point and then only digits — the function’s value is that number; otherwise it is nought. Every interval contains numbers whose expansions end in any pattern at all, so on every interval the function takes every value.
It has the intermediate value property as strongly as a function can: between any two points it takes not only every value between its values there but every value there is. And it is discontinuous at every single point. So it is not the slope of anything — not by Darboux’s theorem, which it satisfies, but by Baire’s, which says a slope must be continuous somewhere. The two constraints on derivatives are independent, and a function can pass the first with nothing to spare and fail the second everywhere.
Why continuity was the wrong property to expect
The intermediate value property is usually taught as a consequence of continuity, and that ordering is what makes Darboux’s theorem feel strange. A function with the property need not be continuous — the slope of has it and is not — so the property is strictly weaker, and derivatives are a natural class that has the weaker property without the stronger one.
It is worth asking why the weaker property is the one that survives differentiation. The answer is in the proof: a slope inherits the intermediate value property from the function’s continuity, through the existence of a lowest point. The function is continuous and the slope is whatever it is, and Darboux’s argument transfers exactly one property across. Continuity of the slope would need information about how the function curves between points, which the existence of a slope at each point does not supply.
This is also the answer to a practical question. Newton’s method, bisection and every other search for a point where a slope equals a given value need that value to be taken somewhere, and continuity of the slope is usually assumed to guarantee it. It is never needed. If the slope exists everywhere on an interval and takes values on both sides of the target, the target is taken — by Darboux, with no continuity assumption at all.
The dense core the pictures cannot resolve
The swinging is drawn only as finely as a screen allows. Near the origin the slope of swings infinitely often, and a plot at any resolution shows a solid block where the swings are closer together than a pixel. The figure counts crossings of the level on a grid fine in , reaching down to about , and reports those; the claim that the crossings continue without end is the theorem’s, not the plot’s.
The squeezing is shown at five secants. Five secant slopes shrinking towards nought is evidence for and not a proof; the proof is the inequality , which the figure checks at each secant and which does the whole job.
One curve illustrates Darboux’s argument, and it happens to have a slope that is continuous — the figure shows the mechanism, a lowest point inside an interval, and could not show that the mechanism works for a discontinuous slope, since a discontinuous slope drawn on a page looks like the solid block above. Volterra’s function is described and not drawn: its discontinuities sit on a set with no interval in it, and no picture at a fixed resolution can show a set like that as anything but empty or full.
Still open: which functions are slopes
Darboux’s theorem gives a condition every derivative must satisfy, and Baire’s gives another, and neither is enough. There are functions with the intermediate value property that are limits of continuous functions and are nevertheless the slope of nothing: the property is necessary and far from sufficient.
Which functions are derivatives? William Henry Young asked for a characterisation in 1911, meaning a description in terms of the function’s own values — the way continuous or has the intermediate value property is a description — rather than the circular is the slope of something. Many partial answers are known, and many classes of functions have been shown to consist entirely of derivatives or to contain none. A characterisation of the kind Young asked for is still not known, and Andrew Bruckner and John Leonard’s survey of derivatives in 1966, which set out the question in its modern form, is still cited for it as an open problem.
A slope is constrained by the function, not by itself
The habit worth keeping is the one Darboux’s proof uses.
A derivative is a limit, and limits can behave badly: the slope of has no limit of its own at the origin, and nothing about the slope as a function prevents that. What constrains it is the function it is the slope of. The function is continuous, so it has lowest points on closed intervals; lowest points inside an interval have slope nought; and subtracting a line moves the lowest point to wherever the slope equals the line’s. Every restriction on the slope — no steps, no removable gaps, every value in between — is a property of the function, carried across by that one move.
That is the same direction of reasoning that ran through the slope of a single point, where a slope was defined from secants of the function rather than from anything about slopes. The slope has no life of its own. It is a record of how the function’s secants behave, and whatever the function guarantees about its secants, the slope inherits — including, in the case that surprised everybody, the intermediate value property without the continuity it was supposed to come from.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- The length belongs to the journey — both name continuity, counterexample, derivative, limit
- The staircase that is not the diagonal — both name continuity, counterexample, derivative, limit
- A curve that has area — both name continuity, counterexample, limit
- A slope for a curve that is no function — both name derivative, limit, secant
- Which curves have a length at all — both name continuity, counterexample, limit
- A ball whose outside is not one — both name counterexample, limit
Named objects
A dashed tag is an object no other essay names yet.
ContinuityCounterexampleDerivativeIntermediate value theoremLimitMean value theoremOscillationSecant