jcb stwsk

Ramanujan: Discovery Before Explanation

Partitions, a fast series for π and the work left in his notebooks.

Ramanujan’s formulas can look implausibly specific: partition counts divisible by 5, 7 and 11; a series for π involving 1103 and 26390. Where did those relationships come from? Some of his papers show the calculations and proofs behind them. Other results reached readers with much less explanation and occupied mathematicians for decades.

On this page

The unlikely route

Born in southern India in 1887, Ramanujan learned much of his advanced mathematics on his own, especially from G. S. Carr’s compendium of results. Books, Indian supporters and collaborators were part of that education, even though his route differed from a conventional university training.

In 1913, while working as a clerk at the Madras Port Trust, he wrote to G. H. Hardy. The letter began a collaboration that took him to Cambridge in 1914. He became a Fellow of the Royal Society in 1918. His career was cut short by illness; he died in India in 1920, aged 32. The MacTutor biography gives the broader chronology.

1. Hidden laws in the act of counting

A partition of a positive integer writes it as a sum of positive integers, ignoring order. Four has five partitions:

4; 3 + 1; 2 + 2; 2 + 1 + 1; 1 + 1 + 1 + 1.

So p(4) = 5. By 100, the count is p(100) = 190,569,292.

Ramanujan discovered exact divisibility patterns:

  • p(5n + 4) is divisible by 5.
  • p(7n + 5) is divisible by 7.
  • p(11n + 6) is divisible by 11.

The congruences hold for every nonnegative integer n. Counting small examples makes them easy to check; explaining why they continue indefinitely takes more work.

In his 1919 partition paper, Ramanujan describes noticing patterns in Percy MacMahon’s table of partition numbers. He distinguishes conjectures from established results and supplies proofs for the congruences modulo 5 and 7. The paper lets us see some of the work between spotting a pattern and establishing it.

Counting through analysis

Hardy and Ramanujan also obtained an asymptotic formula for the partition count:

p(n) ∼ exp(π√(2n/3)) / (4n√3).

The symbol ∼ means that the ratio tends to one as n grows. It is not an exact equality for every n.

Their work on partitions used complex analysis to address this problem of counting sums of whole numbers and helped establish the circle method. The π and exponential in the formula come out of that analytical treatment.

2. A formula for π that looks invented

One of Ramanujan’s rapidly converging identities is:

1/π = (2√2 / 9801) × Σ from n = 0 to ∞ of [(4n)! × (1103 + 26390n)] / [(n!)⁴ × 396^(4n)].

The identity is exact, including those odd-looking constants. Ramanujan presented it in his work on modular equations and approximations to π, and it converges fast enough to be useful after only one term.

Taking only the n = 0 term gives:

π ≈ 9801 / (2206√2) = 3.141592730013…

The absolute error is about 7.64235 × 10⁻⁸. Adding the n = 1 term reduces it to about 6.39536 × 10⁻¹⁶. Those errors follow by direct numerical evaluation of the displayed series.

Elliptic functions and modular equations explain the structure behind the formula. Later derivations, including the Borweins’ study of Ramanujan’s approximations, make the connection explicit.

Those derivations explain why the formula works. They cannot necessarily reconstruct the calculations or associations that first led Ramanujan to it.

3. Functions that waited for a larger framework

Near the end of his life, Ramanujan introduced mock theta functions in a letter to Hardy. He supplied examples and striking observations without the general framework that later mathematicians would develop.

Modular forms satisfy demanding transformation laws. Ramanujan’s examples suggested related behavior without fitting the classical category directly. In his 2002 doctoral thesis, Sander Zwegers showed how appropriate correction terms completed important examples into real-analytic modular objects.

Related mock modular structures appear in calculations of particular supersymmetric black-hole states within string theory, as Dabholkar, Murthy and Zagier describe. This is a later theoretical application, not a prediction of black holes by Ramanujan or experimental confirmation of string theory.

Inspiration is not verification

Accounts of Ramanujan’s life report that he attributed mathematical inspiration to the goddess Namagiri, including inspiration in dreams. They tell us something about how he understood his inspiration, though they cannot reconstruct his calculations or establish whether a formula is correct.

He calculated extensively, often on a slate, and transferred selected results into notebooks. A notebook entry without a proof therefore leaves a gap in the surviving record, not necessarily in the reasoning that preceded it. The recorded claims still had to be checked.

Scholars George Andrews, Bruce Berndt and Ken Ono discuss these distinctions in an oral history of the lost notebook. Andrews found the material at Trinity College in 1976. The subsequent work of interpreting, proving and extending it continued for decades.