Ramanujan’s Most Beautiful Identity
G. H. Hardy called the following equation Ramanujan’s “most beautiful identity.” For |q| < 1,
![]()
If I understood it, I might say it’s beautiful, but for now I can only say it’s mysterious. Still, I explain what I can.
The function p on the left side is the partition function. For a positive integer argument n, p(n) is the number of ways one can write n as the sum of a non-decreasing sequence of positive integers.
The right side of the equation is an example of a q-series. Strictly speaking it’s a product, not a series, but it’s the kind of thing that goes under the general heading of q-series.
I hardly know anything about q-series, and they don’t seem very motivated. However, I keep running into them in unexpected places. They seem to be a common thread running through several things I’m vaguely familiar with and would like to understand better.
As mysterious as Ramanujan’s identity is, it’s not entirely unprecedented. In the eighteenth century, Euler proved that the generating function for partition numbers is a q-product:
![]()
So in discovering his most beautiful identity (and others) Ramanujan followed in Euler’s footsteps.
Reference: An Invitation to q-series
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)






Comments
Igor Skornyakov replied on Wed, 2012/10/31 - 1:46am
The big difference between Euler's and Ramanujan's indentities is that the former is absolutely trivial.