Visual explanation of $\pi$ series definition

Historically, there are three main independent (re)discoveries of this series formula for $\pi/4$:

  • by the German mathematican Gottfried Wilhelm Leibniz (1646–1716),
  • by the Scottish mathematician James Gregory (1638–1675), and
  • by Indian mathematicians, attributed to Madhava of Sangamagrama (roughly 1340–1425), but available only through citations of successors like Nilakantha Somayaji (1444–1544).

All three are discussed in the article The Discovery of the Series Formula for π by Ranjan Roy, published in Mathematics Magazine, Vol. 63 (1990), pp. 291-306, which won the Carl B. Allendoerfer award in 1991.

Of the three, let me take up Mādhava's, because as the earliest one, it certainly predates (what is regarded as) the development of calculus, and because I find it the simplest geometrically.

It and other early results leading up to some aspects of calculus are also discussed in K. Ramasubramanian and M. D. Srinivas (2010), Development of calculus in India, Studies in the history of Indian mathematics, 201-286.


Consider a unit circle, and in particular one particular quarter-circle of it, bounded by a unit square.

Figure 5 from Roy's article, with diagonal added

We want to find the length of half the arc $AC$, which we know is $\pi/4$.

We divide the side $AB$ into $n$ equal parts of length $\frac1n$ each. Consider the $r$th such part, $P_{r-1} P_r$. Drop perpendiculars $P_{r-1}D$ and $EF$ onto $OP_r$. We have from similarity of triangles,

  • $\displaystyle \frac{EF}{OE} = \frac{P_{r-1}D}{OP_{r-1}}$ (sine of the small angle at $O$) and
  • $\displaystyle \frac{P_{r-1}D}{P_{r-1}P_r} = \frac{OA}{OP_r}$ (sine of the angle $DP_rP_{r-1}$)

so we get

$$EF = OE\frac{P_{r-1}D}{OP_{r-1}} = OE\frac{P_{r-1}P_r\frac{OA}{OP_r}}{OP_{r-1}} = \frac{P_{r-1}P_r}{OP_r \times OP_{r-1}}$$ where I dropped $OE$ and $OA$ because they are unit lengths.

Now, for large $n$ (as $n \to \infty$), the arc segment $EG \approx EF$, and the total arc length (of half the quarter-cicle) is the sum of these corresponding arc lengths $EG$, so they argued that (in modern notation)

$$\frac{\pi}{4} = \lim_{n\to\infty} \sum_{r=1}^{n} \frac{P_{r-1}P_r}{OP_r \times OP_{r-1}}.$$

Further, the numerator $P_{r-1}P_r = 1/n$ by definition, and for large $n$, the denominator $OP_r OP_{r-1}$ can be approximated by $OP_r^2 = 1 + AP_r^2 = 1 + (r/n)^2$ (actually they were more sophisticated and used the fact that it is bounded by $OP_{r-1}^2$ and $OP_r^2$, etc.), so we have

$$\frac{\pi}{4} = \lim_{n\to\infty} \sum_{r=1}^n \frac{1/n}{1 + (r/n)^2}$$

The rest is easy: use the fact that $$\frac{1}{1+x} = 1 - x + x^2 - x^3 + \dots$$ with $x = (r/n)^2$ so that our sum is $$\frac1n \sum_{r=1}^n (1 - (r/n)^2 + (r/n)^4 - (r/n)^6 + \dots)$$

Also, they had proved that in general $$\sum_{r=1}^n r^k \approx \frac{n^{k+1}}{k+1},$$ so $$\frac1n \sum_{r=1}^n (r/n)^k \approx \frac1{k+1}$$ (being equal in the limit), so that in the limit our sum becomes $$\frac{\pi}{4} = 1 - \frac13 + \frac15 - \frac17 + \dots.$$

I have been a bit even more informal in the above argument (with interchanging sums, taking limits, etc.) than they were, but this is the general idea.