John Machin
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]
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.
Here (the arctangent, one of the inverse trigonometric functions) is the angle whose tangent is . The angle is measured in radians, a unit in which a full turn is . Since , the left side 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]
- Take an angle whose tangent is 1/5. It is about 11.3 degrees.
- Double it twice. Four times the angle is about 45.24 degrees, just past 45 degrees.
- The tiny leftover angle, about 0.24 degrees, has tangent 1/239.
- 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]
The arctangent series
An angle can be computed from its tangent using the arctangent series, an infinite sum of ever smaller terms:[5]
The series holds only for between and .[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 gives the Leibniz formula for pi, . 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 , and the difference rule holds when :
Maseres' account of Machin's method follows these steps, with the angle whose tangent is .[6]
- Doubling once gives .
- Doubling again gives . This is just over 1, so is just over 45 degrees.
- The difference rule with gives .
- The angle is small (between and ), so it equals . 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]
The terms shrink fast because is small. In the arctangent series, each term is less than times the one before.
| Value of | Each term is less than this fraction of the one before | Practical result |
|---|---|---|
| (Leibniz formula) | (terms barely shrink) | About 10,000 terms for 4 decimal places[5] |
| More than one new decimal place per term | ||
| 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]
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 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 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 .[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
- John Machin (1680 - 1751), Biography, MacTutor History of Mathematics, University of St Andrews, 2003.
- John Machin, Encyclopaedia Britannica, 2026.
- The Life of Pi: From Archimedes to Eniac and Beyond, Jonathan M. Borwein, CARMA, University of Newcastle, 2012.
- πr², but Books are Rectangular, Rare Book and Manuscript Library, University of Illinois, 2015.
- A history of Pi, MacTutor History of Mathematics, University of St Andrews.
- How to Calculate pi: Machin's Inverse Tangents, Dominic Klyve, Ursinus College Digital Commons, 2018.
- A chronology of pi, MacTutor History of Mathematics, University of St Andrews.
- An ENIAC Determination of π and e to more than 2000 Decimal Places, G. W. Reitwiesner, reprinted in Pi: A Source Book, Springer, 1997.
- The Eniac and Pi, Wittenberg University, 2013.
- Moon Essentials: Orbit, NASA Scientific Visualization Studio.
