Seeing Primes Contents

Listen · Chapter 12 · 1734

The sum that defines it

The zeta machine is an endless sum. Before feeding it complex numbers, it helps to see how an endless sum can have a finite answer at all, and why some never do.

In this chapter Sums that settle Euler’s surprise One sum, many inputs Feeding it a complex number The wall at 1

The story so far

Chapter 11 turned complex numbers into arrows: adding chains them tip to tail, and the number n raised to the power −(σ + ti) is an arrow of length 1 ÷ nσ turned by t × ln n. This chapter adds up infinitely many of those arrows. That endless sum is the zeta function met in chapter 10.

The logarithm ln is the ruler from chapter 7: it grows by 2.3 each time a number gains a digit.

Sums that settle

Walk halfway to a wall, then half the remaining distance, then half again. You take infinitely many steps but never cover more than the full distance: 1 + ½ + ¼ + ⅛ + … gets as close to 2 as you like and never passes it. Mathematicians say the sum converges, and that it equals 2.

1+12+14+18+⋯=2
The three dots mean “and so on for ever”. The equals sign means the running totals close in on 2.

Not every shrinking sum settles. Add 1 + ½ + ⅓ + ¼ + …, each step a little shorter than the last, and the total grows without limit. Slowly: it takes 12,367 terms to pass 10, and a number of terms with 44 digits to pass 100. But it never stops. This one is called the harmonic series, and it diverges.

Running totals of three endless sums over their first 60 terms

1 + ½ + ¼ + ⅛ + …1 + ¼ + ⅑ + 1⁄16 + …1 + ½ + ⅓ + ¼ + …

The running total after each term. The halves settle on 2. The squares, 1 + 1/4 + 1/9 + …, settle on a stranger number, 1.6449…. The harmonic series keeps climbing.

Euler’s surprise

The blue curve in the chart adds one over each square number: 1 + 1/4 + 1/9 + 1/16 + …. It clearly settles, somewhere near 1.64. Finding the exact value was a famous puzzle. Pietro Mengoli posed it in 1650 and the best mathematicians in Europe, the Bernoulli brothers among them, failed to find its value. It became known as the Basel problem, after the Bernoullis’ home town.

In 1734 Leonhard Euler, aged 28, solved it. The answer has a circle in it, out of nowhere:

∑n=1∞1n2=1+14+19+116+125+⋯=π26
The Σ (sigma) is shorthand for a sum: one term 1/n² for each whole number n from 1 upwards. The π is the circle constant, and the total is 1.6449….

Nothing about square numbers mentions circles. That a sum over whole numbers should know about π was the first hint that these sums hide more than they show.

One sum, many inputs

Euler went further. Instead of squares, use any power s: one over each whole number raised to the power s, all added up. The result depends on s, so it is a function of s. Riemann later named it with the Greek letter zeta.

ζ(s)=∑n=1∞1ns=1+12s+13s+14s+⋯
The zeta function: one term for every whole number n. The sum settles when the real part of s is above 1.

ζ(2) is Euler’s π²/6. ζ(4) is π⁴/90 = 1.0823. ζ(3) = 1.2020… has no known formula at all; Roger Apéry proved in 1978 that it is not a fraction, and that is about all anyone knows. ζ(1) is the harmonic series, so it is infinite. Below 1 the terms shrink even more slowly, and the sum runs away too.

The zeta function for real inputs between 1 and 6
ζ(s) for ordinary numbers s above 1. Far to the right it approaches 1, because every term after the first becomes tiny. As s comes down to 1 it shoots up to infinity.

Feeding it a complex number

So far s has been an ordinary number. The machine of chapter 10 is this same sum fed a complex input, s = σ + ti. From chapter 11, each term 1 ÷ ns is an arrow: length 1 ÷ nσ, turned clockwise by t × ln n. The sum means laying those arrows tip to tail. The first arrow is always 1, pointing right. Each later one is shorter and turned a little further, so the chain curls into a spiral, and where the spiral ends is ζ(s).

1ns=n−σ−it=1nσe−itln⁡n
With s = σ + ti: the first factor is the length of the arrow, the second is a pure turn, clockwise by t × ln n radians.

Drag the input point in the small map, or pick one of the examples.

The chain of arrows one over n to the s, laid tip to tail
Input s, drag the dot
Examples

The wall at 1

Drag the input to the left of the dashed line, where the real part σ is 1 or less, and the spiral never closes in. The arrows shrink too slowly, the chain keeps unwinding, and adding more arrows only carries the end further away. The sum, as a sum, means nothing there.

That is a problem, because the zeros Riemann cared about, including the one at ½ + 14.13i, are all on the wrong side of that wall. His way through it is the subject of the last chapter. First, the reason anyone cares: the sum is secretly made of primes.

What to keep from this chapter

Words used in this chapter

Series, converge, diverge
A series is an endless sum. It converges if its running totals settle on one number, as 1 + ½ + ¼ + … settles on 2. Otherwise it diverges.
Harmonic series
1 + ½ + ⅓ + ¼ + …. Its terms shrink to nothing, yet it diverges: the total passes every number, growing like ln n.
Zeta function, ζ(s)
ζ(s) = 1 + 1/2s + 1/3s + 1/4s + …, an endless sum that settles whenever the real part of s is above 1, and is extended to every other s by analytic continuation.
Real part, imaginary part
The across and up coordinates of a complex number. The input of the zeta function is written s = σ + ti: σ (sigma) is its real part, t its imaginary part.
Length and angle
Every complex number is an arrow with a length (its modulus) and an angle from the positive real axis (its argument). Multiplying two of them multiplies the lengths and adds the angles.
π, the circle constant
The number 3.14159…, the ratio of a circle’s circumference to its diameter. Not to be confused with π(x), which counts primes and merely borrows the letter.

Every term and symbol is in the glossary.

Further reading

More in the reading list, and every date on the timeline.

Sources

L. Euler, “De summis serierum reciprocarum”, Commentarii academiae scientiarum Petropolitanae 7, written 1734, printed 1740. R. Apéry, “Irrationalité de ζ(2) et ζ(3)”, Astérisque 61, 1979. The harmonic series passes 100 after about 1.5 × 1043 terms: OEIS A004080.