Pi
Encyclopedia : P : PI : PI : Pi
The mathematical constant π is an irrational number, approximately equal to 3.14159, which is the ratio of a circle's circumference to its diameter in Euclidean geometry, and has many uses in mathematics, physics, and engineering. It is also known as Archimedes' constant (not to be confused with Archimedes number) and as Ludolph's number.
- 1 The letter ''π''
- 2 Definition
- 3 Numerical value
- 4 Properties
- 5 History
- 6 Numerical approximations
- 7 Formulæ
- 7.1 Geometry
- 7.2 Analysis
- 7.3 Continued fractions
- 7.4 Number theory
- 7.5 Dynamical systems and ergodic theory
- 7.6 Physics
- 7.7 Probability and statistics
- 7.8 Efficient methods
- 7.9 Miscellaneous formulæ
- 7.10 Less accurate approximations
- 7.11 Memorising digits
- 8 Open questions
- 9 Naturality
- 10 Fictional references
- 11 Trivia
- 12 See also
- 13 References
- 14 External links
The letter π
The name of the Greek letter π is pi, and this spelling is used in typographical contexts where the Greek letter is not available or where its usage could be problematic. When referring to this constant, the symbol π is always pronounced like "pie" in English, the conventional English pronunciation of the letter.
The constant is named π because it is the first letter of the Greek words "περιφέρεια" (periphery) and "περίμετρον" (perimeter). The Swiss mathematician Leonhard Euler proposed that this number be given a particular name and suggested the use of π.
Definition
In Euclidean plane geometry, π is defined either as the ratio of a circle's circumference to its diameter, or as the ratio of a circle's area to the area of a square whose side is the radius. The constant π may be defined in many other ways, for example as the smallest positive x for which sin(x) = 0. The formulæ below illustrate other (equivalent) definitions.
Numerical value
The numerical value of π, truncated to 50 decimal places is:
- 3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510...
There are few, if any, cases in engineering and science where more than a few dozen digits are needed; with the 50 digits given here, the circumference of any circle that would fit in the observable universe (ignoring the curvature of space) could be computed with an error less than the size of a proton. Nevertheless, the exact value of π has an infinite decimal expansion: its decimal expansion never ends and does not repeat, since π is an irrational number (and indeed, a transcendental number). This infinite sequence of digits has fascinated mathematicians and laymen alike, and much effort over the last few centuries has been put into computing more digits and investigating the number's properties. Despite much analytical work, and supercomputer calculations that have determined over 1 trillion digits of π, no pattern in the digits has ever been found. Digits of π are available on many web pages, and there is software for calculating π to billions of digits on any personal computer. See history of numerical approximations of π.
How is π calculated?
The formulae often given for calculating the digits of π have desirable mathematical properties, but are often hard to understand without a background in trigonometry and calculus. Nevertheless, it is possible to compute π using techniques involving only algebra and geometry.
For example, one common classroom activity for experimentally measuring the value of π involves drawing a large circle on graph paper, then measuring its approximate area by counting the number of cells inside the circle. Since the area of the circle is known to be [ a = \pi\, ], π can be derived using algebra: [ \pi = \begin \frac \end ].
This process works mathematically as well as experimentally. If a circle with radius r is drawn with its center at the point (0,0), any point whose distance from the origin is less than r will fall inside the circle. The pythagorean theorem gives the distance from any point (x,y) to the center: [d=\sqrt]. Mathematical "graph paper" is formed by imagining a 1x1 square centered around each point (x,y), where x and y are integers between -r and r. Squares whose center resides inside the circle can then be counted by testing whether, for each point (x,y),
The total number of points satisfying that condition thus approximates the area of the circle, which then can be used to calculate an approximation of π. Mathematically, this formula can be written:
In other words, count up all points (x,y) in which both x and y are between -r and r to find the approximate area of the circle. Then divide by r2 to find the approximation of π. Closer approximations can be produced by using larger values of r.
Similarly, all of the more complex approximations of π given below involve repeated calculations of some sort, yielding closer and closer approximations with increasing numbers of calculations.
Properties
The constant π is an irrational number; that is, it cannot be written as the ratio of two integers. This was proven in 1761 by Johann Heinrich Lambert.Furthermore, π is also transcendental, as was proven by Ferdinand von Lindemann in 1882. This means that there is no polynomial with rational coefficients of which π is a root. An important consequence of the transcendence of π is the fact that it is not constructible. Because the coordinates of all points that can be constructed with compass and straightedge are constructible numbers, it is impossible to square the circle: that is, it is impossible to construct, using compass and straightedge alone, a square whose area is equal to the area of a given circle.
History
Use of the symbol π
Often William Jones' book A New Introduction to Mathematics from 1706 is cited as the first text where the Greek letter π was used for this constant, but this notation became popular especially since Leonhard Euler adopted it some years later, (cf. History of π).
Early approximations
- :Main article: History of numerical approximations of π.
The Egyptian scribe Ahmes wrote the oldest known text to give an approximate value for π, citing a Middle Kingdom papyrus, corresponding to a value of 256 divided by 81 or 3.160.
It is sometimes claimed that the Bible states that π = 3, based on a passage in 1 Kings 7:23 giving measurements for a round basin as having a 10 cubit diameter and a 30 cubit circumference. Rabbi Nehemiah explained this by the diameter being from outside to outside while the circumference was the inner brim; but it may suffice that the measurements are given in round numbers. Also, the basin may not have been exactly circular.
Archimedes of Syracuse discovered, by considering the perimeters of 96-sided polygons inscribing a circle and inscribed by it, that π is between 223/71 and 22/7. The average of these two values is roughly 3.1419.
The Chinese mathematician Liu Hui computed π to 3.141014 (good to three decimal places) in AD 263 and suggested that 3.14 was a good approximation.
The Indian mathematician and astronomer Aryabhata in the 5th century gave the approximation π = 62832/20000 = 3.1416, correct when rounded off to four decimal places.
The Chinese mathematician and astronomer Zu Chongzhi computed π to be between 3.1415926 and 3.1415927 and gave two approximations of π, 355/113 and 22/7, in the 5th century.
The Indian mathematician and astronomer Madhava of Sangamagrama in the 14th century computed the value of π after transforming the power series expansion of π /4 into the form
- π = √12 (1 - 1/(33) + 1/(532) - 1/(733) + ...
The astronomer Ghyath ad-din Jamshid Kashani (1350-1439) correctly computed π to 9 digits in the base of 60, which is equivalent to 16 decimal digits as:
- 2π = 6.2831853071795865
In 1789, the Slovene mathematician Jurij Vega improved John Machin's formula from 1706 and calculated the first 140 decimal places for π of which the first 126 were correct [link] and held the world record for 52 years until 1841, when William Rutherford calculated 208 decimal places of which the first 152 were correct.
The English amateur mathematician William Shanks, a man of independent means, spent over 20 years calculating π to 707 decimal places (accomplished in 1873). In 1944, D. F. Ferguson found that Shanks had made a mistake in the 528th decimal place, and that all succeeding digits were fallacious. By 1947, Ferguson had recalculated pi to 808 decimal places (with the aid of a mechanical desk calculator).
Numerical approximations
Due to the transcendental nature of π, there are no closed form expressions for the number in terms of algebraic numbers and functions. Roughly speaking, this means that any formula which uses simple math operations to calculate π must go on forever. This is why formulæ for calculating π are often written with a "..." to indicate that in order to reach π exactly, an infinite number of additional terms would have to follow the terms given.
Consequently, numerical calculations must use approximations of π. For many purposes, 3.14 or 22/7 is close enough, although engineers often use 3.1416 (5 significant figures) or 3.14159 (6 significant figures) for more accuracy. The approximations 22/7 and 355/113, with 3 and 7 significant figures respectively, are obtained from the simple continued fraction expansion of π. The approximation 355/113 (3.1415929…) is the best one that may be expressed with a three-digit numerator and denominator.
The earliest numerical approximation of π is almost certainly the value 3. In cases where little precision is required, it may be an acceptable substitute. That 3 is an underestimate follows from the fact that it is the ratio of the perimeter of an inscribed regular hexagon to the diameter of the circle.
All further improvements to the above mentioned "historical" approximations were done with the help of computers.
Formulæ
Geometry
The constant π appears in many formulæ in geometry involving circles and spheres.
| Geometrical shape | Formula |
|---|---|
| Circumference of circle of radius r and diameter d | [C = 2 \pi r = \pi d \,\!] |
| Area of circle of radius r | [A = \pi r^2 = \frac \pi d^2 \,\!] |
| Area of ellipse with semiaxes a and b | [A = \pi a b \,\!] |
| Volume of sphere of radius r and diameter d | [V = \frac \pi r^3 = \frac \pi d^3 \,\!] |
| Surface area of sphere of radius r and diameter d | [A = 4 \pi r^2 = \pi d^2 \,\!] |
| Volume of cylinder of height h and radius r | [V = \pi r^2 h \,\!] |
| Surface area of cylinder of height h and radius r | [A = 2 ( \pi r^2 ) + ( 2 \pi r ) h = 2 \pi r (r + h) \,\!] |
| Volume of cone of height h and radius r | [V = \frac \pi r^2 h \,\!] |
| Surface area of cone of height h and radius r | [A = \pi r \sqrt + \pi r^2 = \pi r (r + \sqrt) \,\!] |
(All of these are a consequence of the first one, as the area of a circle can be written as A = ∫(2πr) dr ("sum of annuli of infinitesimal width"), and others concern a surface or solid of revolution.)
Also, the angle measure of 180° (degrees) is equal to π radians.
Analysis
Many formulæ in analysis contain π, including infinite series (and infinite product) representations, integrals, and so-called special functions.
- The area of the unit disc:
- [2\int_^1 \sqrt\,dx = \pi]
- Half the circumference of the unit circle:
- François Viète, 1593 (proof):
- Faster product (see Sondow, 2005 and [Sondow web page])
- Symmetric formula (see Sondow, 1997)
- Bailey-Borwein-Plouffe algorithm (See Bailey, 1997 and [Bailey web page])
- Chebyshev series [Y. Luke, Math. Tabl. Aids Comp. 11 (1957) 16]
- An integral formula from calculus (see also Error function and Normal distribution):
- Basel problem, first solved by Euler (see also Riemann zeta function):
- Euler's identity (called by Richard Feynman "the most remarkable formula in mathematics"):
- A property of Euler's totient function (see also Farey sequence):
- An application of the residue theorem
Continued fractions
Next to its simple continued-fraction representation [3; 7, 15, 1, 292, 1, 1, …], which displays no discernible pattern, π has many generalized continued-fraction representations that are generated by a simple rule, including:
- [ \frac = 1 + \cfrac}}}}} ]
Number theory
Some results from number theory:- The probability that two randomly chosen integers are coprime is 6/π2.
- The probability that a randomly chosen integer is square-free is 6/π2.
- The average number of ways to write a positive integer as the sum of two perfect squares (order matters but not sign) is π/4.
The theory of elliptic curves and complex multiplication derives the approximation
- [\pi \approx }]
Dynamical systems and ergodic theory
Consider the recurrence relation- [x_ = 4 x_i (1 - x_i) \,]
- [ \lim_ \frac \sum_^ \sqrt = \frac ]
Physics
The number π appears routinely in equations describing fundamental principles of the universe, due in no small part to its relationship to the nature of the circle and, correspondingly, spherical coordinate systems.
- [\Lambda = \rho]
Probability and statistics
In probability and statistics, there are many distributions whose formulæ contain π, including:- probability density function (pdf) for the normal distribution with mean μ and standard deviation σ:
- [f(x) = }\,e^]
- pdf for the (standard) Cauchy distribution:
A semi-interesting empirical approximation of π is based on Buffon's needle problem. Consider dropping a needle of length L repeatedly on a surface containing parallel lines drawn S units apart (with S > L). If the needle is dropped n times and x of those times it comes to rest crossing a line (x > 0), then one may approximate π using:
- [\pi \approx \frac]
Another approximation of π is to [throw points randomly] into a quarter of a circle with radius 1 that is inscribed in a square of length 1. π, the area of a unit circle, is then approximated as 4*(points in the quarter circle) / (total points).
Efficient methods
In the early years of the computer, the first expansion of π to 100,000 decimal places was computed by Maryland mathematician Dr. Daniel Shanks and his team at the United States Naval Research Laboratory (N.R.L.) in 1961. Dr. Shanks's son Oliver Shanks, also a mathematician, states that there is no family connection to William Shanks, and in fact, his family's roots are in Central Europe.#redirect
Daniel Shanks and his team used two different power series for calculating the digital of π. For one it was known that any error would produce a value slightly high, and for the other, it was known that any error would produce a value slightly low. And hence, as long as the two series produced the same digits, there was a very high confidence that they were correct. The first 100,000 digits of π were published by the US Naval Research Laboratory
None of the formulæ given above can serve as an efficient way of approximating π. For fast calculations, one may use a formula such as Machin's:
- [\frac = 4 \arctan\frac - \arctan\frac ]
- [(5+i)^4\cdot(-239+i)=-114244-114244i.]
Many other expressions for π were developed and published by the incredibly intuitive Indian mathematician Srinivasa Ramanujan. He worked with mathematician Godfrey Harold Hardy in England for a number of years.
Extremely long decimal expansions of π are typically computed with the Gauss-Legendre algorithm and Borwein's algorithm; the Salamin-Brent algorithm which was invented in 1976 has also been used.
The first one million digits of π and 1/π are available from Project Gutenberg (see external links below). The current record (December 2002) by Yasumasa Kanada of Tokyo University stands at 1,241,100,000,000 digits, which were computed in September 2002 on a 64-node Hitachi supercomputer with 1 terabyte of main memory, which carries out 2 trillion operations per second, nearly twice as many as the computer used for the previous record (206 billion digits). The following Machin-like formulæ were used for this:
- [ \frac = 12 \arctan\frac + 32 \arctan\frac - 5 \arctan\frac + 12 \arctan\frac]
- K. Takano (1982).
- [ \frac = 44 \arctan\frac + 7 \arctan\frac - 12 \arctan\frac + 24 \arctan\frac]
- F. C. W. Störmer (1896).
In 1997, David H. Bailey, Peter Borwein and Simon Plouffe published a paper (Bailey, 1997) on a new formula for π as an infinite series:
- [\pi = \sum_^ \frac\left( \frac - \frac - \frac - \frac\right)]
Fabrice Bellard claims to have beaten the efficiency record set by Bailey, Borwein, and Plouffe with his formula to calculate binary digits of π [link]:
- [\pi = \frac \sum_^ \frac \left( - \frac - \frac + \frac - \frac - \frac - \frac + \frac \right)]
- [\frac=\sum_^\infty\frac=1+\frac\left(1+\frac\left(1+\frac\left(1+\frac(1+\cdots)\right)\right)\right)]
- Newton.
- [ \frac = \frac} \sum^\infty_ \frac} ]
- Ramanujan.
- [ \frac = 12 \sum^\infty_ \frac} ]
- David Chudnovsky and Gregory Chudnovsky.
- [ = 20 \arctan\frac + 8 \arctan\frac ]
- Euler.
Miscellaneous formulæ
Using base 60, π can be approximated to the equivalent of eight significant figures (in base 10) as:- [ 3 + \frac + \frac + \frac]
- accurate to 9 digits:
- :[(63/25)(17+15\sqrt 5)/(7+15\sqrt5)]
- accurate to 3 digits:
- The continued fraction representation of π can be used to generate successively better rational approximations, which start off: 22/7, 333/106, 355/113…. These approximations are the best possible rational approximations of π relative to the size of their denominators.
Less accurate approximations
In 1897, an amateur mathematician from Indiana believed that he had discovered a way to square the circle. He proposed a bill to the state legislature to have his discovery made into law. It was passed in the state House of Representatives but postponed indefinitely in the state Senate thanks to the intervention of a mathematics professor who was present in the capitol on other business. The bill, which subsequently entered folklore as the Indiana Pi Bill, contained several false mathematical claims from which commentators have extracted a number of apparent "values of π" including 3.2, 3.23.., 4, and 9.24....
Memorising digits
Ever since computers have calculated π to billions of decimal places, memorising π has become a hobby for some people. The current unofficial world record is 83,431 decimal places, and was set by a Japanese mental health counsellor named Akira Haraguchi, who is currently 59 years of age.[link] Before Haraguchi accomplished this on July 2, 2005, the world record was 42,195, which was set by Hiroyuki Goto.
There are many ways to memorise π, including the use of piems, which are poems that represent π in a way such that the length of each word (in letters) represents a digit. Here is an example of a piem: How I need a drink, alcoholic in nature (or: of course), after the heavy lectures involving quantum mechanics. Notice how the first word has 3 letters, the second word has 1, the third has 4, the fourth has 1, the fifth has 5, and so on. The Cadaeic Cadenza contains the first 3834 digits of π in this manner. Piems are related to the entire field of humorous yet serious study that involves the use of mnemonic techniques to remember the digits of π, known as piphilology. See [Pi mnemonics] for examples. In other languages there are similar methods of memorisation. However, this method proves inefficient for large memorisations of pi. Other methods include remembering "patterns" in the numbers (for instance, the "year" 1971 appears in the first fifty digits of pi).
Open questions
The most pressing open question about π is whether it is a normal number -- whether any digit block occurs in the expansion of π just as often as one would statistically expect if the digits had been produced completely "randomly", and that this is true in every base, not just base 10. Current knowledge on this point is very weak; e.g., it is not even known which of the digits 0,…,9 occur infinitely often in the decimal expansion of π.Bailey and Crandall showed in 2000 that the existence of the above mentioned Bailey-Borwein-Plouffe formula and similar formulæ imply that the normality in base 2 of π and various other constants can be reduced to a plausible conjecture of chaos theory. See Bailey's above mentioned web site for details.
It is also unknown whether π and e are algebraically independent. However it is known that at least one of πe and π + e is transcendental (q.v.).
Naturality
In non-Euclidean geometry the sum of the angles of a triangle may be more or less than π radians, and the ratio of a circle's circumference to its diameter may also differ from π. This does not change the definition of π, but it does affect many formulæ in which π appears. So, in particular, π is not affected by the shape of the universe; it is not a physical constant but a mathematical constant defined independently of any physical measurements. Nonetheless, it occurs often in physics.For example, consider Coulomb's law (SI units)
- [ F = \frac \frac ].
- [ F = \frac ]
Fictional references
- In Carl Sagan's science fiction Contact, Sagan contemplates the possibility of finding a signature embedded in the base-11 expansion of π by the creators of the universe.
- In Greg Bear's science fiction novel Eon, the protagonists measure the amount of space curvature using a device that computes π. Only in completely flat space/time will a circle have a circumference–diameter ratio of 3.14159….
- In Terry Pratchett's fantasy novel Going Postal, the famous inventor Bloody Stupid Johnson invents an organ/mail sorter that contains a wheel for which π is exactly 3. This "New π" starts a chain of events that leads to the failure of the Ankh-Morpork Post Office (and possibly the destruction of the Universe all in one go.)
- In the cult film π, the relationship between numbers and nature is analyzed.
- In the cartoon series The Simpsons, "π is exactly three!" was an announcement used by Lisa Simpson on behalf of Professor Frink to gain the full attention of a hall full of scientists.
- The cartoon series Futurama also contains several references to π, such as the use of 'π in 1' oil, and shopping at πkea.
- In the Star Trek episode "Wolf in the Fold", when the computer of the Enterprise is taken over by an evil alien, Spock tells the computer to figure π to the last digit, which forces the alien to leave.
- In the Doctor Who episode "The Five Doctors", the First Doctor uses π in an application to get across a deadly chessboard floor in the Dark Tower of Rassilon, after figuring out the statement made by The Master that the chessboard is; "easy as 'pi'."
- The science fiction novel Time's Eye, by Arthur C. Clarke and Stephen Baxter, depicts a world restructured by alien forces. A spherical device is observed whose circumference-to-diameter ratio appears to be an exact integer 3 across all planes. It is the first book in The Time Odyssey series.
- In the Jimmy Neutron episode "Revenge of the Nanobots," Jimmy destroys the nanobots (which were designed to fix all errors, and were destroying mankind due to an excessively high standard of "error-free") by making them correct a test paper which states that π equals 3.
- The Ragged Astronauts, a science-fiction novel by Bob Shaw, describes 2 planets, Land & Overland, which share atmospheres. π is discovered by the most eminent philosopher of Land to be exactly 3. Subsequent books in the trilogy involve another planet (Farland), and the discovery of changes to the value of π.
- In The Time Warp Trio, Sam shuts down a threatening robot by telling it that his number was π.
- In the Look Around You episode about maths, the audience is asked to turn to chapter 3.1415926 of their copybooks.
Trivia
Departing entirely from classical construction, we may mount the given circle on a wheel and roll it along the straight line, unrolling the circumference as we go. The wheel rim is covered with red paint, which is transferred to the road as the wheel travels. As shown by the animation, it travels an unusual, counterintuitive distance before making a full revolution: almost one-seventh again beyond three diameters. This is the number π.
- March 14 (3/14 in U.S. date format) marks Pi Day which is celebrated by many lovers of π. Incidentally, it is also Einstein's birthday.
- On July 22, Pi Approximation Day is celebrated (22/7 - in European date format - is a popular approximation of π).
- 355/113 (~3.1415929) is sometimes jokingly referred to as "not π, but an incredible simulation!"
- Singer Kate Bush's 2005 album "Aerial" contains a song titled "π", in which she sings π to its 137th decimal place; however, for an unknown reason, she omits the 79th to 100th decimal places.[link] She was preceded in this achievement by several years by a Swedish indie math lyrics artist under the moniker Matthew Matics, who loses track of the decimals at about the same point in the series.
- John Harrison (1693–1776) (of Longitude fame), devised a meantone temperament musical tuning system derived from π, now called Lucy Tuning.
- Users of the A9.com search engine are eligible for an amazon.com program offering discounts of (π/2)% on purchases.
- The Heywood Banks song "Eighteen Wheels on a Big Rig" has the singer(s) count pi in the final verse; they reach "eight hundred billion" before going into the chorus.
- In 1932, Stanisław Gołąb proved that the ratio of the circumference to the diameter of the unit disc is always in between 3 and 4; these values are attained if and only if the unit "circle" has the shape of a regular hexagon resp. a parallelogram. See unit disc for details.
- John Squire (of The Stone Roses) mentions π in a song written for his second band The Seahorses called "Something Tells Me". The song was recorded in full by the full band, and appears on the bootleg of the never released second-album recordings. The song ends with the lyrics, "What's the secret of life? It's 3.14159265, yeah yeah!!"
- Hard 'n Phirm's fourth track on Horses and Grasses is "Pi" (and is preceded by "An Intro", which discusses the topic like an educational television program). Many digits are recited through it, and a [video] appeared online inspired by it.
See also
- List of topics related to pi
- Greek letter π
- Calculus
- Geometry
- Trigonometric function
- Pi through experiment
- Proof that π is transcendental
- A simple proof that 22/7 exceeds π
- Feynman point
- Pi Day
- Lucy Tuning
- Cadaeic Cadenza
- Software for calculating π on personal computers
- History of π
- History of numerical approximations of π
- Mathematical Constants
- *e
- *φ
References
Footnotes
Additional
- [A new formula to compute the n'th binary digit of pi] by Fabrice Bellard, retrieved March 22, 2006
- Petr Beckmann, A History of π
- [Jonathan Sondow], ["A faster product for pi and a new integral for ln pi/2,"] Amer. Math. Monthly 112 (2005) 729-734.
- [Jonathan Sondow], Problem 88, Math Horizons 5 (Sept., 1997) 32, 34.
- Borwein, Jonathan M.; Borwein, Peter; and Berggren, Lennart (2004). Pi: A Source Book, Springer. ISBN 0387205713.
External links
- Digits
- [First 4 Million Digits of π]
- [Project Gutenberg E-Text containing a million digits of π]
- [Search the first 200 million digits of π for arbitrary strings of numbers]
- [Source code for calculating the digits of π]
- [Pi World ranking list] - List of many people who have memorized large numbers of digits of π.
- [J J O'Connor and E F Robertson: A history of pi. Mac Tutor project]
- [A proof that π Is Irrational]
- [Lots of formulæ for π] at MathWorld
- [PlanetMath: Pi]
- [Finding the value of π]
- [Determination of π] at cut-the-knot
- [The Life of Pi by Jonathan Borwein]
- [BBC Radio Program about π]
- [Decimal expansions of Pi and related links] at the On-Line Encyclopedia of Integer Sequences
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
