Analysis

A series that converges nowhere

Expand Euler's integral in powers of x and the coefficients are the factorials, so the series converges at no x but nought. Stopped at its smallest term it still computes the integral to within about e^(−1/x) — and every term added after that makes the answer worse.
23 min read 6 figures Small cases lieOne point away

Worth reading first: An error with an unknown in it · A denominator that reaches past the radius.

Take the integral

E(x)=0et1+xtdt,E(x) = \int_0^\infty \frac{e^{-t}}{1 + xt}\,dt ,

which is a perfectly ordinary function for every x0x \ge 0: it is 11 at nought, it decreases, and at x=1x = 1 it is 0.5963470.596347\ldots Now do the obvious thing. Expand 1/(1+xt)1/(1+xt) as a geometric series, 1xt+x2t21 - xt + x^2t^2 - \cdots, and integrate term by term. Each 0tketdt\int_0^\infty t^k e^{-t}\,dt is k!k!, so

E(x)  "="  1x+2!x23!x3+4!x4.E(x) \;\text{"="}\; 1 - x + 2!\,x^2 - 3!\,x^3 + 4!\,x^4 - \cdots .

Every step looks legitimate and the result is a series that converges for no xx except nought: the ratio of consecutive terms is kxkx, which passes one as soon as kk passes 1/x1/x, whatever xx is. By every test in the subject, this series does not represent anything.

A series that gets better, then worse. The error of Euler's series against the number of terms kept, at x = 0.05 and 0.1 and 0.2. At 0.05 the error falls to 1.1e-8 at 20 terms and then climbs without limit. At 0.1 the error falls to 1.8e-4 at 10 terms and then climbs without limit. At 0.2 the error falls to 1.8e-2 at 5 terms and then climbs without limit.
Fig. 1 The error of the series against the integral it came from, against the number of terms kept, at three values of xx. Each curve falls, reaches a lowest point, and climbs without limit. At x=0.05x = 0.05 the lowest error is 1.1×1081.1\times10^{-8}, with 2020 terms; at 0.10.1 it is 1.8×1041.8\times10^{-4}, with 1010; at 0.20.2 it is 1.8×1021.8\times10^{-2}, with 55.

And yet twenty terms compute E(0.05)E(0.05) to eight decimal places. The series is useless if the question is what its partial sums converge to, and excellent if the question is how close a partial sum can get. Those are different questions, and this essay is about the second.

Where the term-by-term integration went wrong

The geometric series 1u+u21 - u + u^2 - \cdots equals 1/(1+u)1/(1+u) only for u<1|u| < 1. Inside the integral u=xtu = xt, and tt runs to infinity, so for every x>0x > 0 there is a stretch of the integral — everything beyond t=1/xt = 1/x — on which the expansion used was simply false. Swapping the sum and the integral pretended that stretch was not there.

That diagnosis already contains the whole story, because it says how much was ignored. The weight ete^{-t} on the stretch beyond 1/x1/x totals e1/xe^{-1/x}. At x=0.1x = 0.1 that is about 4.5×1054.5 \times 10^{-5}; at x=0.05x = 0.05 it is about 2×1092 \times 10^{-9}. The damage done by the illegal step is exponentially small in 1/x1/x, and so for small xx the series can be very wrong about the limit of its partial sums while being very nearly right about the function.

A series that converges and a series that is useful are therefore not the same idea, and the difference lives exactly where the ordinary Taylor story never looks. There, the coefficients were derivatives at a point and the only question was the disc on which the series works. Here the coefficients are also derivatives at a point — EE is smooth at nought from the right, and (1)kk!(-1)^k k! is its kk-th derivative divided by k!k! — and the disc has radius nought, and the series works anyway.

A remainder that can be written down

What makes Euler’s series tractable rather than merely suggestive is that its error has an exact formula.

The finite geometric identity 11+u=k<N(u)k+(u)N1+u\frac{1}{1+u} = \sum_{k<N}(-u)^k + \frac{(-u)^N}{1+u} is true for every u0u \ge 0, with no condition on its size. Put u=xtu = xt, multiply by ete^{-t} and integrate, and nothing illegal happens:

E(x)k<N(1)kk!xk=(1)NxN0tNet1+xtdt.E(x) - \sum_{k<N} (-1)^k k!\,x^k = (-1)^N x^N \int_0^\infty \frac{t^N e^{-t}}{1 + xt}\,dt .

Since 1/(1+xt)11/(1+xt) \le 1, the integral on the right is at most N!N!. So the error after NN terms is at most N!xNN!\,x^N, the first term left out — and its sign alternates with NN, so consecutive partial sums fall on opposite sides of the function and bracket it.

That is a remainder with no unknown in it, which is rarer than it sounds. Lagrange’s remainder names a point nobody can locate and is bounded by replacing it with a worst case; this one is an explicit integral whose size is bounded in one line. The hero figure requires the bound at every number of terms it draws, and every error sits below the first term left out.

Stop at the smallest term

With the bound in hand the right number of terms is a calculation. The terms k!xkk!\,x^k have ratio (k+1)x(k+1)x from one to the next, so they shrink while k+1<1/xk + 1 < 1/x and grow after. The smallest term — and therefore the best available guaranteed bound — comes at about 1/x1/x terms.

How small is it? At N=1/xN = 1/x the term is N!/NNN!/N^N, and Stirling’s formula turns that into about 2πNeN\sqrt{2\pi N}\,e^{-N}, which is

2π/x  e1/x.\sqrt{2\pi/x}\;e^{-1/x}.

The measured best errors in the hero figure sit at about half of that: 1.1×1081.1\times10^{-8} at x=0.05x = 0.05 against a smallest term of 2.3×1082.3\times10^{-8}, and 1.8×1041.8\times10^{-4} at x=0.1x = 0.1 against 3.6×1043.6\times10^{-4}. The factor of a half is the bracketing at work — the function lies between two consecutive partial sums, roughly in the middle.

The numbers at x=0.1x = 0.1 show the mechanism exactly. The function there is E(0.1)=0.9156333E(0.1) = 0.9156333\ldots The sum of nine terms is 0.91581920.9158192, above it by 1.86×1041.86\times10^{-4}; ten terms give 0.91545630.9154563, below it by 1.77×1041.77\times10^{-4}; eleven give 0.91581920.9158192 again. The last two terms added are 9!/1099!/10^9 and 10!/101010!/10^{10}, and those are the same number, 3.6288×1043.6288\times10^{-4}, because at x=1/10x = 1/10 the ratio between them is exactly one. After that the terms grow: twelve terms are out by 2.13×1042.13\times10^{-4}, thirteen by 2.66×1042.66\times10^{-4}, and by thirty the error is in the hundreds. The smallest term is reached twice and the sums swing across the function between its two appearances, and no number of terms does better than the middle of that swing.

The rule is: keep adding terms while they shrink, and stop at the smallest. It is called optimal truncation, and it inverts every instinct about series. For a convergent series more terms can only help; here the best number of terms is a function of xx, and the twenty-first term at x=0.05x = 0.05 undoes accuracy that the first twenty paid for.

What more terms do to the curve

The same facts look different drawn against xx rather than against the number of terms, and the second picture is the one that explains why the series was trusted for so long.

Sums of a series that converges nowhere. The function E(x) = ∫₀^∞ e^(−t)/(1 + xt) dt on [0, 0.5] with the partial sums of its Taylor series of 2, 4, 8 terms. Every sum follows the curve near nought and leaves it; the longest is the closest near nought and falls away the hardest.
Fig. 2 E(x)E(x) on [0,0.5][0, 0.5] with the sums of the first 2, 4 and 8 terms of its series. Near nought all three hug the curve, and the longer sums hug it more closely; further out each one leaves, and the eight-term sum, which was the closest near nought, falls away hardest. At x=0.5x = 0.5 the function is 0.72270.7227 and the three sums are out by 0.220.22, 0.470.47 and 3131.

Near nought the picture is indistinguishable from a convergent Taylor series: each extra term improves the agreement. What gives the game away is how far the agreement reaches. Ask for the sum to stay within 0.050.05 of the curve. Two terms manage it until about x=0.16x = 0.16, four until about 0.210.21 — so far, the familiar story — but eight manage it only until about 0.180.18, twenty until about 0.100.10, and a hundred until about 0.0260.026.

The interval of agreement widens for the first few terms and then shrinks for ever. A convergent series can only widen it. The turning point is optimal truncation seen from the other side: for a fixed tolerance there is a best number of terms, and past it every term buys accuracy closer to nought by giving up accuracy everywhere else. As the number of terms grows the intervals collapse towards nought, and that collapse is what a radius of nought looks like drawn against xx.

That is the geometric meaning of a radius of nought. The partial sums do converge, in a sense, at every xx — they converge to EE as xx approaches nought, faster and faster the more terms there are. What they never do is converge at a fixed xx as terms are added.

A radius of nought, read off the coefficients

The coefficients announce the radius before any sum is taken. The size of the coefficients decides it: the radius is one over the limit superior of ck1/k|c_k|^{1/k}, and for Euler’s series that quantity is (k!)1/k(k!)^{1/k}, which grows like k/ek/e and has no limit at all.

The radius, read off the coefficients. The k-th root of the size of the k-th Taylor coefficient against k for Euler's series, 1/√(1 − 4x), 1/(1 − 2x), with one over each radius drawn as a dashed line; a series whose radius is nought climbs without limit while the others settle on their lines.
Fig. 3 The kk-th root of the size of the kk-th coefficient for three series. For 1/(12x)1/(1-2x) it is 22 throughout, and for 1/14x1/\sqrt{1-4x} it climbs slowly towards 44, reaching 3.773.77 by the fortieth; for Euler’s series it passes k/ek/e at every step and reaches 15.815.8, settling on nothing.

So every method that treats a function as the thing its series converges to is silent here. There is no disc, no analytic continuation from a disc, no singularity at a positive distance to locate. The information in the coefficients is real — they are the derivatives of a real function — and the machinery of convergence cannot see any of it.

Convergence was the wrong question

Poincaré and Stieltjes, independently and in the same year, 1886, gave the definition that makes sense of this. A series akxk\sum a_k x^k is asymptotic to ff as x0x \to 0 if, for every fixed NN, the error after NN terms is smaller than xNx^N by a factor that goes to nought as xx does.

Read that carefully, because it swaps the order of two limits. Convergence fixes xx and lets the number of terms grow. Asymptoticity fixes the number of terms and lets xx shrink. Euler’s series fails the first and passes the second — the bound N!xNN!\,x^N is, for fixed NN, a constant times xNx^N — and the two properties are simply about different limits.

The price of the weaker definition is uniqueness, and it is worth being exact about. A function determines its asymptotic series, but the series does not determine the function: e1/xe^{-1/x} is smaller than every power of xx as x0x \to 0, so its asymptotic series is nought, and E(x)+e1/xE(x) + e^{-1/x} has exactly the same series as E(x)E(x). The coefficients cannot tell those two functions apart, and the amount by which they differ is the size of the best error optimal truncation can reach. That is not a coincidence: no method using only the coefficients can promise more accuracy than the ambiguity the coefficients leave.

What a denominator recovers

That ambiguity makes the next fact startling. A quotient of polynomials built from the coefficients needs no convergence at all — it needs only as many coefficients as it has unknowns — and for Euler’s series the Padé approximants converge, at every x0x \ge 0, to EE and not to anything else.

Euler's series past its radius, with a denominator allowed. Euler's series, its Taylor sum of degree 6, and its Padé approximants of order 2 and 6. At x = 1 the Taylor sum is out by 6.19e+2 and the highest-order approximant by 4.69e-4.
Fig. 4 E(x)E(x) on [0,3][0, 3] with the sum of its series to degree 6, dashed, and the approximants of order [2/2][2/2] and [6/6][6/6] built from the same divergent coefficients. At x=1x = 1 the sum is out by 619619 and the order-six approximant by 4.69×1044.69\times10^{-4}.

The approximants find EE because EE has the same form as the logarithm: an integral of 1/(1+xt)1/(1 + xt) against a positive weight, here ete^{-t} on the whole half-line. The nodes of the quadrature that weight calls for are the roots of the Laguerre polynomials, which are what straightening the powers of tt one at a time produces when the inner product is 0fgetdt\int_0^\infty f g\, e^{-t}\,dt — the same construction that produced Legendre’s polynomials for the logarithm, under a different weight. Such a function has a cut along the negative axis, and the approximants imitate the cut with poles.

Where the approximants of Euler's series put their poles. The complex plane around Euler's series with the poles of its Padé approximants of order 4 and 8.
Fig. 5 The poles of the approximants of order [3/4][3/4] and [7/8][7/8], drawn as rings and dots. Every one is on the negative real axis, at 1/t-1/t for a node tt of Gaussian quadrature against the weight ete^{-t}, and as the order grows they crowd towards nought, where the series’ radius is.

For the logarithm the cut began at 1-1 and the poles crowded towards 1-1. Here the weight reaches all the way to infinity, the cut reaches all the way to nought, and the poles crowd towards the origin — which is the same picture as the radius of nought, drawn as a place rather than as a number.

The resolution of the uniqueness problem is that the approximants are not using the coefficients alone. They are implicitly assuming the function is of this integral form, and among functions of that form the coefficients do determine the answer — a statement about when a sequence of moments k!k! determines its weight, which it does here, and which is the content of a theorem of Carleman’s. Borel’s method of summing divergent series makes the same assumption explicitly: replace k!k! by the integral it came from and sum inside, and EE comes back.

Spending more coefficients, slowly

The convergence is real and it is not fast, and the reason says something about where singularities are.

The same coefficients, spent two ways, at x = 1. Errors at x = 1 for the Padé approximant [n/n] and the Taylor sum of degree 2n of Euler's series, for n from 1 to 10, on a logarithmic scale. At n = 10 they are 3.2e-5 and 2.3e+18.
Fig. 6 Errors at x=1x = 1 for the approximant of order [n/n][n/n] and the sum of degree 2n2n, for nn from one to ten. The sum is out by 2.3×10182.3\times10^{18} at the end; the approximant is out by 3.2×1053.2\times10^{-5}, dividing its error by only about 1.91.9 per order.

For the logarithm at x=3x = 3 each order divided the error by nine. Here the last step divides it by about two, and for functions of this kind the theory says no fixed ratio is ever reached: the error shrinks faster than any power of nn and slower than any geometric rate. The difference is the cut. The logarithm’s began at a positive distance from the point being evaluated, measured in the geometry the cut defines; Euler’s function’s cut touches nought, and the evaluation point is, in that geometry, as close to the singular set as a point on the positive axis can be.

Coefficients that grow like factorials are the signature of a singularity at distance nought, and every method working from them pays for that distance — optimal truncation with an irreducible error, Padé approximation with slow convergence. What neither pays is failure.

Where divergent series are the tool that works

Euler’s series is the tidiest case of something that is everywhere.

Stirling’s formula for the factorial extends to a series of corrections for lnn!\ln n!112n1360n3+11260n5\frac{1}{12n} - \frac{1}{360n^3} + \frac{1}{1260n^5} - \cdots — and that series diverges for every nn. Its first two corrections nonetheless give ln10!\ln 10! to about nine digits, and it is what practical computations of the gamma function use.

In physics the pattern is the rule rather than the exception. Dyson argued in 1952 that the perturbation series of quantum electrodynamics in powers of the fine-structure constant must diverge, because a negative coupling constant would make the vacuum unstable and no function analytic at nought can have that property on one side only. The series is nonetheless the most accurately confirmed calculation in science, because the constant is about 1/1371/137 and optimal truncation would occur after roughly a hundred and thirty-seven orders — far more than anyone computes.

And the functions that solve the most common differential equations near their irregular singular points — Airy’s function, Bessel’s functions at large argument — have asymptotic series of exactly this kind. Stokes noticed in 1857 that the exponentially small terms the coefficients cannot see switch on and off across certain lines in the complex plane, which is the ambiguity above turning into a phenomenon.

Where the account needs care

The bound by the first omitted term is special. It holds for Euler’s series because of the integral form and the positivity of the weight. A general asymptotic series comes with no such guarantee, and optimal truncation is then a heuristic that usually works and occasionally does not — terms of irregular sign can make the smallest term a poor guide to the error.

Asymptotic means as xx goes to nought. At x=0.5x = 0.5 the best available accuracy is two terms and an error of 0.220.22, which is hardly an approximation at all. The series is a statement about small xx, and how small is small is decided by e1/xe^{-1/x}, not by the size of the first few coefficients.

Formal manipulation of divergent series can produce nonsense. Summing 1+2+4+1 + 2 + 4 + \cdots as a geometric series gives 1-1, which is meaningful in some settings and absurd in others, and a divergent sum of positive terms has no value that respects the ordinary rules. Euler’s series has a meaningful sum because it came from a specific integral; a series with no such origin need not have one.

And the integral form does the work in the recovery. Padé approximation and Borel summation both recover EE because EE is an integral of a particular kind. For a series produced by some other process, a different function with the same coefficients may be the one wanted, and nothing in the coefficients says which.

Euler, Abel’s devil, and 1886

Euler wrote about exactly this series in 1760, in a paper on divergent series. He assigned the sum 11+26+241 - 1 + 2 - 6 + 24 - \cdots the value 0.5963470.596347\ldots, by several methods including the integral and a continued fraction, and was untroubled that the partial sums 1,0,2,4,20,1, 0, 2, -4, 20, \ldots wander off.

The next generation was troubled. Abel wrote in 1826 that divergent series are an invention of the devil and that it is shameful to base any demonstration on them, and the rigorous analysis of Cauchy and Weierstrass banished them from proofs. Astronomers kept using them, because they worked.

The rehabilitation came in 1886, when Poincaré and Stieltjes independently defined asymptotic series — Poincaré motivated by the series of celestial mechanics, Stieltjes by exactly this integral. The mathematics was not wrong for a century; it was answering a question nobody had yet posed properly, and the constant Euler computed, E(1)E(1), is now called the Euler–Gompertz constant.

What a U-shaped curve cannot show

The hero figure draws thirty partial sums at three points. The claims being made — that the error has a single minimum near 1/x1/x terms, that it grows without bound after — are statements about all NN and all small xx, and they are supported by the exact remainder rather than by the curves.

The pole figure shows the approximants’ poles moving towards nought as the order grows and cannot show the limit, which is the whole negative axis filled.

And no picture here shows the ambiguity. E(x)E(x) and E(x)+e1/xE(x) + e^{-1/x} differ by less than a pixel for every xx below about 0.150.15 on these axes, so the fact that the series cannot tell them apart is exactly the fact the drawings cannot display.

Still open: what a series knows beyond its sum

Optimal truncation leaves an error of about e1/xe^{-1/x} and says it cannot do better from the coefficients alone. The subject that takes that residue seriously — resurgence, which reads the exponentially small corrections off the large-order behaviour of the coefficients themselves — is where Stokes’ switching becomes a calculation. Borel summation in general, and the question of which divergent series have a unique natural sum, is the other thread.

On the approximation side, the node sets in the points that ruin the fit lead towards minimax approximation, where a polynomial is judged by its worst error and the best one is recognised by an error curve that touches its extremes with alternating signs. That criterion, like optimal truncation, judges an approximation by how good it is at a fixed level of effort rather than by where a sequence of them goes.

Judged at a fixed effort, not at infinity

The habit worth carrying is about which limit a claim is about.

“This series converges” is a statement about infinitely many terms at a fixed point, and it says nothing about how well any finite number of terms does. “This series is asymptotic” is a statement about a fixed number of terms at points approaching nought, and it says nothing about what happens as terms are added. Euler’s series fails the first and passes the second, and every useful fact about it came from the second.

Before asking whether an approximation converges, ask what effort it will actually be given. A method that converges slowly can lose to one that does not converge at all, at every level of effort anybody will spend, and the sum that fits in one square and this series are the two ends of that comparison.

What links here

Computed from the collection, not written here: the essays that point at this one.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

ApproximationAsymptotic seriesBoundConvergenceError analysisPade approximantRadius of convergenceRemainderTaylor series