Misplaced Pages

Pi: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 19:55, 4 November 2006 view sourceWikiklrsc (talk | contribs)Extended confirmed users, Pending changes reviewers, Rollbackers20,065 edits External links: add link to Objective Observer article on PI← Previous edit Revision as of 20:06, 4 November 2006 view source Macrakis (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers, Rollbackers53,866 edits rv link to not particularly relevant or valuable Web pageNext edit →
Line 527: Line 527:
* at the ] * at the ]
* based on 1.2 trillion digits of PI * based on 1.2 trillion digits of PI

*, The Objective Observer, February 1st, 2005.


{{Link FA|de}} {{Link FA|de}}

Revision as of 20:06, 4 November 2006

Template:Two other uses

Lower-case π (the lower case letter is used for the constant)
Lower-case π (the lower case letter is used for the constant)
When a circle's diameter is 1, its circumference is π.

The mathematical constant π is an irrational real 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 an Archimedes number) and as Ludolph's number.

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 "περιφέρεια" (transliterated: periphereia; periphery in English) and "περίμετρος" (perimetros, perimeter).

π is Unicode character U+03C0 ("greek small letter pi").

Definition

Area of the circle = π × area of the shaded square

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 other ways that avoid the concepts of arc length and area, for example as twice the smallest positive x for which cos(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

See the links below and those at sequence A00796 in OEIS for more digits.

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 simple 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 π.

Calculating π

Most formulae given for calculating the digits of π have desirable mathematical properties, but may be difficult to understand without a background in trigonometry and calculus. Nevertheless, it is possible to compute π using techniques involving only algebra and geometry.

For example:

π = 4 – 4⁄3 + 4⁄5 – 4⁄7 + 4⁄9 – 4⁄11 ...

This series is easy to understand, but is impractical in use as it converges to π very slowly. It requires more than 600 terms just to narrow its value to 3.14 (two places), and billions of terms to achieve accuracy to ten places.

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 = π r 2 , {\displaystyle a=\pi r^{2},\,\!}

π can be derived using algebra:

π = a / r 2 . {\displaystyle \pi =a/r^{2}.\,\!}

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 = x 2 + y 2 . {\displaystyle d={\sqrt {x^{2}+y^{2}}}.}

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),

x 2 + y 2 < r . {\displaystyle {\sqrt {x^{2}+y^{2}}}<r.}

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 π {\displaystyle \pi } .


In other words, begin by choosing a value for r. Consider all points (x,y) in which both x and y are integers between -r and r. Starting at 0, add 1 for each point whose distance to the origin (0,0) is less than r. When finished, divide the sum, representing the area of a circle of radius r, by r to find the approximation of π. Closer approximations can be produced by using larger values of r.

For example, if r is set to 2, then the points (-2,-2), (-2,-1), (-2,0), (-2,1), (-2,2), (-1,-2), (-1,-1), (-1,0), (-1,1), (-1,2), (0,-2), (0,-1), (0,0), (0,1), (0,2), (1,-2), (1,-1), (1,0), (1,1), (1,2), (2,-2), (2,-1), (2,0), (2,1), (2,2) are considered. The 9 points (-1,-1), (-1,0), (-1,1), (0,-1), (0,0), (0,1), (1,-1), (1,0), (1,1) are found to be inside the circle, so the approximate area is 9, and π is calculated to be approximately 2.25. Results for larger values of r are shown in the table below:

r area approximation of π
3 25 2.777778
4 45 2.8125
5 69 2.76
10 305 3.05
20 1245 3.1125
100 31397 3.1397
1000 3141521 3.141521

Similarly, 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

Main article: History of π

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 particularly popular after Leonhard Euler adopted it some years later, (cf. History of π)

Early approximations

Main article: History of numerical approximations of π.

The value of π has been known in some form since antiquity. As early as the 19th century BC, Babylonian mathematicians were using π = ⁄8, which is within 0.5% of the true value.

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.

Principle of Archimedes' method to approximate π.

Archimedes of Syracuse discovered, by considering the perimeters of 96-sided polygons inscribing a circle and inscribed by it, that π is between ⁄71 and ⁄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 π = ⁄20000 = 3.1416, correct when rounded off to four decimal places. He also acknowledged the fact that this was an approximation, which is quite advanced for the time period.

The Chinese mathematician and astronomer Zu Chongzhi computed π to be between 3.1415926 and 3.1415927 and gave two approximations of π, 113 and ⁄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 3 3 + 1 5 3 2 1 7 3 3 + ) {\displaystyle \pi ={\sqrt {12}}\left(1-{1 \over 3\cdot 3}+{1 \over 5\cdot 3^{2}}-{1 \over 7\cdot 3^{3}}+\cdots \right)}

and using the first 21 terms of this series to compute a rational approximation of π correct to 11 decimal places as 3.14159265359. By adding a remainder term to the original power series of ⁄4, he was able to compute π to an accuracy of 13 decimal places.

The Persian 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

By 1610, the German mathematician Ludolph van Ceulen had finished computing the first 35 decimal places of π. It is said that he was so proud of this accomplishment that he had them inscribed on his tombstone.

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 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

Main article: History of numerical approximations of π

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". Formulæ for calculating π using elementary arithmetic invariably include notation such as "...", which indicates that the formula is really a formula for an infinite sequence of approximations to π. The more of the "..." terms one includes in a calculuation, the closer to π will the result get, but none of the results will be π exactly.

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 precision. 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 113 (3.1415929…) is the best one that may be expressed with a three-digit or four-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 π r = π d {\displaystyle C=2\pi r=\pi d\,\!}
Area of circle of radius r A = π r 2 = 1 4 π d 2 {\displaystyle A=\pi r^{2}={\frac {1}{4}}\pi d^{2}\,\!}
Area of ellipse with semiaxes a and b A = π a b {\displaystyle A=\pi ab\,\!}
Volume of sphere of radius r and diameter d V = 4 3 π r 3 = 1 6 π d 3 {\displaystyle V={\frac {4}{3}}\pi r^{3}={\frac {1}{6}}\pi d^{3}\,\!}
Surface area of sphere of radius r and diameter d A = 4 π r 2 = π d 2 {\displaystyle A=4\pi r^{2}=\pi d^{2}\,\!}
Volume of cylinder of height h and radius r V = π r 2 h {\displaystyle V=\pi r^{2}h\,\!}
Surface area of cylinder of height h and radius r A = 2 ( π r 2 ) + ( 2 π r ) h = 2 π r ( r + h ) {\displaystyle A=2(\pi r^{2})+(2\pi r)h=2\pi r(r+h)\,\!}
Volume of cone of height h and radius r V = 1 3 π r 2 h {\displaystyle V={\frac {1}{3}}\pi r^{2}h\,\!}
Surface area of cone of height h and radius r A = π r r 2 + h 2 + π r 2 = π r ( r + r 2 + h 2 ) {\displaystyle A=\pi r{\sqrt {r^{2}+h^{2}}}+\pi r^{2}=\pi r(r+{\sqrt {r^{2}+h^{2}}})\,\!}

All of these formulae are a consequence of the formula for circumference. For example, the area of a circle of radius R can be accumulated by summing annuli of infinitesimal width using the integral A = 0 R 2 π r d r = π R 2 . {\displaystyle A=\int _{0}^{R}2\pi rdr=\pi R^{2}.} . The others concern a surface or solid of revolution.

Also, the angle measure of 180° (degrees) is equal to π radians.

Analysis

Many formulas in analysis contain π, including infinite series (and infinite product) representations, integrals, and so-called special functions.

2 1 1 1 x 2 d x = π {\displaystyle 2\int _{-1}^{1}{\sqrt {1-x^{2}}}\,dx=\pi }
1 1 d x 1 x 2 = π {\displaystyle \int _{-1}^{1}{\frac {dx}{\sqrt {1-x^{2}}}}=\pi }
2 2 2 + 2 2 2 + 2 + 2 2 = 2 π {\displaystyle {\frac {\sqrt {2}}{2}}\cdot {\frac {\sqrt {2+{\sqrt {2}}}}{2}}\cdot {\frac {\sqrt {2+{\sqrt {2+{\sqrt {2}}}}}}{2}}\cdot \cdots ={\frac {2}{\pi }}}
n = 0 ( 1 ) n 2 n + 1 = 1 1 1 3 + 1 5 1 7 + 1 9 = π 4 {\displaystyle \sum _{n=0}^{\infty }{\frac {(-1)^{n}}{2n+1}}={\frac {1}{1}}-{\frac {1}{3}}+{\frac {1}{5}}-{\frac {1}{7}}+{\frac {1}{9}}-\cdots ={\frac {\pi }{4}}}
n = 1 ( n + 1 n ) ( 1 ) n 1 = 2 1 2 3 4 3 4 5 6 5 6 7 8 7 8 9 = π 2 {\displaystyle \prod _{n=1}^{\infty }\left({\frac {n+1}{n}}\right)^{(-1)^{n-1}}={\frac {2}{1}}\cdot {\frac {2}{3}}\cdot {\frac {4}{3}}\cdot {\frac {4}{5}}\cdot {\frac {6}{5}}\cdot {\frac {6}{7}}\cdot {\frac {8}{7}}\cdot {\frac {8}{9}}\cdots ={\frac {\pi }{2}}}
( 2 1 ) 1 / 2 ( 2 2 1 3 ) 1 / 4 ( 2 3 4 1 3 3 ) 1 / 8 ( 2 4 4 4 1 3 6 5 ) 1 / 16 = π 2 {\displaystyle \left({\frac {2}{1}}\right)^{1/2}\left({\frac {2^{2}}{1\cdot 3}}\right)^{1/4}\left({\frac {2^{3}\cdot 4}{1\cdot 3^{3}}}\right)^{1/8}\left({\frac {2^{4}\cdot 4^{4}}{1\cdot 3^{6}\cdot 5}}\right)^{1/16}\cdots ={\frac {\pi }{2}}}
where the nth factor is the 2th root of the product
k = 0 n ( k + 1 ) ( 1 ) k + 1 ( n k ) . {\displaystyle \prod _{k=0}^{n}(k+1)^{(-1)^{k+1}{n \choose k}}.}
  • Symmetric formula (see Sondow, 1997)
n = 1 ( 1 + 1 4 n 2 1 ) n = 1 1 4 n 2 1 = ( 1 + 1 3 ) ( 1 + 1 15 ) ( 1 + 1 35 ) 1 3 + 1 15 + 1 35 + = π {\displaystyle {\frac {\displaystyle \prod _{n=1}^{\infty }\left(1+{\frac {1}{4n^{2}-1}}\right)}{\displaystyle \sum _{n=1}^{\infty }{\frac {1}{4n^{2}-1}}}}={\frac {\displaystyle \left(1+{\frac {1}{3}}\right)\left(1+{\frac {1}{15}}\right)\left(1+{\frac {1}{35}}\right)\cdots }{\displaystyle {\frac {1}{3}}+{\frac {1}{15}}+{\frac {1}{35}}+\cdots }}=\pi }
k = 0 1 16 k ( 4 8 k + 1 2 8 k + 4 1 8 k + 5 1 8 k + 6 ) = π {\displaystyle \sum _{k=0}^{\infty }{\frac {1}{16^{k}}}\left({\frac {4}{8k+1}}-{\frac {2}{8k+4}}-{\frac {1}{8k+5}}-{\frac {1}{8k+6}}\right)=\pi }
k = 0 ( 1 ) k ( 2 1 ) 2 k + 1 2 k + 1 = π 8 . {\displaystyle \sum _{k=0}^{\infty }{\frac {(-1)^{k}({\sqrt {2}}-1)^{2k+1}}{2k+1}}={\frac {\pi }{8}}.}
k = 0 ( 1 ) k ( 2 3 ) 2 k + 1 2 k + 1 = π 12 . {\displaystyle \sum _{k=0}^{\infty }{\frac {(-1)^{k}(2-{\sqrt {3}})^{2k+1}}{2k+1}}={\frac {\pi }{12}}.}
e x 2 d x = π {\displaystyle \int _{-\infty }^{\infty }e^{-x^{2}}\,dx={\sqrt {\pi }}}
ζ ( 2 ) = 1 1 2 + 1 2 2 + 1 3 2 + 1 4 2 + = π 2 6 {\displaystyle \zeta (2)={\frac {1}{1^{2}}}+{\frac {1}{2^{2}}}+{\frac {1}{3^{2}}}+{\frac {1}{4^{2}}}+\cdots ={\frac {\pi ^{2}}{6}}}
ζ ( 4 ) = 1 1 4 + 1 2 4 + 1 3 4 + 1 4 4 + = π 4 90 {\displaystyle \zeta (4)={\frac {1}{1^{4}}}+{\frac {1}{2^{4}}}+{\frac {1}{3^{4}}}+{\frac {1}{4^{4}}}+\cdots ={\frac {\pi ^{4}}{90}}}
and generally, ζ ( 2 n ) {\displaystyle \zeta (2n)} is a rational multiple of π 2 n {\displaystyle \pi ^{2n}} for positive integer n
Γ ( 1 2 ) = π {\displaystyle \Gamma \left({1 \over 2}\right)={\sqrt {\pi }}}
n ! 2 π n ( n e ) n {\displaystyle n!\sim {\sqrt {2\pi n}}\left({\frac {n}{e}}\right)^{n}}
e i π + 1 = 0 {\displaystyle e^{i\pi }+1=0\;}
k = 1 n ϕ ( k ) 3 n 2 π 2 {\displaystyle \sum _{k=1}^{n}\phi (k)\sim {\frac {3n^{2}}{\pi ^{2}}}}
d z z = 2 π i , {\displaystyle \oint {\frac {dz}{z}}=2\pi i,}
where the path of integration is a closed curve around the origin, traversed in the standard anticlockwise direction.

Continued fractions

Next to its simple continued-fraction representation , which displays no discernible pattern, π has many generalized continued-fraction representations that are generated by a simple rule, including:

4 π = 1 + 1 3 + 4 5 + 9 7 + 16 9 + 25 11 + 36 13 + {\displaystyle {\frac {4}{\pi }}=1+{\cfrac {1}{3+{\cfrac {4}{5+{\cfrac {9}{7+{\cfrac {16}{9+{\cfrac {25}{11+{\cfrac {36}{13+\cdots }}}}}}}}}}}}}

(Other representations are available at The Wolfram Functions Site.)

Number theory

Some results from number theory:

  • The probability that a randomly chosen integer is square-free is 6/π.
  • The average number of ways to write a positive integer as the sum of two perfect squares (order matters but not sign) is π/4.

Here, "probability", "average", and "random" are taken in a limiting sense, e.g. we consider the probability for the set of integers {1, 2, 3,…, N}, and then take the limit as N approaches infinity.

The theory of elliptic curves and complex multiplication derives the approximation

π ln ( 640320 3 + 744 ) 163 {\displaystyle \pi \approx {\ln(640320^{3}+744) \over {\sqrt {163}}}}

which is valid to about 30 digits.

Dynamical systems and ergodic theory

Consider the recurrence relation

x i + 1 = 4 x i ( 1 x i ) {\displaystyle x_{i+1}=4x_{i}(1-x_{i})\,}

Then for almost every initial value x0 in the unit interval ,

lim n 1 n i = 1 n x i = 2 π {\displaystyle \lim _{n\to \infty }{\frac {1}{n}}\sum _{i=1}^{n}{\sqrt {x_{i}}}={\frac {2}{\pi }}}

This recurrence relation is the logistic map with parameter r = 4, known from dynamical systems theory. See also: ergodic theory.

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.

Λ = 8 π G 3 c 2 ρ {\displaystyle \Lambda ={{8\pi G} \over {3c^{2}}}\rho }
Δ x Δ p h 4 π {\displaystyle \Delta x\Delta p\geq {\frac {h}{4\pi }}}
R i k g i k R 2 + Λ g i k = 8 π G c 4 T i k {\displaystyle R_{ik}-{g_{ik}R \over 2}+\Lambda g_{ik}={8\pi G \over c^{4}}T_{ik}}
F = | q 1 q 2 | 4 π ϵ 0 r 2 {\displaystyle F={\frac {\left|q_{1}q_{2}\right|}{4\pi \epsilon _{0}r^{2}}}}
μ 0 = 4 π 10 7 N / A 2 {\displaystyle \mu _{0}=4\pi \cdot 10^{-7}\,\mathrm {N/A^{2}} \,}

Probability and statistics

In probability and statistics, there are many distributions whose formulæ contain π, including:

f ( x ) = 1 σ 2 π e ( x μ ) 2 / ( 2 σ 2 ) {\displaystyle f(x)={1 \over \sigma {\sqrt {2\pi }}}\,e^{-(x-\mu )^{2}/(2\sigma ^{2})}}
f ( x ) = 1 π ( 1 + x 2 ) {\displaystyle f(x)={\frac {1}{\pi (1+x^{2})}}}

Note that since f ( x ) d x = 1 {\displaystyle \int _{-\infty }^{\infty }f(x)\,dx=1} , for any pdf f(x), the above formulæ can be used to produce other integral formulae for π.

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:

π 2 n L x S {\displaystyle \pi \approx {\frac {2nL}{xS}}}

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.

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:

π 4 = 4 arctan 1 5 arctan 1 239 {\displaystyle {\frac {\pi }{4}}=4\arctan {\frac {1}{5}}-\arctan {\frac {1}{239}}}

together with the Taylor series expansion of the function arctan(x). This formula is most easily verified using polar coordinates of complex numbers, starting with

( 5 + i ) 4 ( 239 + i ) = 114244 114244 i . {\displaystyle (5+i)^{4}\cdot (-239+i)=-114244-114244i.}

Formulæ of this kind are known as Machin-like formulae.

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:

π 4 = 12 arctan 1 49 + 32 arctan 1 57 5 arctan 1 239 + 12 arctan 1 110443 {\displaystyle {\frac {\pi }{4}}=12\arctan {\frac {1}{49}}+32\arctan {\frac {1}{57}}-5\arctan {\frac {1}{239}}+12\arctan {\frac {1}{110443}}}
K. Takano (1982).
π 4 = 44 arctan 1 57 + 7 arctan 1 239 12 arctan 1 682 + 24 arctan 1 12943 {\displaystyle {\frac {\pi }{4}}=44\arctan {\frac {1}{57}}+7\arctan {\frac {1}{239}}-12\arctan {\frac {1}{682}}+24\arctan {\frac {1}{12943}}}
F. C. W. Störmer (1896).

These approximations have so many digits that they are no longer of any practical use, except for testing new supercomputers. (Normality of π will always depend on the infinite string of digits on the end, not on any finite computation.)

In 1997, David H. Bailey, Peter Borwein and Simon Plouffe published a paper (Bailey, 1997) on a new formula for π as an infinite series:

π = k = 0 1 16 k ( 4 8 k + 1 2 8 k + 4 1 8 k + 5 1 8 k + 6 ) {\displaystyle \pi =\sum _{k=0}^{\infty }{\frac {1}{16^{k}}}\left({\frac {4}{8k+1}}-{\frac {2}{8k+4}}-{\frac {1}{8k+5}}-{\frac {1}{8k+6}}\right)}

This formula permits one to fairly readily compute the k binary or hexadecimal digit of π, without having to compute the preceding k − 1 digits. Bailey's website contains the derivation as well as implementations in various programming languages. The PiHex project computed 64-bits around the quadrillionth bit of π (which turns out to be 0).

Fabrice Bellard claims to have beaten the efficiency record set by Bailey, Borwein, and Plouffe with his formula to calculate binary digits of π :

π = 1 2 6 n = 0 ( 1 ) n 2 10 n ( 2 5 4 n + 1 1 4 n + 3 + 2 8 10 n + 1 2 6 10 n + 3 2 2 10 n + 5 2 2 10 n + 7 + 1 10 n + 9 ) {\displaystyle \pi ={\frac {1}{2^{6}}}\sum _{n=0}^{\infty }{\frac {{(-1)}^{n}}{2^{10n}}}\left(-{\frac {2^{5}}{4n+1}}-{\frac {1}{4n+3}}+{\frac {2^{8}}{10n+1}}-{\frac {2^{6}}{10n+3}}-{\frac {2^{2}}{10n+5}}-{\frac {2^{2}}{10n+7}}+{\frac {1}{10n+9}}\right)}

Other formulæ that have been used to compute estimates of π include:

π 2 = k = 0 k ! ( 2 k + 1 ) ! ! = 1 + 1 3 ( 1 + 2 5 ( 1 + 3 7 ( 1 + 4 9 ( 1 + ) ) ) ) {\displaystyle {\frac {\pi }{2}}=\sum _{k=0}^{\infty }{\frac {k!}{(2k+1)!!}}=1+{\frac {1}{3}}\left(1+{\frac {2}{5}}\left(1+{\frac {3}{7}}\left(1+{\frac {4}{9}}(1+\cdots )\right)\right)\right)}
Newton.
1 π = 2 2 9801 k = 0 ( 4 k ) ! ( 1103 + 26390 k ) ( k ! ) 4 396 4 k {\displaystyle {\frac {1}{\pi }}={\frac {2{\sqrt {2}}}{9801}}\sum _{k=0}^{\infty }{\frac {(4k)!(1103+26390k)}{(k!)^{4}396^{4k}}}}
Ramanujan.

This converges extraordinarily rapidly. Ramanujan's work is the basis for the fastest algorithms used, as of the turn of the millennium, to calculate π.

1 π = 12 k = 0 ( 1 ) k ( 6 k ) ! ( 13591409 + 545140134 k ) ( 3 k ) ! ( k ! ) 3 640320 3 k + 3 / 2 {\displaystyle {\frac {1}{\pi }}=12\sum _{k=0}^{\infty }{\frac {(-1)^{k}(6k)!(13591409+545140134k)}{(3k)!(k!)^{3}640320^{3k+3/2}}}}
David Chudnovsky and Gregory Chudnovsky.
π = 20 arctan 1 7 + 8 arctan 3 79 {\displaystyle {\pi }=20\arctan {\frac {1}{7}}+8\arctan {\frac {3}{79}}}
Euler.

Miscellaneous formulæ

Using base 60, π can be approximated to the equivalent of eight significant figures (in base 10) as:

3 + 8 60 + 29 60 2 + 44 60 3 {\displaystyle 3+{\frac {8}{60}}+{\frac {29}{60^{2}}}+{\frac {44}{60^{3}}}}

In addition, the following expressions approximate π:

  • accurate to 9 decimal places:
63 25 17 + 15 5 7 + 15 5 {\displaystyle {\frac {63}{25}}\,{\frac {17+15{\sqrt {5}}}{7+15{\sqrt {5}}}}}
  • accurate to 3 decimal places:
31 3 {\displaystyle {\sqrt{31}}}
  • accurate to 2 decimal places:
2 + 3 {\displaystyle {\sqrt {2}}+{\sqrt {3}}}
Karl Popper conjectured that Plato knew this expression; that he believed it to be exactly π; and that this is responsible for some of Plato's confidence in the omnicompetence of mathematical geometry — and Plato's repeated discussion of special right triangles that are either isosceles or halves of equilateral triangles.
  • 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.

Memorizing digits

Main article: Piphilology
Recent decades have seen a surge in the record number of digits memorized.

Even long before computers have calculated π, memorizing a record number of digits became an obsession for some people. The current world record is 100,000 decimal places, set on October 3, 2006 by Akira Haraguchi. The previous record (83,431) was set by the same person on July 2, 2005 , and the record previous to that (42,195) was held by Hiroyuki Goto.

There are many ways to memorize π, 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 memorization. However, this method proves inefficient for large memorizations 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 (see Lindemann–Weierstrass theorem).

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 = 1 4 π ϵ 0 | q 1 q 2 | r 2 {\displaystyle F={\frac {1}{4\pi \epsilon _{0}}}{\frac {\left|q_{1}q_{2}\right|}{r^{2}}}} .

Here, 4πr is just the surface area of sphere of radius r. In this form, it is a convenient way of describing the inverse square relationship of the force at a distance r from a point source. It would of course be possible to describe this law in other, but less convenient ways, or in some cases more convenient. If Planck charge is used, it can be written as

F = q 1 q 2 r 2 {\displaystyle F={\frac {q_{1}q_{2}}{r^{2}}}}

and thus eliminate the need for π.

Fictional references

  • In Carl Sagan's science fiction novel 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 (episode Bye Bye Nerdie), "π is exactly three!" was an announcement made by Professor Frink on behalf of Lisa Simpson to gain the attention of a hall full of scientists. ,
    In the episode Marge in Chains, Apu is in a courtroom, being asked if his memory is as reliable as shown. He claims he can recite π to 40,000 of digits, and says "the last digit is one!". ,
  • 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 consciousness, Spock tells the computer to figure π to the last digit, which incapacitates the entity as all computer resources are devoted to this impossible task.
  • 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 Leslie Nielsen spoof film Spy Hard, a spy (Nicollette Sheridan) is referred to as "Agent 3.14."
  • In the Jimmy Neutron episode "Revenge of the Nanobots," Jimmy destroys the nanobots (which were designed to fix all errors, and were destroying humankind 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 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.
  • The main character of the bande dessinée series La vache (by Belgian authors Johann de Moor and Stephen Desberg) is a secret-agent cow called Pi = 3,1416.
  • Episode 7 of the anime Seraphim Call is devoted to π and the relationship between a circle and a square.
  • In the movie The Matrix Reloaded, 314 seconds is "the length and breadth of the window" which Neo has to reach the "source" of the matrix.
  • In the comic strip Get Fuzzy, The main characters start saying things like "I'll make you feel 10 times worse". Eventually, Rob says "That would make me as mad as your sense of smell times Pi", Responding to a threat by Bucky.

Trivia

  • 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 π). Note some other days are celebrated as Pi Approximation Day.
  • 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. 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.
  • Swedish jazz musician Karl Sjölin once wrote, recorded and performed a song called and based on Pi. The song followed the decimals of Pi, where every number was represented by a note. For example 1=C, 2=D, 3=E etc. The song was then performed as a jazz song, thus making the harmony more liberal.
  • John Harrison (1693–1776) (famed for winning the longitude prize), devised a meantone temperament musical tuning system derived from π, now called Lucy Tuning.
  • Users of the A9.com search engine were 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, if a unit disk is defined using a non-standard norm as "distance", the ratio of circumference to diameter will always be between 3 and 4; these values are attained if and only if the unit "circle" has the shape of a regular hexagon or a parallelogram respectively. 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.
  • There is a building in the Googleplex numbered 3.14159...
  • In 1897, the Indiana General Assembly passed a bill from which it could deduced that pi was equal to 3.2 or other incorrect values. The Indiana Senate postponed the bill indefinitely, preventing it from becoming law.
  • The Bloodhound Gang have a song called "Three Point One Four"
  • Daniel Tammet holds the European record for remembering and recounting pi, recounting it to its 22,514th digit in just over 5 hours on 14 March 2004.

See also

References

Footnotes

  1. Rudin p.183
  2. Bailey, David H., Borwein, Peter B., and Borwein, Jonathan M. (1997). "The Quest for Pi" (PDF). Mathematical Intelligencer (1): 50–57. {{cite journal}}: Unknown parameter |month= ignored (help); Unknown parameter |valume= ignored (help)CS1 maint: multiple names: authors list (link)
  3. ^ Weisstein, Eric W. "Pi Approximations". MathWorld.

Additional

External links

Digits
General


Template:Link FA Template:Link FA Template:Link FA

Categories:
Pi: Difference between revisions Add topic