Analysis — page 5
Where to take the samples
Every numerical integral is a weighted sum of samples of the curve. Spacing the samples evenly gives errors that shrink like a power of their number; choosing where they go, as Gauss did in 1814, makes six samples exact for every polynomial up to degree eleven and turns the power into a geometric rate. The surprise is that the humble trapezoid rule, evenly spaced and exact only for straight lines, does the same thing on any smooth curve that goes once round a circle — and that a single corner defeats every one of them.
The sine of one degree
Every table of sines ever made by hand needed the sine of one degree, and no construction with ruler and compass can produce it: one degree is a third of three, and thirds are what the constructions cannot make. Ptolemy fenced it in with an inequality and got it right to the precision his table carried. Thirteen centuries later Jamshīd al-Kāshī wrote the triple-angle formula as a rule for improving a guess and let it run, gaining almost three decimal places at every turn — a cubic solved without Cardano, by doing the same thing again.
A rule that counts lets the sum escape
Strike out every number containing a 9 and the harmonic series converges, to 22.92. Keep only the numbers with as many 7s as 3s and it diverges — slowly, like the square root of the number of digits. Ask for two such balances and it still diverges; ask for three and it converges. The dividing line is Pólya's theorem that a random walk comes home in one and two dimensions and not in three.
No set fills half of every interval
A fat Cantor set has length one half and contains no interval, so every interval holds some of it and some of its gaps. Look closely at any one point, though, and the window around it ends up almost all set or almost all gap. Lebesgue proved in 1910 that this is forced for every set with a length: the share of a shrinking window is 0 or 1 almost everywhere. So no set can fill exactly half of every interval, however it is built.
The sum after Leibniz's, made geometric
Leibniz's series adds the reciprocals of the odd numbers with alternating signs and gives π/4. Square the odd numbers and the same pattern gives Catalan's constant, 0.915965…, about which almost nothing is known — not even whether it is a fraction. A formula of Ramanujan's turns its slow series into one whose terms shrink by a factor of four, which makes a thousand decimals cheap, and the decimals and continued fraction then say exactly how much digits can settle and where they stop.
Running a computation backwards with little memory
The reverse sweep that gives a whole gradient for the price of a few evaluations needs the computation's intermediate states in reverse order, and storing them all can cost more memory than the machine has. Keep only a few and recompute the rest, and the cheapest schedule has an exact answer found by Andreas Griewank in 1992: with c stored states and no step run more than r times, the longest chain that can be reversed is the binomial coefficient C(c + r, c). Pascal's triangle is the table of what memory buys.
Which powers of x are enough
Every continuous function on an interval is nearly a polynomial, and it seems that all the powers of x should be needed for that. They are not. The even powers will do, and so will the primes, though the primes run out at a rate of one number in ln n. The squares will not: however many are combined, they stay 0.0905 away from x itself. The dividing line, found by Müntz in 1914, is whether the reciprocals of the powers add up to infinity.
The shortest wall that stops every line
A straight cable runs somewhere under a square field, and a trench has to find it for certain. Three sides of the field will do, at length 3. Two diagonals cost 2.83, and a Steiner tree 2.73. The best trench known has length 2.6390 and comes in two pieces that do not touch. Averaging over lines proves nothing shorter than 2 can work, and in over a century the gap between the two numbers has hardly moved.
Root two, raised to itself for ever
Stack √2 to the power √2 to the power √2 without end and the tower settles at exactly 2. Solve the equation for a tower equal to 4 and √2 appears again, and that answer is false. The bases that give a limit run from e^(−e) to e^(1/e), the slope at the crossing decides everything, and a sum over labelled trees turns out to be the same number.
A table that never reaches π
Fill a square table with 1/1, 1/2, 1/3 along the rows, each row starting one place further on. Every row is a piece of the harmonic series, and yet the table stretches no vector by as much as π. At a thousand rows the stretch is 2.42, at a trillion it is near 2.94, and one integral explains both the number and the failure to arrive.
A ball rebuilt everywhere but its centre
Rebuild a solid ball from its frequencies, keeping those below a cut-off, and read the result at the centre, where the ball is perfectly smooth. In the plane the answer settles on 1. In space it swings between 0.36 and 1.64 for ever, because the whole surface of the ball is the same distance from the centre and its jump arrives there in step.
The curve that bends as far as it has gone
Say how sharply a curve bends at each distance along it, and the curve is fixed. Bending in proportion to distance gives Euler's spiral, whose arms are infinitely long and end a finite distance away. Bending that repeats decides at once whether the curve ever closes, and taken in steps the spiral is a Gauss sum.
A path that fills a square
A pen moving continuously for one unit of time can pass through every point of a square. Hilbert's polygons, each threading four times as many squares as the last, move no point more than 0.4507 × 2⁻ⁿ from where the previous one put it — and that one estimate, through the theorem that uniform limits stay continuous, is the whole proof. What the limit pays is exactness of a kind: it repeats some points four times, and its points can never be closer than the square root of their parameters allows.
Four bugs, one side each, and infinitely many turns
Four bugs sit at the corners of a square and each walks straight at the next. They spiral into the centre, circling it infinitely often, and yet each walks exactly one side of the square — no more. A curve can turn through an infinite angle and still have a finite length, and the pursuit shows why: every quarter-turn is the same picture shrunk by a fixed factor, so the turns go on for ever while their lengths add up like a geometric series.
An area that is a sum of n to the minus n
The area under the curve x to the power minus x, between 0 and 1, is 1 + 1/4 + 1/27 + 1/256 + …, the sum of 1/n^n. Johann Bernoulli found it in 1697, and it is called the sophomore's dream because it looks like the mistake of a student who integrates term by term without checking — except that it is true. The proof expands the exponential into layers, each with an exact area, and every layer peaks at the same point, 1/e. The peaks hold Stirling's formula, and seven terms of the series beat a thousand samples of the curve.
The digits a slow series gets wrong
Leibniz's series 4(1 − 1/3 + 1/5 − …) is notoriously slow: after 500,000 terms it is off by two millionths, so its sixth decimal is wrong. But the seventh to sixteenth decimals are right, and so are most of the next forty; of the first sixty only ten are wrong, at isolated places. The error is 2/10⁶ − 2/10¹⁸ + 10/10³⁰ − 122/10⁴² + 2770/10⁵⁴ − …, and the numbers 1, 1, 5, 61, 1385 are the Euler numbers, the coefficients of the secant. The series has not become fast. Its error has a structure, a half-million is a round number, and an integral with a hyperbolic cosine in it explains both.
Two to the four is four to the two
Exponentiation does not commute — 2³ is 8 and 3² is 9 — but 2⁴ and 4² are both 16. Every unequal pair with x^y = y^x lies on one curve, which crosses the diagonal at (e, e) and is traced by the two compound-interest approximations to e, one from below and one from above. Its rational points are exactly the whole values of the parameter, so 2 and 4 are the only whole numbers that commute, and the hump of ln t / t settles e^π against π^e in one line.
A square wheel rolls on a road of hanging chains
A square can roll as smoothly as a circle, its axle never rising or falling, if the road is right. The road is a row of upside-down hanging chains, each exactly one side long, because rolling without slipping is a statement about arc length. Two facts force that shape: the point of contact must lie straight below the axle, and the depth of the road must equal its own steepness. A triangle cannot roll on its version of the road, and four sides is the fewest that can.