With July of this year, 2023, being the hottest on Earth yet recorded, there are increasing concerns about how climate change will shape the next several decades. We often hear about how climate change will increase disastrous weather events, decimate crops, and...
Started in 1988 at San Francisco’s Exploratorium museum, March 14, or Pi Day, has become a classroom tradition. But what is pi? Why do we celebrate it by slicing up circular junk food? And why are mathematicians still calculating digits of pi into the trillions of decimal places?
Pi is a mathematical constant, meaning its value never changes. It describes the relationship between a circle’s circumference (the distance around a circle) and its diameter (the distance across a circle at its widest point). Today, we also describe pi as an irrational, transcendental number. In other words, a real thinker—let’s break down this description to understand why it’s possible that we’re still finding new digits of pi.
First we have to start with real numbers. Real numbers make up pretty much all numbers that are not purely conceptual (like infinity, ∞). However, real numbers are not always tidy and neat. The “tidiest” real number is a whole number (0, 1, 2, 3, etc.). Slightly messier are the fractions (¼, ½, ¾, etc.) but these are still simple enough: divide 7 by 8 and you can express it as 0.875. Whole numbers and fractions are both rational numbers because they can be expressed as one particular number divided by another. Then we have the irrational numbers like pi. Pi is real, but there is no fraction that accurately describes it. This is because after its decimal point is a never-ending but distinct row of numbers without a repeating pattern. Some numbers like 1/3 don’t end but follow a repeating pattern, as in 0.333…, making them never-ending but still rational. Even calculating out to trillions of decimal places, mathematicians have yet to find a discernible pattern to pi.
Whew! Ok, now we’ve reached the transcendental part. Real numbers are not just rational or irrational, they’re also algebraic or transcendental. Basically (very basically), pi cannot be solved using an algebraic equation, which uses whole numbers to solve for x. As a quick refresher, a super simple algebraic equation looks something like this: x = 3–2x where x = 1.
Pi is used in equations that are mapping the shape of the universe, searching for planets outside our galaxy, discovering how DNA folds, simulating atoms and molecules in computer models, making predictions in particle physics, and much more, so it’s not just a cool parlor trick or a way to get in The Guinness Book of World Records. It’s used in science and engineering every day.
But pi wasn’t always known as an irrational, transcendental number. It has taken mathematicians 4,000 years to uncover the mysteries of pi, and they may not be done yet.
The Babylonians and the Egyptians were the first to identify pi as the relationship between the circumference and diameter of a circle. Instead of using a mathematical system based on tens like the metric system many of us are familiar with, they used a sexagesimal system based on 60 (1). To approximate the value of pi, they inscribed a hexagon within a circle. The sides of the hexagon were equivalent to the circle’s radius, so the outer shape of the hexagon roughly correlated to the circumference of the circle, enabling them to estimate pi at 3.125 (the first five decimal places of pi are 3.14159 so they were pretty close). The Rhind Papyrus written by the Egyptian scribe Ahmes around 1,650 BCE recorded pi as 3.16049 (1).
Eudoxus of Cnidus (400–350 BCE) was a Greek astronomer and mathematician. Famous for his geometric, celestial model that interlaced the motions of the Sun, moon, and the five planets known at the time, Eudoxus was particularly interested in the study of proportions and he demonstrated that the area of a circle is proportional to the square of its radius.
While we often define pi as the proportion of its circumference to its diameter, A= πr2 is perhaps the first use of pi many of us memorize in school, and the premise of this equation led mathematicians on the long path of trying to solve the constant.
One of Greece’s most famous mathematicians—if not the most famous—Archimedes of Syracuse (287-212 BC) took the calculation of pi to new heights by using multiple polygons (with five sides) inscribed in a circle, enabling increasingly accurate calculations. Imagine laying polygon cutouts into tight, circular rotations within a circle; the more you lay down, the more sides this composite polygon has and the closer it gets to representing the circumference of the circle. While this inscribed and circumscribed polygon method has some physical limitations (Archimedes used only two regular polygons in his calculations), it was accurate enough to give him a value for pi in the range between 3.143 and 3.141 (1), closer than the Babylonians’ 3.125 estimate.
Then in 1976 two mathematicians, Richard Brent and Eugene Salamin, independently found an algorithm (a set of calculations or steps used on a computer) that “doubles the number of accurate digits with each iteration.” Since then, trillions of digits of pi have been calculated on computers using a number of methods, not only the Brent–Salamin algorithm. You may question the usefulness of calculating so many digits of pi; after all, 15 or 16 digits are plenty accurate for technology like the navigation system of the International Space Station.
But some mathematicians are interested in the rules that govern the digits of pi, not the digits themselves. In fact, in 2010 a Yahoo researcher used cloud computing to break up the calculations for pi to “skip ahead,” so to speak, to the two-quadrillionth binary digit of pi (a quadrillion is 10 with 15 zeroes behind it). In addition to learning more about the mysteries of pi, exercises like this can help test the limits of computation. If you’re ever searching for pi achievements, you may find a range of numbers as pi is discussed in terms of the actual numbers behind the decimal points and the computer binary digits, or bits, calculated. For example, 2.7 trillion decimal points is as many as nine trillion bits.
Meanwhile, some of us may use our old-fashioned human brains to memorize a few digits of pi on Pi Day. The current world-record holder recited 70,030 digits of pi, but you can start a little smaller. Maybe try the first 10 digits? 3.141592653.
- Beckmann, Petr, A History of Pi. St. Martin’s Griffin, 1975.
- C. Huber, “Viete’s Method for Calculating Pi,” School Science and Mathematics Association, 1984. DOI: 10.1111/j.1949-859403.ibm.com/ibm/history/exhibits/mainframe/mainframe_PP7090.html.
- The World of Pi, http://www.pi314.net/eng/salamin.php.
- Scientific American, “How Much Pi Do You Need?” http://blogs.scientificamerican.com/observations/how-much-pi-do-you-need/
- BBC, “Pi record smashed as team finds two-quadrillionth digit,” http://www.bbc.com/news/technology-11313194
- New Scientist, “New Pi record exploits Yahoo’s computers,” https://www.newscientist.com/article/dn19465-new-pi-record-exploits-yahoos-computers/.
- Pi World Ranking List, http://www.pi-world-ranking-list.com/.
- Pi Day.org, http://www.piday.org/million/.
Katie Jones is a science writer at Argonne National Laboratory. Follow Katie on Twitter @Kelyce_writer.