About this book
The Collected Papers of Srinivasa Ramanujan is a single volume published by Cambridge University Press in 1927, seven years after Ramanujan died at the age of thirty-two. It was edited by three people who had known him or his work closely: G. H. Hardy, the Cambridge mathematician who brought him to England; P. V. Seshu Aiyar, his former teacher in Kumbakonam who had helped him early on; and B. M. Wilson, a younger mathematician who did much of the editorial checking. The book gathers what Ramanujan published in journals during his short career, both in India and in England, together with his papers written with Hardy, the problems he posed and answered in the Journal of the Indian Mathematical Society, and extracts from his early letters to Hardy.
It opens with two biographical notices. One, by Seshu Aiyar and R. Ramachandra Rao, describes his life in India: his schooling, his years of poverty and private study, and the people who helped him find work and recognition. The other, by Hardy, is a short account by the man who knew his mathematics best. Together they remain among the most important early sources for his life.
This volume is not an introduction to Ramanujan for the general reader, and it is not a biography. It is the record of his published work in his own mathematical language. That makes it unusual on a shelf of this kind. Most readers will not follow every formula. But the book is the primary document, the thing itself, and it repays a reader who comes to it prepared to look rather than to master.
The question the volume answers is a modest one: what did Ramanujan actually publish? That modest question matters because his story has grown into a legend, retold in books and films, and legends tend to float free of evidence. The Collected Papers fix the record. They show a mathematician of extraordinary range and originality working on specific problems: the divisors of numbers, the ways a number can be split into sums, infinite series for pi, continued fractions, elliptic and modular functions, and the distribution of primes. The shelf note is right that the work is still being mined. Results from these pages continue to lead to new mathematics a century later.
What the volume contains and what it leaves out
It is important to know what this book does not contain. During his years in India Ramanujan kept notebooks in which he recorded thousands of results, mostly without proofs. Those notebooks were not published in this volume. A facsimile was printed in Bombay in 1957, and the American mathematician Bruce Berndt later spent decades editing them with proofs and commentary in a five-volume series. A further sheaf of papers from the last year of his life, now known as the lost notebook, was found in 1976 in the library of Trinity College, Cambridge, by George Andrews, and has since been edited by Andrews and Berndt. The Collected Papers, by contrast, are the work Ramanujan himself prepared for publication, or that he and Hardy wrote together. They are the polished part of a much larger body of thought.
Later printings added material. The American Mathematical Society reissued the volume in 2000 with notes and commentary by Berndt, pointing to where each result had been extended, corrected or proved. A reader who can obtain that edition gains a great deal, because the commentary shows how the work has been used since.
The author
Srinivasa Ramanujan was born in December 1887 in Erode, in what is now Tamil Nadu, and grew up mainly in Kumbakonam, a temple town in the Kaveri delta. His family was Brahmin and poor. His father worked as a clerk for a cloth merchant. His mother was devout and had a strong influence on him. The family's devotion to the goddess Namagiri of Namakkal stayed with him all his life; he is reported to have said that she gave him insights in dreams. That report should be read as part of how he understood himself, not as an explanation of his mathematics.
He showed a gift for mathematics early and did well at the Town High School in Kumbakonam. As a teenager he came across a book by G. S. Carr, A Synopsis of Elementary Results in Pure and Applied Mathematics, a compendium of several thousand formulas listed with very brief proofs or none, intended to help students preparing for examinations. It shaped his style. He learned mathematics as a vast set of results to be discovered and recorded, and he took from Carr the habit of stating results tersely without full argument.
He won a scholarship to the Government College in Kumbakonam but lost it because he neglected other subjects for mathematics. He later tried again at Pachaiyappa's College in Madras and again did not complete a degree. For several years he lived in poverty, working on mathematics on his own and filling his notebooks. In 1909 he married Janaki, who was then a young girl, as was customary. He sought patrons and work, and with help from figures including R. Ramachandra Rao, a district official with an interest in mathematics, and members of the Indian Mathematical Society, he received some support and in 1912 found a job as a clerk at the Madras Port Trust. His superiors there, including Sir Francis Spring and S. Narayana Iyer, encouraged his mathematical work.
His first paper, on properties of Bernoulli numbers, appeared in the Journal of the Indian Mathematical Society in 1911. He also began to submit problems to the journal. In early 1913, after writing to other English mathematicians who did not respond helpfully, he wrote to G. H. Hardy at Trinity College, Cambridge, enclosing pages of theorems. Hardy, with his colleague J. E. Littlewood, studied them and concluded that they came from a mathematician of the first rank. Some of the results were known, some were wrong, but many were new and some were unlike anything Hardy had seen.
After some difficulty, since crossing the sea raised religious concerns for his family, Ramanujan travelled to England in 1914. He worked with Hardy in Cambridge for five years, during the First World War. He received a degree by research in 1916 for his work on highly composite numbers. In 1918 he was elected a Fellow of the Royal Society, one of the youngest in its history and the second Indian to be elected, and a Fellow of Trinity College, the first Indian to hold that position. He was also seriously ill for much of this time. Wartime shortages made it hard for him to keep the strict vegetarian diet he followed, the climate was hard on him, and he spent long periods in sanatoria.
He returned to India in 1919, still ill, and died in April 1920 near Madras at the age of thirty-two. The illness was long thought to be tuberculosis; a later medical study suggested hepatic amoebiasis, a parasitic infection of the liver, but the cause remains uncertain. Even in his last months he kept working, and his last letter to Hardy introduced the mock theta functions, which became a major subject of research many decades later.
The Indian setting of the early work
It is easy to tell Ramanujan's story as if nothing happened in India until Hardy read his letter. That is not right. The Indian Mathematical Society had been founded in 1907, and its journal gave Ramanujan his first place to publish. The society was small, run by teachers, officials and a few university men who wanted India to take part in modern mathematics. Its members circulated his notebooks among themselves, argued about what to do with him, and wrote letters on his behalf. Without that network he would have had no job, no publications and no way to reach England.
The problems Ramanujan posed in the society's journal are a revealing part of the Collected Papers. The journal ran a section in which members set questions for others to solve, a common practice in mathematical journals of the period. Ramanujan used it to share results he had found. Some of his questions went unanswered for years, because readers could not find solutions. A few involved nested square roots that unwind into simple numbers, or infinite continued fractions with surprising values. In format they are modest. In content some are deep, and they show how far ahead of his Indian readers he already was.
The University of Madras also played a part. In 1913, after Hardy's response had become known, the university granted Ramanujan a research scholarship, which allowed him to leave his clerk's job and study full time. It later supported his passage to England. These institutional steps were small by later standards, but they were real, and the people who took them deserve to be remembered alongside Hardy. The biographical notice by Seshu Aiyar and Ramachandra Rao at the front of the volume is the best record of them.
A reader should also remember that Ramanujan worked with very limited books. Madras had few advanced mathematical texts, and he had little access to current research journals. Much of what he found had been found before in Europe, and he spent effort rediscovering it. That waste is part of the tragedy of his early years. It is also part of what makes his originality so clear: when he did go beyond what was known, he did so without the guidance that a European student would have had.
The editors
G. H. Hardy, who led the edition, was the leading English pure mathematician of his time. His own Course of Pure Mathematics, his Introduction to the Theory of Numbers written with E. M. Wright, and his essay A Mathematician's Apology all sit on this shelf. Hardy did more than anyone to bring Ramanujan's work into the mainstream. He also shaped how it was understood, insisting on both its greatness and its gaps. P. V. Seshu Aiyar had taught Ramanujan at the Government College in Kumbakonam and was among the first to recognise his gift. B. M. Wilson, a Cambridge-trained mathematician who later worked in Liverpool, began an edition of the notebooks with G. N. Watson that was not completed in their lifetimes. The 1927 volume reflects the care of all three.
The shape of the argument
A collection of papers does not have an argument in the way a treatise does. But the volume has a shape, and seeing it helps a reader find a way in. It is arranged roughly in order of publication, so that a reader can follow the arc of a career: from the short notes and problems of the Indian years, through the long and ambitious papers of the Cambridge period, to the joint papers with Hardy that brought his methods together with Hardy's rigour.
Several themes run through the papers and recur in different forms. The first is the arithmetic of whole numbers: how many divisors a number has, how many ways it can be written as a sum, how primes are distributed. The second is the world of infinite series, products and continued fractions, which Ramanujan handled with a fluency that astonished his contemporaries. The third is the theory of elliptic and modular functions, a deep nineteenth-century subject which Ramanujan approached largely on his own and which turned out to connect the first two themes. Much of his greatest work lies where these three meet: he used the analysis of infinite series and modular functions to answer questions about whole numbers.
Another feature of the volume is the contrast between two kinds of writing. In the problems and in the letter extracts, results are stated with little or no proof. In the papers published in England, especially those written with Hardy, there are full arguments in the standard form of the time. The reader sees two mathematical styles side by side, and also sees them meet.
How not to read it
It would be a mistake to try to read the volume from front to back like a book. It is better used as a set of rooms, entered according to interest. The biographical notices and Hardy's introduction are the entrance hall. The letter extracts and the problems give a sense of the man. A few of the major papers can then be read in outline, with attention to what question they answer and what kind of answer they give, before any attempt at the details.
Idea one: highly composite numbers
Some numbers have unusually many divisors. Twelve can be divided evenly by one, two, three, four, six and twelve; that is six divisors, more than any smaller number has. Ramanujan called a number highly composite if it has more divisors than every smaller number. The first few are one, two, four, six, twelve, twenty-four, thirty-six, forty-eight, sixty and so on. These are the numbers that ancient systems of measurement often favoured, which is why there are twelve inches in a foot, sixty minutes in an hour and three hundred and sixty degrees in a circle. Such numbers divide in many ways and so are convenient.
Ramanujan's long paper on these numbers, published in 1915 in the Proceedings of the London Mathematical Society, studies them systematically. He worked out what their prime factorisations must look like: the exponents of the primes must not increase as the primes get larger, and they follow a fairly precise pattern. He also studied how large the number of divisors can be compared with the size of the number. The paper is a long and dense piece of work, and it was accepted as his dissertation for the Cambridge degree. Part of it was left out of the published version, reportedly to save printing costs during wartime, and the missing portion was published only many decades later.
Why it matters
The subject seems at first like a curiosity. Its importance lies in what it shows about the behaviour of arithmetical functions, functions such as the number of divisors that take a whole number and return another whole number. These functions are highly irregular. The number of divisors jumps around from one number to the next; a prime has only two, while a nearby highly composite number may have dozens. Ramanujan's paper is one of the first systematic studies of the extremes of such a function: how large can it get, and which numbers achieve the record? Questions of this kind about extreme values are central in modern analytic number theory. They connect, through related work on the sum of divisors, to deep problems including the Riemann hypothesis.
An everyday way to see it
Think of planning seating for a dinner. If you have twelve guests, you can seat them at tables of one, two, three, four, six or twelve. With eleven guests you can only use tables of one or eleven. A caterer who wanted maximum flexibility would want a guest count that is highly composite. Ramanujan's paper asks the general version of that question: across all numbers, which give the most flexibility, and how does that flexibility grow as the numbers grow?
Idea two: partitions and the circle method
A partition of a whole number is a way of writing it as a sum of positive whole numbers, without regard to order. The number four can be written as four, three plus one, two plus two, two plus one plus one, and one plus one plus one plus one. So four has five partitions. The number of partitions grows very fast. Ten has forty-two. One hundred has about one hundred and ninety million. Two hundred has nearly four million million. The question is whether there is any formula that tells us how many partitions a large number has without listing them.
Euler had already found in the eighteenth century that the partition numbers are encoded in an infinite product, a generating function. Every partition number appears as a coefficient when that product is expanded. But that encoding does not by itself give a quick way to calculate the numbers or to estimate how fast they grow. In a famous joint paper published in 1918, Hardy and Ramanujan found an asymptotic formula for the partition numbers: an expression that gives their approximate size, with an error that shrinks in relative terms as the number grows. More than that, they found a series of correction terms which, taken together and rounded, give the exact value with astonishing accuracy. They checked it against the partition number of two hundred, which had been computed by hand by Major P. A. MacMahon, and the formula matched.
The method
The technique they used became known as the circle method. The idea, described without the analysis, is this. The generating function for partitions can be studied as a function of a complex variable inside the unit circle. Its behaviour is dominated by what happens near certain points on the boundary of the circle, the points corresponding to rational fractions. Near each such point the function behaves in a way that can be described using the theory of modular functions. By adding up the contributions from these points, one gets a formula for the coefficients. The largest contribution, from the point at one, gives the main term; smaller points give corrections.
In 1937 Hans Rademacher refined the method and obtained an exact convergent series for the partition numbers, completing what Hardy and Ramanujan had begun. The circle method itself was developed further by Hardy and Littlewood and later by I. M. Vinogradov, and became one of the standard tools of analytic number theory. It was used to attack Waring's problem on representing numbers as sums of powers and the Goldbach-type problems on representing numbers as sums of primes.
What it is confused with
The asymptotic formula is sometimes described as if it were simply a good estimate. It is more than that. The point is that the main term already captures the growth almost perfectly, and the corrections are structured, not arbitrary. It is also sometimes described as Ramanujan's work alone. It was a genuine collaboration: the idea of looking for an exact formula of this kind and the intuition for its shape seem to have come largely from Ramanujan, while the rigorous analytical framework owed much to Hardy. The paper is perhaps the best example of what each brought to the partnership.
Idea three: hidden regularities in partitions
Ramanujan noticed something in MacMahon's table of partition numbers that no one had seen. If you look at the numbers of partitions of four, nine, fourteen, nineteen and so on, every number that leaves remainder four when divided by five, the partition counts are all divisible by five. Similarly, the partition counts of numbers that leave remainder five when divided by seven are all divisible by seven, and those of numbers leaving remainder six when divided by eleven are all divisible by eleven. These are the Ramanujan congruences. He proved the first two and stated the third, which was proved soon after his death from material in his manuscripts.
These patterns are startling because partitions are defined by addition, and divisibility is a multiplicative property. There is no obvious reason why the number of ways to split a number into sums should be divisible by five in a regular pattern. Ramanujan's proofs use the identities among infinite products and series that he handled so well, and the deeper reason lies in the theory of modular forms.
Where it leads
Ramanujan also suggested that such congruences extend to higher powers of five, seven and eleven. His guess for powers of seven needed correction, which was supplied later. For a long time it was thought that five, seven and eleven might be special. In 1944 the physicist Freeman Dyson, then a young man, defined a simple statistic called the rank of a partition that seemed to explain the congruences for five and seven, and guessed that some further statistic, which he called the crank, would explain the one for eleven. The crank was found by George Andrews and Frank Garvan in 1988. In 2000 Ken Ono showed that congruences of a similar kind exist for every prime modulus beyond three, though in more complicated forms. The study of partition congruences is now an active field, and it begins on a few pages of this volume.
Why a general reader should care
These results show something about how mathematics is discovered. Ramanujan did not deduce the congruences from a theory. He saw them in a table of numbers. The theory that explains them came later, partly from his own work and largely from others. The lesson is that close attention to data, even in pure mathematics, can reveal structures that theory has not yet reached. Lakatos's Proofs and Refutations and Polya's How to Solve It, both on this shelf, discuss this experimental side of mathematics in general terms. Ramanujan is one of its supreme examples.
Idea four: series for pi and modular equations
In 1914 Ramanujan published a paper in the Quarterly Journal of Mathematics on modular equations and approximations to pi. It contains, among other things, a set of infinite series for one divided by pi. Each series adds up terms built from factorials and powers, and each converges very quickly: every new term adds several correct digits. One of them gives about eight more correct decimal places of pi for each term added. Nothing like this had been known before. The classical series for pi, such as the one discovered in Kerala by the school of Madhava and later in Europe by Leibniz and Gregory, converge so slowly that thousands of terms give only a few digits.
Ramanujan gave little explanation of where his series came from. They rest on the theory of modular equations, which relate the values of certain elliptic functions at different arguments, and on special values that arise when those arguments are chosen in particular ways. Behind them lies the same deep structure, the theory of modular forms, that also explains the partition results. The series were not fully proved until the 1980s, when the brothers Jonathan and Peter Borwein worked out the theory behind them in detail.
Where it led
For decades these series were admired as curiosities. Then, in the age of computers, they became practical. In 1985 the computer scientist Bill Gosper used one of Ramanujan's series to compute pi to about seventeen million digits, a record at the time. The Borwein brothers developed related algorithms, and the brothers David and Gregory Chudnovsky found a series of the same family that converges even faster; versions of it have been used in many later record computations. A paper written by a former clerk in 1914, without any thought of machines, supplied the methods used to push the calculation of pi into the billions and then trillions of digits.
Why it matters
The story is a clear example of pure mathematics finding a use long after its discovery, of the kind Whitehead's Introduction to Mathematics and Hardy's Apology, both on this shelf, discuss from opposite sides. Hardy liked to think that real mathematics had no practical use. Ramanujan's pi series are pure mathematics if anything is, yet they became tools of computation. The episode also shows how a single paper can contain ideas whose meaning is not clear until the surrounding theory has caught up.
An analogy
Imagine two ways to walk to a distant town. In one, each step covers half the remaining distance; you get close, but slowly, and the last stretch seems endless. In the other, each step covers all but a hundred-millionth of the remaining distance. The second walker arrives almost at once. The old series for pi are the first walker. Ramanujan's are the second. What makes the second possible is not effort but a better route, found through a deep understanding of the terrain.
Idea five: the tau function and arithmetical functions
In a 1916 paper on certain arithmetical functions, Ramanujan studied a function now called the Ramanujan tau function. It arises as the sequence of coefficients when a particular infinite product, closely related to the partition generating function, is expanded. The values begin one, minus twenty-four, two hundred and fifty-two, minus one thousand four hundred and seventy-two, and so on. They look irregular. Ramanujan conjectured three remarkable properties.
First, he guessed that the function is multiplicative: if two numbers share no common factor, the tau of their product equals the product of their taus. Second, he guessed a precise rule for how the values at powers of a prime are related to each other. Third, he guessed a bound on how large the values at primes can be, roughly that they never exceed twice the prime raised to the power eleven and a half. The first two were proved by Louis Mordell in 1917, within a year. The third resisted for more than half a century. It was proved in 1974 by Pierre Deligne as a consequence of his proof of the Weil conjectures, one of the major achievements of twentieth-century mathematics, for which Deligne received the Fields Medal.
Why it matters
The tau function turned out to be the first example of something very general: the coefficients of a modular form. Its multiplicative property was explained by the theory of Hecke operators, developed by Erich Hecke in the 1930s. Its growth bound turned out to be connected with the deepest structures of algebraic geometry. And the ideas surrounding it fed into the Langlands programme, a vast set of conjectures linking number theory, representation theory and geometry, and into the proof of Fermat's Last Theorem by Andrew Wiles in 1994, which rested on showing that certain elliptic curves are connected with modular forms. Simon Singh's Fermat's Last Theorem on this shelf tells the story of that proof for the general reader. Ramanujan could not have known where his function would lead. He found it by looking closely at numbers and guessing correctly.
What it is confused with
A reader may think that Ramanujan proved these properties. He proved some related results and stated others as conjectures, and he was careful to mark what he could not prove. This distinction matters. One of his great gifts was formulating conjectures that were exactly right, before anyone had the tools to prove them. In the history of mathematics a correct conjecture of this kind can be as valuable as a proof, because it tells others what to look for.
Idea six: continued fractions and the Rogers-Ramanujan identities
A continued fraction is a fraction whose denominator contains another fraction, whose denominator contains another, and so on, possibly forever. Such expressions give the best rational approximations to irrational numbers and have been studied since the time of Euler and before. Ramanujan had an extraordinary feel for them. Among the results in his first letter to Hardy were evaluations of certain continued fractions in closed form, expressions involving square roots and the golden ratio, which Hardy said he had never seen anything like. Hardy wrote that these formulas defeated him completely and that they must be true, because no one would have had the imagination to invent them.
Closely linked to one of these continued fractions are the Rogers-Ramanujan identities. Stated in words, they say that two different ways of counting partitions always give the same answer. For instance, the number of ways to split a number into parts that differ from each other by at least two is the same as the number of ways to split it into parts that each leave remainder one or four when divided by five. There is no obvious reason why these two counts should match, yet they always do.
The identities had in fact been discovered and proved in 1894 by the English mathematician L. J. Rogers, in a paper that had attracted little attention. Ramanujan found them independently and without proof. In 1917 he came across Rogers's paper, and the two later published a joint paper with simpler proofs. The volume preserves this episode, which is a good example of how results can be found, lost and found again.
Where it leads
The Rogers-Ramanujan identities and their relatives became important far outside number theory. In 1980 the physicist Rodney Baxter found that they arise in the exact solution of a model in statistical mechanics, the hard hexagon model, which describes how particles pack on a lattice. They also appear in the theory of infinite-dimensional Lie algebras and in conformal field theory. A combinatorial curiosity about splitting numbers into parts turned out to describe physical systems. This is a recurring pattern in Ramanujan's legacy.
Idea seven: the normal number of prime factors
In a 1917 paper Hardy and Ramanujan asked a simple question: how many different prime factors does a typical large number have? Some numbers, such as primes, have only one. Some, such as products of the first several primes, have many. But what is typical? They proved that almost all numbers of a given size have close to the logarithm of the logarithm of that size as their number of distinct prime factors. The double logarithm grows extremely slowly. For numbers around a billion it is only about three. So most large numbers have surprisingly few prime factors.
The phrase almost all has a precise meaning: the proportion of numbers up to a given size that fail to have roughly this many prime factors shrinks towards zero as the size grows. The result does not say that every number behaves this way, only that exceptions become rare.
Why it matters
This paper is now seen as the beginning of probabilistic number theory. It treated a property of whole numbers, which seem completely determined, as if it were a random quantity with a typical value. In 1934 Paul Turan gave a much simpler proof using a method like the variance estimates of probability theory. In 1939 Paul Erdos and Mark Kac went further and showed that the number of prime factors is distributed, after suitable scaling, like the bell curve of probability theory. That result, the Erdos-Kac theorem, made precise the idea that the prime factors of a number behave somewhat like independent random events. The Hardy-Ramanujan paper is where this way of thinking starts.
An everyday comparison
Think of rolling many dice and counting the sixes. The count varies from roll to roll, but over many rolls it clusters around a typical value, and large deviations are rare. Hardy and Ramanujan showed that the prime factors of numbers behave in a similar way, even though nothing about whole numbers is actually random. The analogy is not exact, but it captures the shift in viewpoint that the paper introduced.
Idea eight: results without proofs
The letter extracts and the problems posed in the Journal of the Indian Mathematical Society show Ramanujan's characteristic way of working. He stated results, often many at once, with little or no proof. Many were correct and new. Some were known already. A few were wrong. Studying how he got things right and wrong tells us much about his mind and about mathematical discovery generally.
His most famous error concerned prime numbers. In his letters he claimed formulas for the number of primes below a given size that, he believed, were extremely accurate. They were not as accurate as he thought. The difficulty lies in the irregular distribution of the primes, which is governed by the zeros of the Riemann zeta function. Ramanujan, who had not been trained in complex function theory, did not know about the role of those zeros, and his methods, which worked beautifully for smooth series, did not capture the irregularities. Hardy explained the error carefully and with respect. It showed that intuition, however powerful, can fail where the underlying structure is hidden.
How he worked
Ramanujan seems to have worked largely by calculation and pattern. He computed many examples, often on a slate rather than paper, which was expensive. He noticed regularities, guessed general formulas, and checked them against further cases. He then recorded the formulas in his notebooks. His proofs, when he gave them, were often informal by the standards of the time, using manipulations of infinite series that a trained analyst would have checked more carefully. Hardy's task in Cambridge was in part to teach him the standards of rigour without damaging his originality, a task Hardy said was very difficult and which he was never sure he had done well.
What it is confused with
A common misreading treats Ramanujan as a mystic who received results from nowhere. The evidence of the papers and notebooks suggests something more intelligible: an exceptionally strong memory for formulas, immense stamina for calculation, a deep feeling for the behaviour of series and products, and an instinct for which patterns would hold. That is not less remarkable than a mystical account; it is more so, because it is something we can partly understand. Hadamard's The Psychology of Invention in the Mathematical Field, on this shelf, discusses the role of unconscious work and sudden insight in mathematics, and it is a useful companion to the question of how Ramanujan worked.
Idea nine: the partnership with Hardy
The joint papers with Hardy are among the most important in the volume, and the partnership itself is one of the key ideas a reader should take from it. Hardy was a rigorous analyst trained in the strict methods developed in the nineteenth century. Ramanujan was a self-taught discoverer of formulas. Each needed the other. Hardy could prove things Ramanujan could only guess. Ramanujan could see things Hardy could not find. Their best joint work, such as the partition paper, has an insight that seems to come from one and a structure that seems to come from the other.
Hardy later said that his association with Ramanujan was the one romantic incident in his life. He also gave a scale of mathematical ability on which he placed himself well below Ramanujan. Whatever the exact terms, Hardy's respect was real. His Ramanujan: Twelve Lectures on Subjects Suggested by His Life and Work, published in 1940, is the best guide to the Collected Papers by someone who knew him. It is serious, technical and honest about both strengths and weaknesses.
The cultural side
The partnership crossed large cultural distances: between colonial India and imperial Britain, between a devout Hindu and an atheist, between a man who had failed his college examinations and a pillar of Cambridge. Those distances caused real hardship. Ramanujan was isolated, struggled with food and climate, and was often unwell. Robert Kanigel's The Man Who Knew Infinity, on this shelf, tells this human story fully. The Collected Papers do not tell it; they show what came out of it. Reading the two together gives a fuller picture than either alone.
A well-known story
One small story from this partnership has become famous. Hardy visited Ramanujan in a nursing home and remarked that his taxi had the number 1729, which seemed a dull number. Ramanujan replied at once that it was very interesting, being the smallest number expressible as a sum of two cubes in two different ways: twelve cubed plus one cubed, and ten cubed plus nine cubed. The story is told by Hardy. It is often used to show Ramanujan's intimacy with numbers. It also shows something else: such sums of cubes connect to the theory of elliptic curves, and recent study of his notebooks has shown that he had worked with them in that deeper setting.
Idea ten: smaller papers with long shadows
Not every important paper in the volume is long. Several short pieces have had influence out of all proportion to their size, and a reader who looks only at the famous results will miss them. Three examples show the pattern.
Ramanujan sums
In a 1918 paper on certain trigonometrical sums, Ramanujan studied sums of a particular kind built from the cosines of fractions of a full turn. These sums, now called Ramanujan sums, take only whole-number values even though they are made from cosines, and they can be used to expand many arithmetical functions, such as the divisor function, as infinite series, much as Fourier series expand periodic functions into waves. The idea of writing an irregular arithmetical function as a sum of regular oscillating pieces became important in the circle method and in later analytic number theory. Today Ramanujan sums appear in signal processing as well, where they are used to detect periodic patterns in data. A piece of pure arithmetic again turned into a practical tool.
A short proof about primes
In 1919 Ramanujan published a short paper giving a new proof of Bertrand's postulate, the statement that between any number greater than one and its double there is always at least one prime. The postulate had been proved by Chebyshev in the nineteenth century. Ramanujan's proof was simpler and used properties of factorials and binomial coefficients. In the same paper he went further and showed that for numbers beyond certain thresholds there must be at least two, three, four or more primes in such an interval. The smallest thresholds for these statements are now called Ramanujan primes, a name given in 2005, and they have been the subject of a small but active literature. Paul Erdos, who gave his own elementary proof of the postulate as a young man in 1932, was influenced by this tradition of short and clever arguments about primes.
The first paper
His very first published paper, in 1911, dealt with properties of the Bernoulli numbers, a sequence of rational numbers that appears in formulas for sums of powers and in the values of the Riemann zeta function at even integers. The paper is not his deepest work, and its arguments are informal. But it already shows the habits of the later work: a love of special sequences, a fluency with infinite series, and a preference for stating many results at once. A reader who looks at it after reading the later papers can see the mature mathematician already present in the beginner.
Why these matter
These shorter papers make a point about how to read the volume as a whole. Ramanujan's influence does not come only from his famous theorems. It comes from a large number of ideas, some of them stated in a few lines, which later mathematicians found could be developed further. The volume is less like a finished building than like a mine, as the shelf note says, with many seams, some still unworked.
Reading the mathematics on the page
A general reader who opens the volume will meet a wall of formulas. It helps to know what to look for. Most of the papers follow a simple pattern: a statement of what is to be found, a series of transformations of infinite sums and products, and a result. The transformations are where the work is, and they are hard to follow without training. But the statements at the start and the results at the end can often be understood in plain terms, especially if the reader works out a few small cases by hand.
Several symbols recur and are worth recognising. The Greek letter sigma, written as a large S-like shape, means a sum of many terms. The Greek letter pi, used as a large symbol, means a product. A small letter n usually stands for a whole number. The letter p often stands for a prime, or in the partition papers for the partition function. A letter q often stands for a variable inside a generating function, raised to many different powers. Knowing just these conventions lets a reader see the outline of most results.
It also helps to remember that the notation of the 1910s differs slightly from today's. Some symbols that are now standard were not yet fixed, and some functions are written in older forms. Berndt's commentary in the later printing translates many results into modern language. A reader who finds a formula opaque should not assume the fault is their own; some of these papers were difficult even for the experts of the time.
The tradition around it
Ramanujan's work belongs to several traditions at once. Most directly it continues the work of Euler, Jacobi and Gauss on infinite series, products, elliptic functions and the arithmetic of whole numbers. Euler's discovery of the generating function for partitions, Jacobi's theory of theta functions and Gauss's work on quadratic forms and congruences are the background against which his results stand. Gauss's Disquisitiones Arithmeticae on this shelf is the founding text of the arithmetic side. Euler's Elements of Algebra shows the earlier, more formal style of manipulation that Ramanujan's own style in some ways resembles.
He also belongs to the long tradition of Indian mathematics, though by an indirect route. He did not learn from the classical Sanskrit texts; his training came from English textbooks. But he was heir to a culture with a deep history of computation, from the decimal place-value system to the infinite series for trigonometric functions and pi discovered by Madhava and the Kerala school centuries before they were found in Europe. Bhaskara's Lilavati on this shelf shows the earlier tradition. Ramanujan's achievement re-established India's place in world mathematics in the modern era and inspired generations of Indian mathematicians.
What came after
The influence of the papers has grown steadily. Hardy and Wright's An Introduction to the Theory of Numbers, also on this shelf, incorporates several of Ramanujan's results into standard teaching, including the partition congruences and the normal order of prime factors. The theory of modular forms, which his work so often anticipated, became one of the central subjects of twentieth-century mathematics. His mock theta functions, introduced in his last letter, were understood properly only in 2002, when Sander Zwegers showed how they fit into a broader theory of what are now called harmonic Maass forms. This has since become a major research area, with links to physics.
Every year new papers appear proving or extending results from his published work, his notebooks and his lost notebook. The journal named after him, The Ramanujan Journal, is devoted to areas he influenced. The SASTRA Ramanujan Prize, awarded annually since 2005 to young mathematicians working in fields he touched, recognises the continuing life of his work.
Connections within this bay
Within this shelf, the Collected Papers should be read with Kanigel's biography for the life, Hardy and Wright for the systematic theory, Hardy's A Mathematician's Apology for the view of the man who brought Ramanujan to Cambridge, and Hardy's A Course of Pure Mathematics for the standard of rigour that Ramanujan had to learn. Hadamard and Polya help with the question of how discovery works. Singh's Fermat's Last Theorem shows one of the places where the theory of modular forms, which Ramanujan's work so often touched, reached its most celebrated success.
Questions and criticisms
The most obvious difficulty with this volume is that it is hard. Many of the papers are written in the technical style of early twentieth-century analysis, with long chains of formulas and little explanation. A general reader cannot follow most of them in detail. That is not a criticism of the book, which was never meant for general readers, but it is a fact that any reader must accept. The volume is best read for orientation and appreciation, with secondary sources for understanding.
A second limitation is that the Collected Papers present only part of Ramanujan's work. Much of his most original thinking lies in the notebooks and the lost notebook, which were not edited until much later. A reader who knows only the Collected Papers sees the polished surface. Berndt's editions of the notebooks and Andrews and Berndt's editions of the lost notebook are needed for the fuller picture.
A third point concerns editorial choices. The editors had to decide what to include from the letters and how much commentary to add. Hardy's notes are brief and assume a trained reader. They identify which results were known, which were new and which were false, but they rarely explain why. A reader in 1927 who wanted that explanation had to wait for Hardy's lectures of 1940, and a reader today does better still with Berndt's commentary. The original volume should therefore be seen as a careful record rather than a guide. That was a reasonable choice for its time, since the first need was to secure the work in print, but it means that the volume on its own leaves a great deal unexplained for anyone who is not already a specialist in the field.
The question of rigour
Some of Ramanujan's published arguments do not meet the standards of rigour of his time or ours. In his early Indian papers especially, manipulations of divergent series and limits are sometimes carried out without justification. Hardy acknowledged this. Later mathematicians have supplied proofs for many results, and in a few cases have found that a statement needed correction. A fair judgement is that his results were overwhelmingly right and his arguments were sometimes incomplete. The two should not be confused.
The legend and the record
There is also a question about the legend that has grown around Ramanujan. Popular accounts often present him as having had no training at all, or as working by pure inspiration. Neither is quite true. He had studied Carr's Synopsis intensively and later read other books available in Madras. He worked hard, computed constantly and revised his results. His genius is beyond doubt, but it was the genius of a working mathematician, not a miracle. The Collected Papers are the best antidote to exaggeration, because they show the actual work.
Finally, some readers raise the question of how Hardy and Cambridge treated Ramanujan, and whether more could have been done for his health. These are fair questions, and Kanigel's biography discusses them carefully. They concern the life more than the papers. What can be said is that Hardy's editorial work on this volume was conscientious and generous, and that it secured Ramanujan's reputation at a time when it might otherwise have faded.
Why it is on this shelf
This shelf gathers books on Vedanta, Jyotish, science, economics and technology, and one of its threads is the history of Indian thought and its place in the wider world. Ramanujan stands at a crossing point in that history. He came from a traditional Brahmin family in a temple town, held his religious practice close throughout his life, and produced mathematics that is still at the frontier of research. His Collected Papers are the primary record of that achievement, and a shelf with these interests should hold the record itself and not only the stories told about it.
For a reader interested in Vedanta and in Indian traditions of knowledge, the papers raise real questions about how insight arises and how it relates to discipline and proof. Ramanujan is reported to have said that an equation meant nothing to him unless it expressed a thought of God. Whatever one makes of that remark, the work itself shows that intuition, however deep, had to be tested against calculation and proof before it became mathematics. That combination of vision and testing is worth thinking about in any tradition.
For a reader of Jyotish, the volume offers no direct connection, but it does show the depth of the Indian computational tradition reborn in a modern form, and the continuing life of infinite series, which first appeared in India in astronomical contexts. For a reader of science and technology, the story of the pi series and of the partition identities in physics shows how pure work becomes useful in ways no one foresees. We keep the volume because it is the source, and because it is still being mined.
How to read it
This is not a book to read straight through. It is a book to visit. A reader with school mathematics can get a great deal from it by reading the prose parts closely and looking at the mathematics for its shape and its claims, without trying to verify every step. A reader with university mathematics can work through selected papers in detail, ideally with Berndt's commentary to hand.
A plan for a general reader
- Week one: read the two biographical notices and Hardy's introductory material slowly. Note the names of the people who helped Ramanujan and the dates of his main steps.
- Week two: read the extracts from the letters to Hardy. Do not try to follow the formulas. Notice their range, their confidence and their lack of proofs. Read Hardy's notes on them.
- Week three: read the opening pages of the paper on highly composite numbers and list the first twenty highly composite numbers yourself by counting divisors.
- Week four: read the opening pages of the joint paper on partitions. Count the partitions of the numbers one to ten by hand and check them against the numbers the paper gives.
- Week five: look at the short paper on partition congruences. Use a table of partition numbers to check the divisibility by five for a few cases yourself.
- Week six: look at the 1914 paper on pi. Note how many digits each term of one of the series adds. Compare it with the slow series known before.
- Then return to the volume as interest leads, using Hardy's Twelve Lectures as a guide.
What to skip on a first pass
Skip the long technical papers on elliptic functions and the detailed analysis in the highly composite numbers paper on a first pass. Skip the solutions to the Journal problems except where a problem catches your interest. These parts are important, but they will mean little without background.
What to read next from this shelf
Read Kanigel's The Man Who Knew Infinity first if you want the story of the life. Read Hardy and Wright's An Introduction to the Theory of Numbers to learn the background in partitions, divisor functions and primes properly. Read Hardy's A Mathematician's Apology for Hardy's own view of mathematics and of Ramanujan. Read Hadamard on mathematical invention. Read Bhaskara's Lilavati to see the earlier Indian tradition, and Gauss's Disquisitiones Arithmeticae for the classical foundations of number theory.
Questions to carry
- What did Ramanujan gain, and what did he lose, by learning mathematics largely on his own?
- How should we weigh a correct conjecture against a proof?
- Why should two counts of partitions defined in completely different ways always agree?
- Why do the numbers five, seven and eleven appear in the partition congruences?
- What does it mean to say that almost all numbers have a certain property?
- How could series discovered with no thought of computers turn out to be the best way to compute pi?
- What did Hardy and Ramanujan each bring to their joint work, and could either have done it alone?
- Where does Ramanujan's intuition fail, and what does that teach about intuition in general?
- How should the legend of Ramanujan be separated from the record of his work?
- What does Ramanujan's life suggest about how institutions find, support or fail exceptional talent?
- How do religious faith and mathematical rigour coexist in one mind?
- Why do results in pure number theory keep turning up in physics?
- What would it take for another Ramanujan to be recognised today?
Words to know
- Partition: a way of writing a whole number as a sum of positive whole numbers, ignoring order.
- Partition function: the function giving the number of partitions of each whole number.
- Generating function: an infinite series or product whose coefficients encode a sequence of numbers.
- Asymptotic formula: a formula that gives the approximate size of a quantity, with relative error shrinking as the input grows.
- Circle method: a technique of analytic number theory that obtains formulas for coefficients by studying a generating function near points of the unit circle.
- Congruence: a statement that two numbers leave the same remainder when divided by a given number.
- Highly composite number: a number with more divisors than any smaller number.
- Divisor function: the function that counts the divisors of a whole number.
- Arithmetical function: a function that takes whole numbers as input and gives numbers as output, often irregular.
- Multiplicative function: an arithmetical function for which the value at a product of coprime numbers is the product of the values.
- Tau function: the sequence of coefficients of a particular modular form, studied by Ramanujan, with deep properties.
- Modular form: a function of a complex variable with strong symmetry under a group of transformations, central in modern number theory.
- Modular equation: an algebraic relation between values of elliptic functions at related arguments.
- Elliptic function: a function of a complex variable that repeats in two independent directions.
- Theta function: a type of infinite series with strong symmetry, the building block of elliptic and modular functions.
- Continued fraction: a fraction whose denominator contains another fraction, repeated, possibly forever.
- Rogers-Ramanujan identities: two identities stating that two different ways of counting partitions always agree.
- Mock theta function: a type of function introduced in Ramanujan's last letter, now understood as part of the theory of harmonic Maass forms.
- Normal order: the typical size of an arithmetical function, holding for almost all numbers.
- Almost all: holding for a proportion of numbers that tends to one as the range grows.
- Conjecture: a statement believed to be true but not yet proved.
- Lost notebook: a sheaf of Ramanujan's papers from his final year, found at Trinity College in 1976.
A note on this edition
This is a study edition written for this shelf in our own words. It is a companion to the Collected Papers of Srinivasa Ramanujan, not a replacement for them, and it reproduces none of their text or formulas. The volume and its later annotated printings remain under copyright in many places and are widely held by university and public libraries. Anyone who wants to understand Ramanujan should look at the actual papers, even without following every line. The record is more remarkable than the legend.