fbpx
Wikipedia

Approximations of π

Approximations for the mathematical constant pi (π) in the history of mathematics reached an accuracy within 0.04% of the true value before the beginning of the Common Era. In Chinese mathematics, this was improved to approximations correct to what corresponds to about seven decimal digits by the 5th century.

Graph showing the historical evolution of the record precision of numerical approximations to pi, measured in decimal places (depicted on a logarithmic scale; time before 1400 is not shown to scale)

Further progress was not made until the 14th century, when Madhava of Sangamagrama developed approximations correct to eleven and then thirteen digits. Jamshīd al-Kāshī achieved sixteen digits next. Early modern mathematicians reached an accuracy of 35 digits by the beginning of the 17th century (Ludolph van Ceulen), and 126 digits by the 19th century (Jurij Vega), surpassing the accuracy required for any conceivable application outside of pure mathematics.

The record of manual approximation of π is held by William Shanks, who calculated 527 decimals correctly in 1853.[1] Since the middle of the 20th century, the approximation of π has been the task of electronic digital computers (for a comprehensive account, see Chronology of computation of π). On 14 March, 2024 the current record was established by Jordan Ranous, Kevin O’Brien, and Brian Beeler with Alexander Yee's y-cruncher with 105 trillion (1.05×1014) digits.[2]

Early history edit

The best known approximations to π dating to before the Common Era were accurate to two decimal places; this was improved upon in Chinese mathematics in particular by the mid-first millennium, to an accuracy of seven decimal places. After this, no further progress was made until the late medieval period.

Some Egyptologists[3] have claimed that the ancient Egyptians used an approximation of π as 227 = 3.142857 (about 0.04% too high) from as early as the Old Kingdom.[4] This claim has been met with skepticism.[5][6]

Babylonian mathematics usually approximated π to 3, sufficient for the architectural projects of the time (notably also reflected in the description of Solomon's Temple in the Hebrew Bible).[7] The Babylonians were aware that this was an approximation, and one Old Babylonian mathematical tablet excavated near Susa in 1936 (dated to between the 19th and 17th centuries BCE) gives a better approximation of π as 258 = 3.125, about 0.528% below the exact value.[8][9][10][11]

At about the same time, the Egyptian Rhind Mathematical Papyrus (dated to the Second Intermediate Period, c. 1600 BCE, although stated to be a copy of an older, Middle Kingdom text) implies an approximation of π as 25681 ≈ 3.16 (accurate to 0.6 percent) by calculating the area of a circle via approximation with the octagon.[5][12]

Astronomical calculations in the Shatapatha Brahmana (c. 6th century BCE) use a fractional approximation of 339108 ≈ 3.139.[13]

The Mahabharata (500 BCE – 300 CE) offers an approximation of 3, in the ratios offered in Bhishma Parva verses: 6.12.40–45.[14]

...

The Moon is handed down by memory to be eleven thousand yojanas in diameter. Its peripheral circle happens to be thirty three thousand yojanas when calculated.
...
The Sun is eight thousand yojanas and another two thousand  yojanas in diameter. From that its peripheral circle comes to be equal to thirty thousand yojanas.

...

— "verses: 6.12.40–45, Bhishma Parva of the Mahabharata"

In the 3rd century BCE, Archimedes proved the sharp inequalities 22371 < π < 227, by means of regular 96-gons (accuracies of 2·10−4 and 4·10−4, respectively).[15]

In the 2nd century CE, Ptolemy used the value 377120, the first known approximation accurate to three decimal places (accuracy 2·10−5).[16] It is equal to   which is accurate to two sexagesimal digits.

The Chinese mathematician Liu Hui in 263 CE computed π to between 3.141024 and 3.142708 by inscribing a 96-gon and 192-gon; the average of these two values is 3.141866 (accuracy 9·10−5). He also suggested that 3.14 was a good enough approximation for practical purposes. He has also frequently been credited with a later and more accurate result, π ≈ 39271250 = 3.1416 (accuracy 2·10−6), although some scholars instead believe that this is due to the later (5th-century) Chinese mathematician Zu Chongzhi.[17] Zu Chongzhi is known to have computed π to be between 3.1415926 and 3.1415927, which was correct to seven decimal places. He also gave two other approximations of π: π ≈ 227 and π ≈ 355113, which are not as accurate as his decimal result. The latter fraction is the best possible rational approximation of π using fewer than five decimal digits in the numerator and denominator. Zu Chongzhi's results surpass the accuracy reached in Hellenistic mathematics, and would remain without improvement for close to a millennium.

In Gupta-era India (6th century), mathematician Aryabhata, in his astronomical treatise Āryabhaṭīya stated:

Add 4 to 100, multiply by 8 and add to 62,000. This is 'approximately' the circumference of a circle whose diameter is 20,000.

Approximating π to four decimal places: π ≈ 6283220000 = 3.1416,[18][19][20] Aryabhata stated that his result "approximately" (āsanna "approaching") gave the circumference of a circle. His 15th-century commentator Nilakantha Somayaji (Kerala school of astronomy and mathematics) has argued that the word means not only that this is an approximation, but that the value is incommensurable (irrational).[21]

Middle Ages edit

Further progress was not made for nearly a millennium, until the 14th century, when Indian mathematician and astronomer Madhava of Sangamagrama, founder of the Kerala school of astronomy and mathematics, found the Maclaurin series for arctangent, and then two infinite series for π.[22][23][24] One of them is now known as the Madhava–Leibniz series, based on  

 

The other was based on  

 
 
Comparison of the convergence of two Madhava series (the one with 12 in dark blue) and several historical infinite series for π. Sn is the approximation after taking n terms. Each subsequent subplot magnifies the shaded area horizontally by 10 times. (click for detail)

He used the first 21 terms to compute an approximation of π correct to 11 decimal places as 3.14159265359.

He also improved the formula based on arctan(1) by including a correction:

 

It is not known how he came up with this correction.[23] Using this he found an approximation of π to 13 decimal places of accuracy when n = 75.

Jamshīd al-Kāshī (Kāshānī), a Persian astronomer and mathematician, correctly computed the fractional part of 2π to 9 sexagesimal digits in 1424,[25] and translated this into 16 decimal digits[26] after the decimal point:

 

which gives 16 correct digits for π after the decimal point:

 

He achieved this level of accuracy by calculating the perimeter of a regular polygon with 3 × 228 sides.[27]

16th to 19th centuries edit

In the second half of the 16th century, the French mathematician François Viète discovered an infinite product that converged on π known as Viète's formula.

The German-Dutch mathematician Ludolph van Ceulen (circa 1600) computed the first 35 decimal places of π with a 262-gon. He was so proud of this accomplishment that he had them inscribed on his tombstone.[28]

In Cyclometricus (1621), Willebrord Snellius demonstrated that the perimeter of the inscribed polygon converges on the circumference twice as fast as does the perimeter of the corresponding circumscribed polygon. This was proved by Christiaan Huygens in 1654. Snellius was able to obtain seven digits of π from a 96-sided polygon.[29]

In 1656, John Wallis published the Wallis product:

 

In 1706, John Machin used Gregory's series (the Taylor series for arctangent) and the identity   to calculate 100 digits of π (see § Machin-like formula below).[30][31] In 1719, Thomas de Lagny used a similar identity to calculate 127 digits (of which 112 were correct). In 1789, the Slovene mathematician Jurij Vega improved John Machin's formula to calculate the first 140 digits, of which the first 126 were correct.[32] In 1841, William Rutherford calculated 208 digits, of which the first 152 were correct.

The magnitude of such precision (152 decimal places) can be put into context by the fact that the circumference of the largest known object, the observable universe, can be calculated from its diameter (93 billion light-years) to a precision of less than one Planck length (at 1.6162×10−35 meters, the shortest unit of length expected to be directly measurable) using π expressed to just 62 decimal places.[33]

The English amateur mathematician William Shanks, a man of independent means, calculated π to 530 decimal places in January 1853, of which the first 527 were correct (the last few likely being incorrect due to round-off errors).[1][34] He subsequently expanded his calculation to 607 decimal places in April 1853,[35] but an error introduced right at the 530th decimal place rendered the rest of his calculation erroneous; due to the nature of Machin's formula, the error propagated back to the 528th decimal place, leaving only the first 527 digits correct once again.[1] Twenty years later, Shanks expanded his calculation to 707 decimal places in April 1873.[36] Due to this being an expansion of his previous calculation, most of the new digits were incorrect as well.[1] Shanks was said to have calculated new digits all morning and would then spend all afternoon checking his morning's work. This was the longest expansion of π until the advent of the electronic digital computer three-quarters of a century later.[37]

20th and 21st centuries edit

In 1910, the Indian mathematician Srinivasa Ramanujan found several rapidly converging infinite series of π, including

 

which computes a further eight decimal places of π with each term in the series. His series are now the basis for the fastest algorithms currently used to calculate π. Evaluating the first term alone yields a value correct to seven decimal places:

 

See Ramanujan–Sato series.

From the mid-20th century onwards, all improvements in calculation of π have been done with the help of calculators or computers.

In 1944, D. F. Ferguson, with the aid of a mechanical desk calculator, found that William Shanks had made a mistake in the 528th decimal place, and that all succeeding digits were incorrect.[34]

In the early years of the computer, an expansion of π to 100000 decimal places[38]: 78  was computed by Maryland mathematician Daniel Shanks (no relation to the aforementioned William Shanks) and his team at the United States Naval Research Laboratory in Washington, D.C. In 1961, Shanks and his team used two different power series for calculating the digits 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,265 digits of π were published in 1962.[38]: 80–99  The authors outlined what would be needed to calculate π to 1 million decimal places and concluded that the task was beyond that day's technology, but would be possible in five to seven years.[38]: 78 

In 1989, the Chudnovsky brothers computed π to over 1 billion decimal places on the supercomputer IBM 3090 using the following variation of Ramanujan's infinite series of π:

 

Records since then have all been accomplished using the Chudnovsky algorithm. In 1999, Yasumasa Kanada and his team at the University of Tokyo computed π to over 200 billion decimal places on the supercomputer HITACHI SR8000/MPP (128 nodes) using another variation of Ramanujan's infinite series of π. In November 2002, Yasumasa Kanada and a team of 9 others used the Hitachi SR8000, a 64-node supercomputer with 1 terabyte of main memory, to calculate π to roughly 1.24 trillion digits in around 600 hours (25 days).[39]

Recent records edit

  1. In August 2009, a Japanese supercomputer called the T2K Open Supercomputer more than doubled the previous record by calculating π to roughly 2.6 trillion digits in approximately 73 hours and 36 minutes.
  2. In December 2009, Fabrice Bellard used a home computer to compute 2.7 trillion decimal digits of π. Calculations were performed in base 2 (binary), then the result was converted to base 10 (decimal). The calculation, conversion, and verification steps took a total of 131 days.[40]
  3. In August 2010, Shigeru Kondo used Alexander Yee's y-cruncher to calculate 5 trillion digits of π. This was the world record for any type of calculation, but significantly it was performed on a home computer built by Kondo.[41] The calculation was done between 4 May and 3 August, with the primary and secondary verifications taking 64 and 66 hours respectively.[42]
  4. In October 2011, Shigeru Kondo broke his own record by computing ten trillion (1013) and fifty digits using the same method but with better hardware.[43][44]
  5. In December 2013, Kondo broke his own record for a second time when he computed 12.1 trillion digits of π.[45]
  6. In October 2014, Sandon Van Ness, going by the pseudonym "houkouonchi" used y-cruncher to calculate 13.3 trillion digits of π.[46]
  7. In November 2016, Peter Trueb and his sponsors computed on y-cruncher and fully verified 22.4 trillion digits of π (22,459,157,718,361 (πe × 1012)).[47] The computation took (with three interruptions) 105 days to complete,[46] the limitation of further expansion being primarily storage space.[45]
  8. In March 2019, Emma Haruka Iwao, an employee at Google, computed 31.4 (approximately 10π) trillion digits of pi using y-cruncher and Google Cloud machines. This took 121 days to complete.[48]
  9. In January 2020, Timothy Mullican announced the computation of 50 trillion digits over 303 days.[49][50]
  10. On 14 August 2021, a team (DAViS) at the University of Applied Sciences of the Grisons announced completion of the computation of π to 62.8 (approximately 20π) trillion digits.[51][52]
  11. On 8 June 2022, Emma Haruka Iwao announced on the Google Cloud Blog the computation of 100 trillion (1014) digits of π over 158 days using Alexander Yee's y-cruncher.[53]
  12. On 14 March 2024, Jordan Ranous, Kevin O’Brien and Brian Beeler computed π to 105 trillion digits, also using y-cruncher.[54]

Practical approximations edit

Depending on the purpose of a calculation, π can be approximated by using fractions for ease of calculation. The most notable such approximations are 227 (relative error of about 4·10−4) and 355113 (relative error of about 8·10−8).[55][56][57] In Chinese mathematics, the fractions 22/7 and 355/113 are known as Yuelü (约率; yuēlǜ; 'approximate ratio') and Milü (密率; mìlǜ; 'close ratio').

Non-mathematical "definitions" of π edit

Of some notability are legal or historical texts purportedly "defining π" to have some rational value, such as the "Indiana Pi Bill" of 1897, which stated "the ratio of the diameter and circumference is as five-fourths to four" (which would imply "π = 3.2") and a passage in the Hebrew Bible that implies that π = 3.

Indiana bill edit

The so-called "Indiana Pi Bill" from 1897 has often been characterized as an attempt to "legislate the value of Pi". Rather, the bill dealt with a purported solution to the problem of geometrically "squaring the circle".[58]

The bill was nearly passed by the Indiana General Assembly in the U.S., and has been claimed to imply a number of different values for π, although the closest it comes to explicitly asserting one is the wording "the ratio of the diameter and circumference is as five-fourths to four", which would make π = 165 = 3.2, a discrepancy of nearly 2 percent. A mathematics professor who happened to be present the day the bill was brought up for consideration in the Senate, after it had passed in the House, helped to stop the passage of the bill on its second reading, after which the assembly thoroughly ridiculed it before postponing it indefinitely.

Imputed biblical value edit

It is sometimes claimed[by whom?] that the Hebrew Bible implies that "π equals three", based on a passage in 1 Kings 7:23 and 2 Chronicles 4:2 giving measurements for the round basin located in front of the Temple in Jerusalem as having a diameter of 10 cubits and a circumference of 30 cubits.

The issue is discussed in the Talmud and in Rabbinic literature.[59] Among the many explanations and comments are these:

  • Rabbi Nehemiah explained this in his Mishnat ha-Middot (the earliest known Hebrew text on geometry, ca. 150 CE) by saying that the diameter was measured from the outside rim while the circumference was measured along the inner rim. This interpretation implies a brim about 0.225 cubit (or, assuming an 18-inch "cubit", some 4 inches), or one and a third "handbreadths," thick (cf. NKJV and NKJV).
  • Maimonides states (ca. 1168 CE) that π can only be known approximately, so the value 3 was given as accurate enough for religious purposes. This is taken by some[60] as the earliest assertion that π is irrational.

There is still some debate on this passage in biblical scholarship.[failed verification][61][62] Many reconstructions of the basin show a wider brim (or flared lip) extending outward from the bowl itself by several inches to match the description given in NKJV[63] In the succeeding verses, the rim is described as "a handbreadth thick; and the brim thereof was wrought like the brim of a cup, like the flower of a lily: it received and held three thousand baths" NKJV, which suggests a shape that can be encompassed with a string shorter than the total length of the brim, e.g., a Lilium flower or a Teacup.

Development of efficient formulae edit

Polygon approximation to a circle edit

Archimedes, in his Measurement of a Circle, created the first algorithm for the calculation of π based on the idea that the perimeter of any (convex) polygon inscribed in a circle is less than the circumference of the circle, which, in turn, is less than the perimeter of any circumscribed polygon. He started with inscribed and circumscribed regular hexagons, whose perimeters are readily determined. He then shows how to calculate the perimeters of regular polygons of twice as many sides that are inscribed and circumscribed about the same circle. This is a recursive procedure which would be described today as follows: Let pk and Pk denote the perimeters of regular polygons of k sides that are inscribed and circumscribed about the same circle, respectively. Then,

 

Archimedes uses this to successively compute P12, p12, P24, p24, P48, p48, P96 and p96.[64] Using these last values he obtains

 

It is not known why Archimedes stopped at a 96-sided polygon; it only takes patience to extend the computations. Heron reports in his Metrica (about 60 CE) that Archimedes continued the computation in a now lost book, but then attributes an incorrect value to him.[65]

Archimedes uses no trigonometry in this computation and the difficulty in applying the method lies in obtaining good approximations for the square roots that are involved. Trigonometry, in the form of a table of chord lengths in a circle, was probably used by Claudius Ptolemy of Alexandria to obtain the value of π given in the Almagest (circa 150 CE).[66]

Advances in the approximation of π (when the methods are known) were made by increasing the number of sides of the polygons used in the computation. A trigonometric improvement by Willebrord Snell (1621) obtains better bounds from a pair of bounds obtained from the polygon method. Thus, more accurate results were obtained from polygons with fewer sides.[67] Viète's formula, published by François Viète in 1593, was derived by Viète using a closely related polygonal method, but with areas rather than perimeters of polygons whose numbers of sides are powers of two.[68]

The last major attempt to compute π by this method was carried out by Grienberger in 1630 who calculated 39 decimal places of π using Snell's refinement.[67]

Machin-like formula edit

For fast calculations, one may use formulae such as Machin's:

 

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

 

((x),(y) = {239, 132} is a solution to the Pell equation x2 − 2y2 = −1.)

Formulae of this kind are known as Machin-like formulae. Machin's particular formula was used well into the computer era for calculating record numbers of digits of π,[38] but more recently other similar formulae have been used as well.

For instance, Shanks and his team used the following Machin-like formula in 1961 to compute the first 100,000 digits of π:[38]

 

and they used another Machin-like formula,

 

as a check.

The record as of December 2002 by Yasumasa Kanada of Tokyo University stood at 1,241,100,000,000 digits. The following Machin-like formulae were used for this:

 

K. Takano (1982).

 

F. C. M. Størmer (1896).

Other classical formulae edit

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

Liu Hui (see also Viète's formula):

 

Madhava:

 

Newton / Euler Convergence Transformation:[69]

 
where m!! is the double factorial, the product of the positive integers up to m with the same parity.

Euler:

 
(Evaluated using the preceding series for arctan.)

Ramanujan:

 

David Chudnovsky and Gregory Chudnovsky:

 

Ramanujan's work is the basis for the Chudnovsky algorithm, the fastest algorithms used, as of the turn of the millennium, to calculate π.

Modern algorithms edit

Extremely long decimal expansions of π are typically computed with iterative formulae like the Gauss–Legendre algorithm and Borwein's algorithm. The latter, found in 1985 by Jonathan and Peter Borwein, converges extremely quickly:

For   and

 

where  , the sequence   converges quartically to π, giving about 100 digits in three steps and over a trillion digits after 20 steps. The Gauss–Legendre algorithm (with time complexity  , using Harvey–Hoeven multiplication algorithm) is asymptotically faster than the Chudnovsky algorithm (with time complexity  ) – but which of these algorithms is faster in practice for "small enough"   depends on technological factors such as memory sizes and access times.[70] For breaking world records, the iterative algorithms are used less commonly than the Chudnovsky algorithm since they are memory-intensive.

The first one million digits of π and 1π are available from Project Gutenberg.[71][72] A former calculation record (December 2002) by Yasumasa Kanada of Tokyo University stood at 1.24 trillion 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 formulae were used for this:

  (Kikuo Takano (1982))
  (F. C. M. Størmer (1896)).

These approximations have so many digits that they are no longer of any practical use, except for testing new supercomputers.[73] Properties like the potential normality of π will always depend on the infinite string of digits on the end, not on any finite computation.

Miscellaneous approximations edit

Historically, base 60 was used for calculations. In this base, π can be approximated to eight (decimal) significant figures with the number 3;8,29,4460, which is

 

(The next sexagesimal digit is 0, causing truncation here to yield a relatively good approximation.)

In addition, the following expressions can be used to estimate π:

  • accurate to three digits:
 
  • accurate to three digits:
 
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.
 
  • accurate to four digits:
  where   is the natural logarithmic base and   is Euler's constant
 [74]
 
 
 
  • accurate to four digits (or five significant figures):
 [75]
  • an approximation by Ramanujan, accurate to 4 digits (or five significant figures):
 
  • accurate to five digits:
 
 [76]
  • accurate to six digits:
  [1]
 [citation needed]
 [77][78]
  • accurate to seven digits:
 
 
  - inverse of first term of Ramanujan series.
 [79]
  • accurate to eight digits:
 
 
 
 
 [80]
This is the case that cannot be obtained from Ramanujan's approximation (22).[81]
  • accurate to nine digits:
 
This is from Ramanujan, who claimed the Goddess of Namagiri appeared to him in a dream and told him the true value of π.[81]
  • accurate to ten digits:
 
  • accurate to ten digits:
 
  • accurate to ten digits (or eleven significant figures):
 
This curious approximation follows the observation that the 193rd power of 1/π yields the sequence 1122211125... Replacing 5 by 2 completes the symmetry without reducing the correct digits of π, while inserting a central decimal point remarkably fixes the accompanying magnitude at 10100.[82]
  • accurate to eleven digits:
 
  • accurate to twelve digits:
 
  • accurate to 12 decimal places:
 
This is obtained from the Chudnovsky series (truncate the series (1.4)[83] at the first term and let E6(τ163)2/E4(τ163)3 = 151931373056001/151931373056000 ≈ 1).
  • accurate to 16 digits:
  - inverse of sum of first two terms of Ramanujan series.
 
  • accurate to 18 digits:
 [84]
This is based on the fundamental discriminant d = 3(89) = 267 which has class number h(-d) = 2 explaining the algebraic numbers of degree 2. The core radical   is 53 more than the fundamental unit   which gives the smallest solution { x, y} = {500, 53} to the Pell equation x2 − 89y2 = −1.
  • accurate to 18 decimal places:
 
This is the approximation (22) in Ramanujan's paper[81] with n = 253.
  • accurate to 24 digits:
  - inverse of sum of first three terms of Ramanujan series.
  • accurate to 25 decimal places:
 
This is derived from Ramanujan's class invariant g100 = 25/8/(51/4 − 1).[81]
  • accurate to 30 decimal places:
 
Derived from the closeness of Ramanujan constant to the integer 6403203+744. This does not admit obvious generalizations in the integers,[clarification needed] because there are only finitely many Heegner numbers and negative discriminants d with class number h(−d) = 1, and d = 163 is the largest one in absolute value.
  • accurate to 52 decimal places:
 
Like the one above, a consequence of the j-invariant. Among negative discriminants with class number 2, this d the largest in absolute value.
  • accurate to 52 decimal places:
 
This is derived from Ramanujan's class invariant G385.[81]
  • accurate to 161 decimal places:
 
where u is a product of four simple quartic units,
 
and,
 
Based on one found by Daniel Shanks. Similar to the previous two, but this time is a quotient of a modular form, namely the Dedekind eta function, and where the argument involves  . The discriminant d = 3502 has h(−d) = 16.
  • The continued fraction representation of π can be used to generate successive best rational approximations. These approximations are the best possible rational approximations of π relative to the size of their denominators. Here is a list of the first thirteen of these:[85][86]
 
Of these,   is the only fraction in this sequence that gives more exact digits of π (i.e. 7) than the number of digits needed to approximate it (i.e. 6). The accuracy can be improved by using other fractions with larger numerators and denominators, but, for most such fractions, more digits are required in the approximation than correct significant figures achieved in the result.[87]

Summing a circle's area edit

 
Numerical approximation of π: as points are randomly scattered inside the unit square, some fall within the unit circle. The fraction of points inside the circle approaches π/4 as points are added.

Pi can be obtained from a circle if its radius and area are known using the relationship:

 

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 (xy) to the center:

 

Mathematical "graph paper" is formed by imagining a 1×1 square centered around each cell (xy), where x and y are integers between −r and r. Squares whose center resides inside or exactly on the border of the circle can then be counted by testing whether, for each cell (xy),

 

The total number of cells satisfying that condition thus approximates the area of the circle, which then can be used to calculate an approximation of π. Closer approximations can be produced by using larger values of r.

Mathematically, this formula can be written:

 

In other words, begin by choosing a value for r. Consider all cells (xy) in which both x and y are integers between −r and r. Starting at 0, add 1 for each cell whose distance to the origin (0,0) is less than or equal to r. When finished, divide the sum, representing the area of a circle of radius r, by r2 to find the approximation of π. For example, if r is 5, then the cells considered are:

(−5,5) (−4,5) (−3,5) (−2,5) (−1,5) (0,5) (1,5) (2,5) (3,5) (4,5) (5,5)
(−5,4) (−4,4) (−3,4) (−2,4) (−1,4) (0,4) (1,4) (2,4) (3,4) (4,4) (5,4)
(−5,3) (−4,3) (−3,3) (−2,3) (−1,3) (0,3) (1,3) (2,3) (3,3) (4,3) (5,3)
(−5,2) (−4,2) (−3,2) (−2,2) (−1,2) (0,2) (1,2) (2,2) (3,2) (4,2) (5,2)
(−5,1) (−4,1) (−3,1) (−2,1) (−1,1) (0,1) (1,1) (2,1) (3,1) (4,1) (5,1)
(−5,0) (−4,0) (−3,0) (−2,0) (−1,0) (0,0) (1,0) (2,0) (3,0) (4,0) (5,0)
(−5,−1) (−4,−1) (−3,−1) (−2,−1) (−1,−1) (0,−1) (1,−1) (2,−1) (3,−1) (4,−1) (5,−1)
(−5,−2) (−4,−2) (−3,−2) (−2,−2) (−1,−2) (0,−2) (1,−2) (2,−2) (3,−2) (4,−2) (5,−2)
(−5,−3) (−4,−3) (−3,−3) (−2,−3) (−1,−3) (0,−3) (1,−3) (2,−3) (3,−3) (4,−3) (5,−3)
(−5,−4) (−4,−4) (−3,−4) (−2,−4) (−1,−4) (0,−4) (1,−4) (2,−4) (3,−4) (4,−4) (5,−4)
(−5,−5) (−4,−5) (−3,−5) (−2,−5) (−1,−5) (0,−5) (1,−5) (2,−5) (3,−5) (4,−5) (5,−5)
 
This circle as it would be drawn on a Cartesian coordinate graph. The cells (±3, ±4) and (±4, ±3) are labeled.

The 12 cells (0, ±5), (±5, 0), (±3, ±4), (±4, ±3) are exactly on the circle, and 69 cells are completely inside, so the approximate area is 81, and π is calculated to be approximately 3.24 because 8152 = 3.24. Results for some values of r are shown in the table below:

r area approximation of π
2 13 3.25
3 29 3.22222
4 49 3.0625
5 81 3.24
10 317 3.17
20 1257 3.1425
100 31417 3.1417
1000 3141549 3.141549

For related results see The circle problem: number of points (x,y) in square lattice with x^2 + y^2 <= n.

Similarly, the more complex approximations of π given below involve repeated calculations of some sort, yielding closer and closer approximations with increasing numbers of calculations.

Continued fractions edit

Besides its simple continued fraction representation [3; 7, 15, 1, 292, 1, 1, ...], which displays no discernible pattern, π has many generalized continued fraction representations generated by a simple rule, including these two.

 
 

The remainder of the Madhava–Leibniz series can be expressed as generalized continued fraction as follows.[77]

 

Note that Madhava's correction term is

 .

The well-known values 227 and 355113 are respectively the second and fourth continued fraction approximations to π. (Other representations are available at The Wolfram Functions Site.)

Trigonometry edit

Gregory–Leibniz series edit

The Gregory–Leibniz series

 

is the power series for arctan(x) specialized to x = 1. It converges too slowly to be of practical interest. However, the power series converges much faster for smaller values of  , which leads to formulae where   arises as the sum of small angles with rational tangents, known as Machin-like formulae.

Arctangent edit

Knowing that 4 arctan 1 = π, the formula can be simplified to get:

 

with a convergence such that each additional 10 terms yields at least three more digits.

 
This series is the basis for a decimal spigot algorithm by Rabinowitz and Wagon.[88]

Another formula for   involving arctangent function is given by

 

where   such that  . Approximations can be made by using, for example, the rapidly convergent Euler formula[89]

 

Alternatively, the following simple expansion series of the arctangent function can be used

 

where

 

to approximate   with even more rapid convergence. Convergence in this arctangent formula for   improves as integer   increases.

The constant   can also be expressed by infinite sum of arctangent functions as

 

and

 

where   is the n-th Fibonacci number. However, these two formulae for   are much slower in convergence because of set of arctangent functions that are involved in computation.

Arcsine edit

Observing an equilateral triangle and noting that

 

yields

 

with a convergence such that each additional five terms yields at least three more digits.

Digit extraction methods edit

The Bailey–Borwein–Plouffe formula (BBP) for calculating π was discovered in 1995 by Simon Plouffe. Using base 16 math, the formula can compute any particular digit of π—returning the hexadecimal value of the digit—without having to compute the intervening digits (digit extraction).[90]

 

In 1996, Simon Plouffe derived an algorithm to extract the nth decimal digit of π (using base 10 math to extract a base 10 digit), and which can do so with an improved speed of O(n3(log n)3) time. The algorithm requires virtually no memory for the storage of an array or matrix so the one-millionth digit of π can be computed using a pocket calculator.[91] However, it would be quite tedious and impractical to do so.

 

The calculation speed of Plouffe's formula was improved to O(n2) by Fabrice Bellard, who derived an alternative formula (albeit only in base 2 math) for computing π.[92]

 

Efficient methods edit

Many other expressions for π were developed and published by 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.

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

 

This formula permits one to fairly readily compute the kth binary or hexadecimal digit of π, without having to compute the preceding k − 1 digits. Bailey's website[93] 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 further improved on BBP with his formula:[94]

 

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

 
Newton.
 
Srinivasa 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 π.

In 1988, David Chudnovsky and Gregory Chudnovsky found an even faster-converging series (the Chudnovsky algorithm):

 .

The speed of various algorithms for computing pi to n correct digits is shown below in descending order of asymptotic complexity. M(n) is the complexity of the multiplication algorithm employed.

Algorithm Year Time complexity or Speed
Gauss–Legendre algorithm 1975  [70]
Chudnovsky algorithm 1988  [46]
Binary splitting of the arctan series in Machin's formula  [70]
Leibniz formula for π 1300s Sublinear convergence. Five billion terms for 10 correct decimal places

Projects edit

Pi Hex edit

Pi Hex was a project to compute three specific binary digits of π using a distributed network of several hundred computers. In 2000, after two years, the project finished computing the five trillionth (5*1012), the forty trillionth, and the quadrillionth (1015) bits. All three of them turned out to be 0.

Software for calculating π edit

Over the years, several programs have been written for calculating π to many digits on personal computers.

General purpose edit

Most computer algebra systems can calculate π and other common mathematical constants to any desired precision.

Functions for calculating π are also included in many general libraries for arbitrary-precision arithmetic, for instance Class Library for Numbers, MPFR and SymPy.

Special purpose edit

Programs designed for calculating π may have better performance than general-purpose mathematical software. They typically implement checkpointing and efficient disk swapping to facilitate extremely long-running and memory-expensive computations.

  • TachusPi by Fabrice Bellard[95] is the program used by himself to compute world record number of digits of pi in 2009.
  • y-cruncher by Alexander Yee[46] is the program which every world record holder since Shigeru Kondo in 2010 has used to compute world record numbers of digits. y-cruncher can also be used to calculate other constants and holds world records for several of them.
  • PiFast by Xavier Gourdon was the fastest program for Microsoft Windows in 2003. According to its author, it can compute one million digits in 3.5 seconds on a 2.4 GHz Pentium 4.[96] PiFast can also compute other irrational numbers like e and 2. It can also work at lesser efficiency with very little memory (down to a few tens of megabytes to compute well over a billion (109) digits). This tool is a popular benchmark in the overclocking community. PiFast 4.4 is available from . PiFast 4.3 is available from Gourdon's page.
  • QuickPi by Steve Pagliarulo for Windows is faster than PiFast for runs of under 400 million digits. Version 4.5 is available on Stu's Pi Page below. Like PiFast, QuickPi can also compute other irrational numbers like e, 2, and 3. The software may be obtained from the Pi-Hacks Yahoo! forum, or from .
  • Super PI by Kanada Laboratory[97] in the University of Tokyo is the program for Microsoft Windows for runs from 16,000 to 33,550,000 digits. It can compute one million digits in 40 minutes, two million digits in 90 minutes and four million digits in 220 minutes on a Pentium 90 MHz. Super PI version 1.9 is available from Super PI 1.9 page.

See also edit

Notes edit

  1. ^ a b c d Hayes, Brian (September 2014). "Pencil, Paper, and Pi". American Scientist. Vol. 102, no. 5. p. 342. doi:10.1511/2014.110.342.
  2. ^ Yee, Alexander J. (14 March 2024). "Limping to a new Pi Record of 105 Trillion Digits". NumberWorld.org. Retrieved 16 March 2024.
  3. ^ Petrie, W.M.F. (1940). Wisdom of the Egyptians.
  4. ^ Verner, Miroslav (2001) [1997]. The Pyramids: The Mystery, Culture, and Science of Egypt's Great Monuments. Grove Press. ISBN 978-0-8021-3935-1. Based on the Great Pyramid of Giza, supposedly built so that the circle whose radius is equal to the height of the pyramid has a circumference equal to the perimeter of the base (it is 1760 cubits around and 280 cubits in height).
  5. ^ a b Rossi (2007). Corinna Architecture and Mathematics in Ancient Egypt. Cambridge University Press. ISBN 978-0-521-69053-9.
  6. ^ Legon, J. A. R. (1991). . Discussions in Egyptology. Vol. 20. pp. 25–34. Archived from the original on 18 July 2011. Retrieved 7 June 2011.
  7. ^ See #Imputed biblical value. Beckmann 1971 "There has been concern over the apparent biblical statement of π ≈ 3 from the early times of rabbinical Judaism, addressed by Rabbi Nehemiah in the 2nd century."[page needed]
  8. ^ Romano, David Gilman (1993). Athletics and Mathematics in Archaic Corinth: The Origins of the Greek Stadion. American Philosophical Society. p. 78. ISBN 978-0871692061. A group of mathematical clay tablets from the Old Babylonian Period, excavated at Susa in 1936, and published by E.M. Bruins in 1950, provide the information that the Babylonian approximation of π was 3 1/8 or 3.125.
  9. ^ Bruins, E. M. (1950). "Quelques textes mathématiques de la Mission de Suse" (PDF).
  10. ^ Bruins, E. M.; Rutten, M. (1961). Textes mathématiques de Suse. Mémoires de la Mission archéologique en Iran. Vol. XXXIV.
  11. ^ See also Beckmann 1971, pp. 12, 21–22 "in 1936, a tablet was excavated some 200 miles from Babylon. ... The mentioned tablet, whose translation was partially published only in 1950, ... states that the ratio of the perimeter of a regular hexagon to the circumference of the circumscribed circle equals a number which in modern notation is given by 57/60+36/(60)2 [i.e. π = 3/0.96 = 25/8]".
  12. ^ Imhausen, Annette (2007). Katz, Victor J. (ed.). The Mathematics of Egypt, Mesopotamia, China, India, and Islam: A Sourcebook. Princeton University Press. ISBN 978-0-691-11485-9.
  13. ^ Chaitanya, Krishna. A profile of Indian culture. Indian Book Company (1975). p. 133.
  14. ^ Jadhav, Dipak (1 January 2018). "On The Value Implied in the Data Referred To in the Mahābhārata for π". Vidyottama Sanatana: International Journal of Hindu Science and Religious Studies. 2 (1): 18. doi:10.25078/ijhsrs.v2i1.511. ISSN 2550-0651. S2CID 146074061.
  15. ^ Damini, D.B.; Abhishek, Dhar (2020). "How Archimedes showed that π is approximately equal to 22/7". p. 8. arXiv:2008.07995 [math.HO].
  16. ^ Lazarus Mudehwe (February 1997). . Zimaths. Archived from the original on 8 January 2013.
  17. ^ Lam, Lay Yong; Ang, Tian Se (1986), "Circle measurements in ancient China", Historia Mathematica, 13 (4): 325–340, doi:10.1016/0315-0860(86)90055-8, MR 0875525. Reprinted in Berggren, J. L.; Borwein, Jonathan M.; Borwein, Peter, eds. (2004). Pi: A Source Book. Springer. pp. 20–35. ISBN 978-0387205717.. See in particular pp. 333–334 (pp. 28–29 of the reprint).
  18. ^ How Aryabhata got the earth's circumference right 15 January 2017 at the Wayback Machine
  19. ^ Āryabhaṭīya (gaṇitapāda 10):
    chaturadhikam śatamaṣṭaguṇam dvāśaṣṭistathā sahasrāṇām ayutadvayaviṣkambhasyāsanno vr̥ttapariṇahaḥ.
    "Add four to one hundred, multiply by eight and then add sixty-two thousand. The result is approximately the circumference of a circle of diameter twenty thousand. By this rule the relation of the circumference to diameter is given."
    In other words, (4 + 100) × 8 + 62000 is the circumference of a circle with diameter 20000. This provides a value of π ≈ 6283220000 = 3.1416, Jacobs, Harold R. (2003). Geometry: Seeing, Doing, Understanding (Third ed.). New York: W.H. Freeman and Company. p. 70.
  20. ^ "Aryabhata the Elder". University of St Andrews, School of Mathematics and Statistics. Retrieved 20 July 2011.
  21. ^ S. Balachandra Rao (1998). Indian Mathematics and Astronomy: Some Landmarks. Bangalore: Jnana Deep Publications. ISBN 978-81-7371-205-0.
  22. ^ George E. Andrews, Ranjan Roy; Richard Askey (1999). Special Functions. Cambridge University Press. p. 58. ISBN 978-0-521-78988-2.
  23. ^ a b J J O'Connor and E F Robertson (November 2000). "Madhava of Sangamagramma". MacTutor. University of St. Andrews.
  24. ^ Gupta, R. C. (1992). "On the remainder term in the Madhava–Leibniz's series". Ganita Bharati. 14 (1–4): 68–71.
  25. ^ Boris A. Rosenfeld & Adolf P. Youschkevitch (1981). "Ghiyath al-din Jamshid Masud al-Kashi (or al-Kashani)". Dictionary of Scientific Biography. Vol. 7. p. 256.
  26. ^ J J O'Connor and E F Robertson (July 1999). "Ghiyath al-Din Jamshid Mas'ud al-Kashi". MacTutor. University of St. Andrews.
  27. ^ Azarian, Mohammad K. (2010). "al-Risāla al-muhītīyya: A Summary". Missouri Journal of Mathematical Sciences. 22 (2): 64–85. doi:10.35834/mjms/1312233136.
  28. ^ Capra, B. "Digits of Pi" (PDF). Retrieved 13 January 2018.
  29. ^ Chakrabarti, Gopal; Hudson, Richard (2003). "An Improvement of Archimedes Method of Approximating π" (PDF). International Journal of Pure and Applied Mathematics. 7 (2): 207–212.
  30. ^ Jones, William (1706). Synopsis Palmariorum Matheseos. London: J. Wale. pp. 243, 263. There are various other ways of finding the Lengths, or Areas of particular Curve Lines or Planes, which may very much facilitate the Practice; as for instance, in the Circle, the Diameter is to Circumference as 1 to
     
    3.14159, &c. = π. This Series (among others for the same purpose, and drawn from the same Principle) I receiv'd from the Excellent Analyst, and my much Esteem'd Friend Mr. John Machin; and by means thereof, Van Ceulen's Number, or that in Art. 64.38. may be Examin'd with all desireable Ease and Dispatch.

    Reprinted in Smith, David Eugene (1929). "William Jones: The First Use of π for the Circle Ratio". A Source Book in Mathematics. McGraw–Hill. pp. 346–347.

  31. ^ Tweddle, Ian (1991). "John Machin and Robert Simson on Inverse-tangent Series for π". Archive for History of Exact Sciences. 42 (1): 1–14. doi:10.1007/BF00384331. JSTOR 41133896. S2CID 121087222.
  32. ^ Vega, Géorge (1795) [1789]. "Detérmination de la demi-circonférence d'un cercle dont le diameter est = 1, exprimée en 140 figures decimals". Supplement. Nova Acta Academiae Scientiarum Petropolitanae. 11: 41–44.

    Sandifer, Edward (2006). (PDF). Jurij baron Vega in njegov čas: Zbornik ob 250-letnici rojstva [Baron Jurij Vega and His Times: Celebrating 250 Years]. Ljubljana: DMFA. ISBN 978-961-6137-98-0. LCCN 2008467244. OCLC 448882242. Archived from the original (PDF) on 28 August 2006. We should note that Vega's value contains an error in the 127th digit. Vega gives a 4 where there should be an [6], and all digits after that are incorrect.

  33. ^ "What kind of accuracy could one get with Pi to 40 decimal places?". Stack Exchange. 11 May 2015.
  34. ^ a b Ferguson, D. F. (16 March 1946). "Value of π". Nature. 157 (3985): 342. Bibcode:1946Natur.157..342F. doi:10.1038/157342c0. ISSN 1476-4687. S2CID 4085398.
  35. ^ Shanks, William (1853). Contributions to Mathematics: Comprising Chiefly the Rectification of the Circle to 607 Places of Decimals. Macmillan Publishers. p. viii – via the Internet Archive.
  36. ^ Shanks, William (1873). "V. On the extension of the numerical value of π". Proceedings of the Royal Society of London. 21 (139–147). Royal Society Publishing: 318–319. doi:10.1098/rspl.1872.0066. S2CID 120851313.
  37. ^ "William Shanks (1812–1882) – Biography". University of St Andrews. July 2007. Retrieved 22 January 2022.
  38. ^ a b c d e Shanks, D.; Wrench, J. W. Jr. (1962). "Calculation of π to 100,000 decimals". Mathematics of Computation. 16 (77): 76–99. doi:10.2307/2003813. JSTOR 2003813.
  39. ^ . Super-computing.org. Archived from the original on 12 March 2011. Retrieved 11 December 2017.
  40. ^ "Pi Computation Record".
  41. ^ McCormick Grad Sets New Pi Record 28 September 2011 at the Wayback Machine
  42. ^ "Pi – 5 Trillion Digits".
  43. ^ Glenn (19 October 2011). "Short Sharp Science: Epic pi quest sets 10 trillion digit record". New Scientist. Retrieved 18 April 2016.
  44. ^ Yee, Alexander J.; Kondo, Shigeru (22 October 2011). "Round 2... 10 Trillion Digits of Pi".
  45. ^ a b Yee, Alexander J.; Kondo, Shigeru (28 December 2013). "12.1 Trillion Digits of Pi".
  46. ^ a b c d Yee, Alexander J. (2018). "y-cruncher: A Multi-Threaded Pi Program". numberworld.org. Retrieved 14 March 2018.
  47. ^ Treub, Peter (30 November 2016). "Digit Statistics of the First 22.4 Trillion Decimal Digits of Pi". arXiv:1612.00489 [math.NT].
  48. ^ "Google Cloud Topples the Pi Record". numberworld.org. Retrieved 14 March 2019.
  49. ^ "The Pi Record Returns to the Personal Computer". Retrieved 30 January 2020.
  50. ^ "Calculating Pi: My attempt at breaking the Pi World Record". 26 June 2019. Retrieved 30 January 2020.
  51. ^ "Die FH Graubünden kennt Pi am genauesten – Weltrekord!". Retrieved 31 August 2021.
  52. ^ "Swiss researchers calculate pi to new record of 62.8tn figures". The Guardian. 16 August 2021. Retrieved 31 August 2021.
  53. ^ "Even more pi in the sky: Calculating 100 trillion digits of pi on Google Cloud". Google Cloud Platform. 8 June 2022. Retrieved 10 June 2022.
  54. ^ Yee, Alexander J. (14 March 2024). "Limping to a new Pi Record of 105 Trillion Digits". NumberWorld.org. Retrieved 16 March 2024.
  55. ^ Allain, Rhett (18 March 2011). "What is the Best Fractional Representation of Pi". Wired. Retrieved 16 March 2020.
  56. ^ John D., Cook (22 May 2018). "Best Rational Approximations for Pi". John D. Cook Consulting. Retrieved 16 March 2020.
  57. ^ (PDF). Illinois Department of Mathematics. University of Illinois Board of Trustees. Archived from the original (PDF) on 23 January 2021. Retrieved 16 March 2020.
  58. ^ Hallerberg, Arthur E. (1977). "Indiana's Squared Circle". Mathematics Magazine. 50 (3): 136–140. doi:10.1080/0025570X.1977.11976632.
  59. ^ Tsaban, Boaz; Garber, David (February 1998). "On the rabbinical approximation of π" (PDF). Historia Mathematica. 25 (1): 75–84. doi:10.1006/hmat.1997.2185. ISSN 0315-0860. Retrieved 14 July 2009.
  60. ^ Wilbur Richard Knorr, The Ancient Tradition of Geometric Problems, New York: Dover Publications, 1993.
  61. ^ Aleff, H. Peter. . recoveredscience.com. Archived from the original on 14 October 2007. Retrieved 30 October 2007.
  62. ^ O'Connor, J J; E F Robertson (August 2001). "A history of Pi". from the original on 30 October 2007. Retrieved 30 October 2007.
  63. ^ Math Forum – Ask Dr. Math
  64. ^ Eves 1992, p. 131
  65. ^ Beckmann 1971, p. 66
  66. ^ Eves 1992, p. 118
  67. ^ a b Eves 1992, p. 119
  68. ^ Beckmann 1971, pp. 94–95
  69. ^ Unpublished work by Newton (1684), later independently discovered by others, and popularized by Euler (1755).

    Roy, Ranjan (2021) [1st ed. 2011]. Series and Products in the Development of Mathematics. Vol. 1 (2 ed.). Cambridge University Press. pp. 215–216, 219–220.

    Sandifer, Ed (2009). "Estimating π" (PDF). How Euler Did It. Reprinted in How Euler Did Even More. Mathematical Association of America. 2014. pp. 109–118.

    Newton, Isaac (1971). Whiteside, Derek Thomas (ed.). The Mathematical Papers of Isaac Newton. Vol. 4, 1674–1684. Cambridge University Press. pp. 526–653.

    Euler, Leonhard (1755). "§2.30". Institutiones Calculi Differentialis (in Latin). Academiae Imperialis Scientiarium Petropolitanae. p. 318. E 212.

    Euler, Leonhard (1798) [written 1779]. "Investigatio quarundam serierum, quae ad rationem peripheriae circuli ad diametrum vero proxime definiendam maxime sunt accommodatae". Nova Acta Academiae Scientiarum Petropolitinae. 11: 133–149, 167–168. E 705.

    Hwang Chien-Lih (2005), "An elementary derivation of Euler's series for the arctangent function", The Mathematical Gazette, 89 (516): 469–470, doi:10.1017/S0025557200178404, S2CID 123395287

  70. ^ a b c Trueb, Peter (2020). The Borwein brothers, Pi and the AGM. Springer Proceedings in Mathematics & Statistics. Vol. 313. arXiv:1802.07558. doi:10.1007/978-3-030-36568-4. ISBN 978-3-030-36567-7. S2CID 214742997.
  71. ^ Hemphill, Scott (1993). Pi.
  72. ^ Kanada, Yasumasa (1996). One Divided by Pi.
  73. ^ Anthony, Sebastian (15 March 2012). "What can you do with a supercomputer? – ExtremeTech". Extremetech.
  74. ^ Gardner, Martin (1995). New Mathematical Diversions. Mathematical Association of America. p. 92. ISBN 978-0-88385-517-1.
  75. ^ A nested radical approximation for π 6 July 2011 at the Wayback Machine
  76. ^ Lenz, Friedrich (15 May 1951). "The Ratio of Proton and Electron Masses". Phys. Rev. 82 (4): 554. Bibcode:1951PhRv...82..554L. doi:10.1103/PhysRev.82.554.2.
  77. ^ a b Dutka, J. (1982). "Wallis's product, Brouncker's continued fraction, and Leibniz's series". Archive for History of Exact Sciences. 26 (2): 115–126. doi:10.1007/BF00348349. S2CID 121628039.
  78. ^ Borwein, J.; Borwein, P.; Dilcher, K. (1989). "Pi, Euler numbers, and asymptotic expansions". Amer. Math. Monthly. 96 (8): 681–687. doi:10.1080/00029890.1989.11972263. hdl:1959.13/1043679.
  79. ^ Lange, L. (1999). "An elegant continued fraction for π". Amer. Math. Monthly. 106 (5): 456–458.
  80. ^ Borwein, Jonathan; Bailey, David (2008). Mathematics by Experiment: Plausible Reasoning in the 21st Century, 2nd Edition. A.K. Peters. p. 135. ISBN 978-1-56881-442-1.
  81. ^ a b c d e Berggren, Lennart; Borwein, Jonathan; Borwein, Peter (2003). Pi: A Source Book, 3rd Edition. Springer. pp. 241–257. ISBN 978-0-387-20571-7.
  82. ^ Hoffman, D.W. College Mathematics Journal, 40 (2009) 399
  83. ^ Berggren, Lennart; Borwein, Jonathan; Borwein, Peter (2003). Pi: A Source Book, 3rd Edition. Springer. pp. 596–622. ISBN 978-0-387-20571-7.
  84. ^ "Mathematics".
  85. ^ Sloane, N. J. A. (ed.). "Sequence A002485 (Numerators of convergents to Pi)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  86. ^ Sloane, N. J. A. (ed.). "Sequence A002486 (Denominators of convergents to Pi)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  87. ^ "Fractional Approximations of Pi".
  88. ^ Rabinowitz, Stanley; Wagon, Stan (1995). "A Spigot Algorithm for the Digits of π". The American Mathematical Monthly. 102 (3): 195–203. doi:10.2307/2975006. ISSN 0002-9890. JSTOR 2975006.
  89. ^ Hwang Chien-Lih (2005), "An elementary derivation of Euler's series for the arctangent function", The Mathematical Gazette, 89 (516): 469–470, doi:10.1017/S0025557200178404, S2CID 123395287
  90. ^ Weisstein, Eric W. "BBP Formula". MathWorld.
  91. ^ Plouffe, Simon (2009). "On the computation of the n^th decimal digit of various transcendental numbers". arXiv:0912.0303v1 [math.NT].
  92. ^ Bellard's Website: Bellard.org
  93. ^ . crd.LBL.gov. Archived from the original on 10 April 2011. Retrieved 11 December 2017.
  94. ^ "The world of Pi – Bellard". Pi314.net. 13 April 2013. Retrieved 18 April 2016.
  95. ^ Bellard, Fabrice. "TachusPi". Retrieved 20 March 2020.
  96. ^ "PiFast timings"
  97. ^ Takahashi, Daisuke; Kanada, Yasumasa (10 August 2010). . University of Tokyo. Archived from the original on 24 August 2011. Retrieved 1 May 2011.

References edit

  • Bailey, David H.; Borwein, Peter B. & Plouffe, Simon (April 1997). "On the Rapid Computation of Various Polylogarithmic Constants" (PDF). Mathematics of Computation. 66 (218): 903–913. Bibcode:1997MaCom..66..903B. doi:10.1090/S0025-5718-97-00856-9.
  • Beckmann, Petr (1971). A History of π. New York: St. Martin's Press. ISBN 978-0-88029-418-8. MR 0449960.
  • Eves, Howard (1992). An Introduction to the History of Mathematics (6th ed.). Saunders College Publishing. ISBN 978-0-03-029558-4.
  • Joseph, George G. (2000). The Crest of the Peacock: Non-European Roots of Mathematics (New ed., London : Penguin ed.). London: Penguin. ISBN 978-0-14-027778-4.
  • Jackson, K; Stamp, J. (2002). Pyramid: Beyond Imagination. Inside the Great Pyramid of Giza. London: BBC. ISBN 9780563488033.
  • Berggren, Lennart; Borwein, Jonathan M.; Borwein, Peter B. (2004). Pi: a source book (3rd ed.). New York: Springer Science + Business Media LLC. ISBN 978-1-4757-4217-6.

approximations, this, page, about, history, approximations, also, chronology, computation, tabular, summary, also, history, other, aspects, evolution, knowledge, about, mathematical, properties, this, article, uses, citations, that, link, broken, outdated, sou. This page is about the history of approximations of p see also chronology of computation of p for a tabular summary See also the history of p for other aspects of the evolution of our knowledge about mathematical properties of p This article uses citations that link to broken or outdated sources Please improve the article by addressing link rot or discuss this issue on the talk page October 2023 Learn how and when to remove this template message Approximations for the mathematical constant pi p in the history of mathematics reached an accuracy within 0 04 of the true value before the beginning of the Common Era In Chinese mathematics this was improved to approximations correct to what corresponds to about seven decimal digits by the 5th century Graph showing the historical evolution of the record precision of numerical approximations to pi measured in decimal places depicted on a logarithmic scale time before 1400 is not shown to scale Further progress was not made until the 14th century when Madhava of Sangamagrama developed approximations correct to eleven and then thirteen digits Jamshid al Kashi achieved sixteen digits next Early modern mathematicians reached an accuracy of 35 digits by the beginning of the 17th century Ludolph van Ceulen and 126 digits by the 19th century Jurij Vega surpassing the accuracy required for any conceivable application outside of pure mathematics The record of manual approximation of p is held by William Shanks who calculated 527 decimals correctly in 1853 1 Since the middle of the 20th century the approximation of p has been the task of electronic digital computers for a comprehensive account see Chronology of computation of p On 14 March 2024 the current record was established by Jordan Ranous Kevin O Brien and Brian Beeler with Alexander Yee s y cruncher with 105 trillion 1 05 1014 digits 2 Contents 1 Early history 2 Middle Ages 3 16th to 19th centuries 4 20th and 21st centuries 4 1 Recent records 5 Practical approximations 6 Non mathematical definitions of p 6 1 Indiana bill 6 2 Imputed biblical value 7 Development of efficient formulae 7 1 Polygon approximation to a circle 7 2 Machin like formula 7 3 Other classical formulae 7 4 Modern algorithms 7 5 Miscellaneous approximations 7 6 Summing a circle s area 7 7 Continued fractions 7 8 Trigonometry 7 8 1 Gregory Leibniz series 7 8 2 Arctangent 7 8 3 Arcsine 8 Digit extraction methods 9 Efficient methods 10 Projects 10 1 Pi Hex 11 Software for calculating p 11 1 General purpose 11 2 Special purpose 12 See also 13 Notes 14 ReferencesEarly history editThe best known approximations to p dating to before the Common Era were accurate to two decimal places this was improved upon in Chinese mathematics in particular by the mid first millennium to an accuracy of seven decimal places After this no further progress was made until the late medieval period Some Egyptologists 3 have claimed that the ancient Egyptians used an approximation of p as 22 7 3 142857 about 0 04 too high from as early as the Old Kingdom 4 This claim has been met with skepticism 5 6 Babylonian mathematics usually approximated p to 3 sufficient for the architectural projects of the time notably also reflected in the description of Solomon s Temple in the Hebrew Bible 7 The Babylonians were aware that this was an approximation and one Old Babylonian mathematical tablet excavated near Susa in 1936 dated to between the 19th and 17th centuries BCE gives a better approximation of p as 25 8 3 125 about 0 528 below the exact value 8 9 10 11 At about the same time the Egyptian Rhind Mathematical Papyrus dated to the Second Intermediate Period c 1600 BCE although stated to be a copy of an older Middle Kingdom text implies an approximation of p as 256 81 3 16 accurate to 0 6 percent by calculating the area of a circle via approximation with the octagon 5 12 Astronomical calculations in the Shatapatha Brahmana c 6th century BCE use a fractional approximation of 339 108 3 139 13 The Mahabharata 500 BCE 300 CE offers an approximation of 3 in the ratios offered in Bhishma Parva verses 6 12 40 45 14 The Moon is handed down by memory to be eleven thousand yojanas in diameter Its peripheral circle happens to be thirty three thousand yojanas when calculated The Sun is eight thousand yojanas and another two thousand yojanas in diameter From that its peripheral circle comes to be equal to thirty thousand yojanas verses 6 12 40 45 Bhishma Parva of the Mahabharata In the 3rd century BCE Archimedes proved the sharp inequalities 223 71 lt p lt 22 7 by means of regular 96 gons accuracies of 2 10 4 and 4 10 4 respectively 15 In the 2nd century CE Ptolemy used the value 377 120 the first known approximation accurate to three decimal places accuracy 2 10 5 16 It is equal to 3 8 60 30 602 displaystyle 3 8 60 30 60 2 nbsp which is accurate to two sexagesimal digits The Chinese mathematician Liu Hui in 263 CE computed p to between 3 141024 and 3 142708 by inscribing a 96 gon and 192 gon the average of these two values is 3 141866 accuracy 9 10 5 He also suggested that 3 14 was a good enough approximation for practical purposes He has also frequently been credited with a later and more accurate result p 3927 1250 3 1416 accuracy 2 10 6 although some scholars instead believe that this is due to the later 5th century Chinese mathematician Zu Chongzhi 17 Zu Chongzhi is known to have computed p to be between 3 1415926 and 3 1415927 which was correct to seven decimal places He also gave two other approximations of p p 22 7 and p 355 113 which are not as accurate as his decimal result The latter fraction is the best possible rational approximation of p using fewer than five decimal digits in the numerator and denominator Zu Chongzhi s results surpass the accuracy reached in Hellenistic mathematics and would remain without improvement for close to a millennium In Gupta era India 6th century mathematician Aryabhata in his astronomical treatise Aryabhaṭiya stated Add 4 to 100 multiply by 8 and add to 62 000 This is approximately the circumference of a circle whose diameter is 20 000 Aryabhaṭiya Approximating p to four decimal places p 62832 20000 3 1416 18 19 20 Aryabhata stated that his result approximately asanna approaching gave the circumference of a circle His 15th century commentator Nilakantha Somayaji Kerala school of astronomy and mathematics has argued that the word means not only that this is an approximation but that the value is incommensurable irrational 21 Middle Ages editFurther progress was not made for nearly a millennium until the 14th century when Indian mathematician and astronomer Madhava of Sangamagrama founder of the Kerala school of astronomy and mathematics found the Maclaurin series for arctangent and then two infinite series for p 22 23 24 One of them is now known as the Madhava Leibniz series based on p 4arctan 1 displaystyle pi 4 arctan 1 nbsp p 4 1 13 15 17 displaystyle pi 4 left 1 frac 1 3 frac 1 5 frac 1 7 cdots right nbsp The other was based on p 6arctan 1 3 displaystyle pi 6 arctan 1 sqrt 3 nbsp p 12 k 0 3 k2k 1 12 k 0 13 k2k 1 12 1 13 3 15 32 17 33 displaystyle pi sqrt 12 sum k 0 infty frac 3 k 2k 1 sqrt 12 sum k 0 infty frac frac 1 3 k 2k 1 sqrt 12 left 1 1 over 3 cdot 3 1 over 5 cdot 3 2 1 over 7 cdot 3 3 cdots right nbsp nbsp Comparison of the convergence of two Madhava series the one with 12 in dark blue and several historical infinite series for p Sn is the approximation after taking n terms Each subsequent subplot magnifies the shaded area horizontally by 10 times click for detail He used the first 21 terms to compute an approximation of p correct to 11 decimal places as 3 141592 653 59 He also improved the formula based on arctan 1 by including a correction p 4 1 13 15 17 1 n2n 1 n2 14n3 5n displaystyle pi 4 approx 1 frac 1 3 frac 1 5 frac 1 7 cdots frac 1 n 2n 1 pm frac n 2 1 4n 3 5n nbsp It is not known how he came up with this correction 23 Using this he found an approximation of p to 13 decimal places of accuracy when n 75 Jamshid al Kashi Kashani a Persian astronomer and mathematician correctly computed the fractional part of 2p to 9 sexagesimal digits in 1424 25 and translated this into 16 decimal digits 26 after the decimal point 2p 6 2831853071795864 displaystyle 2 pi approx 6 2831853071795864 nbsp which gives 16 correct digits for p after the decimal point p 3 1415926535897932 displaystyle pi approx 3 1415926535897932 nbsp He achieved this level of accuracy by calculating the perimeter of a regular polygon with 3 228 sides 27 16th to 19th centuries editIn the second half of the 16th century the French mathematician Francois Viete discovered an infinite product that converged on p known as Viete s formula The German Dutch mathematician Ludolph van Ceulen circa 1600 computed the first 35 decimal places of p with a 262 gon He was so proud of this accomplishment that he had them inscribed on his tombstone 28 In Cyclometricus 1621 Willebrord Snellius demonstrated that the perimeter of the inscribed polygon converges on the circumference twice as fast as does the perimeter of the corresponding circumscribed polygon This was proved by Christiaan Huygens in 1654 Snellius was able to obtain seven digits of p from a 96 sided polygon 29 In 1656 John Wallis published the Wallis product p2 n 1 4n24n2 1 n 1 2n2n 1 2n2n 1 21 23 43 45 65 67 87 89 displaystyle frac pi 2 prod n 1 infty frac 4n 2 4n 2 1 prod n 1 infty left frac 2n 2n 1 cdot frac 2n 2n 1 right Big frac 2 1 cdot frac 2 3 Big cdot Big frac 4 3 cdot frac 4 5 Big cdot Big frac 6 5 cdot frac 6 7 Big cdot Big frac 8 7 cdot frac 8 9 Big cdot cdots nbsp In 1706 John Machin used Gregory s series the Taylor series for arctangent and the identity 14p 4arccot 5 arccot 239 textstyle tfrac 1 4 pi 4 operatorname arccot 5 operatorname arccot 239 nbsp to calculate 100 digits of p see Machin like formula below 30 31 In 1719 Thomas de Lagny used a similar identity to calculate 127 digits of which 112 were correct In 1789 the Slovene mathematician Jurij Vega improved John Machin s formula to calculate the first 140 digits of which the first 126 were correct 32 In 1841 William Rutherford calculated 208 digits of which the first 152 were correct The magnitude of such precision 152 decimal places can be put into context by the fact that the circumference of the largest known object the observable universe can be calculated from its diameter 93 billion light years to a precision of less than one Planck length at 1 6162 10 35 meters the shortest unit of length expected to be directly measurable using p expressed to just 62 decimal places 33 The English amateur mathematician William Shanks a man of independent means calculated p to 530 decimal places in January 1853 of which the first 527 were correct the last few likely being incorrect due to round off errors 1 34 He subsequently expanded his calculation to 607 decimal places in April 1853 35 but an error introduced right at the 530th decimal place rendered the rest of his calculation erroneous due to the nature of Machin s formula the error propagated back to the 528th decimal place leaving only the first 527 digits correct once again 1 Twenty years later Shanks expanded his calculation to 707 decimal places in April 1873 36 Due to this being an expansion of his previous calculation most of the new digits were incorrect as well 1 Shanks was said to have calculated new digits all morning and would then spend all afternoon checking his morning s work This was the longest expansion of p until the advent of the electronic digital computer three quarters of a century later 37 20th and 21st centuries editMain article Chronology of computation of p The age of electronic computers from 1949 onwards In 1910 the Indian mathematician Srinivasa Ramanujan found several rapidly converging infinite series of p including 1p 229801 k 0 4k 1103 26390k k 43964k displaystyle frac 1 pi frac 2 sqrt 2 9801 sum k 0 infty frac 4k 1103 26390k k 4 396 4k nbsp which computes a further eight decimal places of p with each term in the series His series are now the basis for the fastest algorithms currently used to calculate p Evaluating the first term alone yields a value correct to seven decimal places p 980122062 3 14159273 displaystyle pi approx frac 9801 2206 sqrt 2 approx 3 14159273 nbsp See Ramanujan Sato series From the mid 20th century onwards all improvements in calculation of p have been done with the help of calculators or computers In 1944 D F Ferguson with the aid of a mechanical desk calculator found that William Shanks had made a mistake in the 528th decimal place and that all succeeding digits were incorrect 34 In the early years of the computer an expansion of p to 100000 decimal places 38 78 was computed by Maryland mathematician Daniel Shanks no relation to the aforementioned William Shanks and his team at the United States Naval Research Laboratory in Washington D C In 1961 Shanks and his team used two different power series for calculating the digits of p 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 265 digits of p were published in 1962 38 80 99 The authors outlined what would be needed to calculate p to 1 million decimal places and concluded that the task was beyond that day s technology but would be possible in five to seven years 38 78 In 1989 the Chudnovsky brothers computed p to over 1 billion decimal places on the supercomputer IBM 3090 using the following variation of Ramanujan s infinite series of p 1p 12 k 0 1 k 6k 13591409 545140134k 3k k 36403203k 3 2 displaystyle frac 1 pi 12 sum k 0 infty frac 1 k 6k 13591409 545140134k 3k k 3 640320 3k 3 2 nbsp Records since then have all been accomplished using the Chudnovsky algorithm In 1999 Yasumasa Kanada and his team at the University of Tokyo computed p to over 200 billion decimal places on the supercomputer HITACHI SR8000 MPP 128 nodes using another variation of Ramanujan s infinite series of p In November 2002 Yasumasa Kanada and a team of 9 others used the Hitachi SR8000 a 64 node supercomputer with 1 terabyte of main memory to calculate p to roughly 1 24 trillion digits in around 600 hours 25 days 39 Recent records edit In August 2009 a Japanese supercomputer called the T2K Open Supercomputer more than doubled the previous record by calculating p to roughly 2 6 trillion digits in approximately 73 hours and 36 minutes In December 2009 Fabrice Bellard used a home computer to compute 2 7 trillion decimal digits of p Calculations were performed in base 2 binary then the result was converted to base 10 decimal The calculation conversion and verification steps took a total of 131 days 40 In August 2010 Shigeru Kondo used Alexander Yee s y cruncher to calculate 5 trillion digits of p This was the world record for any type of calculation but significantly it was performed on a home computer built by Kondo 41 The calculation was done between 4 May and 3 August with the primary and secondary verifications taking 64 and 66 hours respectively 42 In October 2011 Shigeru Kondo broke his own record by computing ten trillion 1013 and fifty digits using the same method but with better hardware 43 44 In December 2013 Kondo broke his own record for a second time when he computed 12 1 trillion digits of p 45 In October 2014 Sandon Van Ness going by the pseudonym houkouonchi used y cruncher to calculate 13 3 trillion digits of p 46 In November 2016 Peter Trueb and his sponsors computed on y cruncher and fully verified 22 4 trillion digits of p 22 459 157 718 361 p e 1012 47 The computation took with three interruptions 105 days to complete 46 the limitation of further expansion being primarily storage space 45 In March 2019 Emma Haruka Iwao an employee at Google computed 31 4 approximately 10p trillion digits of pi using y cruncher and Google Cloud machines This took 121 days to complete 48 In January 2020 Timothy Mullican announced the computation of 50 trillion digits over 303 days 49 50 On 14 August 2021 a team DAViS at the University of Applied Sciences of the Grisons announced completion of the computation of p to 62 8 approximately 20p trillion digits 51 52 On 8 June 2022 Emma Haruka Iwao announced on the Google Cloud Blog the computation of 100 trillion 1014 digits of p over 158 days using Alexander Yee s y cruncher 53 On 14 March 2024 Jordan Ranous Kevin O Brien and Brian Beeler computed p to 105 trillion digits also using y cruncher 54 Practical approximations editDepending on the purpose of a calculation p can be approximated by using fractions for ease of calculation The most notable such approximations are 22 7 relative error of about 4 10 4 and 355 113 relative error of about 8 10 8 55 56 57 In Chinese mathematics the fractions 22 7 and 355 113 are known as Yuelu 约率 yuelǜ approximate ratio and Milu 密率 milǜ close ratio Non mathematical definitions of p editOf some notability are legal or historical texts purportedly defining p to have some rational value such as the Indiana Pi Bill of 1897 which stated the ratio of the diameter and circumference is as five fourths to four which would imply p 3 2 and a passage in the Hebrew Bible that implies that p 3 Indiana bill edit Main article Indiana Pi Bill The so called Indiana Pi Bill from 1897 has often been characterized as an attempt to legislate the value of Pi Rather the bill dealt with a purported solution to the problem of geometrically squaring the circle 58 The bill was nearly passed by the Indiana General Assembly in the U S and has been claimed to imply a number of different values for p although the closest it comes to explicitly asserting one is the wording the ratio of the diameter and circumference is as five fourths to four which would make p 16 5 3 2 a discrepancy of nearly 2 percent A mathematics professor who happened to be present the day the bill was brought up for consideration in the Senate after it had passed in the House helped to stop the passage of the bill on its second reading after which the assembly thoroughly ridiculed it before postponing it indefinitely Imputed biblical value edit See also Molten Sea Approximation of p It is sometimes claimed by whom that the Hebrew Bible implies that p equals three based on a passage in 1 Kings 7 23 and 2 Chronicles 4 2 giving measurements for the round basin located in front of the Temple in Jerusalem as having a diameter of 10 cubits and a circumference of 30 cubits The issue is discussed in the Talmud and in Rabbinic literature 59 Among the many explanations and comments are these Rabbi Nehemiah explained this in his Mishnat ha Middot the earliest known Hebrew text on geometry ca 150 CE by saying that the diameter was measured from the outside rim while the circumference was measured along the inner rim This interpretation implies a brim about 0 225 cubit or assuming an 18 inch cubit some 4 inches or one and a third handbreadths thick cf NKJV and NKJV Maimonides states ca 1168 CE that p can only be known approximately so the value 3 was given as accurate enough for religious purposes This is taken by some 60 as the earliest assertion that p is irrational There is still some debate on this passage in biblical scholarship failed verification 61 62 Many reconstructions of the basin show a wider brim or flared lip extending outward from the bowl itself by several inches to match the description given in NKJV 63 In the succeeding verses the rim is described as a handbreadth thick and the brim thereof was wrought like the brim of a cup like the flower of a lily it received and held three thousand baths NKJV which suggests a shape that can be encompassed with a string shorter than the total length of the brim e g a Lilium flower or a Teacup Development of efficient formulae editMain article List of formulae involving p Polygon approximation to a circle edit Archimedes in his Measurement of a Circle created the first algorithm for the calculation of p based on the idea that the perimeter of any convex polygon inscribed in a circle is less than the circumference of the circle which in turn is less than the perimeter of any circumscribed polygon He started with inscribed and circumscribed regular hexagons whose perimeters are readily determined He then shows how to calculate the perimeters of regular polygons of twice as many sides that are inscribed and circumscribed about the same circle This is a recursive procedure which would be described today as follows Let pk and Pk denote the perimeters of regular polygons of k sides that are inscribed and circumscribed about the same circle respectively Then P2n 2pnPnpn Pn p2n pnP2n displaystyle P 2n frac 2p n P n p n P n quad quad p 2n sqrt p n P 2n nbsp Archimedes uses this to successively compute P12 p12 P24 p24 P48 p48 P96 and p96 64 Using these last values he obtains 31071 lt p lt 317 displaystyle 3 frac 10 71 lt pi lt 3 frac 1 7 nbsp It is not known why Archimedes stopped at a 96 sided polygon it only takes patience to extend the computations Heron reports in his Metrica about 60 CE that Archimedes continued the computation in a now lost book but then attributes an incorrect value to him 65 Archimedes uses no trigonometry in this computation and the difficulty in applying the method lies in obtaining good approximations for the square roots that are involved Trigonometry in the form of a table of chord lengths in a circle was probably used by Claudius Ptolemy of Alexandria to obtain the value of p given in the Almagest circa 150 CE 66 Advances in the approximation of p when the methods are known were made by increasing the number of sides of the polygons used in the computation A trigonometric improvement by Willebrord Snell 1621 obtains better bounds from a pair of bounds obtained from the polygon method Thus more accurate results were obtained from polygons with fewer sides 67 Viete s formula published by Francois Viete in 1593 was derived by Viete using a closely related polygonal method but with areas rather than perimeters of polygons whose numbers of sides are powers of two 68 The last major attempt to compute p by this method was carried out by Grienberger in 1630 who calculated 39 decimal places of p using Snell s refinement 67 Machin like formula edit Main article Machin like formula For fast calculations one may use formulae such as Machin s p4 4arctan 15 arctan 1239 displaystyle frac pi 4 4 arctan frac 1 5 arctan frac 1 239 nbsp together with the Taylor series expansion of the function arctan x This formula is most easily verified using polar coordinates of complex numbers producing 5 i 4 239 i 22 134 1 i displaystyle 5 i 4 cdot 239 i 2 2 cdot 13 4 1 i nbsp x y 239 132 is a solution to the Pell equation x 2 2y 2 1 Formulae of this kind are known as Machin like formulae Machin s particular formula was used well into the computer era for calculating record numbers of digits of p 38 but more recently other similar formulae have been used as well For instance Shanks and his team used the following Machin like formula in 1961 to compute the first 100 000 digits of p 38 p4 6arctan 18 2arctan 157 arctan 1239 displaystyle frac pi 4 6 arctan frac 1 8 2 arctan frac 1 57 arctan frac 1 239 nbsp and they used another Machin like formula p4 12arctan 118 8arctan 157 5arctan 1239 displaystyle frac pi 4 12 arctan frac 1 18 8 arctan frac 1 57 5 arctan frac 1 239 nbsp as a check The record as of December 2002 by Yasumasa Kanada of Tokyo University stood at 1 241 100 000 000 digits The following Machin like formulae were used for this p4 12arctan 149 32arctan 157 5arctan 1239 12arctan 1110443 displaystyle frac pi 4 12 arctan frac 1 49 32 arctan frac 1 57 5 arctan frac 1 239 12 arctan frac 1 110443 nbsp K Takano 1982 p4 44arctan 157 7arctan 1239 12arctan 1682 24arctan 112943 displaystyle frac pi 4 44 arctan frac 1 57 7 arctan frac 1 239 12 arctan frac 1 682 24 arctan frac 1 12943 nbsp F C M Stormer 1896 Other classical formulae edit Other formulae that have been used to compute estimates of p include Liu Hui see also Viete s formula p 7682 2 2 2 2 2 2 2 2 1 3 141590463236763 displaystyle begin aligned pi amp approx 768 sqrt 2 sqrt 2 sqrt 2 sqrt 2 sqrt 2 sqrt 2 sqrt 2 sqrt 2 sqrt 2 1 amp approx 3 141590463236763 end aligned nbsp Madhava p 12 k 0 3 k2k 1 12 k 0 13 k2k 1 12 11 30 13 31 15 32 17 33 displaystyle pi sqrt 12 sum k 0 infty frac 3 k 2k 1 sqrt 12 sum k 0 infty frac frac 1 3 k 2k 1 sqrt 12 left 1 over 1 cdot 3 0 1 over 3 cdot 3 1 1 over 5 cdot 3 2 1 over 7 cdot 3 3 cdots right nbsp Newton Euler Convergence Transformation 69 arctan x x1 x2 k 0 2k x2k 2k 1 1 x2 k x1 x2 23x3 1 x2 2 2 43 5x5 1 x2 3 p2 k 0 k 2k 1 k 0 2kk 2 2k 1 1 13 1 25 1 37 1 displaystyle begin aligned arctan x amp frac x 1 x 2 sum k 0 infty frac 2k x 2k 2k 1 1 x 2 k frac x 1 x 2 frac 2 3 frac x 3 1 x 2 2 frac 2 cdot 4 3 cdot 5 frac x 5 1 x 2 3 cdots 10mu frac pi 2 amp sum k 0 infty frac k 2k 1 sum k 0 infty cfrac 2 k k 2 2k 1 1 frac 1 3 left 1 frac 2 5 left 1 frac 3 7 left 1 cdots right right right end aligned nbsp where m is the double factorial the product of the positive integers up to m with the same parity Euler p 20arctan 17 8arctan 379 displaystyle pi 20 arctan frac 1 7 8 arctan frac 3 79 nbsp Evaluated using the preceding series for arctan Ramanujan 1p 229801 k 0 4k 1103 26390k k 43964k displaystyle frac 1 pi frac 2 sqrt 2 9801 sum k 0 infty frac 4k 1103 26390k k 4 396 4k nbsp David Chudnovsky and Gregory Chudnovsky 1p 12 k 0 1 k 6k 13591409 545140134k 3k k 36403203k 3 2 displaystyle frac 1 pi 12 sum k 0 infty frac 1 k 6k 13591409 545140134k 3k k 3 640320 3k 3 2 nbsp Ramanujan s work is the basis for the Chudnovsky algorithm the fastest algorithms used as of the turn of the millennium to calculate p Modern algorithms edit Extremely long decimal expansions of p are typically computed with iterative formulae like the Gauss Legendre algorithm and Borwein s algorithm The latter found in 1985 by Jonathan and Peter Borwein converges extremely quickly For y0 2 1 a0 6 42 displaystyle y 0 sqrt 2 1 a 0 6 4 sqrt 2 nbsp and yk 1 1 f yk 1 f yk ak 1 ak 1 yk 1 4 22k 3yk 1 1 yk 1 yk 12 displaystyle y k 1 1 f y k 1 f y k a k 1 a k 1 y k 1 4 2 2k 3 y k 1 1 y k 1 y k 1 2 nbsp where f y 1 y4 1 4 displaystyle f y 1 y 4 1 4 nbsp the sequence 1 ak displaystyle 1 a k nbsp converges quartically to p giving about 100 digits in three steps and over a trillion digits after 20 steps The Gauss Legendre algorithm with time complexity O nlog2 n displaystyle O n log 2 n nbsp using Harvey Hoeven multiplication algorithm is asymptotically faster than the Chudnovsky algorithm with time complexity O nlog3 n displaystyle O n log 3 n nbsp but which of these algorithms is faster in practice for small enough n displaystyle n nbsp depends on technological factors such as memory sizes and access times 70 For breaking world records the iterative algorithms are used less commonly than the Chudnovsky algorithm since they are memory intensive The first one million digits of p and 1 p are available from Project Gutenberg 71 72 A former calculation record December 2002 by Yasumasa Kanada of Tokyo University stood at 1 24 trillion 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 formulae were used for this p4 12arctan 149 32arctan 157 5arctan 1239 12arctan 1110443 displaystyle frac pi 4 12 arctan frac 1 49 32 arctan frac 1 57 5 arctan frac 1 239 12 arctan frac 1 110443 nbsp Kikuo Takano 1982 p4 44arctan 157 7arctan 1239 12arctan 1682 24arctan 112943 displaystyle frac pi 4 44 arctan frac 1 57 7 arctan frac 1 239 12 arctan frac 1 682 24 arctan frac 1 12943 nbsp F C M Stormer 1896 These approximations have so many digits that they are no longer of any practical use except for testing new supercomputers 73 Properties like the potential normality of p will always depend on the infinite string of digits on the end not on any finite computation Miscellaneous approximations edit Historically base 60 was used for calculations In this base p can be approximated to eight decimal significant figures with the number 3 8 29 4460 which is 3 860 29602 44603 3 14159 259 displaystyle 3 frac 8 60 frac 29 60 2 frac 44 60 3 3 14159 259 nbsp The next sexagesimal digit is 0 causing truncation here to yield a relatively good approximation In addition the following expressions can be used to estimate p accurate to three digits 227 3 143 displaystyle frac 22 7 3 143 nbsp dd accurate to three digits 2 3 3 146 displaystyle sqrt 2 sqrt 3 3 146 nbsp dd Karl Popper conjectured that Plato knew this expression that he believed it to be exactly p 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 15 3 1 3 1409 displaystyle sqrt 15 sqrt 3 1 3 1409 nbsp dd accurate to four digits 1 e g 3 1410 displaystyle 1 e gamma 3 1410 nbsp where e displaystyle e nbsp is the natural logarithmic base and g displaystyle gamma nbsp is Euler s constant 313 3 1413 displaystyle sqrt 3 31 3 1413 nbsp 74 63 23 3 14142 2 displaystyle sqrt 63 sqrt 23 3 14142 2 nbsp 51 16 3 14142 8 displaystyle sqrt 51 sqrt 16 3 14142 8 nbsp 3 210 3 14142 1 displaystyle 3 frac sqrt 2 10 3 14142 1 nbsp dd accurate to four digits or five significant figures 7 6 5 3 1416 displaystyle sqrt 7 sqrt 6 sqrt 5 3 1416 nbsp 75 dd an approximation by Ramanujan accurate to 4 digits or five significant figures 95 95 3 1416 displaystyle frac 9 5 sqrt frac 9 5 3 1416 nbsp dd accurate to five digits 7749 3 14156 displaystyle frac 7 7 4 9 3 14156 nbsp 3065 3 14155 displaystyle sqrt 5 306 3 14155 nbsp 76 dd accurate to six digits 2 22 222 2 3 14159 6 displaystyle left 2 frac sqrt 2 sqrt 2 2 2 2 right 2 3 14159 6 nbsp 1 2 3 2 368 3 14159 0 displaystyle sqrt 2 sqrt 3 frac sqrt 2 sqrt 3 68 3 14159 0 nbsp citation needed 4 1 13 15 17 19 210 1210 2210 3210 3 14159 3 displaystyle 4 left 1 frac 1 3 frac 1 5 frac 1 7 frac 1 9 right frac 2 10 frac 1 2 10 frac 2 2 10 frac 3 2 10 3 14159 3 nbsp 77 78 dd accurate to seven digits 355113 3 14159 29 displaystyle frac 355 113 3 14159 29 nbsp 883 218 3 14159 25 displaystyle frac sqrt 883 sqrt 21 8 3 14159 25 nbsp 980122062 3 14159 27 displaystyle frac 9801 2206 sqrt 2 3 14159 27 nbsp inverse of first term of Ramanujan series 2 4 63 5 7 2 15 1230 3230 5230 3 14159 27 displaystyle left frac 2 cdot 4 cdot 6 3 cdot 5 cdot 7 right 2 left 15 frac 1 2 30 frac 3 2 30 frac 5 2 30 right 3 14159 27 nbsp 79 dd accurate to eight digits 2669 5479 3 14159 269 displaystyle frac sqrt 2669 sqrt 547 9 3 14159 269 nbsp 16523823846 3 14159 260 displaystyle frac 16 5 sqrt 38 2 sqrt 3846 2 3 14159 260 nbsp 3 2212342106810 3 14159 268 displaystyle 3 frac sqrt 2 sqrt 1234 2 sqrt 1068 2 10 3 14159 268 nbsp 9973331746 3 14159 264 displaystyle frac 99733 31746 3 14159 264 nbsp 584 37233 1 6623329 148 3 14159 263 displaystyle left frac sqrt 58 4 frac 37 sqrt 2 33 right 1 frac 66 sqrt 2 33 sqrt 29 148 3 14159 263 nbsp 80 dd This is the case that cannot be obtained from Ramanujan s approximation 22 81 accurate to nine digits 34 24 12 23 24 2143224 3 14159 2652 displaystyle sqrt 4 3 4 2 4 frac 1 2 frac 2 3 2 sqrt 4 frac 2143 22 3 14159 2652 nbsp dd This is from Ramanujan who claimed the Goddess of Namagiri appeared to him in a dream and told him the true value of p 81 accurate to ten digits 2865814615 3 14159 26538 displaystyle sqrt 15 28658146 3 14159 26538 nbsp dd accurate to ten digits 6325 17 1557 155 3 14159 26538 displaystyle frac 63 25 times frac 17 15 sqrt 5 7 15 sqrt 5 3 14159 26538 nbsp dd accurate to ten digits or eleven significant figures 1010011222 11122193 3 14159 26536 displaystyle sqrt 193 frac 10 100 11222 11122 3 14159 26536 nbsp dd This curious approximation follows the observation that the 193rd power of 1 p yields the sequence 1122211125 Replacing 5 by 2 completes the symmetry without reducing the correct digits of p while inserting a central decimal point remarkably fixes the accompanying magnitude at 10100 82 accurate to eleven digits 88858240318 3 14159 26535 8 displaystyle sqrt 18 888582403 3 14159 26535 8 nbsp dd accurate to twelve digits 876995679620 3 14159 26535 89 displaystyle sqrt 20 8769956796 3 14159 26535 89 nbsp dd accurate to 12 decimal places 1636 18110005 1 3 14159 26535 89 displaystyle left frac sqrt 163 6 frac 181 sqrt 10005 right 1 3 14159 26535 89 nbsp dd This is obtained from the Chudnovsky series truncate the series 1 4 83 at the first term and let E6 t163 2 E4 t163 3 151931373056001 151931373056000 1 accurate to 16 digits 251061373173621130173253125 3 14159 26535 89793 9 displaystyle frac 2510613731736 sqrt 2 1130173253125 3 14159 26535 89793 9 nbsp inverse of sum of first two terms of Ramanujan series 16570706552746197 3 14159 26535 89793 4 displaystyle frac 165707065 52746197 3 14159 26535 89793 4 nbsp dd accurate to 18 digits 8015 54 5389 323308 54 5389 389 3 14159 26535 89793 237 displaystyle frac 80 sqrt 15 5 4 53 sqrt 89 frac 3 2 3308 5 4 53 sqrt 89 3 sqrt 89 3 14159 26535 89793 237 nbsp 84 dd This is based on the fundamental discriminant d 3 89 267 which has class number h d 2 explaining the algebraic numbers of degree 2 The core radical 54 5389 displaystyle scriptstyle 5 4 53 sqrt 89 nbsp is 53 more than the fundamental unit U89 500 5389 displaystyle scriptstyle U 89 500 53 sqrt 89 nbsp which gives the smallest solution x y 500 53 to the Pell equation x 2 89y 2 1 accurate to 18 decimal places 2534 64311903 223172 1 3 14159 26535 89793 2387 displaystyle left frac sqrt 253 4 frac 643 sqrt 11 903 frac 223 172 right 1 3 14159 26535 89793 2387 nbsp dd This is the approximation 22 in Ramanujan s paper 81 with n 253 accurate to 24 digits 228663517236794024140821029347477390786609545 3 14159 26535 89793 23846 2649 displaystyle frac 2286635172367940241408 sqrt 2 1029347477390786609545 3 14159 26535 89793 23846 2649 nbsp inverse of sum of first three terms of Ramanujan series dd accurate to 25 decimal places 110ln 221 54 1 24 24 3 14159 26535 89793 23846 26433 9 displaystyle frac 1 10 ln left frac 2 21 sqrt 4 5 1 24 24 right 3 14159 26535 89793 23846 26433 9 nbsp dd This is derived from Ramanujan s class invariant g100 25 8 51 4 1 81 accurate to 30 decimal places ln 6403203 744 163 3 14159 26535 89793 23846 26433 83279 displaystyle frac ln 640320 3 744 sqrt 163 3 14159 26535 89793 23846 26433 83279 nbsp dd Derived from the closeness of Ramanujan constant to the integer 6403203 744 This does not admit obvious generalizations in the integers clarification needed because there are only finitely many Heegner numbers and negative discriminants d with class number h d 1 and d 163 is the largest one in absolute value accurate to 52 decimal places ln 52803 236674 3030361 3 744 427 displaystyle frac ln 5280 3 236674 30303 sqrt 61 3 744 sqrt 427 nbsp dd Like the one above a consequence of the j invariant Among negative discriminants with class number 2 this d the largest in absolute value accurate to 52 decimal places ln 2 30 3 5 5 7 7 11 11 3 12 24 5711 displaystyle frac ln 2 30 3 sqrt 5 sqrt 5 sqrt 7 sqrt 7 sqrt 11 sqrt 11 3 12 24 sqrt 5 sqrt 7 sqrt 11 nbsp dd This is derived from Ramanujan s class invariant G385 81 accurate to 161 decimal places ln 2u 6 24 3502 displaystyle frac ln big 2u 6 24 big sqrt 3502 nbsp dd where u is a product of four simple quartic units u a a2 1 2 b b2 1 2 c c2 1 d d2 1 displaystyle u a sqrt a 2 1 2 b sqrt b 2 1 2 c sqrt c 2 1 d sqrt d 2 1 nbsp dd and a 12 23 434 b 12 192 717 c 429 3042 d 12 627 4422 displaystyle begin aligned a amp tfrac 1 2 23 4 sqrt 34 b amp tfrac 1 2 19 sqrt 2 7 sqrt 17 c amp 429 304 sqrt 2 d amp tfrac 1 2 627 442 sqrt 2 end aligned nbsp dd Based on one found by Daniel Shanks Similar to the previous two but this time is a quotient of a modular form namely the Dedekind eta function and where the argument involves t 3502 displaystyle tau sqrt 3502 nbsp The discriminant d 3502 has h d 16 The continued fraction representation of p can be used to generate successive best rational approximations These approximations are the best possible rational approximations of p relative to the size of their denominators Here is a list of the first thirteen of these 85 86 31 227 333106 355113 10399333102 10434833215 20834166317 31268999532 833719265381 1146408364913 42729431360120 54193511725033 displaystyle frac 3 1 frac 22 7 frac 333 106 frac 355 113 frac 103993 33102 frac 104348 33215 frac 208341 66317 frac 312689 99532 frac 833719 265381 frac 1146408 364913 frac 4272943 1360120 frac 5419351 1725033 nbsp dd Of these 355113 displaystyle frac 355 113 nbsp is the only fraction in this sequence that gives more exact digits of p i e 7 than the number of digits needed to approximate it i e 6 The accuracy can be improved by using other fractions with larger numerators and denominators but for most such fractions more digits are required in the approximation than correct significant figures achieved in the result 87 Summing a circle s area edit nbsp Numerical approximation of p as points are randomly scattered inside the unit square some fall within the unit circle The fraction of points inside the circle approaches p 4 as points are added Pi can be obtained from a circle if its radius and area are known using the relationship A pr2 displaystyle A pi r 2 nbsp 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 x2 y2 displaystyle d sqrt x 2 y 2 nbsp Mathematical graph paper is formed by imagining a 1 1 square centered around each cell x y where x and y are integers between r and r Squares whose center resides inside or exactly on the border of the circle can then be counted by testing whether for each cell x y x2 y2 r displaystyle sqrt x 2 y 2 leq r nbsp The total number of cells satisfying that condition thus approximates the area of the circle which then can be used to calculate an approximation of p Closer approximations can be produced by using larger values of r Mathematically this formula can be written p limr 1r2 x rr y rr 1if x2 y2 r0if x2 y2 gt r displaystyle pi lim r to infty frac 1 r 2 sum x r r sum y r r begin cases 1 amp text if sqrt x 2 y 2 leq r 0 amp text if sqrt x 2 y 2 gt r end cases nbsp In other words begin by choosing a value for r Consider all cells x y in which both x and y are integers between r and r Starting at 0 add 1 for each cell whose distance to the origin 0 0 is less than or equal to r When finished divide the sum representing the area of a circle of radius r by r 2 to find the approximation of p For example if r is 5 then the cells considered are 5 5 4 5 3 5 2 5 1 5 0 5 1 5 2 5 3 5 4 5 5 5 5 4 4 4 3 4 2 4 1 4 0 4 1 4 2 4 3 4 4 4 5 4 5 3 4 3 3 3 2 3 1 3 0 3 1 3 2 3 3 3 4 3 5 3 5 2 4 2 3 2 2 2 1 2 0 2 1 2 2 2 3 2 4 2 5 2 5 1 4 1 3 1 2 1 1 1 0 1 1 1 2 1 3 1 4 1 5 1 5 0 4 0 3 0 2 0 1 0 0 0 1 0 2 0 3 0 4 0 5 0 5 1 4 1 3 1 2 1 1 1 0 1 1 1 2 1 3 1 4 1 5 1 5 2 4 2 3 2 2 2 1 2 0 2 1 2 2 2 3 2 4 2 5 2 5 3 4 3 3 3 2 3 1 3 0 3 1 3 2 3 3 3 4 3 5 3 5 4 4 4 3 4 2 4 1 4 0 4 1 4 2 4 3 4 4 4 5 4 5 5 4 5 3 5 2 5 1 5 0 5 1 5 2 5 3 5 4 5 5 5 nbsp This circle as it would be drawn on a Cartesian coordinate graph The cells 3 4 and 4 3 are labeled The 12 cells 0 5 5 0 3 4 4 3 are exactly on the circle and 69 cells are completely inside so the approximate area is 81 and p is calculated to be approximately 3 24 because 81 52 3 24 Results for some values of r are shown in the table below r area approximation of p2 13 3 253 29 3 222224 49 3 06255 81 3 2410 317 3 1720 1257 3 1425100 31417 3 14171000 3141549 3 141549For related results see The circle problem number of points x y in square lattice with x 2 y 2 lt n Similarly the more complex approximations of p given below involve repeated calculations of some sort yielding closer and closer approximations with increasing numbers of calculations Continued fractions edit Besides its simple continued fraction representation 3 7 15 1 292 1 1 which displays no discernible pattern p has many generalized continued fraction representations generated by a simple rule including these two p 3 126 326 526 displaystyle pi 3 cfrac 1 2 6 cfrac 3 2 6 cfrac 5 2 6 ddots nbsp p 41 123 225 327 429 3 125 427 329 6211 5213 displaystyle pi cfrac 4 1 cfrac 1 2 3 cfrac 2 2 5 cfrac 3 2 7 cfrac 4 2 9 ddots 3 cfrac 1 2 5 cfrac 4 2 7 cfrac 3 2 9 cfrac 6 2 11 cfrac 5 2 13 ddots nbsp The remainder of the Madhava Leibniz series can be expressed as generalized continued fraction as follows 77 p 4 n 1m 1 n 12n 1 2 1 m2m 122m 222m 322m m 1 2 3 displaystyle pi 4 sum n 1 m frac 1 n 1 2n 1 cfrac 2 1 m 2m cfrac 1 2 2m cfrac 2 2 2m cfrac 3 2 2m ddots qquad m 1 2 3 ldots nbsp Note that Madhava s correction term is 22m 122m 222m 4m2 14m3 5m displaystyle frac 2 2m frac 1 2 2m frac 2 2 2m 4 frac m 2 1 4m 3 5m nbsp The well known values 22 7 and 355 113 are respectively the second and fourth continued fraction approximations to p Other representations are available at The Wolfram Functions Site Trigonometry edit Gregory Leibniz series edit The Gregory Leibniz series p 4 n 0 1 n2n 1 4 11 13 15 17 displaystyle pi 4 sum n 0 infty cfrac 1 n 2n 1 4 left frac 1 1 frac 1 3 frac 1 5 frac 1 7 cdots right nbsp is the power series for arctan x specialized to x 1 It converges too slowly to be of practical interest However the power series converges much faster for smaller values of x displaystyle x nbsp which leads to formulae where p displaystyle pi nbsp arises as the sum of small angles with rational tangents known as Machin like formulae Arctangent edit Further information Double factorial Knowing that 4 arctan 1 p the formula can be simplified to get p 2 1 13 1 23 5 1 2 33 5 7 1 2 3 43 5 7 9 1 2 3 4 53 5 7 9 11 2 n 0 n 2n 1 n 0 2n 1n 2 2n 1 n 0 2n 1 2nn 2n 1 2 23 415 435 16315 16693 323003 326435 256109395 256230945 displaystyle begin aligned pi amp 2 left 1 cfrac 1 3 cfrac 1 cdot 2 3 cdot 5 cfrac 1 cdot 2 cdot 3 3 cdot 5 cdot 7 cfrac 1 cdot 2 cdot 3 cdot 4 3 cdot 5 cdot 7 cdot 9 cfrac 1 cdot 2 cdot 3 cdot 4 cdot 5 3 cdot 5 cdot 7 cdot 9 cdot 11 cdots right amp 2 sum n 0 infty cfrac n 2n 1 sum n 0 infty cfrac 2 n 1 n 2 2n 1 sum n 0 infty cfrac 2 n 1 binom 2n n 2n 1 amp 2 frac 2 3 frac 4 15 frac 4 35 frac 16 315 frac 16 693 frac 32 3003 frac 32 6435 frac 256 109395 frac 256 230945 cdots end aligned nbsp with a convergence such that each additional 10 terms yields at least three more digits p 2 13 2 25 2 37 2 displaystyle pi 2 frac 1 3 left 2 frac 2 5 left 2 frac 3 7 left 2 cdots right right right nbsp This series is the basis for a decimal spigot algorithm by Rabinowitz and Wagon 88 Another formula for p displaystyle pi nbsp involving arctangent function is given by p2k 1 arctan 2 ak 1ak k 2 displaystyle frac pi 2 k 1 arctan frac sqrt 2 a k 1 a k qquad qquad k geq 2 nbsp where ak 2 ak 1 displaystyle a k sqrt 2 a k 1 nbsp such that a1 2 displaystyle a 1 sqrt 2 nbsp Approximations can be made by using for example the rapidly convergent Euler formula 89 arctan x n 0 22n n 2 2n 1 x2n 1 1 x2 n 1 displaystyle arctan x sum n 0 infty frac 2 2n n 2 2n 1 frac x 2n 1 1 x 2 n 1 nbsp Alternatively the following simple expansion series of the arctangent function can be used arctan x 2 n 1 12n 1an x an2 x bn2 x displaystyle arctan x 2 sum n 1 infty frac 1 2n 1 frac a n left x right a n 2 left x right b n 2 left x right nbsp where a1 x 2 x b1 x 1 an x an 1 x 1 4 x2 4bn 1 x x bn x bn 1 x 1 4 x2 4an 1 x x displaystyle begin aligned amp a 1 x 2 x amp b 1 x 1 amp a n x a n 1 x left 1 4 x 2 right 4b n 1 x x amp b n x b n 1 x left 1 4 x 2 right 4a n 1 x x end aligned nbsp to approximate p displaystyle pi nbsp with even more rapid convergence Convergence in this arctangent formula for p displaystyle pi nbsp improves as integer k displaystyle k nbsp increases The constant p displaystyle pi nbsp can also be expressed by infinite sum of arctangent functions as p2 n 0 arctan 1F2n 1 arctan 11 arctan 12 arctan 15 arctan 113 displaystyle frac pi 2 sum n 0 infty arctan frac 1 F 2n 1 arctan frac 1 1 arctan frac 1 2 arctan frac 1 5 arctan frac 1 13 cdots nbsp and p4 k 2arctan 2 ak 1ak displaystyle frac pi 4 sum k geq 2 arctan frac sqrt 2 a k 1 a k nbsp where Fn displaystyle F n nbsp is the n th Fibonacci number However these two formulae for p displaystyle pi nbsp are much slower in convergence because of set of arctangent functions that are involved in computation Arcsine edit Observing an equilateral triangle and noting that sin p6 12 displaystyle sin left frac pi 6 right frac 1 2 nbsp yields p 6sin 1 12 6 12 12 3 23 1 32 4 5 25 1 3 52 4 6 7 27 3160 1 6161 3 18162 5 60163 7 n 0 3 2nn 16n 2n 1 3 18 9640 157168 3598304 1892883584 69354525952 429167772160 displaystyle begin aligned pi amp 6 sin 1 left frac 1 2 right 6 left frac 1 2 frac 1 2 cdot 3 cdot 2 3 frac 1 cdot 3 2 cdot 4 cdot 5 cdot 2 5 frac 1 cdot 3 cdot 5 2 cdot 4 cdot 6 cdot 7 cdot 2 7 cdots right amp frac 3 16 0 cdot 1 frac 6 16 1 cdot 3 frac 18 16 2 cdot 5 frac 60 16 3 cdot 7 cdots sum n 0 infty frac 3 cdot binom 2n n 16 n 2n 1 amp 3 frac 1 8 frac 9 640 frac 15 7168 frac 35 98304 frac 189 2883584 frac 693 54525952 frac 429 167772160 cdots end aligned nbsp with a convergence such that each additional five terms yields at least three more digits Digit extraction methods editThe Bailey Borwein Plouffe formula BBP for calculating p was discovered in 1995 by Simon Plouffe Using base 16 math the formula can compute any particular digit of p returning the hexadecimal value of the digit without having to compute the intervening digits digit extraction 90 p n 0 48n 1 28n 4 18n 5 18n 6 116 n displaystyle pi sum n 0 infty left frac 4 8n 1 frac 2 8n 4 frac 1 8n 5 frac 1 8n 6 right left frac 1 16 right n nbsp In 1996 Simon Plouffe derived an algorithm to extract the n th decimal digit of p using base 10 math to extract a base 10 digit and which can do so with an improved speed of O n3 log n 3 time The algorithm requires virtually no memory for the storage of an array or matrix so the one millionth digit of p can be computed using a pocket calculator 91 However it would be quite tedious and impractical to do so p 3 n 1 n2nn 2 2n displaystyle pi 3 sum n 1 infty frac n2 n n 2 2n nbsp The calculation speed of Plouffe s formula was improved to O n2 by Fabrice Bellard who derived an alternative formula albeit only in base 2 math for computing p 92 p 126 n 0 1 n210n 254n 1 14n 3 2810n 1 2610n 3 2210n 5 2210n 7 110n 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 nbsp Efficient methods editMany other expressions for p were developed and published by Indian mathematician Srinivasa Ramanujan He worked with mathematician Godfrey Harold Hardy in England for a number of years Extremely long decimal expansions of p 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 In 1997 David H Bailey Peter Borwein and Simon Plouffe published a paper Bailey 1997 on a new formula for p as an infinite series p k 0 116k 48k 1 28k 4 18k 5 18k 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 nbsp This formula permits one to fairly readily compute the kth binary or hexadecimal digit of p without having to compute the preceding k 1 digits Bailey s website 93 contains the derivation as well as implementations in various programming languages The PiHex project computed 64 bits around the quadrillionth bit of p which turns out to be 0 Fabrice Bellard further improved on BBP with his formula 94 p 126 n 0 1 n210n 254n 1 14n 3 2810n 1 2610n 3 2210n 5 2210n 7 110n 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 nbsp Other formulae that have been used to compute estimates of p include p2 k 0 k 2k 1 k 0 2kk 2 2k 1 1 13 1 25 1 37 1 displaystyle frac pi 2 sum k 0 infty frac k 2k 1 sum k 0 infty frac 2 k k 2 2k 1 1 frac 1 3 left 1 frac 2 5 left 1 frac 3 7 left 1 cdots right right right nbsp Newton 1p 229801 k 0 4k 1103 26390k k 43964k displaystyle frac 1 pi frac 2 sqrt 2 9801 sum k 0 infty frac 4k 1103 26390k k 4 396 4k nbsp Srinivasa 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 p In 1988 David Chudnovsky and Gregory Chudnovsky found an even faster converging series the Chudnovsky algorithm 1p 142688010005 k 0 6k 13591409 545140134k 3k k 3 640320 3k displaystyle frac 1 pi frac 1 426880 sqrt 10005 sum k 0 infty frac 6k 13591409 545140134k 3k k 3 640320 3k nbsp The speed of various algorithms for computing pi to n correct digits is shown below in descending order of asymptotic complexity M n is the complexity of the multiplication algorithm employed Algorithm Year Time complexity or SpeedGauss Legendre algorithm 1975 O M n log n displaystyle O M n log n nbsp 70 Chudnovsky algorithm 1988 O nlog n 3 displaystyle O n log n 3 nbsp 46 Binary splitting of the arctan series in Machin s formula O M n log n 2 displaystyle O M n log n 2 nbsp 70 Leibniz formula for p 1300s Sublinear convergence Five billion terms for 10 correct decimal placesProjects editPi Hex edit Pi Hex was a project to compute three specific binary digits of p using a distributed network of several hundred computers In 2000 after two years the project finished computing the five trillionth 5 1012 the forty trillionth and the quadrillionth 1015 bits All three of them turned out to be 0 Software for calculating p editOver the years several programs have been written for calculating p to many digits on personal computers General purpose edit Most computer algebra systems can calculate p and other common mathematical constants to any desired precision Functions for calculating p are also included in many general libraries for arbitrary precision arithmetic for instance Class Library for Numbers MPFR and SymPy Special purpose edit Programs designed for calculating p may have better performance than general purpose mathematical software They typically implement checkpointing and efficient disk swapping to facilitate extremely long running and memory expensive computations TachusPi by Fabrice Bellard 95 is the program used by himself to compute world record number of digits of pi in 2009 y cruncher by Alexander Yee 46 is the program which every world record holder since Shigeru Kondo in 2010 has used to compute world record numbers of digits y cruncher can also be used to calculate other constants and holds world records for several of them PiFast by Xavier Gourdon was the fastest program for Microsoft Windows in 2003 According to its author it can compute one million digits in 3 5 seconds on a 2 4 GHz Pentium 4 96 PiFast can also compute other irrational numbers like e and 2 It can also work at lesser efficiency with very little memory down to a few tens of megabytes to compute well over a billion 109 digits This tool is a popular benchmark in the overclocking community PiFast 4 4 is available from Stu s Pi page PiFast 4 3 is available from Gourdon s page QuickPi by Steve Pagliarulo for Windows is faster than PiFast for runs of under 400 million digits Version 4 5 is available on Stu s Pi Page below Like PiFast QuickPi can also compute other irrational numbers like e 2 and 3 The software may be obtained from the Pi Hacks Yahoo forum or from Stu s Pi page Super PI by Kanada Laboratory 97 in the University of Tokyo is the program for Microsoft Windows for runs from 16 000 to 33 550 000 digits It can compute one million digits in 40 minutes two million digits in 90 minutes and four million digits in 220 minutes on a Pentium 90 MHz Super PI version 1 9 is available from Super PI 1 9 page See also editDiophantine approximation Milu Madhava s correction term Pi is 3Notes edit a b c d Hayes Brian September 2014 Pencil Paper and Pi American Scientist Vol 102 no 5 p 342 doi 10 1511 2014 110 342 Yee Alexander J 14 March 2024 Limping to a new Pi Record of 105 Trillion Digits NumberWorld org Retrieved 16 March 2024 Petrie W M F 1940 Wisdom of the Egyptians Verner Miroslav 2001 1997 The Pyramids The Mystery Culture and Science of Egypt s Great Monuments Grove Press ISBN 978 0 8021 3935 1 Based on the Great Pyramid of Giza supposedly built so that the circle whose radius is equal to the height of the pyramid has a circumference equal to the perimeter of the base it is 1760 cubits around and 280 cubits in height a b Rossi 2007 Corinna Architecture and Mathematics in Ancient Egypt Cambridge University Press ISBN 978 0 521 69053 9 Legon J A R 1991 On Pyramid Dimensions and Proportions Discussions in Egyptology Vol 20 pp 25 34 Archived from the original on 18 July 2011 Retrieved 7 June 2011 See Imputed biblical value Beckmann 1971 There has been concern over the apparent biblical statement of p 3 from the early times of rabbinical Judaism addressed by Rabbi Nehemiah in the 2nd century page needed Romano David Gilman 1993 Athletics and Mathematics in Archaic Corinth The Origins of the Greek Stadion American Philosophical Society p 78 ISBN 978 0871692061 A group of mathematical clay tablets from the Old Babylonian Period excavated at Susa in 1936 and published by E M Bruins in 1950 provide the information that the Babylonian approximation of p was 3 1 8 or 3 125 Bruins E M 1950 Quelques textes mathematiques de la Mission de Suse PDF Bruins E M Rutten M 1961 Textes mathematiques de Suse Memoires de la Mission archeologique en Iran Vol XXXIV See also Beckmann 1971 pp 12 21 22 in 1936 a tablet was excavated some 200 miles from Babylon The mentioned tablet whose translation was partially published only in 1950 states that the ratio of the perimeter of a regular hexagon to the circumference of the circumscribed circle equals a number which in modern notation is given by 57 60 36 60 2 i e p 3 0 96 25 8 Imhausen Annette 2007 Katz Victor J ed The Mathematics of Egypt Mesopotamia China India and Islam A Sourcebook Princeton University Press ISBN 978 0 691 11485 9 Chaitanya Krishna A profile of Indian culture Indian Book Company 1975 p 133 Jadhav Dipak 1 January 2018 On The Value Implied in the Data Referred To in the Mahabharata for p Vidyottama Sanatana International Journal of Hindu Science and Religious Studies 2 1 18 doi 10 25078 ijhsrs v2i1 511 ISSN 2550 0651 S2CID 146074061 Damini D B Abhishek Dhar 2020 How Archimedes showed that p is approximately equal to 22 7 p 8 arXiv 2008 07995 math HO Lazarus Mudehwe February 1997 The story of pi Zimaths Archived from the original on 8 January 2013 Lam Lay Yong Ang Tian Se 1986 Circle measurements in ancient China Historia Mathematica 13 4 325 340 doi 10 1016 0315 0860 86 90055 8 MR 0875525 Reprinted in Berggren J L Borwein Jonathan M Borwein Peter eds 2004 Pi A Source Book Springer pp 20 35 ISBN 978 0387205717 See in particular pp 333 334 pp 28 29 of the reprint How Aryabhata got the earth s circumference right Archived 15 January 2017 at the Wayback Machine Aryabhaṭiya gaṇitapada 10 chaturadhikam satamaṣṭaguṇam dvasaṣṭistatha sahasraṇam ayutadvayaviṣkambhasyasanno vr ttapariṇahaḥ Add four to one hundred multiply by eight and then add sixty two thousand The result is approximately the circumference of a circle of diameter twenty thousand By this rule the relation of the circumference to diameter is given In other words 4 100 8 62000 is the circumference of a circle with diameter 20000 This provides a value of p 62832 20000 3 1416 Jacobs Harold R 2003 Geometry Seeing Doing Understanding Third ed New York W H Freeman and Company p 70 Aryabhata the Elder University of St Andrews School of Mathematics and Statistics Retrieved 20 July 2011 S Balachandra Rao 1998 Indian Mathematics and Astronomy Some Landmarks Bangalore Jnana Deep Publications ISBN 978 81 7371 205 0 George E Andrews Ranjan Roy Richard Askey 1999 Special Functions Cambridge University Press p 58 ISBN 978 0 521 78988 2 a b J J O Connor and E F Robertson November 2000 Madhava of Sangamagramma MacTutor University of St Andrews Gupta R C 1992 On the remainder term in the Madhava Leibniz s series Ganita Bharati 14 1 4 68 71 Boris A Rosenfeld amp Adolf P Youschkevitch 1981 Ghiyath al din Jamshid Masud al Kashi or al Kashani Dictionary of Scientific Biography Vol 7 p 256 J J O Connor and E F Robertson July 1999 Ghiyath al Din Jamshid Mas ud al Kashi MacTutor University of St Andrews Azarian Mohammad K 2010 al Risala al muhitiyya A Summary Missouri Journal of Mathematical Sciences 22 2 64 85 doi 10 35834 mjms 1312233136 Capra B Digits of Pi PDF Retrieved 13 January 2018 Chakrabarti Gopal Hudson Richard 2003 An Improvement of Archimedes Method of Approximating p PDF International Journal of Pure and Applied Mathematics 7 2 207 212 Jones William 1706 Synopsis Palmariorum Matheseos London J Wale pp 243 263 There are various other ways of finding the Lengths or Areas of particular Curve Lines or Planes which may very much facilitate the Practice as for instance in the Circle the Diameter is to Circumference as 1 to 165 4239 131653 42393 151655 42395 amp c displaystyle overline tfrac 16 5 tfrac 4 239 tfrac 1 3 overline tfrac 16 5 3 tfrac 4 239 3 tfrac 1 5 overline tfrac 16 5 5 tfrac 4 239 5 amp c nbsp 3 14159 amp c p This Series among others for the same purpose and drawn from the same Principle I receiv d from the Excellent Analyst and my much Esteem d Friend Mr John Machin and by means thereof Van Ceulen s Number or that in Art 64 38 may be Examin d with all desireable Ease and Dispatch Reprinted in Smith David Eugene 1929 William Jones The First Use of p for the Circle Ratio A Source Book in Mathematics McGraw Hill pp 346 347 Tweddle Ian 1991 John Machin and Robert Simson on Inverse tangent Series for p Archive for History of Exact Sciences 42 1 1 14 doi 10 1007 BF00384331 JSTOR 41133896 S2CID 121087222 Vega George 1795 1789 Determination de la demi circonference d un cercle dont le diameter est 1 exprimee en 140 figures decimals Supplement Nova Acta Academiae Scientiarum Petropolitanae 11 41 44 Sandifer Edward 2006 Why 140 Digits of Pi Matter PDF Jurij baron Vega in njegov cas Zbornik ob 250 letnici rojstva Baron Jurij Vega and His Times Celebrating 250 Years Ljubljana DMFA ISBN 978 961 6137 98 0 LCCN 2008467244 OCLC 448882242 Archived from the original PDF on 28 August 2006 We should note that Vega s value contains an error in the 127th digit Vega gives a 4 where there should be an 6 and all digits after that are incorrect What kind of accuracy could one get with Pi to 40 decimal places Stack Exchange 11 May 2015 a b Ferguson D F 16 March 1946 Value of p Nature 157 3985 342 Bibcode 1946Natur 157 342F doi 10 1038 157342c0 ISSN 1476 4687 S2CID 4085398 Shanks William 1853 Contributions to Mathematics Comprising Chiefly the Rectification of the Circle to 607 Places of Decimals Macmillan Publishers p viii via the Internet Archive Shanks William 1873 V On the extension of the numerical value of p Proceedings of the Royal Society of London 21 139 147 Royal Society Publishing 318 319 doi 10 1098 rspl 1872 0066 S2CID 120851313 William Shanks 1812 1882 Biography University of St Andrews July 2007 Retrieved 22 January 2022 a b c d e Shanks D Wrench J W Jr 1962 Calculation of p to 100 000 decimals Mathematics of Computation 16 77 76 99 doi 10 2307 2003813 JSTOR 2003813 Announcement at the Kanada lab web site Super computing org Archived from the original on 12 March 2011 Retrieved 11 December 2017 Pi Computation Record McCormick Grad Sets New Pi Record Archived 28 September 2011 at the Wayback Machine Pi 5 Trillion Digits Glenn 19 October 2011 Short Sharp Science Epic pi quest sets 10 trillion digit record New Scientist Retrieved 18 April 2016 Yee Alexander J Kondo Shigeru 22 October 2011 Round 2 10 Trillion Digits of Pi a b Yee Alexander J Kondo Shigeru 28 December 2013 12 1 Trillion Digits of Pi a b c d Yee Alexander J 2018 y cruncher A Multi Threaded Pi Program numberworld org Retrieved 14 March 2018 Treub Peter 30 November 2016 Digit Statistics of the First 22 4 Trillion Decimal Digits of Pi arXiv 1612 00489 math NT Google Cloud Topples the Pi Record numberworld org Retrieved 14 March 2019 The Pi Record Returns to the Personal Computer Retrieved 30 January 2020 Calculating Pi My attempt at breaking the Pi World Record 26 June 2019 Retrieved 30 January 2020 Die FH Graubunden kennt Pi am genauesten Weltrekord Retrieved 31 August 2021 Swiss researchers calculate pi to new record of 62 8tn figures The Guardian 16 August 2021 Retrieved 31 August 2021 Even more pi in the sky Calculating 100 trillion digits of pi on Google Cloud Google Cloud Platform 8 June 2022 Retrieved 10 June 2022 Yee Alexander J 14 March 2024 Limping to a new Pi Record of 105 Trillion Digits NumberWorld org Retrieved 16 March 2024 Allain Rhett 18 March 2011 What is the Best Fractional Representation of Pi Wired Retrieved 16 March 2020 John D Cook 22 May 2018 Best Rational Approximations for Pi John D Cook Consulting Retrieved 16 March 2020 Continued Fraction Approximations to Pi PDF Illinois Department of Mathematics University of Illinois Board of Trustees Archived from the original PDF on 23 January 2021 Retrieved 16 March 2020 Hallerberg Arthur E 1977 Indiana s Squared Circle Mathematics Magazine 50 3 136 140 doi 10 1080 0025570X 1977 11976632 Tsaban Boaz Garber David February 1998 On the rabbinical approximation of p PDF Historia Mathematica 25 1 75 84 doi 10 1006 hmat 1997 2185 ISSN 0315 0860 Retrieved 14 July 2009 Wilbur Richard Knorr The Ancient Tradition of Geometric Problems New York Dover Publications 1993 Aleff H Peter Ancient Creation Stories told by the Numbers Solomon s Pi recoveredscience com Archived from the original on 14 October 2007 Retrieved 30 October 2007 O Connor J J E F Robertson August 2001 A history of Pi Archived from the original on 30 October 2007 Retrieved 30 October 2007 Math Forum Ask Dr Math Eves 1992 p 131 Beckmann 1971 p 66 Eves 1992 p 118 a b Eves 1992 p 119 Beckmann 1971 pp 94 95 Unpublished work by Newton 1684 later independently discovered by others and popularized by Euler 1755 Roy Ranjan 2021 1st ed 2011 Series and Products in the Development of Mathematics Vol 1 2 ed Cambridge University Press pp 215 216 219 220 Sandifer Ed 2009 Estimating p PDF How Euler Did It Reprinted in How Euler Did Even More Mathematical Association of America 2014 pp 109 118 Newton Isaac 1971 Whiteside Derek Thomas ed The Mathematical Papers of Isaac Newton Vol 4 1674 1684 Cambridge University Press pp 526 653 Euler Leonhard 1755 2 30 Institutiones Calculi Differentialis in Latin Academiae Imperialis Scientiarium Petropolitanae p 318 E 212 Euler Leonhard 1798 written 1779 Investigatio quarundam serierum quae ad rationem peripheriae circuli ad diametrum vero proxime definiendam maxime sunt accommodatae Nova Acta Academiae Scientiarum Petropolitinae 11 133 149 167 168 E 705 Hwang Chien Lih 2005 An elementary derivation of Euler s series for the arctangent function The Mathematical Gazette 89 516 469 470 doi 10 1017 S0025557200178404 S2CID 123395287 a b c Trueb Peter 2020 The Borwein brothers Pi and the AGM Springer Proceedings in Mathematics amp Statistics Vol 313 arXiv 1802 07558 doi 10 1007 978 3 030 36568 4 ISBN 978 3 030 36567 7 S2CID 214742997 Hemphill Scott 1993 Pi Kanada Yasumasa 1996 One Divided by Pi Anthony Sebastian 15 March 2012 What can you do with a supercomputer ExtremeTech Extremetech Gardner Martin 1995 New Mathematical Diversions Mathematical Association of America p 92 ISBN 978 0 88385 517 1 A nested radical approximation for p Archived 6 July 2011 at the Wayback Machine Lenz Friedrich 15 May 1951 The Ratio of Proton and Electron Masses Phys Rev 82 4 554 Bibcode 1951PhRv 82 554L doi 10 1103 PhysRev 82 554 2 a b Dutka J 1982 Wallis s product Brouncker s continued fraction and Leibniz s series Archive for History of Exact Sciences 26 2 115 126 doi 10 1007 BF00348349 S2CID 121628039 Borwein J Borwein P Dilcher K 1989 Pi Euler numbers and asymptotic expansions Amer Math Monthly 96 8 681 687 doi 10 1080 00029890 1989 11972263 hdl 1959 13 1043679 Lange L 1999 An elegant continued fraction for p Amer Math Monthly 106 5 456 458 Borwein Jonathan Bailey David 2008 Mathematics by Experiment Plausible Reasoning in the 21st Century 2nd Edition A K Peters p 135 ISBN 978 1 56881 442 1 a b c d e Berggren Lennart Borwein Jonathan Borwein Peter 2003 Pi A Source Book 3rd Edition Springer pp 241 257 ISBN 978 0 387 20571 7 Hoffman D W College Mathematics Journal 40 2009 399 Berggren Lennart Borwein Jonathan Borwein Peter 2003 Pi A Source Book 3rd Edition Springer pp 596 622 ISBN 978 0 387 20571 7 Mathematics Sloane N J A ed Sequence A002485 Numerators of convergents to Pi The On Line Encyclopedia of Integer Sequences OEIS Foundation Sloane N J A ed Sequence A002486 Denominators of convergents to Pi The On Line Encyclopedia of Integer Sequences OEIS Foundation Fractional Approximations of Pi Rabinowitz Stanley Wagon Stan 1995 A Spigot Algorithm for the Digits of p The American Mathematical Monthly 102 3 195 203 doi 10 2307 2975006 ISSN 0002 9890 JSTOR 2975006 Hwang Chien Lih 2005 An elementary derivation of Euler s series for the arctangent function The Mathematical Gazette 89 516 469 470 doi 10 1017 S0025557200178404 S2CID 123395287 Weisstein Eric W BBP Formula MathWorld Plouffe Simon 2009 On the computation of the n th decimal digit of various transcendental numbers arXiv 0912 0303v1 math NT Bellard s Website Bellard org David H Bailey crd LBL gov Archived from the original on 10 April 2011 Retrieved 11 December 2017 The world of Pi Bellard Pi314 net 13 April 2013 Retrieved 18 April 2016 Bellard Fabrice TachusPi Retrieved 20 March 2020 PiFast timings Takahashi Daisuke Kanada Yasumasa 10 August 2010 Kanada Laboratory home page University of Tokyo Archived from the original on 24 August 2011 Retrieved 1 May 2011 References editBailey David H Borwein Peter B amp Plouffe Simon April 1997 On the Rapid Computation of Various Polylogarithmic Constants PDF Mathematics of Computation 66 218 903 913 Bibcode 1997MaCom 66 903B doi 10 1090 S0025 5718 97 00856 9 Beckmann Petr 1971 A History of p New York St Martin s Press ISBN 978 0 88029 418 8 MR 0449960 Eves Howard 1992 An Introduction to the History of Mathematics 6th ed Saunders College Publishing ISBN 978 0 03 029558 4 Joseph George G 2000 The Crest of the Peacock Non European Roots of Mathematics New ed London Penguin ed London Penguin ISBN 978 0 14 027778 4 Jackson K Stamp J 2002 Pyramid Beyond Imagination Inside the Great Pyramid of Giza London BBC ISBN 9780563488033 Berggren Lennart Borwein Jonathan M Borwein Peter B 2004 Pi a source book 3rd ed New York Springer Science Business Media LLC ISBN 978 1 4757 4217 6 Retrieved from https en wikipedia org w index php title Approximations of p amp oldid 1217086609, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.