A circle constant hiding in a series
Pi is the ratio of a circle’s circumference to its diameter. Ramanujan’s 1914 paper connects approximations to π with modular equations and elliptic functions. Among its striking results is this convergent infinite series:
Read the sources: Ramanujan · Modular equations and approximations to π (1914) ↗
What just one term can do
Keep only the k = 0 term and invert the resulting approximation to 1/π:
≈ 3.141592730013305…
The actual value begins 3.141592653589793…. The absolute error is about 0.0000000764. The approximation shares the first seven digits after the decimal point; its error is smaller than 10−7. Statements that it gives “eight digits” usually count significant digits, so it helps to say precisely what is being counted.
| Terms retained | Approximate π | Absolute error |
|---|---|---|
| 1 (k = 0) | 3.141592730013305… | 7.64 × 10−8 |
| 2 (k = 0, 1) | 3.141592653589793878… | 6.40 × 10−16 |
| 3 (k = 0, 1, 2) | 3.141592653589793238462649… | 5.68 × 10−24 |
The values in this table are numerical evaluations of the displayed formula. They illustrate convergence; they do not derive the identity.
Why the numbers are so unusual
The integers 1103 and 26390 are not arbitrary decorations. They arise from the special-function relationships behind the formula. Elliptic integrals and modular transformations organise the calculation; the large power of 396 in the denominator makes the later terms very small.
This is a recurring feature of Ramanujan’s work: a formula that looks like a numerical miracle often belongs to a connected mathematical structure.
Read the sources: Ramanujan · Modular equations and approximations to π (1914) ↗
From pure mathematics to computation
Ramanujan-type series became an important route to high-precision computation of π. Later formulas, including those of the Chudnovsky brothers, belong to this broader mathematical tradition. They should not be presented as formulas Ramanujan himself wrote.
Read the original paper for the setting of modular equations and the family of series surrounding this example.
Read the sources: Ramanujan · Modular equations and approximations to π (1914) ↗ · Published papers · Transcribed primary texts ↗