Q: How was the number π first discovered? How did we first figure out it was 3.14…?

Physicist: Unfortunately, the use of the number π is older than recorded history so… who knows?  But the use of π at the beginning of recorded history wasn’t too sophisticated, so we can make guesses.

π is the ratio of a circle’s circumference to its diameter.  Everything about π boils down to that definition.

Measure the distance around and across any circle, then divide, and you’ve got π.

The fact that the distance across a fixed shape is proportional to the distance around it is nothing special.  The same is true for absolutely every shape.  If you double the size of any shape, both the distance across and around will double as well, so their ratio stays the same.

Measure the distance around and across any square, then divide, and you’ve got 4.

Knowledge of the fact that the ratio of the circumference to the diameter of circles is some particular fixed number is older than recorded history.  The fact that the ratio isn’t exactly three takes a little care and precision.  Figuring out that the ratio has an infinite and non-repeating decimal expansion (that starts with 3.14159265358979323846264…) takes a little math and time.

A Babylonian tablet from around 4,000 years ago that declares the value of π to be 3.  Could be worse.

If you can nail one end of a piece of string down and tie a quill or piece of charcoal to the other, then you can draw a damn-near-perfect circle.  With a longer piece of string (at least 2π times as long, in fact) and a ruler, you can measure the circumference and as long as you’re careful, it’s pretty obvious that π≠3.  As long as the error in your measurements is below 4%, you can tell the difference.  The Babylonians created the Code of Hammurabi and some pretty impressive buildings, so presumably they could create a meter stick with centimeter marks (or rather, a kuš stick with šu-si marks).  It turns out the tablet in the picture above is really a “cheat sheet” for roughly approximating the area of circles.  They were known to have used \frac{25}{8}=3.125, an approximation within half a percent of the correct value.  Which, for the bronze age, is fine.

Since π shows up practically anytime you’re doing math involving circles, there were a heck of a lot of opportunities for people in the ancient world to notice it and we can’t be sure which first caught their eye (this is the drawback of discoveries that are older than history).  For example, the volume, v, of a barrel with height h and diameter d is v=\frac{\pi}{4}hd^2.  If you want to predict how much water a cylindrical barrel can hold to within a couple percent, then you need to know π to at least a couple digits.

All of this is to say that π, while full of mathematical mysteries or whatever, is not some abstract idea.  It’s something you can physically measure.  Well… you can tell it’s not three anyway.  The larger the circle and the better your measurements, the more digits of π you can discover, but the law of diminishing returns kicks in faster than an all-you-can-eat-week-old-sushi buffet.

By the time you know π out to N digits, you know the ratio of the circumference to the diameter of a circle to on the order of 1 part in 10N.  For example, if you know that π3.14, then you can fit a bike tire onto a rim to within a cm.  If you know that π3.1415, you can build a fence around a circular acre to within a cm.  And if you know that π3.1415926535, you can wrap a cable around the Earth with less than a cm of wasted cable.  Arguably, knowing π out to ten or more digits is aggressively pointless, but that has never stopped mathematicians from practicing their cruel craft.  Not once.

The definition of π not only gives us a recipe for physically measuring it, but also hundreds of ways to mathematically derive it, and that’s where the real precision comes from.  Mathematicians like Archimedes and Liu Hui, and some nameless Egyptian a couple millennia before them, were able to approximate π using polygons.  Liu Hui calculated π accurately out to three digits, a record slightly better than Archimedes’, that held for about a thousand years.  Which is strange.

During the Roman siege of Syracuse, general Marcellus ordered that Archimedes should be captured alive because clever knows no nation.  Unfortunately, geometry-ing to the very end, Archimedes was a jerk to the very first Roman he met.

Either Archimedes and/or historians really dropped the ball, or people in ancient Greece were more level-headed about knowing lots of digits of π than we are today.  For a given circle, the points on an “inscribed polygon” touch the circle (so it’s inside) and the middle of the edges of a “circumscribed polygon” touch the circle as well (so it’s outside).  Archie approximated π by inscribing and circumscribing 96-gons in and around the circle and calculating their perimeters.  An inscribed polygon gives a lower bound, and a circumscribed polygon gives an upper bound, for the value of π.  But here’s the thing: Archie didn’t just find the perimeter of 96-gons, he invented an iterative algorithm to calculate the perimeter of 2n-gons given n-gons.  That is, he started with hexagons (6-gons) and bootstrapped up to 12-gons, 24-gons, 48-gons, and then inexplicably stopped at 96-gons.  Evidently he had better things to do than calculate more digits of π.  Which, to be fair, is not a high bar.  He may have just declared the problem solved, since anyone following his procedure could find as many digits as they’d want, and moved on to heat rays or something (seriously, dude tried to build a solar heat ray to defend Syracuse).

Every time Archimedes’ iterative algorithm is used the estimate for π gets about 4 times better (its rate of convergence is 1/4).  Which is less impressive than it sounds; that’s about 3 decimal digits every 5 iterations.  Archie used it 4 times to go from hexagons to enneacontahexagons for an accuracy of about 3 decimal places.  If he had bothered to repeat the process, say, ten more times, he would have known the first 9 decimal digits.  Definitely not useful, but potentially brag-worthy.

Modern algorithms put those old approximations to shame instantly.  Archimedes’ technique converges linearly to the true value of π (you gain about the same number of digits every time you use the algorithm).  Things didn’t really start to pick up until we invented quadratically converging algorithms, which double the number of known digits with each iteration.  That is: if you know ten, then after the next iteration you’ll know twenty.  The fastest algorithms today converge nonically (the accurate decimal expansion gets nine times longer with each step).

The definition of π, the ratio of the circumference to the diameter of a circle, allows us to measure it directly, but inaccurately, or calculate it precisely, but pointlessly.  The more abstract properties of π, like going on forever without repeating (which it does) or containing every possible pattern (which it might), require more than brute force discovery of digits.  These more abstract properties are based on the definition of π, not its value, and can typically be proven or disproven without knowing even a single digit.  Math is useful in the physical world, but it doesn’t “live here”.  π has physical significance, but we use its mathematical properties to learn about it.


Answer Gravy: Ancient people were very clever and when they lived long enough they even got to prove it.  This gravy is the math behind Archimedes’ algorithm.  This isn’t exactly the way he wrote it.  Ancient Greek mathematicians suffered from the demonstrably false belief that a minimum of words is the secret to a maximum of understanding.  So, even translated, their proofs still read like Greek.

Mr. Medes’ method was this.  If In is the perimeter of the inscribed polygon and Cn is the perimeter of the outer n-gon, then:

C_{2n}=\frac{2C_nI_n}{C_n+I_n}\quad\quad I_{2n}=\sqrt{I_n C_{2n}}

You could rigorously prove that as you increase the number of sides the perimeters will get closer to π (the circumference of the circle) using lots of equations or something, or you can just draw a picture and say “look… they clearly do”.

A circle (dashed line) with its inscribed and circumscribed n-gons (blue) and 2n-gons (red).  The length of each segment is the total perimeter divided by the number of segments (hence all the dividing by n’s).

If you stick six triangles together, you get a hexagon and with a little trigonometry you find that if your circle has a diameter of 1, then the inscribed hexagon’s perimeter is I6 = 3 and the circumscribed hexagon’s perimeter is C6 = 2√3 3.46.

To find the perimeters for dodecagons, plug C6 and I6 into the iterative equations:

C_{12}=\frac{2(3.46)(3)}{3.46+3}\approx3.215 I_{12}=\sqrt{(3)(3.215)}\approx3.106

These perimeters are both closer to π than those before the iteration and since I_n<\pi<C_n for all n, this gives us an ever-diminishing range where π can be found.  Here’s why it works:

In/circum-scribing n-gons on a circle produces some useful symmetries.  In particular, it allows us to draw some triangles and rapidly figure out their angles.

One of the sides from an inscribed n-gon and a corner from a circumscribed n-gon.  The lines inside are from the new 2n-gons.  The red shaded triangles are similar to each other (have the same angles) and the blue outlined triangles are similar.

A full circle is 360 degrees, so each side of an n-gon spans 360/n degrees.  In this case, a is half of one of those angles, so a=180/n.

Both b’s are complimentary to a (they sum to 90), since the sum of angles in a triangle is 180 and the third angle is 90 (a symmetry we get from the fact that radial lines always hit a circle at a right angle).  So, b = 90-180/n.

c and b are complimentary, so c = a = 180/n.

c+d = 180, so d = 180-c = 180-180/n.

The sum of angles in a triangle is 180, so d+e+e = 180 and e = 90-d/2 = 90/n.

Finally, b+e+f = 90, so f = 90-b-e = 90/n.

Since f=e, the two red triangles have the same angles: they’re “similar triangles“.  Similarly, since c=a the two blue triangles have the same angles and are also similar.  When two triangles are similar, the ratios of their sides are the same.

The lengths involved.

Using the similarities on the blue triangles we can say:

\begin{array}{rcl} \frac{\left(\frac{C_n}{2n}\right)}{\left(\frac{I_n}{2n}\right)}&=&\frac{\left(\frac{C_n}{2n}-\frac{C_{2n}}{4n}\right)}{\left(\frac{C_{2n}}{4n}\right)} \\[4mm] \frac{C_n}{I_n}&=&\frac{2C_n-C_{2n}}{C_{2n}} \\[2mm] \frac{C_n}{I_n}&=&\frac{2C_n}{C_{2n}}-1 \\[2mm] \frac{C_n}{I_n}+1&=&\frac{2C_n}{C_{2n}} \\[2mm] C_n+I_n&=&\frac{2C_nI_n}{C_{2n}} \\[2mm] C_{2n}\left(C_n+I_n\right)&=&2C_nI_n \\[2mm] C_{2n}&=&\frac{2C_nI_n}{C_n+I_n} \\[2mm] \end{array}

and of course, using the red triangles:

\begin{array}{rcl} \frac{\left(\frac{I_{2n}}{2n}\right)}{\left(\frac{C_{2n}}{4n}\right)}&=&\frac{\left(\frac{I_n}{n}\right)}{\left(\frac{I_{2n}}{2n}\right)} \\[4mm] \frac{I_{2n}}{C_{2n}}&=&\frac{I_n}{I_{2n}} \\[2mm] \left(I_{2n}\right)^2&=&I_nC_{2n} \\[2mm] I_{2n}&=&\sqrt{I_nC_{2n}} \\[2mm] \end{array}

So, starting with a little geometry and the definition of π we can construct a bootstrapping method for approximating it better the longer we bother to work at it.

Multiplication and long division can be done by hand pretty easily.  The hardest part of this iterative algorithm facing any ancient person is the square root.  Also making the scratch paper.  Fortunately, there are tricks for that too.  For example, if you want to take the square root of S, just make a guess, x, then calculate \frac{1}{2}\left(x+\frac{S}{x}\right) and what you get will be a number closer to \sqrt{S} than your original guess, x.  This method was known to the Babylonians and Archimedes (it is, in fact, “the Babylonian method”) and it converges quadratically, so it achieves whatever (reasonable) accuracy you’re hoping for almost instantly.

The point here is that you can, through the injudicious use of reason, time, and scratch paper alone, find π to as many digits as you would ever need.

You can read a little more about the Babylonian tablet here.

This entry was posted in -- By the Physicist, Engineering, Geometry, Math. Bookmark the permalink.

10 Responses to Q: How was the number π first discovered? How did we first figure out it was 3.14…?

  1. Arwen says:

    Very interesting … I’ve actually been meaning to read something on this topic, but hadn’t quite gotten around to it 🙂

  2. Brigid says:

    I really love your posts. I’m never been any ‘good’ at maths, and school made it tedious and painful, but your explanations are so interesting and funny, and they’ve allowed me to understand things like Pi for the first time (in my 30s!). Same with your science posts. So thanks very much.
    “The law of diminishing returns kicks in faster than an all-you-can-eat-week-old-sushi buffet” – favourite sentence of the week.

  3. Error: Unable to create directory uploads/2024/12. Is its parent directory writable by the server? The Physicist says:

    @Brigid
    Thank you very much! That’s kind of you to say.

  4. The ancient Chinese used the square root of 10.

  5. Gary Vavzycki says:

    VERY good,shows the pointless waste of time devoted past what is needed…
    So what if it doesn’t end…same w/the SQ RT of 2,or 3.(but interesting when added together)…2=a 2D cross,3= the 3D measurement of(in) a cube
    But I do believe as D is one side of a square,or part(more importantly a cube) the 4 is the correct ratio (78.54%) and the 3.14159 divided by 6 gives us the more useful number…
    I make the comparison of a basket ball in the box it came in….

  6. Daniel says:

    Pi is a fractal number, where its digits analyzed with the Rescaled Range Anaylisis of Hurst, for the 1.25 M decimal digits gives a Hurst coeficient of H = 0.55, implying a fractal dimension of D = 2 – H = 1.45, wich classifies the digits as a quasi-random number (Brownian Movement has a fractal dimension of D = 1.5, wich classifies it as random)

    Just curiosity … Thanks for the article

  7. Rock Francis says:

    Hi Daniel,
    Greetings.
    May it be possible for you to share some references or papers specially in relation, you mentioned Quasi random number and Brownian movement has D=1.5, it would be great to read if you may do the needful.
    Have a great time.
    Regards,
    Rock

  8. Ella D says:

    I love your posts. This site is fantastic and an awesome way to learn. I just want to read more and more and absorb it all. LOL … Thank you !!!

  9. Pingback: Q: Is π the same in every universe? | Ask a Mathematician / Ask a Physicist

  10. Sidney Silva says:

    Increíble: reportaré nuevos descubrimientos dentro del enigmático número de π; las raíces cuadradas exactas y no exactas es igual al número enigmático de π (√2; √3; √4; √5; ​​√6; √7; √8; √9; √10; √11; √ 12; √13; √14; √15; √16; √17; √18; √19; √20; √21; √22; √23; √24; √25; ……… ….. .√877; …………… √350734139; y el enigmático número áureo también es igual al enigmático número π, lo que demuestra científica y matemáticamente mi “Tesis”, el autor Sr. Sidney Silva.

Leave a Reply

Your email address will not be published.