What is \(\pi\)?

In his book The Historical Development of the Calculus, C.H. Edwards relates an early history of \(\pi\). Around 430 BC, Hippocrates of Chios showed that the ratio of the area of two circles is equal to the ratio of the squares of their diameters. Later, Eudoxus and Archimedes worked to deploy the method of exhaustion in determining this value.

Rough Approximations

For Archimedes, he began with a hexagon inscribed and circumscribed on a circle with unit radius. Of course, we’ve probably seen the relationship for the area of a circle as

\[A = \pi r^2\]

Thus, if we have \(r = 1\), the area of our circle is equal to \(\pi\). We can use some rough approximations and our knowledge of square roots to determine a first approximation as Archimedes did by using a unit circle and inscribed and circumscribed hexagons as seen in the image below.

<img src = “images/exhaust.png” height=”50%” width=”50%” /img>

Here, we decompose the inscribed and circumscribed polygons using our knowledge of triangles. As we saw in class, we can understand the inscribed triangles through the Pythagorean theorem, and some elementary knowledge about equilateral triangles. To find the height of these triangles, we recognize that dropping a perpendicular to the base creates a right triangle with hypotenuse 1 and short leg \(\frac{1}{2}\) shown below.

<img src = “images/triangle.png” height=”50%” width=”50%” /img>

Thus, we can find the height using the Pythagorean theorem. This gives us:

\[\frac{1}{2}^2 + ?^2 = 1^2\]
\[?^2 = 1 - \frac{1}{4}\]
\[? = \frac{\sqrt{3}}{2}\]

and an area for each of the six triangles of

\[A = \frac{1}{2}(\text{base})(\text{height}) \quad \text{or} \quad A = \frac{1}{2}\times 1\times\frac{\sqrt{3}}{2} = \frac{\sqrt{3}}{8}\]

Thus, for all six triangles we have

\[6 \times \frac{\sqrt{3}}{4} \quad \text{or} \quad \frac{3\sqrt{3}}{2}\]

We can use Python to compute this as a number using our tenth approximation for \(\sqrt{3}\).

In [1]:
a = [1.6]

for i in range(9):
    next = 0.5*(a[i]+3/a[i])
    a.append(next)

print("The first approximation for pi is", (3*a[-1]/2))
The first approximation for pi is 2.598076211353316

Recurrence Relationships from Antiquity

While we could continue to determine the successive relationships as we go, there are actually patterns that develop in both Eudoxus who started with a square and Archimedes who began with a hexagon. As Bruce Shapiro notes in his book Scientific Computation: Python Hacking for Math Junkies, the Eudoxean relationship is contingent on the length of an outer edge of a polygon \(H_n\) and the perimeter of that polygone \(P_n\), as follows:

\[P_n = 2^n H_n \quad \text{thus} \quad \pi_n = \frac{1}{2}P_n = 2^{n-1}H_n\]

Further, we have a recursive relationship on \(H_n\) as:

\[H_n^2 = 2 - 2\sqrt{1-\big(\frac{H_{n-1}}{2}\big)^2}\]

Thus, if we have an initial approximation, we can deploy this relationship to iterate and find better and better approximations.

For Archimedes, we have a similar relationship where \(I_n\) is the inscribed polygon and \(C_n\) is the circumscribed polygon, thus

\[I_n < \pi < C_n\]

and the recurrence relationships

\[C_{2n} = \frac{2C_nI_n}{C_n + I_n}\]
\[~\]
\[I_{2n} = \sqrt{C_{2n}I_{n}}\]

If you need something to do, you can establish these relationships.