Basel problem Created 2026-09-24 Updated 2026-10-14
The Basel problem asks for the exact sum of the reciprocal squares of the positive integers. The answer is
The integral test proves that the series converges, but does not identify this exact value. The Euler evaluation of even zeta values does: the equally spaced poles of cotangent connect reciprocal integer powers to Bernoulli numbers and . This separates three different questions: whether a sum exists, how well a partial sum approximates it, and what its exact value is.
For example, the ten-term partial sum is about , while the exact value is about . The zeta series truncation error bounds the missing amount between and ; it is much larger than the first omitted term . More terms improve the approximation, but a numerical coincidence with would not prove the identity.
Figure 1.
The Basel series converges slowly compared with the reciprocal-fourth-power series
. The left panel shows original computed reciprocal-square partial sums approaching . The right panel compares the faster convergence of reciprocal fourth powers. Each panel has its own vertical scale. Details.
In On the sums of series of reciprocals by Leonhard Euler, §2 identifies the reciprocal-square sum with one-sixth of the squared circumference of a unit-diameter circle. The translation's publication note dates the presentation to 5 December 1735 and publication to 1740.[ref] The cotangent coefficient proof of the even zeta values gives a short modern outline, while zeta series truncation error addresses the distinct approximation question.
The cotangent kernel has a simple pole of residue one at every integer. If a meromorphic is regular at the integers, these residues sample its integer values. Integrating around squares of half-side and applying the residue theorem converts a finite sum of samples into residues at the other poles. When the contour integral tends to zero and has only finitely many other poles, the limiting sum is the negative sum of those off-integer residues of . A uniform cotangent bound and sufficiently rapid decay of justify the vanishing contour term. At an integer where itself has a pole, use the full Laurent series to find the combined residue instead of substituting a divergent sample; the Basel problem calculation with illustrates this exception.
Euler evaluation of even zeta values Created 2026-10-13 Updated 2026-10-14
The Euler evaluation of even zeta values turns a family of series into exact expressions using Bernoulli numbers, factorials and powers of . For every positive integer ,
Here is the Riemann zeta function, defined by its convergent series at these arguments, and the Bernoulli number convention is . The alternating sign combines with the sign of to give a positive sum.[ref]
Substituting , and gives
The first identity answers the Basel problem. It is surprising because the original series only mentions reciprocal squares of integers, while its exact sum involves the circle constant . The cotangent partial-fraction expansion supplies a connection between the two: trigonometric functions encode equally spaced integer poles, whose expansion brings the reciprocal powers into view.
For an original numerical comparison, the first ten terms give , while . The omitted positive terms still contribute approximately . For fourth powers, the ten-term partial sum is approximately , only below . Both are convergent series, but the second approaches its limit much faster.
Figure 1.
Reciprocal-square and reciprocal-fourth-power partial sums approach exact zeta values
. Original computed partial sums for the first thirty terms. Each panel has its own vertical scale. Dashed horizontal lines mark and ; neither finite partial sum equals its limiting value. Details.
Exact evaluation is useful beyond obtaining more digits. It supplies an independent check on a numerical summation, exposes how Bernoulli numbers organize infinitely many identities, and makes the remaining series truncation error measurable without knowing any omitted terms individually. The even integer condition is essential to this formula: putting into it is not a way to evaluate , since the required Bernoulli number index and factorial expression here are indexed by positive integers.
Historically, Leonhard Euler announced reciprocal-square and reciprocal-fourth-power evaluations in §2 of On the sums of series of reciprocals by Leonhard Euler. That paper was presented on 5 December 1735 and published in 1740, as the English translation's first-page note records. His §§3–8 develop a route through the sine power series and relationships between roots and coefficients. The cotangent calculation below is a concise modern presentation of the connection.[ref]
For the half-range Fourier cosine series on , the coefficients are
Two integrations by parts, with , give
Thus
The even, -periodic extension is continuous and piecewise continuously differentiable, so the Fourier series converges to it, including at . Equivalently, the summable coefficient bound gives uniform convergence and permits taking the limit from the interior. Evaluating at , where , yields
This is the Basel problem.
The function is even, so its Fourier series has . In the convention ,
Twice applying integration by parts gives, for ,
Therefore the periodic Fourier representation is
with periodic continuation. The periodic extension is continuous, including the identified endpoints, and piecewise smooth, so the Fourier series converges to it. The coefficients also give absolute convergence and uniform convergence by comparison with .
At , the cosine cancels the alternating coefficient sign; at , it is identically one. These evaluations yield
The first identity solves the Basel problem.
The displayed definition uses iterated Eisenstein summation in weight two: the sum in is evaluated before the sum in , with the single term omitted. This order is essential. The two-dimensional lattice series does not have absolute convergence, so arbitrary rearrangement would not be justified.
For noninteger , the cosecant partial-fraction identity is
For completeness, apply the residue theorem to on squares with large half-integer sides. The cotangent is bounded on the contours and the integral is . Its residues at the integers are and its residue at is , proving the formula. If , the geometric-series expression , differentiated termwise, gives the cotangent partial-fraction Fourier kernel
Put with in the complex upper half-plane. For positive , this gives . Negative gives the same value, by replacing with in its inner sum. The row is , by the Basel problem. The resulting series in does have absolute convergence, locally uniformly in , so collecting the coefficient at is legitimate:
The coefficient is the sum-of-divisors function, since runs over the positive divisors of . Thus
There is no conflict with vanishing of weight-two level-one modular forms: the Eisenstein series of weight two has an anomalous transformation term, so it is not a weight-two modular form.
Write the function from the preceding part as . Its expansion at zero is
Hence the residue theorem gives
Choose . This circle stays a distance at least from every pole of , so is bounded uniformly on it. Moreover
Thus , and the ML inequality yields
Letting solves the Basel problem:
For a pole of order at , the residue is . For the rational integral, close the real-axis contour with an upper semicircle. The poles are double at and simple at , with
The arc integral vanishes as . By the residue theorem the whole real-axis integral is , and evenness gives
For the second calculation, reciprocal expansion of the sine gives . Multiplying by yields . Therefore
At every nonzero integer , has a simple pole with residue one, giving residue after division by .
The cotangent contour summation uses the positively oriented square of half-side . Its length is and on its boundary. The supplied cotangent bound implies . Its enclosed residues sum to . The residue theorem therefore proves the Basel problem value
Figure 1.
Upper-half-plane and square contours for the rational integral and the Basel sum
. Original contour diagrams. Both are counterclockwise. The upper semicircle encloses poles at and ; the example square has half-side , enclosing the integer poles from to . Details.
Take independent random variables , each with the continuous uniform distribution on , and set . Then , and the events are mutually independent events. The product probability space supplies a model for the entire infinite sequence; a finite list of simulated values is only an illustration.
For , the p-series is summable:
The Basel problem supplies the total sum, and the integral test for convergence gives the displayed tail bound. The First Borel-Cantelli lemma makes the limsup of events have probability zero. In fact, the tail bound implies that the probability of even one alarm at or after is at most ; for , it is at most . This bound remains valid for dependent events with the same individual probabilities.
For , the harmonic series diverges, so the Second Borel-Cantelli lemma makes the limsup of events have probability one. There is also an exact finite-horizon calculation using independent events:
For any fixed , this finite product of numbers tends to zero as . Every infinite tail therefore contains an alarm almost surely, even though the individual probabilities tend to zero.
Figure 1.
Summable and harmonic probabilities: partial sums and the probability of a later event
. The left panel shows finite partial sums. On the right, the blue curve is the infinite tail of the squared-reciprocal p-series, bounding the probability of a later event by the union bound; the gray curve is its upper bound. For harmonic probabilities, mutually independent events have a later occurrence with probability one, while the shared-uniform counterexample to the second Borel-Cantelli lemma has tail probability . The infinite claims follow from the calculations, not from the finite plotted range. Details.