Search topics and sections

John Machin (died 9 June 1751) was an English astronomer and mathematician. He is best known for a formula that made it much easier to calculate pi, the ratio of the distance around a circle to its diameter. In 1706 he used it to work out pi to 100 decimal places, the first person to reach that many.[1][2]

Machin taught astronomy at Gresham College in London for 38 years and served as secretary of the Royal Society for nearly 30.[1] His formula, and others built the same way, were the standard tools for computing pi from his day into the 1970s, well after electronic computers arrived.[3]

Life and career

Little is known about Machin's early life, and even his birth year is uncertain. MacTutor and Britannica give 1680, while the Oxford Dictionary of National Biography records him as baptized in 1686, with a question mark.[1][2][4]

Career timeline of John Machin, 1700 to 1755Gresham professorRoyal Society secretary1700171017201730174017501701 Tutors Brook Taylor1710 Royal Society fellow1713 Astronomy chair1729 Moon paper in Principia1751 Dies in London1706 Pi formula, 100 digits1712 Calculus committee1717 Lunar theory begun1738 Kepler's problem
John Machin's career from 1700 to 1755. Dots mark dated events, including his 1706 formula for π\pi, which William Jones published with more than 100 digits. Shaded bars show his Gresham professorship (1713 to 1751) and his years as Royal Society secretary (1718 to 1747).

Private tutor

Machin worked as a private tutor of mathematics. In 1701 he taught mathematics to Brook Taylor, two years before Taylor entered St John's College, Cambridge.[1]

Machin was also friendly with Abraham de Moivre, who was a private tutor of mathematics at the same time, and with John Keill of Oxford.[1]

Machin and Taylor met in coffeehouses, a standard place for mathematical talk at the time.[1]

Machin kept writing to Taylor for many years. These letters are a useful source on how Machin thought about mathematics.[1]

Royal Society and Gresham College

Machin's later career centered on two London organizations.[1]

  • He was elected a Fellow of the Royal Society on 30 November 1710.
  • On 16 May 1713 he became Professor of Astronomy at Gresham College, taking over from Dr Torriano. He held the chair until his death.
  • He was secretary of the Royal Society from 1718 to 1747.
  • He died in London on 9 June 1751.

Machin's formula for pi

Machin's formula writes pi using two angles whose tangents are small, simple fractions.[5] In a right triangle, the tangent of an angle is the length of the side opposite the angle divided by the length of the side next to it.

π4=4arctan⁡15−arctan⁡1239\frac{\pi}{4} = 4\arctan\frac{1}{5} - \arctan\frac{1}{239}

Here arctan⁡x\arctan x (the arctangent, one of the inverse trigonometric functions) is the angle whose tangent is xx. The angle is measured in radians, a unit in which a full turn is 2π2\pi. Since tan⁡45∘=1\tan 45^\circ = 1, the left side π/4\pi/4 is the angle of 45 degrees in radians.

The idea in plain terms

The formula works because small angles are easy to calculate to many digits. Machin's plan, as later described by Francis Maseres, was to start from an angle with a small, simple tangent and keep doubling it until the result came close to 45 degrees.[6]

  1. Take an angle whose tangent is 1/5. It is about 11.3 degrees.
  2. Double it twice. Four times the angle is about 45.24 degrees, just past 45 degrees.
  3. The tiny leftover angle, about 0.24 degrees, has tangent 1/239.
  4. So 45 degrees equals four copies of the first angle minus the leftover angle.

Maseres wrote that the chief advantage of the method lies in using small angles whose tangents are numbers that are easy to work with.[6]

Angle doubling behind Machin's formula O 1 1/5 5/12 1 120/119 θ 2θ 45° 4θ Leftover angle, tangent 1/239 (about 0.24°) Not to scale π/4 = 4 arctan(1/5) − arctan(1/239)
Machin's formula comes from doubling the angle θ=arctan⁡(1/5)\theta = \arctan(1/5). Doubling once gives tangent 5/125/12, and doubling again gives 4θ4\theta with tangent 120/119120/119, which goes past π/4\pi/4 by a small angle whose tangent is 1/2391/239. So π/4=4arctan⁡(1/5)−arctan⁡(1/239)\pi/4 = 4\arctan(1/5) - \arctan(1/239).

The arctangent series

An angle can be computed from its tangent using the arctangent series, an infinite sum of ever smaller terms:[5]

arctan⁡x=x−x33+x55−x77+⋯(−1≤x≤1)\arctan x = x - \frac{x^3}{3} + \frac{x^5}{5} - \frac{x^7}{7} + \cdots \qquad (-1 \le x \le 1)

The series holds only for xx between −1-1 and 11.[5]

Indian mathematicians found the series several hundred years before Leibniz found it in 1673.[6]

MacTutor credits James Gregory with the general form.[5]

Putting x=1x = 1 gives the Leibniz formula for pi, π/4=1−1/3+1/5−⋯\pi/4 = 1 - 1/3 + 1/5 - \cdots. It is far too slow for computing. Getting just 4 correct decimal places needs about 10,000 terms.[5]

Deriving the formula

The proof uses two rules for tangents. The double-angle rule holds when tan⁡2a≠1\tan^2 a \ne 1, and the difference rule holds when 1+tan⁡atan⁡b≠01 + \tan a \tan b \ne 0:

tan⁡2a=2tan⁡a1−tan⁡2a,tan⁡(a−b)=tan⁡a−tan⁡b1+tan⁡atan⁡b\tan 2a = \frac{2\tan a}{1 - \tan^2 a}, \qquad \tan(a - b) = \frac{\tan a - \tan b}{1 + \tan a \tan b}

Maseres' account of Machin's method follows these steps, with θ\theta the angle whose tangent is 1/51/5.[6]

  1. Doubling once gives tan⁡2θ=2/51−1/25=512\tan 2\theta = \dfrac{2/5}{1 - 1/25} = \dfrac{5}{12}.
  2. Doubling again gives tan⁡4θ=10/121−25/144=120119\tan 4\theta = \dfrac{10/12}{1 - 25/144} = \dfrac{120}{119}. This is just over 1, so 4θ4\theta is just over 45 degrees.
  3. The difference rule with tan⁡(π/4)=1\tan(\pi/4) = 1 gives tan⁡(4θ−π4)=120/119−11+120/119=1239\tan\left(4\theta - \dfrac{\pi}{4}\right) = \dfrac{120/119 - 1}{1 + 120/119} = \dfrac{1}{239}.
  4. The angle 4θ−π/44\theta - \pi/4 is small (between −π/2-\pi/2 and π/2\pi/2), so it equals arctan⁡(1/239)\arctan(1/239). Rearranging gives Machin's formula.

MacTutor notes that proving the formula is not hard once it is known. Thinking of it in the first place is the real achievement.[5]

Why the series is fast

Multiplying the formula by 4 and using the arctangent series for both terms gives a series for pi itself. This is the form William Jones printed in 1706:[1]

π=(165−4239)−13(1653−42393)+15(1655−42395)−⋯\pi = \left(\frac{16}{5} - \frac{4}{239}\right) - \frac{1}{3}\left(\frac{16}{5^3} - \frac{4}{239^3}\right) + \frac{1}{5}\left(\frac{16}{5^5} - \frac{4}{239^5}\right) - \cdots

The terms shrink fast because xx is small. In the arctangent series, each term is less than x2x^2 times the one before.

Value of xx Each term is less than this fraction of the one before Practical result
11 (Leibniz formula) 11 (terms barely shrink) About 10,000 terms for 4 decimal places[5]
1/51/5 1/251/25 More than one new decimal place per term
1/2391/239 1/57,1211/57{,}121 More than four new decimal places per term

Machin's insight was to find a formula with large numbers like 5 and 239 under the 1. MacTutor notes that with such a formula available, the only difficulty in computing pi is the amount of calculation.[5]

The 1706 publication

Machin's formula first appeared in print in a book by his friend William Jones. Jones's Synopsis Palmariorum Matheseos, or A New Introduction to the Mathematics, was published in London in 1706.[1][4]

What Jones reported

On page 243 Jones gave the series and said he had received it from "the excellent analyst, and my much esteemed friend Mr John Machin". He added that it lets pi be found "to above 100 places; as computed by the accurate and ready pen of the truly ingenious Mr John Machin".[1]

Jones gave no hint of how Machin found the series. Maseres wrote in 1796 that, as far as he knew, Jones's book was the only place it had appeared before 1758, and that its short, unclear statement left English mathematicians in the dark about the method.[1]

Proofs by others

Because Jones gave no proof, other mathematicians supplied them.[1]

  • On 8 July 1706 de Moivre told Johann Bernoulli about the series and suggested he pass it to Jakob Hermann.
  • Hermann soon proved that the series converges to pi, meaning its running total gets closer and closer to pi as more terms are added. He also found similar fast series and sent the details to Leibniz on 21 August 1706.
  • On 6 July 1708 de Moivre sent Bernoulli two further proofs.
  • Machin's own Quadrature of the Circle appeared in 1758, after his death, as an appendix to a book by Francis Maseres.

The symbol π

The same book is also where the Greek letter π was first used with its present meaning. Jones wrote "3.14159 etc. = π".[5]

Leonhard Euler took up the symbol in 1737, after which it became standard.[5]

Jones is usually credited as the first to use π this way. A rare-books note from the University of Illinois, citing Arndt and Haenel, says he may have borrowed it from Machin.[4]

Place in the history of pi

Machin's 100 digits were well beyond the earlier record. In 1699 Abraham Sharp had used Gregory's series to get 71 correct digits.[5][7]

Selected record calculations of pi, 1596 to 17940255075100125150correct decimal places3571100112136van Ceulen1596Sharp1699Machin1706de Lagny1719von Vega1794used Machin's methodsde Lagny computed 127 places and von Vega 140,but only the counts shown were correct.
Selected record calculations of π\pi from 1596 to 1794, measured in correct decimal places. Machin's 1706 calculation was the first to reach 100 places, and the two later records shown used his methods.

Records using Machin's methods

Later calculators used Machin's methods to set new records.[5][7]

Year Calculator Decimal places Notes
1706 Machin 100
1719 de Lagny 127 Only 112 correct
1794 von Vega 140 Only 136 correct
1873 Shanks 707 Only 527 correct

Shanks used Machin's formula itself and published his 707 places in 1873 after many years of work. In 1945 Ferguson found an error in the 528th place, after which all of Shanks's digits were wrong.[5]

Machin-like formulas

Machin's formula gives its name to a family now called Machin-like formulas, which write π/4\pi/4 as a sum of positive or negative whole-number multiples of arctangents of simple fractions.[3]

Britannica notes that others, including Euler, adapted Machin's formula to extend his result.[2] In 1973 Guilloud and Bouyer used π/4=12arctan⁡(1/18)+8arctan⁡(1/57)−5arctan⁡(1/239)\pi/4 = 12\arctan(1/18) + 8\arctan(1/57) - 5\arctan(1/239) to compute a million digits.[3]

The first computer calculation

Machin's formula was also used for the first calculation of pi on an electronic computer. In June 1949 John von Neumann suggested computing pi on the ENIAC, offering Machin's formula as one of three options.[8]

George Reitwiesner's team ran the job in 1949, getting 2,037 decimal places in 70 hours.[3] Most of the work went into computing the arctangents of 1/5 and 1/239, which were then combined to give π/4\pi/4.[9]

Work in astronomy

Machin worked a lot on the motion of the Moon, a problem that troubled astronomers for centuries.[2][10]

Britannica describes his work on lunar theory as having little success.[2]

The Moon's nodes and the Principia

Machin found a way to compute the motion of the Moon's nodes. These are the points where the Moon's orbit crosses the plane of Earth's orbit, and the Sun's gravity makes them slowly turn.[10]

Isaac Newton received two independent solutions to this problem, from Machin and from Henry Pemberton, while planning the third edition of his Principia. He chose to include Machin's, in an added explanatory note (a scholium) to Book 3, Proposition 33, "since it was the first to come into my hands".[1]

Other astronomical writings

Machin's other astronomical work was less well received.[1]

  • His paper The Laws of the Moon's Motion According to Gravity appeared in Andrew Motte's 1729 English translation of the Principia. The 1893 Dictionary of National Biography called it "a poor performance".
  • A large work on lunar theory, begun in 1717, was never published. A mass of his manuscripts is kept by the Royal Astronomical Society.
  • In a 1727 letter to Jones he claimed the prize of £10,000 offered by Parliament for improving the tables of the Moon's motion.
  • The Solution of Kepler's Problem was published by the Royal Society in 1738. Kepler's problem is finding where a planet is in its orbit at a given time, which means solving Kepler's equation.

Calculus and Taylor's theorem

Machin took part in two episodes in the early history of calculus, the branch of mathematics that studies change and accumulation.

The priority dispute

In 1712 the Royal Society set up a committee on the calculus priority dispute between Leibniz and Newton, over who had invented calculus first. Machin sat on it, along with Keill and Taylor.[1][2]

MacTutor describes the committee as biased. Its members were Newton's friends, it did not ask Leibniz for his side, and it found in Newton's favor.[1]

Taylor's theorem

A remark by Machin led Taylor to one of the best-known results of the period. On 26 July 1712 Taylor wrote to Machin stating what is now called Taylor's theorem.[1]

In Child's Coffeehouse, Machin had explained to Taylor how to use Newton's series to solve Kepler's problem.[1]

Machin had also explained how Edmond Halley's method finds the roots of polynomial equations.[1] A polynomial equation is built from sums or differences of an unknown raised to whole-number powers, each multiplied by a number. A root is a value of the unknown that makes the equation true.

Taylor published his theorem three years after his 1712 letter.[1]

Reputation

Machin's formula for pi has proved of lasting importance, while most of his other work is judged less highly.[1] MacTutor says he had considerable influence on mathematics in England, and the Dictionary of National Biography says that in his time he "enjoyed a high mathematical reputation".[1]

References

  1. John Machin (1680 - 1751), Biography, MacTutor History of Mathematics, University of St Andrews, 2003.
  2. John Machin, Encyclopaedia Britannica, 2026.
  3. The Life of Pi: From Archimedes to Eniac and Beyond, Jonathan M. Borwein, CARMA, University of Newcastle, 2012.
  4. πr², but Books are Rectangular, Rare Book and Manuscript Library, University of Illinois, 2015.
  5. A history of Pi, MacTutor History of Mathematics, University of St Andrews.
  6. How to Calculate pi: Machin's Inverse Tangents, Dominic Klyve, Ursinus College Digital Commons, 2018.
  7. A chronology of pi, MacTutor History of Mathematics, University of St Andrews.
  8. An ENIAC Determination of π and e to more than 2000 Decimal Places, G. W. Reitwiesner, reprinted in Pi: A Source Book, Springer, 1997.
  9. The Eniac and Pi, Wittenberg University, 2013.
  10. Moon Essentials: Orbit, NASA Scientific Visualization Studio.

Figure