Yes, it is once again the time of the year when the mathematically inclined gather together to celebrate Pi Day…

…and, in the process, swap trivia of note on everyone’s (including Wolfram|Alpha’s) favorite number.

There have been no shortage of blog posts already written on the subject; see, for example, last year’s “Pi Day in Wolfram|Alpha” (or the Wolfram Blog Pi Day posts from 2008 or 2010). As already hinted at in last year’s blog, one would expect the pi to be ubiquitous in a computational knowledge engine—and so it is. Therefore, at the risk of beating a proven transcendental constant to death, this year we offer a few (well, OK: more than a few) additional pi-related esoterica courtesy of Wolfram|Alpha.

Some of the more prosaic (read: direct mathematical) occurrences of pi include in the circumference of a circle, total surface area of a cylinder, surface area of a torus, and volume of an *n*-dimensional sphere:

Also on the mathematical side of pi, there are many ways to express rational multiples of pi as sums of inverse cotangents using so-called Machin-like formulas:

Many sums and integrals result in pi as well, for example:

sum 4 (-1)^*k*/(2 *k* + 1) from *k* = 0 to infinity, sum 2 (2 *k* – 1)!!/((2 *k* + 1) (2 *k*)!!) from *k* = 0 to infinity, integrate 4 sqrt(1-*t*^2) from *t* = 0 to 1, and integrate 8/3 sin^3*t*/*t*^3 from *t* = 0 to infinity.

Pi occurs as the limit of various mathematical expressions, such as limit 2^(4 *n*)/(*n* binomial (2 *n*, *n*)^2) as *n* -> inf…

…and also as the value of many special functions at certain significant points, including 2 arcsin(1), 2 ellipticK(0), gamma (1/2)^2:

Finding out more about pi is easy with Wolfram|Alpha: pi to 1000 digits, pi in base 314, identities for pi, and so on. Furthermore, Wolfram|Alpha is able to recognize possible closed forms for approximate numerical input, so given a decimal approximation of pi, we can recover the constant (along with other possible closed forms); try, for example, 3.1415 or 3.141592:

(Note that in the case of the latter input, the “other” possible closed forms are in fact exactly equal to pi through mathematical identities.)

Along similar lines, Wolfram|Alpha can express a given number through pi; for example, express 10. through pi and pi!:

OK, so much for mathematical esoterica of pi. What is less well-known (and deserves to be known better!) is how often pi occurs “naturally” in day-to-day, real-world situations when relevant properties are measured in suitable pi-adapted units. We can, for example, use the power of Wolfram|Alpha to observe pi in the length of the Tagus River expressed in sus:

Here are a selection of other inputs that highlight the significance of pi in the properties of natural and man-made objects, physical phenomena, and various other human endeavors:

- (number of native speakers Lave) + (number of native speakers Gulf Arabic) + (number of native speakers Paynamar) + (number of native speakers Iu Mien) »
- (duration Middle Devonian Epoch in fiscal years) + (duration Paleozoic Era in fiscal years) + (duration Oligocene Epoch in fiscal years) »
- (highest point Angel Albino Corzo in yabikis) + (highest point Karakaya Dam in yabikis) »
- (average depth Bay of Bengal in microns) + (average depth Alboran Sea in microns) + (average depth North Sea in microns) »
- (critical pressure heavy water in xennapascals) + (critical pressure ethane in xennapascals) + (critical pressure argon in xennapascals) »
- (catchment area Lake Chilwa in townships) + (catchment area Utah Lake in townships) + (catchment area Lake Slapy in townships) »
- (average daily hotel stays El Salvador in exahertz) + (average daily hotel stays Fiji in exahertz) »
- (highest elevation Novarupta in micrometers) + (highest elevation Northern EPR-Segment RO3 in micrometers) »
- (length Piaxtla in Druisian palmi) + (length Olenyok in Druisian palmi) »
- (thermochemical ionic radius hexachloropalladate(IV) in Mesopotamian fingers) + (thermochemical ionic radius dichlorohydrogenate in Mesopotamian fingers) »
- (height Eshkol Tower in astronomical units) + (height Berliner Fernsehturm in astronomical units) »
- (total length Nanjing Yangtze River Bridge in bolts) + (total length King Carol I Bridge in bolts) + (total length Île d’Orleans Bridge in bolts) »
- minimum breaking strength 10 mm manila rope in slinches-force »
- (full length Incisivosaurus gauthieri in thous) + (full length Shamosaurus scutatus in thous) »
- (latitude Cedros Trench in zorches) + (latitude Mendeleev Rise in zorches) »
- (linear density 40 mm sisal rope in grams per inch) + (linear density 14 mm polyester rope in grams per inch) + (linear density 10 mm sisal rope in grams per inch) »
- (surface area Lago di Palagnedra in square light years) + (surface area Lake Dong in square light years) »
- (elevation Mnich in astronomical units) + (elevation Lomnicky Stit in astronomical units) »
- (operational ceiling Diamond DA40 in megalight years) + (operational ceiling XF-85 Goblin in megalight years) + (operational ceiling Martin XB-27 in megalight years) »
- (full length Agujaceratops mariscalensis in survey fathoms) + (full length Archaeornithoides deinosauriscus in survey fathoms) »
- (height Caproni Ca.309 in milliparsecs) + (height F6F Hellcat in milliparsecs) + (height Airspeed Courier in milliparsecs) »
- (triple point temperature butane in avokelvins) + (triple point temperature 1,1,1,3,3,3-hexafluoropropane in avokelvins) »
- longitude Centurion Bank in meteorological rumbs »
- (elevation Whim Peak in ångströms) + (elevation Besler in ångströms) »

Deciding if a value is related to pi can be more tricky for time-varying phenomena, but we see it at least in current data for the circulation *Western Outdoor News* + circulation *Golf Vacations magazine* + circulation *American Baby’s First Year of Life*:

…as well in a selection of other such inputs:

- (amount given Verizon Foundation in U.S. dollars per year) + (amount given Silicon Valley Community Foundation in U.S. dollars per year) + (amount given General Mills Foundation in U.S. dollars per year) »
- (amount given Foundation for the Carolinas in U.S. dollars per week) + (amount given Omaha Community Foundation in U.S. dollars per week) »

While pursuing these observations, we encourage the user to have fun, but also to be aware that some of the above results might just exceed an arbitrary threshold of say, approximately pi canards, if their scientific significance were taken too seriously.

Finally, it is good so see that while pi remains irrational, this level-headed constant still does not let all the festivities on its behalf interfere with its usual daily routine. ;)

*Data for this post was compiled by Michael Trott.*

Greetings Eric & Michael

I read your pi-day-2011 note and it took a few minutes.

I read Jonathan M. Borwein’s ‘The Life of Pi: History and Computation: a Talk for PiDay’, all 339 pages (piday.pdf) and it has taken me a number of days and I’m still not to the end!

I have decided brevity is the key word!

Best regards,

George

May I ask why July 22nd ( 7/22) is not pi day, since days and months are measured in counting numbers and 3.14 is a decimal? I have been doing some funky things with the 22 divided by 7 phenomenon besides calculating it to ridiculously large decimal places. There’s way more to pi than just an irrational number. When it is still expressed as something that resembles a ratio it has some very unique abilities to inform geometry from a visual and construction point of view. The result is Gravity/sphere theory and a whole new look at a lot of things that are not quite round enough to qualify for pi. Why is nobody talking about gravity/sphere theory on July 22nd, hum? :-))))))

Sincerely, Lost in Irrational Outer Space., Michael

July 22 is usually known is “Pi Approximation Day”, and Wolfram|Alpha knows about it as well:

http://www.wolframalpha.com/input/?i=pi+approximation+day

-Eric

of course Pi day is only on 14 March if you uses the US calendar which places the month before the day and then adds the year (which as Spock would say – is just not logical).

In countries where the date is ddmmyy (finest to coarsest granularity) we are just unfortunate to not have one :)

Yes, there is some discussion of Wolfram|Alpha’s handling of US vs. non-US calendars in last year’s Pi Day blog post:

http://blog.wolframalpha.com/2010/03/12/pi-day-in-wolframalpha/

-Eric

Let’s say I knew that there’s this nice relationship between pi, i, and e, but I had forgotten the exact formula.

Reading above “express 10. through pi and pi!” example, I would then try phrasing

“express pi through e and i” which W|A interprets as a simple “pi”

“express pi through the constants e and i” tells me about a first name of “Constant”

“express -1 through e and i and pi” which W|A doesn’t understand at all

“express -1. through e and i and pi” shows some relationships, including the funny statement that -1 is an approximation of (and not equal to) -1.00000000)

None of the above will reveal that e^(-i pi) = -1

My experience is, that in general it’s so difficult to find the correct phrasing for a problem (even, as above, if you’ve got a working example to start from). Not sure if or how any of the following might help: 1) more documentation for the current W|A input language, or 2) a new (optional) formalized and fully documented input language, or 3) W|A asking back questions on how to interpret any phrase you’ve entered