Computing log π via Infinite Products
Summary: §188–§190: starting from the Wallis product re-paired as , taking the logarithm, expanding each via the §118 power series, and transposing the resulting double sum, Euler reduces to the linear combination of the §169 odd-square sums . Tabulating these to twenty digits gives and .
Sources: chapter11
Last updated: 2026-05-01
The starting product
The Wallis product re-paired by adjacent factors reads
(source: chapter11, §188), equivalently
Each factor is small, so the logarithm is well-behaved.
Take the log
(source: chapter11, §189; the second form rewrites Wallis with denominator instead of ). Both versions hold whether logarithms are common or natural; for what follows, natural logarithms are essential because they are the ones whose power series has no extra constant.
Expand each log
The §118 series:
Apply to :
Substituting into produces a double sum over where indexes the power and indexes the original product factor (source: chapter11, §190):
Transpose: the columns are odd-square sums
Reading the double sum column by column, each column is
where
These are exactly the §169 odd-square sums, whose closed forms are known: , , , etc. Euler labels them :
The transposed sum becomes
(source: chapter11, §190).
Why this is fast
Each column sum is dominated by the leading term , which decays geometrically in . So the -th term of the outer sum is bounded by , and twenty terms suffice for ~20 correct digits. By contrast, the original Wallis product needs ~ factors for the same precision.
The trick — take logs, expand, transpose — converts an -convergent product into a doubly-summed series whose outer sum is . This is Chapter 11’s key innovation.
The numerical result
Euler tabulates the column sums to 18+ digits (source: chapter11, §190):
| Symbol | Value |
|---|---|
(Symbols continue through the alphabet to where the entries flatten to and contribute negligibly.) Plugging into the boxed formula yields
(source: chapter11, §190). Multiplying by converts to the common log:
(source: chapter11, §190).
Why bother with a separate table?
In Euler’s day, every transcendental computation began by reaching for a table. The constant appears as a multiplier in countless integrals, in the law of cosines, in any series involving sines/cosines — and computing to 20 digits and then taking its logarithm by long division would be far slower than computing directly.
Euler’s reasoning: the ingredients are exactly the same odd-square sums he tabulated in §168–§169, and the rest of Chapter 11 (§191–§196) reuses them again for and . One small table of column sums supports computations of , , , , for every rational angle — a major simplification of trig log table production.
A modern reading
The transposition
is justified by absolute convergence (Fubini for double series) — Euler does it without comment, but the rearrangement is in fact valid here because every term is positive and the double series converges. The boxed identity is essentially the Taylor expansion of at in disguise; modern derivations use the Hurwitz zeta function.