Close in height and nowhere close in slope
Worth reading first: Settling in order settles everywhere at once · A limit that forgets to be continuous.
The two essays before this one were about what uniform convergence buys. A limit that forgets to be continuous showed that it carries continuity: a uniform limit of continuous functions is continuous, because a function within of a continuous one everywhere cannot jump by more than plus what the continuous one does. Settling in order settles everywhere at once found circumstances in which it comes free. And integrals pass to uniform limits too: if every member is within of the limit on an interval of length , the integrals differ by at most .
So it is natural to expect the next property along to follow. If smooth functions converge uniformly, surely the limit is smooth, and its slope is the limit of their slopes. It is not, and the failure is total: the slopes can do anything at all. This essay draws four ways it fails, states what has to be added to make it work, and puts a number on the asymmetry — integration and differentiation sit on opposite sides of the function, and one shrinks what the other inflates.
A wiggle that shrinks in height and grows in slope
The simplest example fits in one formula. Let
The sine never exceeds 1, so everywhere: the largest gap from the zero function is exactly , and the sequence converges to uniformly, on the whole line at once. The limit is as smooth as a function can be, and its slope is at every point.
Now differentiate. By the chain rule
which swings between and , faster and faster. At it equals for every member, so the slopes at that single point run off to infinity while the heights at that point are all exactly . At most other points the slopes oscillate without settling on anything. The limit’s slope, , is the limit of nothing.
The mechanism is in the two factors of . Dividing by shrinks the height; putting inside the sine squeezes the oscillation, so that each wiggle is times narrower. A slope is height divided by width, and the height has gone down by while the width has gone down by . The wiggles get smaller and steeper at once, and uniform convergence, which only measures height, cannot see the steepness at all.
Smooth curves converging to a corner
The first example has a perfectly good limit whose slope the members fail to approach. Worse is possible: smooth members whose uniform limit has no slope at some point.
The functions are hyperbolas, differentiable everywhere, with a rounded bottom of width about . They lie above , and the largest gap is at , where it is ; so they converge uniformly to , which has a corner at . Their slopes are
continuous for every , and at each fixed they converge to , or according to the sign of . The pointwise limit of the slopes is a step, and a slope can swing but never jump proved that a step is never the slope of anything — so no function, smooth or otherwise, has these limiting slopes everywhere. The corner is exactly where the slopes’ convergence fails to be uniform: near there are points with slope for every , at , and the step’s value there is .
The essay on Dini’s theorem used this same corner from the other direction. Weierstrass’s square-root iteration produced polynomials converging uniformly to , which is the opening move in approximating every continuous function by polynomials. The approximation of a corner by smooth functions is the point, and it would be impossible if uniform convergence carried slopes.
A Fourier series and the series of its slopes
The same failure appears in the setting where functions are most often built from pieces: Fourier series. The sawtooth function, equal to on and repeated, has the series
which converges to at every point strictly inside the interval, and uniformly on every closed piece of it — the slow convergence near the jump at being the corner that goes first, with the Gibbs overshoot of a square wave built from round ones.
Differentiate term by term and the series becomes
The derivative of is , so if differentiation could be done inside the sum this series would add up to . It does not add up to anything. At its partial sums are , alternating forever. Near every term is close to and the partial sums run down like . Elsewhere they oscillate with an amplitude that does not shrink. A series that converges can have a series of derivatives that converges nowhere.
The reason is the same as in the first example. The -th term is small because of the ; differentiating removes the and leaves , of full size. Each differentiation multiplies the -th coefficient of a Fourier series by , so a series whose coefficients decay like — enough to converge, barely — becomes one whose coefficients do not decay at all.
Heights settling, slopes running away
Push the construction to its limit and the result is the function with a corner at every point. Take
The -th term has height , so the series converges uniformly — the tail after terms is at most everywhere — and is continuous. But the -th term has slope up to , and the slopes of the partial sums grow without bound.
On the logarithmic scale the two lines are mirror images, and that symmetry is the whole construction: each new term shrinks the height gap by a factor of 2 and multiplies the steepest slope by about , because . The measured steepest slope is with five terms and with eleven, against a bound of that the figure checks. Weierstrass’s theorem, and Hardy’s sharpening of it, says that when the limit has a slope nowhere at all. The uniform convergence is perfect, and it delivers a continuous function with no derivative at any point.
A mistake with a history
The sawtooth series has a history that makes it the right example. In his Cours d’analyse of 1821 Augustin-Louis Cauchy stated that a convergent series of continuous functions has a continuous sum. Niels Henrik Abel pointed out in 1826 that the series is a counterexample: every term is continuous, and the sum is inside the interval and jumps at . Cauchy’s statement needed a hypothesis nobody had yet named, and the name, uniform convergence, came out of the next thirty years of repairing it — in work by Seidel, Stokes and Weierstrass, who made it the centre of his Berlin lectures.
Once the hypothesis was in place, continuity and integration were safe, and the same habit of thought assumed that differentiation was too. Through most of the nineteenth century series were differentiated term by term whenever it was convenient, and the results were usually right, because the series that arose in physics usually had coefficients decaying fast enough. The example that ended the habit was Weierstrass’s own, presented to the Berlin Academy in 1872: a series converging uniformly, with every partial sum smooth, whose sum has no derivative at any point. Charles Hermite’s often-quoted reaction, that he turned away “with fright and horror from this lamentable plague of continuous functions which have no derivatives”, is a fair measure of how firmly the opposite had been believed.
The figures above are that history compressed. Abel’s series is the left panel of the Fourier figure; the habit it did not cure is the right panel; and Weierstrass’s function is the pair of diverging lines in the figure after it.
What does carry a slope
The repair is to ask for convergence of the right thing. The theorem is: suppose the are differentiable on an interval, their derivatives converge uniformly to some , and the values converge at one point . Then the converge uniformly to a function , and is differentiable with .
The proof goes through the integral, which is the operation that does respect uniform limits. By the fundamental theorem of calculus — area is the undoing of slope —
On the right the first term converges by assumption and the integral converges, uniformly in , because its integrand does; so the left side converges uniformly to , and that expression is differentiable with derivative , by the same fundamental theorem. Slopes pass to the limit only by being integrated first. The hypothesis is about derivatives because the conclusion is about derivatives, and convergence of the functions alone is the wrong kind of information.
Each of the four counterexamples fails exactly this hypothesis. The slopes do not converge at all. The slopes converge, but not uniformly. The differentiated Fourier series does not converge. The Weierstrass partial sums’ slopes grow without bound. And the theorem cannot be weakened to pointwise convergence of the slopes, as the corner shows: there the slopes converge at every point, to a step, and the limit has no slope at .
Integral, function and slope on one scale
The asymmetry can be measured on the first example. Take and set its integral, the function itself and its slope side by side.
The integral from is , whose largest value is ; the function’s is ; the slope’s is . On the logarithmic plot these are three straight lines with gradients , and , two powers of apart at each step. Each integration divides by the frequency and each differentiation multiplies by it. A wiggle of frequency and height has an integral of height and a slope of height ; uniform convergence, which measures the middle line, says nothing about the line above it and implies everything about the line below.
This is why the analysis of differential equations is so often done backwards. A differential equation is turned into an integral equation, as in the existence proof that the subsequence that has to exist supported, because approximate solutions converge in the integral form, where wiggles die, and the derivative of the limit is then read off afterwards. The same reason explains why numerical differentiation of noisy data is notoriously unstable and numerical integration is not: noise is high-frequency wiggle, and differentiation is the operation that amplifies high frequencies.
Differentiation has no bound, and integration does
There is a way of saying all this in one sentence about operations on functions. Measure a continuous function on an interval by its largest absolute value, its sup norm , which is the quantity uniform convergence makes small. Integration from a fixed point is then a bounded operation: on an interval of length , so a small function always has a small integral. Differentiation has no such bound. The ratio for is , and no constant can sit on the right-hand side of an inequality .
Unbounded operations are not hopeless; they are merely delicate. Differentiation has a weaker property that is exactly the theorem of the previous section: it is closed. If and , both uniformly, then . A closed operation cannot send a convergent sequence to a sequence converging to the wrong answer; it can only fail to send it anywhere at all, as every counterexample above does. That distinction, between operations that cannot be trusted and operations that can be trusted when they converge, is the starting point of the theory of unbounded operators, and differentiation is its first and most important example — the reason quantum mechanics, whose momentum is a derivative, needs that theory to be stated precisely.
How fast a wiggle has to be
The examples suggest a rule of thumb that can be made precise. A sequence that converges uniformly fails to carry slopes when its members carry oscillation whose frequency grows faster than its amplitude shrinks. For the amplitude shrinks like and the frequency grows like , and the slopes behave like the ratio, . Had the frequency grown like — the sequence — the slopes would be , bounded but not converging; with frequency , the sequence , the slopes would be at most and would converge uniformly to , and the theorem would apply.
So there is a borderline, and it is where amplitude times frequency stays of fixed size. The same borderline separates the Fourier series whose term-by-term derivatives behave from those whose do not: coefficients times frequencies must still decay, so that converges, before the differentiated series converges uniformly. And it is the same borderline Weierstrass’s function sits beyond, with height ratio and frequency ratio and the product deciding whether slopes survive. Three examples that looked unrelated are one inequality between how fast something shrinks and how fast it oscillates.
What the measurements show and do not show
The steepest slopes in the Weierstrass figure are measured on a grid of up to two and a half million points, and a grid maximum can only fall short of the true one; the figure checks every measured value against the bound , which no measurement may exceed. The growth it shows is therefore real growth of a lower bound, and the theorem that the limit has no derivative anywhere is Weierstrass’s and Hardy’s, not the figure’s. A picture of eleven partial sums cannot show a function with no slope; it can show the two rates whose competition produces one.
The Fourier figure shows twenty terms. That the differentiated partial sums alternate at and grow like near is exact and checked; that they fail to converge at every point is a statement about all , which the pictures support and an argument proves — the terms do not tend to at any , so the series cannot converge anywhere. And the levels figure measures one sequence. Its three gradients are exact for that sequence; the claim that integration helps and differentiation hurts in general is the theorem of the section before it, not a consequence of one plot.
Still open: which rough limits keep some slope
Uniform limits of smooth functions can be anything continuous, and in a precise sense almost all continuous functions have no derivative anywhere — Stefan Banach proved in 1931 that the nowhere-differentiable functions form all but a negligible part of the space of continuous functions, in the sense of Baire category that a limit can jump at every fraction introduced. So the interesting questions are about how much of a slope survives. A function may fail to be differentiable but still be Hölder continuous of some exponent, its increments bounded by ; the Weierstrass function with ratios and has exponent , here .
Where the questions remain open is in the fine structure: at which points a given rough function has one-sided derivatives, infinite derivatives or none, and how large those sets are. For Weierstrass’s own function the set of points with a finite or infinite one-sided derivative is known to be small, and for random functions such as the paths of Brownian motion the analogous sets have been mapped in great detail; but for many explicit series, including some studied since Riemann proposed as a candidate in the 1860s — which turned out, as Joseph Gerver showed in 1970, to have a derivative at a very sparse set of rational multiples of and nowhere else — the complete description of where any slope survives was found only after long effort, and for most series of this kind it is not known.
Integration forgives and differentiation remembers
Uniform convergence is a statement about heights, and heights are what integrals see: two functions that are close everywhere have close integrals, because an integral is an average and an average of small differences is small. A slope is the opposite of an average. It is a ratio of two small numbers, height over width, and two functions that are close in height can have that ratio anywhere at all, by wiggling on a scale smaller than their distance apart.
That is the whole content of the four counterexamples and the one theorem. The theorem works by turning the question about slopes into one about integrals, where uniformity is enough. The counterexamples work by hiding fast oscillation under small height, where uniformity cannot see it. And at the far end of the construction sits the continuous function with no slope anywhere — not a pathology at the edge of analysis, but the typical shape of a uniform limit about which nothing more than height is known.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- A staircase with no steps — both name continuity, derivative, integral
- A sum read from inside — both name continuity, counterexample, uniform convergence
- The length belongs to the journey — both name continuity, counterexample, derivative
- The staircase that is not the diagonal — both name continuity, counterexample, derivative
- Uniform, except on a small set — both name continuity, counterexample, uniform convergence
- Which curves have a length at all — both name continuity, counterexample, supremum
Named objects
A dashed tag is an object no other essay names yet.
ContinuityCounterexampleDerivativeFourier seriesIntegralSupremumUniform convergence