While funny, it’s usually courteous (at least in the United States) to tip a server more than 11.7% if given good service at restaurant.

## All posts tagged **pi**

# How Mathematicians Tip

*Posted by John Quintanilla on March 14, 2018*

https://meangreenmath.com/2018/03/14/how-mathematicians-tip/

# Pi vs. Pie

Courtesy Bedtime Math:

*Posted by John Quintanilla on November 20, 2017*

https://meangreenmath.com/2017/11/20/pi-vs-pie/

# Thanksgiving warning

*Posted by John Quintanilla on November 17, 2017*

https://meangreenmath.com/2017/11/17/thanksgiving-warning/

# Thanksgiving recipe

*Posted by John Quintanilla on November 24, 2016*

https://meangreenmath.com/2016/11/24/thanksgiving-recipe/

# Halloween math humor

*Posted by John Quintanilla on October 31, 2016*

https://meangreenmath.com/2016/10/31/halloween-math-humor/

# Pi Day of the Century

In case you have nothing better to read, here’s the first million digits of pi: http://www.piday.org/million/

And, as a reminder, I’ll be at the Pi Day of the Century event at the North Branch of the Denton library:

*Posted by John Quintanilla on March 14, 2015*

https://meangreenmath.com/2015/03/14/pi-day-of-the-century/

# Local Pi Day Event

As has been well publicized, tomorrow is the Pi Day of the Century (3/14/15). I actually know someone who intentionally planned her wedding for tomorrow morning at 9:26 am.

The North Branch of the Denton library will be holding a Pi Day event from 9:26 am until 5:35 pm, and I’ll be making four presentations (two for grade school children and two for teens/adults). You’re welcome to bring the family and enjoy as your schedule permits.

*Posted by John Quintanilla on March 13, 2015*

https://meangreenmath.com/2015/03/13/local-pi-day-event/

# Was There a Pi Day on 3/14/1592?

March 14, 2015 has been labeled the Pi Day of the Century because of the way this day is abbreviated, at least in America: 3/14/15.

I was recently asked an interesting question: did any of our ancestors observe Pi Day about 400 years ago on 3/14/1592? The answer is, I highly doubt it.

My first thought was that may not have been known to that many decimal places in 1592. However, a quick check on Wikipedia (see also here), as well as the book “ Unleashed,” verifies that my initial thought was wrong. In China, 7 places of accuracy were obtained by the 5th century. By the 14th century, was known to 13 decimal places in India. In the 15th century, was calculated to 16 decimal places in Persia.

It’s highly doubtful that the mathematicians in these ancient cultures actually talked to each other, given the state of global communications at the time. Furthermore, I don’t think any of these cultures used either the Julian calendar or the Gregorian calendar (which is in near universal use today) in 1592. (An historical sidebar: the Gregorian calendar was first introduced in 1582, but different countries adopted it in different years or even centuries. America and England, for example, did not make the switch until the 18th century.) So in China, India, and Persia, there would have been nothing particularly special about the day that Europeans called March 14, 1592.

However, in Europe (specifically, France), Francois Viete derived an infinite product for and obtained the first 10 digits of . According to Wikipedia, Viete obtained the first 9 digits in 1579, and so Pi Day hypothetically could have been observed in 1592. (Although Unleashed says this happened in 1593, or one year too late).

There’s a second problem: the way that dates are numerically abbreviated. For example, in England, this Saturday is abbreviated as 14/3/15, which doesn’t lend itself to Pi Day. (Unfortunately, since April has only 30 days, there’s no 31/4/15 for England to mark Pi Day.) See also xkcd’s take on this. So numerologically minded people of the 16th century may not have considered anything special about March 14, 1592.

The biggest obstacle, however, may be the historical fact that the ratio of a circle’s circumference and diameter wasn’t called until the 18th century. Therefore, both serious and recreational mathematicians would not have called any day Pi Day in 1592.

*Posted by John Quintanilla on March 12, 2015*

https://meangreenmath.com/2015/03/12/pi-day-in-1592/

# Approximating pi

I was recently interviewed by my city’s local newspaper about Day and the general fascination with memorizing the digits of . I was asked by the reporter if the only constraint in our knowledge of the digits of was the ability of computers to calculate the digits, and I answered in the affirmative.

Here’s the current state-of-the-art for calculating the digits of . Amazingly, this expression was discovered 1995… in other words, very recently.

Because of the term in the denominator, this infinite series converges very quickly.

Proof: If , then we calculate the integral , defined below:

We now form the linear combination :

Also, from the original definition of the ,

.

Employ the substitution :

Using partial fractions, we find

The expression on the right-hand side can be simplified using standard techniques from Calculus II and is equal to .

So that’s the proof… totally accessible to a student who has mastered concepts in Calculus II. But this begs the question: how in the world did anyone come up with the idea of starting with the integrals $I_k$ to develop an infinite series that leads to ? Let me quote from page 118 of J. Arndt and C. Haenel, Unleashed (Springer, New York, 2000):

Certainly not by chance, even if luck played some part in the discovery. All three parties [David Bailey, Peter Borwein and Simon Plouffe] are established mathematicians who have been working with the number for a considerable time… Yet the series was

notdiscovered through mathematical deduction or inference. Instead, the researchers used a tool called Computer Algebra System and a particular procedure called the “PSQL algorithm” to generate their series. They themselves write that they found their formula “through a combination of inspired testing and extensive searching.”

The original paper that announced the discovery of this series can be found at http://www.cecm.sfu.ca/personal/pborwein/PAPERS/P123.pdf.

*Posted by John Quintanilla on April 12, 2014*

https://meangreenmath.com/2014/04/12/approximating-pi/

# Continued fractions and pi

I suggest the following activity for bright middle-school students who think that they know everything that there is to know about fractions.

The approximation to that is most commonly taught to students is . As I’ll discuss, this is the closest rational number to using a denominator less than . However, it is possible to obtain closer rational approximations to using larger numbers. Indeed, the ancient Chinese mathematicians were superior to the ancient Greeks in this regard, as they developed the approximation

It turns out that this is the best rational approximation to using a denominator less than . In other words, is the best approximation to using a reasonably simple rational number.

**Step 1.** To begin, let’s find with a calculator. Then let’s now subtract and then find the inverse.

This calculation has shown that

If we ignore the , we obtain the usual approximation

**Step 2.** However, there’s no reason to stop with one reciprocal, and this might give us some even better approximations. Let’s subtract from the current denominator and find the reciprocal of the difference.

At this point, we have shown that

If we round the final denominator down to , we obtain the approximation

**Step 3**. Continuing with the next denominator, we subtract and take the reciprocal again.

At this point, we have shown that

If we round the final denominator down to , we obtain the approximation

**Step 4**. Let me show one more step.

At this point, we have shown that

If we round the final denominator down to , we (eventually) obtain the approximation

The calculations above are the initial steps in finding the *continued fraction* representation of . A full treatment of continued fractions is well outside the scope of a single blog post. Instead, I’ll refer the interested reader to the good write-ups at MathWorld (http://mathworld.wolfram.com/ContinuedFraction.html) and Wikipedia (http://en.wikipedia.org/wiki/Continued_fraction) as well as the references therein.

But I would like to point out one important property of the *convergents* that we found above, which were

All of these fractions are pretty close to , as shown below. (The first decimal below is the result for .)

In fact, these are the first terms in a sequence of *best possible* rational approximations to $\pi$ up to the given denominator. In other words:

- is the best rational approximation to using a denominator less than $106$. In other words, no integer over will be any closer to than . No integer over will be any closer to than . And so on, all the way up to denominators of . Small wonder that we usually teach children the approximation .
- Once we reach , the fraction is the best rational approximation to using a denominator less than .
- Then is the best rational approximation to using a denominator less than .

As noted above, the ancient Chinese mathematicians were superior to the ancient Greeks in this regard, as they were able to develop the approximation . For example, Archimedes was able to establish that

*Posted by John Quintanilla on September 25, 2013*

https://meangreenmath.com/2013/09/25/continued-fractions-and-pi/