MES Math Tutorials

Free math tutorials by Math Easy Solutions.

Problems Plus 7: Calculating π Using the Formula of John Machin (1680 - 1751)

View on YouTube ↗

A section of Infinite Sequences and Series: Problems Plus: the full video with all its notes is on that page.

Notes: Problems Plus 7: Calculating π Using the Formula of John Machin (1680 - 1751)

Written notes — from Infinite Sequences and Series: Problems Plus.

Problem 7

(a) Show that for xy ≠ 1,

image.png

if the left side lies between -π/2 and π/2.

(b) Show that:

image.png

(c) Deduce the following formula of John Machin (1680 - 1751):

image.png

(d) Use the Maclaurin series for arctan to show that:

0.1973955597 < arctan 1/5 < 0.1973955616 (e) Show that:

0.004184075 < arctan 1/239 < 0.004184077 (f) Deduce that, correct to seven decimal places, π ≈ 3.1415927.

Machin used this method in 1706 to find π correct to 100 decimal places.

Recently, with the aid of computers, the value of π has been computed to increasingly greater accuracy.

In 2009 T. Daisuke and his team computed the value of π to more than two trillion decimal places!

Solution to (a):

image.png

Let a = arctan x and b = arctan y.

image.png

Recall the earlier formula I referenced.

https://peakd.com/mathematics/@mes/video-notes-trigonometric-identity-tan-x-y-proof

image.png Using the second formula we have:

image.png

image.png

Note that the left side is between -π/2 and π/2.

image.png

Note that if xy = 1, then:

image.png

Solution to (b):

From (a) we have:

image.png

MES Calculation Check:

120∙239 - 119 = 28,561
119∙239 + 120 = 28,561

(120/119 - 1/239) / (1 + 120/119 ∙ 1/239) = 1

Now we can recall our exact trigonometric ratios.

image.png

Solution to (c):

We are asked to show:

image.png

Replacing y by -y in the formula of part (a), we get:

image.png

We did this so that we can use addition in the formula we are asked to show.

image.png

image.png

Thus, from part (b), we have:

image.png

Solution to (d):

We are asked to use the Maclaurin series for arctan to show that:

0.1973955597 < arctan 1/5 < 0.1973955616

Recall from the earlier table above.

image.png

This is an alternating series and the size of the terms decreases to 0, so we can apply the Alternating Series Estimation Theorem, as recapped from my earlier video below.

https://peakd.com/@mes/infinite-sequences-and-series-alternating-tests Retrieved: 22 August 2022 Archive: https://archive.ph/wip/nhaeA

image.png

image.png

image.png

image.png

Thus, by the Alternating Series Estimation Theorem, the sum will be between each successive partial sum; and the error is the absolute value of the next term.

Show that: 0.1973955597 < arctan 1/5 < 0.1973955616

s1 = 1/5 = 0.2 s2 = 1/5 - 1/(3∙5^3) = 0.1973 s3 = 1/5 - 1/(3∙5^3) + 1/(5∙5^5) = 0.1974 s4 = 1/5 - 1/(3∙5^3) + 1/(5∙5^5) - 1/(7∙5^7) = >0.1974 … need to use a more powerful calculator. …

s5 using Wolfram Alpha: https://www.wolframalpha.com/input... Retrieved: 22 August 2022 Archive: https://archive.ph/wip/7zH7Z

image.png

s6 using Wolfram Alpha: https://www.wolframalpha.com/input... Retrieved: 22 August 2022 Archive: https://archive.ph/wip/85ltL

image.png Thus the sum lies between s5 and s6:

s6 < arctan 1/5 < s7

0.1973955597… < arctan 1/5 < 0.1973955616…

This is the same as that we were asked to show:

0.1973955597 < arctan 1/5 < 0.1973955616

Note that the Solution manual rounds up to:

0.197395560 < arctan 1/5 < 0.197395562

Solution to (e):

We are now asked to show that:

0.004184075 < arctan 1/239 < 0.004184077

Using the series in part (d) we get:

image.png

Since we are asked to determine the sum to 9 decimal places, we can calculate the corresponding remainder.

R2 = |s - s2| ≤ b2 = 1/(5∙239^5) = 0.0 (need to use a more powerful calculator).

https://www.wolframalpha.com/input?i=1%2F%285*239%5E5%29 Retrieved: 22 August 2022 Archive: https://archive.ph/wip/kNOJy

image.png

The third term is less than 2.6 x 10-13, thus by the Alternating Series Estimation Theorem we can just use s2:

https://www.wolframalpha.com/input?i=1%2F239-1%2F%283*239%5E3%29 Retrieved: 22 August 2022 Archive: https://archive.ph/wip/YJGeg

image.png Thus s2 corresponds to the inequality we are asked to show:

s = arctan 1/239 ≈ s2 ≈ 0.004184076

0.004184075 < arctan 1/239 < 0.004184077

Note that we couldn't just use the inequality s2 < s < s1 because s1 is too large for the inequality we were asked to show.

s1 = 1/239 = 0.0041841004… > 0.004184077

Solution to (f):

We are asked to show that

π ≈ 3.1415927

From part (c) we can deduce that:

image.png

Recall from parts (d) and (e):

0.1973955597 < arctan 1/5 < 0.1973955616

0.004184075 < arctan 1/239 < 0.004184077

Thus we can apply add each inequality into our formula for π.

16∙(0.1973955597) - 4∙(0.004184077) < π < 16∙(0.1973955616) - 4∙(0.004184075)

Calculating this out we get:

16∙(0.1973955597) - 4∙(0.004184077) = 3.1415926472

16∙(0.1973955616) - 4∙(0.004184075) = 3.1415926856

3.1415926472 < π < 3.1415926856

Rounding to 7 decimal places we get:

3.1415926 < π < 3.1415927

Using the upper bound we get the estimation: π ≈ 3.1415927

MES Calculation Check:

Pi = 3.141592653589793


Problems Plus 7: Calculating π Using the Formula of John Machin (1680 - 1751)
Notes originally posted on the Hive blockchain →
Notes retrieved from the Hive blockchain (Infinite Sequences and Series: Problems Plus, September 1, 2022).
Comments
Advertisement