How a Poor Indian Boy Became One of the Greatest Mathematicians in History
To become a true genius requires more than natural talent. It takes extraordinary dedication — and, as the remarkable life of Indian mathematical genius Srinivasa Ramanujan suggests, perhaps a touch of divine inspiration as well.
Ramanujan believed that the Hindu goddess Namagiri revealed mathematical insights to him in his dreams. Over his brief lifetime, he recorded thousands of mathematical results, many of which would occupy researchers for generations. Yet his extraordinary journey began with something much more ordinary: an insatiable love of learning and an almost unimaginable capacity for hard work.
Discovering new theorems without a teacher
Ramanujan was born in 1887 into a family of modest means in southern India. His father worked as a clerk in a cloth merchant’s shop, and the family frequently struggled financially. Despite these difficulties, the young boy displayed an extraordinary aptitude for mathematics.
At the age of 12, he borrowed a copy of Plane Trigonometry by mathematician S. L. Loney from an older student. He mastered its contents with remarkable speed, reportedly solving every problem in the book. Accounts of his youth also credit him with independently discovering mathematical relationships already established by the great mathematician Leonhard Euler, including the connection between exponential and trigonometric functions expressed in Euler’s formula:
e^(ix) = cos x + i sin x
When Ramanujan learned that some of his discoveries were already known, he was disappointed. Nevertheless, his ability to arrive at such results independently demonstrated an unusual mathematical intuition.
Around the age of 15, he encountered another book that would profoundly shape his future: A Synopsis of Elementary Results in Pure and Applied Mathematics, by British mathematician George Shoobridge Carr.
The book contained more than 4,000 mathematical results, many accompanied by little or no explanation of their proofs. For most students, such a collection would have been difficult to understand without a teacher. For Ramanujan, however, it became a gateway to an entirely new mathematical world.
He began working through the formulas on his own, reconstructing proofs, discovering relationships, and developing ideas that went beyond the book itself. With limited access to advanced mathematical instruction, he effectively became his own teacher.

By his mid-teens, he was already pursuing mathematical investigations of remarkable originality.
Tireless dedication — and a goddess who appeared in his dreams
Ramanujan’s mathematical ability earned him a scholarship to Government Arts College in Kumbakonam in 1904. Yet his passion for mathematics soon consumed him so completely that he neglected his other subjects.
Although he excelled in mathematics, his poor performance elsewhere cost him his scholarship. A later attempt to continue his college education also ended unsuccessfully.
For most students, such setbacks might have meant abandoning their ambitions. Ramanujan, however, continued his mathematical investigations independently, often working for hours at a time with little thought for anything else.
It was during these years of intense study that his religious beliefs became closely intertwined with his mathematical pursuits.
Ramanujan and his family were devoted to Namagiri, a Hindu goddess associated with the temple at Namakkal in southern India. He believed that the goddess inspired his mathematical discoveries, sometimes revealing formulas and ideas to him through dreams.
According to accounts preserved by people who knew him, Ramanujan spoke of receiving mathematical insights from the goddess while he slept. On awakening, he would work to understand and verify the results that had appeared to him.
For Ramanujan, mathematical discovery was not merely an intellectual exercise. He saw a divine dimension in the patterns and relationships he uncovered, and his faith formed an important part of how he understood his extraordinary intuition.
Yet divine inspiration, as he perceived it, did not eliminate the need for hard work. He spent countless hours exploring mathematical problems, testing relationships, and recording his findings.

Paper was expensive, so he often worked out calculations on a slate, erasing them when he was finished and transferring only the final results to his notebooks. This practice, combined with the influence of Carr’s concise textbook, helps explain why so many of his discoveries were recorded without detailed proofs.
Over the years, those notebooks accumulated thousands of mathematical results involving infinite series, number theory, continued fractions, and other advanced subjects.
Some were rediscoveries of earlier mathematical work. Many others were new, and some would not be fully understood until long after his death.
A letter that astonished Cambridge
What does it mean for a largely self-taught mathematician to produce thousands of sophisticated results?
For Ramanujan, it meant possessing a body of mathematical knowledge that few people around him could adequately evaluate. Although India had a rich mathematical tradition and scholars who recognized his talent, he had limited access to the latest research being conducted in Europe.
Without the formal training and academic connections enjoyed by established mathematicians, he struggled to gain recognition for his work.
In 1912, Ramanujan found employment as a clerk at the Madras Port Trust. The position provided much-needed income, but his true passion remained mathematics. During his spare time, he continued filling notebooks with formulas and theorems.
Eventually, with encouragement from supporters who recognized his unusual abilities, he began writing to prominent British mathematicians.
In January 1913, he sent a letter containing a selection of his mathematical discoveries to Godfrey Harold Hardy, a distinguished mathematician at Cambridge University.
Hardy was already an influential figure in British mathematics, known for his commitment to rigorous mathematical research. He was accustomed to receiving unsolicited claims from aspiring mathematicians and initially approached Ramanujan’s letter with skepticism.
But the enclosed formulas were unlike anything he had expected.
Some were already known. Others were unfamiliar but intriguing. Still others appeared to represent significant new discoveries.
Hardy examined the results with fellow mathematician John Edensor Littlewood. As they studied the formulas more closely, they became convinced that the unknown author possessed exceptional mathematical ability.

Hardy later described Ramanujan as a mathematician of extraordinary originality and power. He recognized that some of the formulas revealed an intuition far beyond what could be explained by ordinary training.
Hardy replied to Ramanujan, expressing strong interest while asking for proofs of his results. With the assistance of mathematicians and supporters in both Britain and India, arrangements were eventually made for Ramanujan to continue his work at Cambridge.
In April 1914, the young Indian mathematician arrived in England, beginning one of the most celebrated collaborations in the history of mathematics.
A once-in-a-generation mathematical genius
What Hardy discovered after Ramanujan arrived was nearly as surprising as the formulas themselves.
Despite his exceptional abilities, Ramanujan had received little formal training in advanced mathematics. Some concepts that would have been familiar to university-trained mathematicians were unknown to him, while his understanding of other, far more difficult subjects was astonishingly deep.
Hardy recognized that Ramanujan needed to become familiar with modern mathematical methods, particularly the rigorous proofs required to establish new discoveries. Yet teaching him presented an unusual challenge. Discussions intended to introduce conventional methods often inspired Ramanujan to produce additional original ideas.
His notebooks revealed the same remarkable contrast. Among their thousands of results were discoveries already familiar to European mathematicians, others reached independently, and many that opened entirely new avenues of investigation.
Hardy came to regard Ramanujan as one of the rare mathematical minds whose natural abilities could be compared with those of great figures such as Euler and Carl Friedrich Gauss.
Their partnership brought together two very different approaches to mathematics.
Hardy was a highly trained mathematician whose work emphasized careful reasoning and rigorous proof. Ramanujan relied heavily on intuition, often recognizing mathematical relationships long before he could explain precisely why they were true.
Rather than diminishing their achievements, these differences helped make their collaboration exceptionally productive.

During their approximately five years of association, they coauthored seven research papers and contributed to numerous other mathematical investigations. Among their most important achievements was work on the theory of partitions, which concerns the different ways a whole number can be expressed as a sum of positive integers.
Ramanujan also published important papers independently, extending mathematical understanding in areas such as infinite series and number theory.
In 1918, his achievements earned him election as a Fellow of the Royal Society, one of Britain’s highest scientific honors. Later that year, he became the first Indian elected to a fellowship at Trinity College, Cambridge.
Hardy never forgot the significance of their partnership. Looking back, he described his association with Ramanujan as “the one romantic incident in my life.”
For a mathematician who had dedicated his career to the pursuit of mathematical truth, it was an extraordinary tribute.
The remarkable number 1729
Despite his growing recognition, Ramanujan’s health began to deteriorate during his years in England. The difficulties of maintaining his vegetarian diet during World War I, combined with recurring illness, took a serious toll.
By 1917, he had become seriously ill and spent extended periods receiving medical care.
One of the most famous stories about Ramanujan comes from this difficult period.
Hardy was visiting him at a nursing home in Putney, London, when he mentioned the number of the taxi he had taken to get there: 1729.
Hardy considered it a rather dull number and remarked that he hoped it was not an unfavorable omen.
Ramanujan immediately disagreed.
Far from being uninteresting, he explained, 1729 was the smallest positive integer that could be expressed as the sum of two positive cubes in two different ways.
1729 = 1³ + 12³ = 9³ + 10³
To most people, 1729 would have been nothing more than an ordinary four-digit number. To Ramanujan, it possessed a remarkable mathematical property that he could recognize almost immediately.
The exchange became one of the most enduring anecdotes in mathematical history. Even while seriously ill, Ramanujan seemed unable to look at numbers without perceiving hidden patterns and relationships.
The number 1729 is now widely known as the Hardy-Ramanujan number, a lasting reminder of his unusual mathematical intuition.

A final mathematical mystery — and its connection to black holes
Ramanujan returned to India in 1919, hoping that familiar surroundings and a more suitable climate would help restore his health.
Unfortunately, his condition remained poor. Yet his mathematical creativity continued, even as his physical strength declined.
In January 1920, only a few months before his death, he wrote to Hardy about a new class of mathematical functions that he called mock theta functions.
These functions were unlike the familiar mathematical objects studied at the time. Ramanujan supplied examples and described some of their remarkable properties, but the full mathematical framework needed to understand them had not yet been developed.
For decades, mathematicians struggled to explain the deeper structure of his discoveries.
Gradually, advances in mathematical theory began to illuminate the ideas he had recorded near the end of his life. In the early 21st century, researchers established important connections between mock theta functions and a broader class of mathematical objects known as harmonic Maass forms.
In 2013, a team of researchers including mathematician Ken Ono demonstrated that Ramanujan’s original examples satisfied the definition he had proposed in his final letter to Hardy.
What makes this development particularly fascinating is that related mathematics has found applications in areas of theoretical physics that Ramanujan could scarcely have imagined.
Mock modular forms and related mathematical structures have become important tools in certain investigations of string theory and black holes. In particular, they can help physicists study the mathematical description of black-hole entropy and the counting of microscopic states associated with black holes.
This does not mean that Ramanujan directly predicted the existence of black holes. Rather, mathematical ideas he developed a century ago have become relevant to scientific questions that emerged long after his lifetime.
And the surprises did not end there.
In 1976, mathematician George Andrews visited the library at Trinity College, Cambridge, where he discovered a collection of Ramanujan’s handwritten pages among the papers of another mathematician.
The manuscript, consisting of roughly 138 pages, contained more than 600 mathematical results, many recorded without proofs. It became known as Ramanujan’s lost notebook.
The discovery attracted enormous interest because much of the manuscript dated from the final period of Ramanujan’s life and contained some of his most profound work.
Researchers have since devoted years to examining its contents, establishing proofs, and exploring connections between Ramanujan’s discoveries and modern mathematics.

His influence extends across number theory, mathematical analysis, combinatorics, and theoretical physics. Mathematical structures related to his work also arise in modern computer science and other fields.
In this way, ideas recorded by a largely self-taught mathematician in the early 20th century continue to reveal their significance more than a hundred years later.
A legacy that reaches beyond his lifetime
Srinivasa Ramanujan was born on December 22, 1887, and died on April 26, 1920, at just 32 years of age.
His life was heartbreakingly short. Yet in those few decades, he produced mathematical discoveries that would occupy generations of researchers and secure his place among history’s most extraordinary mathematical minds.
His notebooks remain objects of study, and the remarkable story of his life continues to capture the imagination of audiences around the world. His journey was brought to the screen in the film The Man Who Knew Infinity, introducing new generations to the unlikely partnership between an Indian mathematical genius and a distinguished Cambridge scholar.
But perhaps the most inspiring aspect of Ramanujan’s story is not simply the number of formulas he discovered or the recognition he eventually received.
It is the extraordinary combination of natural talent, unwavering dedication, and deeply held spiritual conviction that shaped his life.
Born into poverty, with limited opportunities for formal education, Ramanujan pursued mathematics because he loved it. He worked tirelessly to understand relationships that others could scarcely imagine, while believing that some of his greatest insights came through the grace of a goddess he revered.
Whether one views those experiences as divine inspiration or the mysterious workings of an exceptional mind, the achievements that followed remain undeniable.
Ramanujan’s life reminds us that genius can emerge in the most unlikely places, and that the boundaries of human possibility are often far wider than we imagine. His discoveries continue to challenge mathematicians more than a century later, offering a lasting testament to the power of curiosity, perseverance, and a mind devoted to understanding the mysteries of the universe.
Translated by KT
Follow us on X, Facebook, or Pinterest