Continuing Past the Edge

The series for zeta stops making sense at 1, but the function does not. Extend it across the whole plane three different ways and find out what 1 + 2 + 3 + … = −1/12 really means

Continuing Past the Edge

The sum 1 + 2−s + 3−s + … only adds up when the real part of s is bigger than 1. The function it defines does not stop there: it extends, in exactly one way, to the whole complex plane apart from the single point s = 1. Every zero the Riemann hypothesis is about lives where the original sum is meaningless.

The Spiral That Will Not Settle

Drag s to the left of σ = 1 and watch the partial sums spiral outward round the white ring. Then switch on the corrections one at a time and watch the lime path fall into it.

Corrections switched on (each choice includes the ones before it)
Move s to:
0.86339 − 0.16405i
raw partial sum SN, N = 399
0.45289579 − 1.07419998i
with one correction
0.42991386 − 1.06429144i
ζ(0.50 + 20.00i) from the tested library
0.025
distance of the corrected value from ζ(s)
Left of σ = 1 the raw sums spiral outward: the series diverges. The radius of the spiral is N1−σ/|1 − s|, now 0.998. With one correction on, the lime path heads for the white ring as N grows: after 399 terms it is 0.025 from ζ(s).
raw partial sums SNthe same sums, correctedthe swell N1−s/(1 − s) that the integral predictsζ(s), computed separatelythe critical line

Drag the point s on the map, or use the sliders. Amber is the series added up term by term; lime is the same sum after the corrections you have switched on; the white ring is ζ(s) from the library, which uses this same formula with ten Bernoulli terms (and, left of σ = 0, the functional equation). The lime band on the map and on the number line under it is where the corrected sums converge as N grows. Below about 10−13 the error curves stop falling: that floor is double precision, and to the left of σ = 0 it rises with N, because terms as large as N−σ are being cancelled.

Go deeper:Euler–Maclaurin Summation and Why the Extension Is Unique

The Euler–Maclaurin formula, found by Leonhard Euler in the 1730s and independently by Colin Maclaurin, who published it in 1742, compares a sum with the integral of the same function and writes the difference as a series of corrections. Applied to the tail of the zeta series beyond N it gives

ζ(s) = ∑n ≤ N n−s − N1−s/(1 − s) − ½N−s + ∑j ≤ k (B2j/(2j)!) · s(s + 1)…(s + 2j − 2) · N−s−2j+1 + Rk

where B2 = 1/6, B4 = −1/30, B6 = 1/42 are Bernoulli numbers. For Re s > 1 this is a theorem about a convergent series. The point is that the right-hand side, remainder included, makes sense for Re s > −2k − 1, and is an analytic function of s there apart from s = 1. So it defines ζ on that larger half-plane, and taking k as large as you like reaches the whole plane. In the demo the remainder is dropped, and what you see is its size: about N−σ after the integral term, N−σ−1 after the half term, and then two more powers of N for each Bernoulli term, because the odd Bernoulli numbers vanish. That is why the edge of convergence moves from 1 to 0 to −1 and then in steps of two.

Nobody chose this extension. The identity theorem says that two analytic functions which agree on a small disc agree everywhere they are both defined on a connected region. Any two ways of continuing ζ agree where the series converges, so they agree everywhere. The formula above is one way to compute the continuation; the function it computes was already determined.

The pole is in the first correction. N1−s/(s − 1) is the integral of x−s from N to infinity, and at s = 1 that integral is the divergence of the harmonic series 1 + ½ + ⅓ + …. Near s = 1 the function behaves like 1/(s − 1): a simple pole with residue 1, and the only singularity ζ has. See also: Complex Analysis, for analytic functions, poles and the identity theorem.

Three Roads, One Function

Drag the plane to explore and drag the white cross to choose a point; the table computes ζ there three different ways. Take the cross far to the left, then press “A zero of η”, and see which roads give out.

Go deeper:Riemann’s Continuation, the Eta Function and the Two Kinds of Zero

Bernhard Riemann’s 1859 paper, Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse, was the first to treat ζ as a function of a complex variable. He obtained the continuation from a contour integral that makes sense for every s, and from it the functional equation ζ(s) = χ(s) ζ(1 − s), with χ(s) = 2s πs−1 sin(πs/2) Γ(1 − s), which ties the values left of σ = ½ to those on the right. Road 3 in the demo uses it as a method of computation.

Road 2 starts from the alternating series η(s) = 1 − 2−s + 3−s − …, which converges for σ > 0. Subtracting twice the even terms from the zeta series gives η(s) = (1 − 21−s) ζ(s), so dividing by that factor continues ζ into the critical strip. The raw series is very slow: its error after N terms is about ½N−σ. Peter Borwein’s method (2000) multiplies the first n terms by weights taken from a Chebyshev polynomial and cuts the error to about 5.8−n. Helmut Hasse showed in 1930 that repeated averaging of the same series gives one that converges for every s.

The factor 1 − 21−s vanishes at s = 1 + 2πik/ln 2 for every whole number k. At k = 0 that zero cancels the pole of ζ, which is why η(1) = ln 2 is finite. At the others η is zero and ζ is not: these are zeros of η on the line σ = 1 that say nothing about ζ, and road 2 cannot cross them. Colour η in the demo to see them. That ζ itself has no zero anywhere on σ = 1 is a theorem, proved independently by Jacques Hadamard and Charles-Jean de la Vallée Poussin in 1896.

The dark points on the negative real axis are the trivial zeros, at s = −2, −4, −6, …, forced by the factor sin(πs/2). At s = 0 the function is −½. Right of σ = 1 the Euler product shows ζ is never zero (See also: Euler’s Golden Key), and the functional equation then leaves only the trivial zeros left of σ = 0. Every other zero lies in the critical strip 0 < σ < 1. These are the non-trivial zeros, and the series that defines ζ says nothing direct about them. That all of them have σ = ½ is the Riemann hypothesis, proved in November 2026. In the demo, roads 1 and 3 use the same summation formula at two different points, joined by the functional equation; road 2 shares nothing with either. Agreement between them is a check on the arithmetic, in double precision, and not a proof of anything.

What −1/12 Really Means

Choose a cutoff and raise N: the smoothed sum grows without limit, yet what is left after its growing part is removed settles on the teal line. Then try the ramp, and the other sums.

adding up: 0%
The divergent sum
The cutoff w(x) shown on the left and drawn thick on the right
2,701
the ordinary partial sum, 73 terms: it only grows
5,328.9167
smoothed sum Sw(N), 6,570 terms added
5,329.0000
growing part Cw N2, with Cw = 1
−0.083333
what is left; ζ(−1) = −1/12 = −0.083333
With this cutoff the sum is 5,328.9167 and its growing part is 5,329.0000. The growing part depends on the cutoff. What is left, −0.083333, does not: every smooth cutoff lands on ζ(−1) = −1/12.
ζ at the negative integers, against the constant left by three smooth cutoffs at the largest N this page allows for each sum
Divergent sumζ(−k) = −Bk+1/(k + 1)ζ(−k), continuede−xe−x²bumpat N
1 + 1 + 1 + …−1/2−0.500000………2,000
1 + 2 + 3 + …−1/12−0.083333………2,000
1 + 4 + 9 + …00.000000………500
1 + 8 + 27 + …1/1200.008333………200
1 + 16 + 81 + …00.000000………80
1 + 32 + 243 + …−1/252−0.003968………40
sharp stop at Ne−xe−x²smooth bump(1 − x)²ramp 1 − xζ(−k), a theorem

Each curve is a sum your browser adds up: ∑ nk w(n/N) over every n where the cutoff is not yet zero, minus Cw Nk+1, where Cw is the integral of xk w(x). Solid curves are smooth cutoffs (the bump is exp(−4x²/(1 − x²)) inside x < 1 and exactly zero outside); dashed ones have a corner at x = 1. N is capped lower for higher powers, because the constant is what remains after two numbers as large as 1011 are subtracted, and double precision keeps sixteen digits.

In useA force from the part that does not depend on the cutoff

Where physics does this honestly.

Between two mirrors a distance a apart, a field in one dimension can only vibrate in whole numbers of half-waves, and the n-th mode carries a zero-point energy n × πħc/2a. The total is πħc/2a times 1 + 2 + 3 + …, which diverges. No real mirror reflects arbitrarily high frequencies, so nature supplies a cutoff, and nobody needs to know its shape.

Cutoff∑ n·w(n/N) at N = 2,000Part proportional to N²Left over
e−x………
e−x²………
smooth bump………

The cutoff scale N is proportional to a, so the part proportional to N² is an energy proportional to a: the energy empty space of that length has with or without mirrors. Moving a mirror takes it from one side and gives it to the other, and it cancels. What is left is −1/12 × πħc/2a = −πħc/24a, an energy that falls as the mirrors approach, so they attract. For conducting plates in three dimensions the same argument meets 1 + 8 + 27 + … and ζ(−3) = 1/120, and gives Hendrik Casimir’s prediction of 1948: an energy of −π²ħc/720a³ per unit area (720 is 6 × 120). Steve Lamoreaux’s measurement of 1997, with a sphere and a plate, agreed with the theory to about five per cent. See also: Quantum Field Theory, The Vacuum Is Not Empty, which carries out the subtraction with four cutoffs.

Go deeper:Smoothed Sums, Euler’s Divergent Series and Ramanujan’s Letter

ζ(−1) = −1/12 is a true statement about the continued function. “1 + 2 + 3 + … = −1/12” is not an equation between a sum and a number: the partial sums are N(N + 1)/2 and they grow without limit. What is true is this. If w is a smooth function with w(0) = 1 that falls to zero fast enough, then

∑n ≥ 1 nk w(n/N) = Cw Nk+1 + ζ(−k) + (terms that vanish as N → ∞), with Cw = ∫0∞ xk w(x) dx.

The growing part depends on the cutoff and the constant does not. This follows from the Euler–Maclaurin formula of the first demo, applied to xk w(x/N); Terence Tao’s 2010 exposition is the standard modern reference. The constant is ζ(−k) = −Bk+1/(k + 1), with the convention B1 = +½: so −½, −1/12, 0, 1/120, 0, −1/252. The zeros in that list, at k = 2 and k = 4, are the first two trivial zeros. Analytic continuation, then, picks out the one piece of a divergent sum that does not depend on how the sum is cut off. A cutoff with a corner breaks the argument, because Euler–Maclaurin needs derivatives, and the demo shows by how much: for 1 + 2 + 3 + … at whole N, the ramp leaves exactly −1/6.

Euler worked with these series long before continuation existed. In 1749 he assigned values to divergent series such as 1 − 2 + 3 − 4 + … by a summation method, compared them with the values of the convergent series at positive integers, and conjectured a relation between the values at s and at 1 − s that is equivalent to the functional equation Riemann proved 110 years later. Srinivasa Ramanujan arrived at the same values by his own methods, and in a 1913 letter to G. H. Hardy wrote that 1 + 2 + 3 + 4 + … = −1/12 “under my theory”, adding that he expected to be pointed to the lunatic asylum for saying so.

The functional equation makes the value a reflection of a convergent sum. At s = −1 it reads ζ(−1) = 2−1 π−2 sin(−π/2) Γ(2) ζ(2), and with ζ(2) = π²/6 that is −1/12: Euler’s sum of the reciprocal squares, seen in a mirror. See also: The Mirror at One Half.

Key Takeaways

  • The series for ζ(s) converges only for Re s > 1, but the function extends to the whole plane apart from a simple pole at s = 1, and the extension is unique.
  • A divergent partial sum is ζ(s) plus a large, predictable swell; Euler–Maclaurin summation subtracts the swell term by term.
  • Independent methods of continuation agree wherever they both work, and each fails somewhere for its own reason.
  • ζ(−1) = −1/12 is the constant left by any smooth cutoff of 1 + 2 + 3 + …, not the value of that sum.

Spot a mistake or have an idea?

Search