Pi: Difference between revisions
imported>Dotyoyo m →Modular forms and theta functions: Formatting of math formula exponent. |
(No difference)
|
Latest revision as of 08:34, 26 February 2025
Template:Short description Template:About Template:Pp Template:Featured article Template:Use Oxford spelling Template:Use dmy dates Template:Pi box The number Template:Pi (Template:IPAc-en; spelled out as "pi") is a mathematical constant, approximately equal to 3.14159, that is the ratio of a circle's circumference to its diameter. It appears in many formulae across mathematics and physics, and some of these formulae are commonly used for defining Template:Pi, to avoid relying on the definition of the length of a curve.
The number Template:Pi is an irrational number, meaning that it cannot be expressed exactly as a ratio of two integers, although fractions such as are commonly used to approximate it. Consequently, its decimal representation never ends, nor enters a permanently repeating pattern. It is a transcendental number, meaning that it cannot be a solution of an algebraic equation involving only finite sums, products, powers, and integers. The transcendence of Template:Pi implies that it is impossible to solve the ancient challenge of squaring the circle with a compass and straightedge. The decimal digits of Template:Pi appear to be randomly distributed,Template:Efn but no proof of this conjecture has been found.
For thousands of years, mathematicians have attempted to extend their understanding of Template:Pi, sometimes by computing its value to a high degree of accuracy. Ancient civilizations, including the Egyptians and Babylonians, required fairly accurate approximations of Template:Pi for practical computations. Around 250Template:NbspBC, the Greek mathematician Archimedes created an algorithm to approximate Template:Pi with arbitrary accuracy. In the 5th century AD, Chinese mathematicians approximated Template:Pi to seven digits, while Indian mathematicians made a five-digit approximation, both using geometrical techniques. The first computational formula for Template:Pi, based on infinite series, was discovered a millennium later.Template:Sfn[1] The earliest known use of the Greek letter π to represent the ratio of a circle's circumference to its diameter was by the Welsh mathematician William Jones in 1706.[2] The invention of calculus soon led to the calculation of hundreds of digits of Template:Pi, enough for all practical scientific computations. Nevertheless, in the 20th and 21st centuries, mathematicians and computer scientists have pursued new approaches that, when combined with increasing computational power, extended the decimal representation of Template:Pi to many trillions of digits.[3][4] These computations are motivated by the development of efficient algorithms to calculate numeric series, as well as the human quest to break records.Template:Sfn[5] The extensive computations involved have also been used to test supercomputers as well as stress testing consumer computer hardware.
Because it relates to a circle, Template:Pi is found in many formulae in trigonometry and geometry, especially those concerning circles, ellipses and spheres. It is also found in formulae from other topics in science, such as cosmology, fractals, thermodynamics, mechanics, and electromagnetism. It also appears in areas having little to do with geometry, such as number theory and statistics, and in modern mathematical analysis can be defined without any reference to geometry. The ubiquity of Template:Pi makes it one of the most widely known mathematical constants inside and outside of science. Several books devoted to Template:Pi have been published, and record-setting calculations of the digits of Template:Pi often result in news headlines.
Fundamentals
Name
The symbol used by mathematicians to represent the ratio of a circle's circumference to its diameter is the lowercase [[Pi (letter)|Greek letter Template:Pi]], sometimes spelled out as pi.[6] In English, Template:Pi is pronounced as "pie" (Template:IPAc-en Template:Respell).[7] In mathematical use, the lowercase letter Template:Pi is distinguished from its capitalized and enlarged counterpart Template:Math, which denotes a product of a sequence, analogous to how Template:Math denotes summation.
The choice of the symbol Template:Pi is discussed in the section [[#Adoption of the symbol π|Adoption of the symbol Template:Pi]].
Definition

Template:Pi is commonly defined as the ratio of a circle's circumference Template:Math to its diameter Template:Math:Template:Sfn
The ratio is constant, regardless of the circle's size. For example, if a circle has twice the diameter of another circle, it will also have twice the circumference, preserving the ratio . This definition of Template:Pi implicitly makes use of flat (Euclidean) geometry; although the notion of a circle can be extended to any curve (non-Euclidean) geometry, these new circles will no longer satisfy the formula .Template:Sfn
Here, the circumference of a circle is the arc length around the perimeter of the circle, a quantity which can be formally defined independently of geometry using limits—a concept in calculus.[8] For example, one may directly compute the arc length of the top half of the unit circle, given in Cartesian coordinates by the equation , as the integral:Template:Sfn
An integral such as this was proposed as a definition of Template:Pi by Karl Weierstrass, who defined it directly as an integral in 1841.Template:Efn
Integration is no longer commonly used in a first analytical definition because, as Template:Harvnb explains, differential calculus typically precedes integral calculus in the university curriculum, so it is desirable to have a definition of Template:Pi that does not rely on the latter. One such definition, due to Richard Baltzer[9] and popularized by Edmund Landau,[10] is the following: Template:Pi is twice the smallest positive number at which the cosine function equals 0.Template:SfnTemplate:Sfn[11] Template:Pi is also the smallest positive number at which the sine function equals zero, and the difference between consecutive zeroes of the sine function. The cosine and sine can be defined independently of geometry as a power series,[12] or as the solution of a differential equation.[11]
In a similar spirit, Template:Pi can be defined using properties of the complex exponential, Template:Math, of a complex variable Template:Math. Like the cosine, the complex exponential can be defined in one of several ways. The set of complex numbers at which Template:Math is equal to one is then an (imaginary) arithmetic progression of the form: and there is a unique positive real number Template:Pi with this property.Template:Sfn[13]
A variation on the same idea, making use of sophisticated mathematical concepts of topology and algebra, is the following theorem:[14] there is a unique (up to automorphism) continuous isomorphism from the group R/Z of real numbers under addition modulo integers (the circle group), onto the multiplicative group of complex numbers of absolute value one. The number Template:Pi is then defined as half the magnitude of the derivative of this homomorphism.[15]
Irrationality and normality
Template:Pi is an irrational number, meaning that it cannot be written as the ratio of two integers. Fractions such as Template:Math and Template:Math are commonly used to approximate Template:Pi, but no common fraction (ratio of whole numbers) can be its exact value.Template:Sfn Because Template:Pi is irrational, it has an infinite number of digits in its decimal representation, and does not settle into an infinitely repeating pattern of digits. There are several [[proof that π is irrational|proofs that Template:Pi is irrational]]; they generally require calculus and rely on the reductio ad absurdum technique. The degree to which Template:Pi can be approximated by rational numbers (called the irrationality measure) is not precisely known; estimates have established that the irrationality measure is larger or at least equal to the measure of Template:Math but smaller than the measure of Liouville numbers.[16]
The digits of Template:Pi have no apparent pattern and have passed tests for statistical randomness, including tests for normality; a number of infinite length is called normal when all possible sequences of digits (of any given length) appear equally often. The conjecture that Template:Pi is normal has not been proven or disproven.Template:Sfn
Since the advent of computers, a large number of digits of Template:Pi have been available on which to perform statistical analysis. Yasumasa Kanada has performed detailed statistical analyses on the decimal digits of Template:Pi, and found them consistent with normality; for example, the frequencies of the ten digits 0 to 9 were subjected to statistical significance tests, and no evidence of a pattern was found.Template:Sfn Any random sequence of digits contains arbitrarily long subsequences that appear non-random, by the infinite monkey theorem. Thus, because the sequence of Template:Pi's digits passes statistical tests for randomness, it contains some sequences of digits that may appear non-random, such as a sequence of six consecutive 9s that begins at the 762nd decimal place of the decimal representation of Template:Pi.Template:Sfn This is also called the "Feynman point" in mathematical folklore, after Richard Feynman, although no connection to Feynman is known.
Transcendence

In addition to being irrational, Template:Pi is also a transcendental number, which means that it is not the solution of any non-constant polynomial equation with rational coefficients, such as .Template:SfnTemplate:Efn This follows from the so-called Lindemann–Weierstrass theorem, which also establishes the transcendence of [[E (mathematical constant)|the constant Template:Mvar]].
The transcendence of Template:Pi has two important consequences: First, Template:Pi cannot be expressed using any finite combination of rational numbers and square roots or n-th roots (such as or ). Second, since no transcendental number can be constructed with compass and straightedge, it is not possible to "square the circle". In other words, it is impossible to construct, using compass and straightedge alone, a square whose area is exactly equal to the area of a given circle.[17] Squaring a circle was one of the important geometry problems of the classical antiquity.[18] Amateur mathematicians in modern times have sometimes attempted to square the circle and claim success—despite the fact that it is mathematically impossible.[19][20]
An unsolved problem thus far is the question of whether or not the numbers Template:Mvar and Template:Mvar are algebraically independent ("relatively transcendental"). This would be resolved by Schanuel's conjecture[21][22] – a currently unproven generalization of the Lindemann–Weierstrass theorem.[23]
Continued fractions
As an irrational number, Template:Pi cannot be represented as a common fraction. But every number, including Template:Pi, can be represented by an infinite series of nested fractions, called a simple continued fraction:
Truncating the continued fraction at any point yields a rational approximation for Template:Pi; the first four of these are Template:Math, Template:Math, Template:Math, and Template:Math. These numbers are among the best-known and most widely used historical approximations of the constant. Each approximation generated in this way is a best rational approximation; that is, each is closer to Template:Pi than any other fraction with the same or a smaller denominator.[24] Because Template:Pi is transcendental, it is by definition not algebraic and so cannot be a quadratic irrational. Therefore, Template:Pi cannot have a periodic continued fraction. Although the simple continued fraction for Template:Pi (with numerators all 1, shown above) also does not exhibit any other obvious pattern,Template:Sfn[25] several non-simple continued fractions do, such as:[26]
The middle of these is due to the mid-17th century mathematician William Brouncker, see § Brouncker's formula.
Approximate value and digits
Some approximations of pi include:
- Integers: 3
- Fractions: Approximate fractions include (in order of increasing accuracy) Template:Sfrac, Template:Sfrac, Template:Sfrac, Template:Sfrac, Template:Sfrac, Template:Sfrac, and Template:Sfrac.[24] (List is selected terms from Template:OEIS2C and Template:OEIS2C.)
- Digits: The first 50 decimal digits are Template:GapsTemplate:Sfn (see Template:OEIS2C)
Digits in other number systems
- The first 48 binary (base 2) digits (called bits) are Template:Gaps (see Template:OEIS2C)
- The first 36 digits in ternary (base 3) are Template:Gaps (see Template:OEIS2C)
- The first 20 digits in hexadecimal (base 16) are Template:GapsTemplate:Sfn (see Template:OEIS2C)
- The first five sexagesimal (base 60) digits are 3;8,29,44,0,47[27] (see Template:OEIS2C)
Complex numbers and Euler's identity

Any complex number, say Template:Mvar, can be expressed using a pair of real numbers. In the polar coordinate system, one number (radius or Template:Mvar) is used to represent Template:Mvar's distance from the origin of the complex plane, and the other (angle or Template:Mvar) the counter-clockwise rotation from the positive real line:Template:Sfn where Template:Mvar is the imaginary unit satisfying . The frequent appearance of Template:Pi in complex analysis can be related to the behaviour of the exponential function of a complex variable, described by Euler's formula:[28] where [[E (mathematical constant)|the constant Template:Math]] is the base of the natural logarithm. This formula establishes a correspondence between imaginary powers of Template:Math and points on the unit circle centred at the origin of the complex plane. Setting in Euler's formula results in Euler's identity, celebrated in mathematics due to it containing five important mathematical constants:[28][29]
There are Template:Math different complex numbers Template:Mvar satisfying , and these are called the "Template:Math-th roots of unity"Template:Sfn and are given by the formula:
History
Template:Main Template:See also
Antiquity
The best-known approximations to Template:Pi dating 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.
The earliest written approximations of Template:Pi are found in Babylon and Egypt, both within one percent of the true value. In Babylon, a clay tablet dated 1900–1600 BC has a geometrical statement that, by implication, treats Template:Pi as Template:Sfrac = 3.125.Template:Sfn In Egypt, the Rhind Papyrus, dated around 1650 BC but copied from a document dated to 1850 BC, has a formula for the area of a circle that treats Template:Pi as .[25]Template:Sfn Although some pyramidologists have theorized that the Great Pyramid of Giza was built with proportions related to Template:Pi, this theory is not widely accepted by scholars.[30] In the Shulba Sutras of Indian mathematics, dating to an oral tradition from the first or second millennium BC, approximations are given which have been variously interpreted as approximately 3.08831, 3.08833, 3.004, 3, or 3.125.[31]
Polygon approximation era


The first recorded algorithm for rigorously calculating the value of Template:Pi was a geometrical approach using polygons, devised around 250 BC by the Greek mathematician Archimedes, implementing the method of exhaustion.Template:Sfn This polygonal algorithm dominated for over 1,000 years, and as a result Template:Pi is sometimes referred to as Archimedes's constant.Template:Sfn Archimedes computed upper and lower bounds of Template:Pi by drawing a regular hexagon inside and outside a circle, and successively doubling the number of sides until he reached a 96-sided regular polygon. By calculating the perimeters of these polygons, he proved that Template:Math (that is, Template:Math).[32] Archimedes' upper bound of Template:Math may have led to a widespread popular belief that Template:Pi is equal to Template:Math.Template:Sfn Around 150 AD, Greek-Roman scientist Ptolemy, in his Almagest, gave a value for Template:Pi of 3.1416, which he may have obtained from Archimedes or from Apollonius of Perga.Template:SfnTemplate:Sfn Mathematicians using polygonal algorithms reached 39 digits of Template:Pi in 1630, a record only broken in 1699 when infinite series were used to reach 71 digits.[33]
In ancient China, values for Template:Pi included 3.1547 (around 1 AD), (100 AD, approximately 3.1623), and Template:Math (3rd century, approximately 3.1556).Template:Sfn Around 265 AD, the Wei Kingdom mathematician Liu Hui created a polygon-based iterative algorithm and used it with a 3,072-sided polygon to obtain a value of Template:Pi of 3.1416.[34]Template:Sfn Liu later invented a faster method of calculating Template:Pi and obtained a value of 3.14 with a 96-sided polygon, by taking advantage of the fact that the differences in area of successive polygons form a geometric series with a factor of 4.[34] The Chinese mathematician Zu Chongzhi, around 480 AD, calculated that and suggested the approximations and , which he termed the Milü (''close ratio") and Yuelü ("approximate ratio"), respectively, using Liu Hui's algorithm applied to a 12,288-sided polygon. With a correct value for its seven first decimal digits, this value remained the most accurate approximation of Template:Pi available for the next 800 years.Template:Sfn
The Indian astronomer Aryabhata used a value of 3.1416 in his Āryabhaṭīya (499 AD).Template:Sfn Fibonacci in Template:Circa computed 3.1418 using a polygonal method, independent of Archimedes.Template:Sfn Italian author Dante apparently employed the value .Template:Sfn
The Persian astronomer Jamshīd al-Kāshī produced nine sexagesimal digits, roughly the equivalent of 16 decimal digits, in 1424, using a polygon with sides,[35][36] which stood as the world record for about 180 years.Template:Sfn French mathematician François Viète in 1579 achieved nine digits with a polygon of sides.Template:Sfn Flemish mathematician Adriaan van Roomen arrived at 15 decimal places in 1593.Template:Sfn In 1596, Dutch mathematician Ludolph van Ceulen reached 20 digits, a record he later increased to 35 digits (as a result, Template:Pi was called the "Ludolphian number" in Germany until the early 20th century).Template:Sfn Dutch scientist Willebrord Snellius reached 34 digits in 1621,Template:Sfn and Austrian astronomer Christoph Grienberger arrived at 38 digits in 1630 using 1040 sides.[37] Christiaan Huygens was able to arrive at 10 decimal places in 1654 using a slightly different method equivalent to Richardson extrapolation.[38][39]
Infinite series
Template:Comparison pi infinite series.svg The calculation of Template:Pi was revolutionized by the development of infinite series techniques in the 16th and 17th centuries. An infinite series is the sum of the terms of an infinite sequence. Infinite series allowed mathematicians to compute Template:Pi with much greater precision than Archimedes and others who used geometrical techniques.[40] Although infinite series were exploited for Template:Pi most notably by European mathematicians such as James Gregory and Gottfried Wilhelm Leibniz, the approach also appeared in the Kerala school sometime in the 14th or 15th century.[41]Template:Sfn Around 1500 AD, a written description of an infinite series that could be used to compute Template:Pi was laid out in Sanskrit verse in Tantrasamgraha by Nilakantha Somayaji.[41] The series are presented without proof, but proofs are presented in a later work, Yuktibhāṣā, from around 1530 AD. Several infinite series are described, including series for sine (which Nilakantha attributes to Madhava of Sangamagrama), cosine, and arctangent which are now sometimes referred to as Madhava series. The series for arctangent is sometimes called Gregory's series or the Gregory–Leibniz series.[41] Madhava used infinite series to estimate Template:Pi to 11 digits around 1400.[42]
In 1593, François Viète published what is now known as Viète's formula, an infinite product (rather than an infinite sum, which is more typically used in Template:Pi calculations):Template:Sfn[43][44]
In 1655, John Wallis published what is now known as Wallis product, also an infinite product:Template:Sfn

In the 1660s, the English scientist Isaac Newton and German mathematician Gottfried Wilhelm Leibniz discovered calculus, which led to the development of many infinite series for approximating Template:Pi. Newton himself used an arcsine series to compute a 15-digit approximation of Template:Pi in 1665 or 1666, writing, "I am ashamed to tell you to how many figures I carried these computations, having no other business at the time."[45]
In 1671, James Gregory, and independently, Leibniz in 1673, discovered the Taylor series expansion for arctangent:[41][46][47]
This series, sometimes called the Gregory–Leibniz series, equals when evaluated with .[47] But for , it converges impractically slowly (that is, approaches the answer very gradually), taking about ten times as many terms to calculate each additional digit.[48]
In 1699, English mathematician Abraham Sharp used the Gregory–Leibniz series for to compute Template:Pi to 71 digits, breaking the previous record of 39 digits, which was set with a polygonal algorithm.Template:Sfn
In 1706, John Machin used the Gregory–Leibniz series to produce an algorithm that converged much faster:[2][49]Template:Sfn
Machin reached 100 digits of Template:Pi with this formula.[50] Other mathematicians created variants, now known as Machin-like formulae, that were used to set several successive records for calculating digits of Template:Pi.[51][50]
Isaac Newton accelerated the convergence of the Gregory–Leibniz series in 1684 (in an unpublished work; others independently discovered the result):[52]
Leonhard Euler popularized this series in his 1755 differential calculus textbook, and later used it with Machin-like formulae, including with which he computed 20 digits of Template:Pi in one hour.[53]
Machin-like formulae remained the best-known method for calculating Template:Pi well into the age of computers, and were used to set records for 250 years, culminating in a 620-digit approximation in 1946 by Daniel Ferguson – the best approximation achieved without the aid of a calculating device.Template:Sfn
In 1844, a record was set by Zacharias Dase, who employed a Machin-like formula to calculate 200 decimals of Template:Pi in his head at the behest of German mathematician Carl Friedrich Gauss.[54]
In 1853, British mathematician William Shanks calculated Template:Pi to 607 digits, but made a mistake in the 528th digit, rendering all subsequent digits incorrect. Though he calculated an additional 100 digits in 1873, bringing the total up to 707, his previous mistake rendered all the new digits incorrect as well.[55]
Rate of convergence
Some infinite series for Template:Pi converge faster than others. Given the choice of two infinite series for Template:Pi, mathematicians will generally use the one that converges more rapidly because faster convergence reduces the amount of computation needed to calculate Template:Pi to any given accuracy.[56] A simple infinite series for Template:Pi is the Gregory–Leibniz series:Template:Sfn
As individual terms of this infinite series are added to the sum, the total gradually gets closer to Template:Pi, and – with a sufficient number of terms – can get as close to Template:Pi as desired. It converges quite slowly, though – after 500,000 terms, it produces only five correct decimal digits of Template:Pi.[57]
An infinite series for Template:Pi (published by Nilakantha in the 15th century) that converges more rapidly than the Gregory–Leibniz series is:Template:Sfn[58]
The following table compares the convergence rates of these two series:
| Infinite series for Template:Pi | After 1st term | After 2nd term | After 3rd term | After 4th term | After 5th term | Converges to: |
|---|---|---|---|---|---|---|
| 4.0000 | 2.6666 ... | 3.4666 ... | 2.8952 ... | 3.3396 ... | Template:Pi = 3.1415 ... | |
| 3.0000 | 3.1666 ... | 3.1333 ... | 3.1452 ... | 3.1396 ... |
After five terms, the sum of the Gregory–Leibniz series is within 0.2 of the correct value of Template:Pi, whereas the sum of Nilakantha's series is within 0.002 of the correct value. Nilakantha's series converges faster and is more useful for computing digits of Template:Pi. Series that converge even faster include Machin's series and Chudnovsky's series, the latter producing 14 correct decimal digits per term.[56]
Irrationality and transcendence
Template:See also Not all mathematical advances relating to Template:Pi were aimed at increasing the accuracy of approximations. When Euler solved the Basel problem in 1735, finding the exact value of the sum of the reciprocal squares, he established a connection between Template:Pi and the prime numbers that later contributed to the development and study of the Riemann zeta function:[59]
Swiss scientist Johann Heinrich Lambert in 1768 proved that Template:Pi is irrational, meaning it is not equal to the quotient of any two integers.Template:Sfn Lambert's proof exploited a continued-fraction representation of the tangent function.[60] French mathematician Adrien-Marie Legendre proved in 1794 that Template:Pi2 is also irrational. In 1882, German mathematician Ferdinand von Lindemann proved that Template:Pi is transcendental,[61] confirming a conjecture made by both Legendre and Euler.Template:Sfn[62] Hardy and Wright states that "the proofs were afterwards modified and simplified by Hilbert, Hurwitz, and other writers".[63]
Adoption of the symbol Template:Pi
The first recorded use of the symbol Template:Pi in circle geometry is in Oughtred's Clavis Mathematicae (1648),[64]Template:Sfn where the Greek letters Template:Pi and δ were combined into the fraction Template:Tmath for denoting the ratios semiperimeter to semidiameter and perimeter to diameter, that is, what is presently denoted as Template:Pi.[6][65][66][67] (Before then, mathematicians sometimes used letters such as c or p instead.Template:Sfn) Barrow likewise used the same notation,[68] while Gregory instead used to represent Template:Math.[69][66]
The earliest known use of the Greek letter Template:Pi alone to represent the ratio of a circle's circumference to its diameter was by Welsh mathematician William Jones in his 1706 work Template:Lang; or, a New Introduction to the Mathematics.[2]Template:Sfn The Greek letter appears on p. 243 in the phrase " Periphery (Template:Pi)", calculated for a circle with radius one. However, Jones writes that his equations for Template:Pi are from the "ready pen of the truly ingenious Mr. John Machin", leading to speculation that Machin may have employed the Greek letter before Jones.Template:Sfn Jones' notation was not immediately adopted by other mathematicians, with the fraction notation still being used as late as 1767.[65][70]
Euler started using the single-letter form beginning with his 1727 Essay Explaining the Properties of Air, though he used Template:Math, the ratio of periphery to radius, in this and some later writing.[71][72] Euler first used Template:Nowrap in his 1736 work Mechanica,[73] and continued in his widely read 1748 work Template:Lang (he wrote: "for the sake of brevity we will write this number as Template:Pi; thus Template:Pi is equal to half the circumference of a circle of radius Template:Math").[74] Because Euler corresponded heavily with other mathematicians in Europe, the use of the Greek letter spread rapidly, and the practice was universally adopted thereafter in the Western world,Template:Sfn though the definition still varied between Template:Math and Template:Math as late as 1761.[75]
Modern quest for more digits
Computer era and iterative algorithms
The development of computers in the mid-20th century again revolutionized the hunt for digits of Template:Pi. Mathematicians John Wrench and Levi Smith reached 1,120 digits in 1949 using a desk calculator.Template:Sfn Using an inverse tangent (arctan) infinite series, a team led by George Reitwiesner and John von Neumann that same year achieved 2,037 digits with a calculation that took 70 hours of computer time on the ENIAC computer.Template:Sfn[76] The record, always relying on an arctan series, was broken repeatedly (3089 digits in 1955,[77] 7,480 digits in 1957; 10,000 digits in 1958; 100,000 digits in 1961) until 1 million digits was reached in 1973.Template:Sfn
Two additional developments around 1980 once again accelerated the ability to compute Template:Pi. First, the discovery of new iterative algorithms for computing Template:Pi, which were much faster than the infinite series; and second, the invention of fast multiplication algorithms that could multiply large numbers very rapidly.Template:Sfn Such algorithms are particularly important in modern Template:Pi computations because most of the computer's time is devoted to multiplication.Template:Sfn They include the Karatsuba algorithm, Toom–Cook multiplication, and Fourier transform-based methods.Template:Sfn
The iterative algorithms were independently published in 1975–1976 by physicist Eugene Salamin and scientist Richard Brent.Template:Sfn These avoid reliance on infinite series. An iterative algorithm repeats a specific calculation, each iteration using the outputs from prior steps as its inputs, and produces a result in each step that converges to the desired value. The approach was actually invented over 160 years earlier by Carl Friedrich Gauss, in what is now termed the arithmetic–geometric mean method (AGM method) or Gauss–Legendre algorithm.Template:Sfn As modified by Salamin and Brent, it is also referred to as the Brent–Salamin algorithm.
The iterative algorithms were widely used after 1980 because they are faster than infinite series algorithms: whereas infinite series typically increase the number of correct digits additively in successive terms, iterative algorithms generally multiply the number of correct digits at each step. For example, the Brent–Salamin algorithm doubles the number of digits in each iteration. In 1984, brothers John and Peter Borwein produced an iterative algorithm that quadruples the number of digits in each step; and in 1987, one that increases the number of digits five times in each step.[78] Iterative methods were used by Japanese mathematician Yasumasa Kanada to set several records for computing Template:Pi between 1995 and 2002.[79] This rapid convergence comes at a price: the iterative algorithms require significantly more memory than infinite series.[79]
Motives for computing Template:Pi

For most numerical calculations involving Template:Pi, a handful of digits provide sufficient precision. According to Jörg Arndt and Christoph Haenel, thirty-nine digits are sufficient to perform most cosmological calculations, because that is the accuracy necessary to calculate the circumference of the observable universe with a precision of one atom. Accounting for additional digits needed to compensate for computational round-off errors, Arndt concludes that a few hundred digits would suffice for any scientific application. Despite this, people have worked strenuously to compute Template:Pi to thousands and millions of digits.[80] This effort may be partly ascribed to the human compulsion to break records, and such achievements with Template:Pi often make headlines around the world.[81][82] They also have practical benefits, such as testing supercomputers, testing numerical analysis algorithms (including high-precision multiplication algorithms); and within pure mathematics itself, providing data for evaluating the randomness of the digits of Template:Pi.Template:Sfn
Rapidly convergent series

Modern Template:Pi calculators do not use iterative algorithms exclusively. New infinite series were discovered in the 1980s and 1990s that are as fast as iterative algorithms, yet are simpler and less memory intensive.[79] The fast iterative algorithms were anticipated in 1914, when Indian mathematician Srinivasa Ramanujan published dozens of innovative new formulae for Template:Pi, remarkable for their elegance, mathematical depth and rapid convergence.[83] One of his formulae, based on modular equations, is
This series converges much more rapidly than most arctan series, including Machin's formula.[84] Bill Gosper was the first to use it for advances in the calculation of Template:Pi, setting a record of 17 million digits in 1985.[85] Ramanujan's formulae anticipated the modern algorithms developed by the Borwein brothers (Jonathan and Peter) and the Chudnovsky brothers.[86] The Chudnovsky formula developed in 1987 is
It produces about 14 digits of Template:Pi per term[87] and has been used for several record-setting Template:Pi calculations, including the first to surpass 1 billion (109) digits in 1989 by the Chudnovsky brothers, 10 trillion (1013) digits in 2011 by Alexander Yee and Shigeru Kondo,[88] and 100 trillion digits by Emma Haruka Iwao in 2022.[89] For similar formulae, see also the Ramanujan–Sato series.
In 2006, mathematician Simon Plouffe used the PSLQ integer relation algorithm[90] to generate several new formulae for Template:Pi, conforming to the following template: where Template:Math is Template:Math (Gelfond's constant), Template:Math is an odd number, and Template:Math are certain rational numbers that Plouffe computed.[91]
Monte Carlo methods
Template:Multiple image Monte Carlo methods, which evaluate the results of multiple random trials, can be used to create approximations of Template:Pi.[92] Buffon's needle is one such technique: If a needle of length Template:Math is dropped Template:Math times on a surface on which parallel lines are drawn Template:Math units apart, and if Template:Math of those times it comes to rest crossing a line (Template:Math > 0), then one may approximate Template:Pi based on the counts:[93]
Another Monte Carlo method for computing Template:Pi is to draw a circle inscribed in a square, and randomly place dots in the square. The ratio of dots inside the circle to the total number of dots will approximately equal Template:Math.[94]

Another way to calculate Template:Pi using probability is to start with a random walk, generated by a sequence of (fair) coin tosses: independent random variables Template:Math such that Template:Math with equal probabilities. The associated random walk is so that, for each Template:Mvar, Template:Math is drawn from a shifted and scaled binomial distribution. As Template:Mvar varies, Template:Math defines a (discrete) stochastic process. Then Template:Pi can be calculated by[95]
This Monte Carlo method is independent of any relation to circles, and is a consequence of the central limit theorem, discussed below.
These Monte Carlo methods for approximating Template:Pi are very slow compared to other methods, and do not provide any information on the exact number of digits that are obtained. Thus they are never used to approximate Template:Pi when speed or accuracy is desired.[96]
Spigot algorithms
Two algorithms were discovered in 1995 that opened up new avenues of research into Template:Pi. They are called spigot algorithms because, like water dripping from a spigot, they produce single digits of Template:Pi that are not reused after they are calculated.Template:Sfn[97] This is in contrast to infinite series or iterative algorithms, which retain and use all intermediate digits until the final result is produced.Template:Sfn
Mathematicians Stan Wagon and Stanley Rabinowitz produced a simple spigot algorithm in 1995.[97]Template:Sfn[98] Its speed is comparable to arctan algorithms, but not as fast as iterative algorithms.Template:Sfn
Another spigot algorithm, the BBP digit extraction algorithm, was discovered in 1995 by Simon Plouffe:Template:Sfn[99]
This formula, unlike others before it, can produce any individual hexadecimal digit of Template:Pi without calculating all the preceding digits.Template:Sfn Individual binary digits may be extracted from individual hexadecimal digits, and octal digits can be extracted from one or two hexadecimal digits. An important application of digit extraction algorithms is to validate new claims of record Template:Pi computations: After a new record is claimed, the decimal result is converted to hexadecimal, and then a digit extraction algorithm is used to calculate several randomly selected hexadecimal digits near the end; if they match, this provides a measure of confidence that the entire computation is correct.[88]
Between 1998 and 2000, the distributed computing project PiHex used Bellard's formula (a modification of the BBP algorithm) to compute the quadrillionth (1015th) bit of Template:Pi, which turned out to be 0.[100] In September 2010, a Yahoo! employee used the company's Hadoop application on one thousand computers over a 23-day period to compute 256 bits of Template:Pi at the two-quadrillionth (2×1015th) bit, which also happens to be zero.[101]
In 2022, Plouffe found a base-10 algorithm for calculating digits of Template:Pi.[102]
Role and characterizations in mathematics
Because Template:Pi is closely related to the circle, it is found in many formulae from the fields of geometry and trigonometry, particularly those concerning circles, spheres, or ellipses. Other branches of science, such as statistics, physics, Fourier analysis, and number theory, also include Template:Pi in some of their important formulae.
Geometry and trigonometry

[103]Template:Pi appears in formulae for areas and volumes of geometrical shapes based on circles, such as ellipses, spheres, cones, and tori. Below are some of the more common formulae that involve Template:Pi.[104]
- The circumference of a circle with radius Template:Math is Template:Math.[105]
- The area of a circle with radius Template:Math is Template:Math.
- The area of an ellipse with semi-major axis Template:Math and semi-minor axis Template:Math is Template:Math.[106]
- The volume of a sphere with radius Template:Math is Template:Math.
- The surface area of a sphere with radius Template:Math is Template:Math.
Some of the formulae above are special cases of the volume of the n-dimensional ball and the surface area of its boundary, the (n−1)-dimensional sphere, given below.
Apart from circles, there are other curves of constant width. By Barbier's theorem, every curve of constant width has perimeter Template:Pi times its width. The Reuleaux triangle (formed by the intersection of three circles with the sides of an equilateral triangle as their radii) has the smallest possible area for its width and the circle the largest. There also exist non-circular smooth and even algebraic curves of constant width.[107]
Definite integrals that describe circumference, area, or volume of shapes generated by circles typically have values that involve Template:Pi. For example, an integral that specifies half the area of a circle of radius one is given by:[108]
In that integral, the function represents the height over the -axis of a semicircle (the square root is a consequence of the Pythagorean theorem), and the integral computes the area below the semicircle.
The existence of such integrals makes Template:Pi an algebraic period.[109]
Units of angle

The trigonometric functions rely on angles, and mathematicians generally use radians as units of measurement. Template:Pi plays an important role in angles measured in radians, which are defined so that a complete circle spans an angle of 2Template:Pi radians. The angle measure of 180° is equal to Template:Pi radians, and Template:Nowrap.Template:Sfn
Common trigonometric functions have periods that are multiples of Template:Pi; for example, sine and cosine have period 2Template:Pi,[110] so for any angle Template:Math and any integer Template:Math,[110]
Eigenvalues

Many of the appearances of Template:Pi in the formulae of mathematics and the sciences have to do with its close relationship with geometry. However, Template:Pi also appears in many natural situations having apparently nothing to do with geometry.
In many applications, it plays a distinguished role as an eigenvalue. For example, an idealized vibrating string can be modelled as the graph of a function Template:Math on the unit interval Template:Closed-closed, with fixed ends Template:Math. The modes of vibration of the string are solutions of the differential equation , or . Thus Template:Math is an eigenvalue of the second derivative operator , and is constrained by Sturm–Liouville theory to take on only certain specific values. It must be positive, since the operator is negative definite, so it is convenient to write Template:Math, where Template:Math is called the wavenumber. Then Template:Math satisfies the boundary conditions and the differential equation with Template:Math.[111]
The value Template:Pi is, in fact, the least such value of the wavenumber, and is associated with the fundamental mode of vibration of the string. One way to show this is by estimating the energy, which satisfies Wirtinger's inequality:Template:Sfn for a function with Template:Math and Template:Math, Template:Math both square integrable, we have: with equality precisely when Template:Math is a multiple of Template:Math. Here Template:Pi appears as an optimal constant in Wirtinger's inequality, and it follows that it is the smallest wavenumber, using the variational characterization of the eigenvalue. As a consequence, Template:Pi is the smallest singular value of the derivative operator on the space of functions on Template:Closed-closed vanishing at both endpoints (the Sobolev space ).
Inequalities

The number Template:Pi serves appears in similar eigenvalue problems in higher-dimensional analysis. As mentioned above, it can be characterized via its role as the best constant in the isoperimetric inequality: the area Template:Mvar enclosed by a plane Jordan curve of perimeter Template:Mvar satisfies the inequality and equality is clearly achieved for the circle, since in that case Template:Math and Template:Math.[113]
Ultimately, as a consequence of the isoperimetric inequality, Template:Pi appears in the optimal constant for the critical Sobolev inequality in n dimensions, which thus characterizes the role of Template:Pi in many physical phenomena as well, for example those of classical potential theory.[114][115][116] In two dimensions, the critical Sobolev inequality is for f a smooth function with compact support in Template:Math, is the gradient of f, and and refer respectively to the [[Lp space|Template:Math and Template:Math-norm]]. The Sobolev inequality is equivalent to the isoperimetric inequality (in any dimension), with the same best constants.
Wirtinger's inequality also generalizes to higher-dimensional Poincaré inequalities that provide best constants for the Dirichlet energy of an n-dimensional membrane. Specifically, Template:Pi is the greatest constant such that for all convex subsets Template:Math of Template:Math of diameter 1, and square-integrable functions u on Template:Math of mean zero.[117] Just as Wirtinger's inequality is the variational form of the Dirichlet eigenvalue problem in one dimension, the Poincaré inequality is the variational form of the Neumann eigenvalue problem, in any dimension.
Fourier transform and Heisenberg uncertainty principle

The constant Template:Pi also appears as a critical spectral parameter in the Fourier transform. This is the integral transform, that takes a complex-valued integrable function Template:Math on the real line to the function defined as:
Although there are several different conventions for the Fourier transform and its inverse, any such convention must involve Template:Pi somewhere. The above is the most canonical definition, however, giving the unique unitary operator on Template:Math that is also an algebra homomorphism of Template:Math to Template:Math.[118]
The Heisenberg uncertainty principle also contains the number Template:Pi. The uncertainty principle gives a sharp lower bound on the extent to which it is possible to localize a function both in space and in frequency: with our conventions for the Fourier transform,
The physical consequence, about the uncertainty in simultaneous position and momentum observations of a quantum mechanical system, is discussed below. The appearance of Template:Pi in the formulae of Fourier analysis is ultimately a consequence of the Stone–von Neumann theorem, asserting the uniqueness of the Schrödinger representation of the Heisenberg group.[119]
Gaussian integrals

The fields of probability and statistics frequently use the normal distribution as a simple model for complex phenomena; for example, scientists generally assume that the observational error in most experiments follows a normal distribution.[120] The Gaussian function, which is the probability density function of the normal distribution with mean Template:Math and standard deviation Template:Math, naturally contains Template:Pi:[121]
The factor of makes the area under the graph of Template:Math equal to one, as is required for a probability distribution. This follows from a change of variables in the Gaussian integral:[121] which says that the area under the basic bell curve in the figure is equal to the square root of Template:Pi.
The central limit theorem explains the central role of normal distributions, and thus of Template:Pi, in probability and statistics. This theorem is ultimately connected with the spectral characterization of Template:Pi as the eigenvalue associated with the Heisenberg uncertainty principle, and the fact that equality holds in the uncertainty principle only for the Gaussian function.Template:Sfn Equivalently, Template:Pi is the unique constant making the Gaussian normal distribution Template:Math equal to its own Fourier transform.[122] Indeed, according to Template:Harvtxt, the "whole business" of establishing the fundamental theorems of Fourier analysis reduces to the Gaussian integral.[119]
Topology

The constant Template:Pi appears in the Gauss–Bonnet formula which relates the differential geometry of surfaces to their topology. Specifically, if a compact surface Template:Math has Gauss curvature K, then where Template:Math is the Euler characteristic, which is an integer.[123] An example is the surface area of a sphere S of curvature 1 (so that its radius of curvature, which coincides with its radius, is also 1.) The Euler characteristic of a sphere can be computed from its homology groups and is found to be equal to two. Thus we have reproducing the formula for the surface area of a sphere of radius 1.
The constant appears in many other integral formulae in topology, in particular, those involving characteristic classes via the Chern–Weil homomorphism.[124]
Cauchy's integral formula

One of the key tools in complex analysis is contour integration of a function over a positively oriented (rectifiable) Jordan curve Template:Math. A form of Cauchy's integral formula states that if a point Template:Math is interior to Template:Math, then[125]
Although the curve Template:Math is not a circle, and hence does not have any obvious connection to the constant Template:Pi, a standard proof of this result uses Morera's theorem, which implies that the integral is invariant under homotopy of the curve, so that it can be deformed to a circle and then integrated explicitly in polar coordinates. More generally, it is true that if a rectifiable closed curve Template:Math does not contain Template:Math, then the above integral is Template:Math times the winding number of the curve.
The general form of Cauchy's integral formula establishes the relationship between the values of a complex analytic function Template:Math on the Jordan curve Template:Math and the value of Template:Math at any interior point Template:Math of Template:Math:[126] provided Template:Math is analytic in the region enclosed by Template:Math and extends continuously to Template:Math. Cauchy's integral formula is a special case of the residue theorem, that if Template:Math is a meromorphic function the region enclosed by Template:Math and is continuous in a neighbourhood of Template:Math, then where the sum is of the residues at the poles of Template:Math.
Vector calculus and physics
The constant Template:Pi is ubiquitous in vector calculus and potential theory, for example in Coulomb's law,[127] Gauss's law, Maxwell's equations, and even the Einstein field equations.[128][129] Perhaps the simplest example of this is the two-dimensional Newtonian potential, representing the potential of a point source at the origin, whose associated field has unit outward flux through any smooth and oriented closed surface enclosing the source: The factor of is necessary to ensure that is the fundamental solution of the Poisson equation in :[130] where is the Dirac delta function.
In higher dimensions, factors of Template:Pi are present because of a normalization by the n-dimensional volume of the unit n sphere. For example, in three dimensions, the Newtonian potential is:[130] which has the 2-dimensional volume (i.e., the area) of the unit 2-sphere in the denominator.
Total curvature
The gamma function and Stirling's approximation

The factorial function is the product of all of the positive integers through Template:Math. The gamma function extends the concept of factorial (normally defined only for non-negative integers) to all complex numbers, except the negative real integers, with the identity . When the gamma function is evaluated at half-integers, the result contains Template:Pi. For example, and .[131]
The gamma function is defined by its Weierstrass product development:[132] where Template:Math is the Euler–Mascheroni constant. Evaluated at Template:Math and squared, the equation Template:Math reduces to the Wallis product formula. The gamma function is also connected to the Riemann zeta function and identities for the functional determinant, in which the constant Template:Pi plays an important role.
The gamma function is used to calculate the volume Template:Math of the n-dimensional ball of radius r in Euclidean n-dimensional space, and the surface area Template:Math of its boundary, the (n−1)-dimensional sphere:[133]
Further, it follows from the functional equation that
The gamma function can be used to create a simple approximation to the factorial function Template:Math for large Template:Math: which is known as Stirling's approximation.[134] Equivalently,
As a geometrical application of Stirling's approximation, let Template:Math denote the standard simplex in n-dimensional Euclidean space, and Template:Math denote the simplex having all of its sides scaled up by a factor of Template:Math. Then
Ehrhart's volume conjecture is that this is the (optimal) upper bound on the volume of a convex body containing only one lattice point.[135]
Number theory and Riemann zeta function


The Riemann zeta function Template:Math is used in many areas of mathematics. When evaluated at Template:Math it can be written as
Finding a simple solution for this infinite series was a famous problem in mathematics called the Basel problem. Leonhard Euler solved it in 1735 when he showed it was equal to Template:Math.[59] Euler's result leads to the number theory result that the probability of two random numbers being relatively prime (that is, having no shared factors) is equal to Template:Math.[136][137] This probability is based on the observation that the probability that any number is divisible by a prime Template:Math is Template:Math (for example, every 7th integer is divisible by 7.) Hence the probability that two numbers are both divisible by this prime is Template:Math, and the probability that at least one of them is not is Template:Math. For distinct primes, these divisibility events are mutually independent; so the probability that two numbers are relatively prime is given by a product over all primes:[138]
This probability can be used in conjunction with a random number generator to approximate Template:Pi using a Monte Carlo approach.[139]
The solution to the Basel problem implies that the geometrically derived quantity Template:Pi is connected in a deep way to the distribution of prime numbers. This is a special case of Weil's conjecture on Tamagawa numbers, which asserts the equality of similar such infinite products of arithmetic quantities, localized at each prime p, and a geometrical quantity: the reciprocal of the volume of a certain locally symmetric space. In the case of the Basel problem, it is the hyperbolic 3-manifold Template:Math.[140]
The zeta function also satisfies Riemann's functional equation, which involves Template:Pi as well as the gamma function:
Furthermore, the derivative of the zeta function satisfies
A consequence is that Template:Pi can be obtained from the functional determinant of the harmonic oscillator. This functional determinant can be computed via a product expansion, and is equivalent to the Wallis product formula.[141] The calculation can be recast in quantum mechanics, specifically the variational approach to the spectrum of the hydrogen atom.[142]
Fourier series

The constant Template:Pi also appears naturally in Fourier series of periodic functions. Periodic functions are functions on the group Template:Math of fractional parts of real numbers. The Fourier decomposition shows that a complex-valued function Template:Math on Template:Math can be written as an infinite linear superposition of unitary characters of Template:Math. That is, continuous group homomorphisms from Template:Math to the circle group Template:Math of unit modulus complex numbers. It is a theorem that every character of Template:Math is one of the complex exponentials .
There is a unique character on Template:Math, up to complex conjugation, that is a group isomorphism. Using the Haar measure on the circle group, the constant Template:Pi is half the magnitude of the Radon–Nikodym derivative of this character. The other characters have derivatives whose magnitudes are positive integral multiples of 2Template:Pi.[15] As a result, the constant Template:Pi is the unique number such that the group T, equipped with its Haar measure, is Pontrjagin dual to the lattice of integral multiples of 2Template:Pi.Template:Sfn This is a version of the one-dimensional Poisson summation formula.
Modular forms and theta functions
The constant Template:Pi is connected in a deep way with the theory of modular forms and theta functions. For example, the Chudnovsky algorithm involves in an essential way the j-invariant of an elliptic curve.
Modular forms are holomorphic functions in the upper half plane characterized by their transformation properties under the modular group (or its various subgroups), a lattice in the group . An example is the Jacobi theta function which is a kind of modular form called a Jacobi form.[144] This is sometimes written in terms of the nome .
The constant Template:Pi is the unique constant making the Jacobi theta function an automorphic form, which means that it transforms in a specific way. Certain identities hold for all automorphic forms. An example is which implies that Template:Math transforms as a representation under the discrete Heisenberg group. General modular forms and other theta functions also involve Template:Pi, once again because of the Stone–von Neumann theorem.[144]
Cauchy distribution and potential theory


The Cauchy distribution is a probability density function. The total probability is equal to one, owing to the integral:
The Shannon entropy of the Cauchy distribution is equal to Template:Math, which also involves Template:Pi.
The Cauchy distribution plays an important role in potential theory because it is the simplest Furstenberg measure, the classical Poisson kernel associated with a Brownian motion in a half-plane.[145] Conjugate harmonic functions and so also the Hilbert transform are associated with the asymptotics of the Poisson kernel. The Hilbert transform H is the integral transform given by the Cauchy principal value of the singular integral
The constant Template:Pi is the unique (positive) normalizing factor such that H defines a linear complex structure on the Hilbert space of square-integrable real-valued functions on the real line.[146] The Hilbert transform, like the Fourier transform, can be characterized purely in terms of its transformation properties on the Hilbert space Template:Math: up to a normalization factor, it is the unique bounded linear operator that commutes with positive dilations and anti-commutes with all reflections of the real line.[147] The constant Template:Pi is the unique normalizing factor that makes this transformation unitary.
In the Mandelbrot set

An occurrence of Template:Pi in the fractal called the Mandelbrot set was discovered by David Boll in 1991.[148] He examined the behaviour of the Mandelbrot set near the "neck" at Template:Math. When the number of iterations until divergence for the point Template:Math is multiplied by Template:Mvar, the result approaches Template:Pi as Template:Mvar approaches zero. The point Template:Math at the cusp of the large "valley" on the right side of the Mandelbrot set behaves similarly: the number of iterations until divergence multiplied by the square root of Template:Mvar tends to Template:Pi.[148][149]
Projective geometry
Let Template:Math be the set of all twice differentiable real functions that satisfy the ordinary differential equation . Then Template:Math is a two-dimensional real vector space, with two parameters corresponding to a pair of initial conditions for the differential equation. For any , let be the evaluation functional, which associates to each the value of the function Template:Math at the real point Template:Math. Then, for each t, the kernel of is a one-dimensional linear subspace of Template:Math. Hence defines a function from from the real line to the real projective line. This function is periodic, and the quantity Template:Pi can be characterized as the period of this map.[150] This is notable in that the constant Template:Pi, rather than 2Template:Pi, appears naturally in this context.
Outside mathematics
Describing physical phenomena
Although not a physical constant, Template:Pi appears routinely in equations describing fundamental principles of the universe, often because of Template:Pi's relationship to the circle and to spherical coordinate systems. A simple formula from the field of classical mechanics gives the approximate period Template:Math of a simple pendulum of length Template:Math, swinging with a small amplitude (Template:Math is the earth's gravitational acceleration):[151]
One of the key formulae of quantum mechanics is Heisenberg's uncertainty principle, which shows that the uncertainty in the measurement of a particle's position (ΔTemplate:Math) and momentum (ΔTemplate:Math) cannot both be arbitrarily small at the same time (where Template:Math is the Planck constant):[152]
The fact that Template:Pi is approximately equal to 3 plays a role in the relatively long lifetime of orthopositronium. The inverse lifetime to lowest order in the fine-structure constant Template:Math is[153] where Template:Math is the mass of the electron.
Template:Pi is present in some structural engineering formulae, such as the buckling formula derived by Euler, which gives the maximum axial load Template:Math that a long, slender column of length Template:Math, modulus of elasticity Template:Math, and area moment of inertia Template:Math can carry without buckling:[154]
The field of fluid dynamics contains Template:Pi in Stokes' law, which approximates the frictional force Template:Math exerted on small, spherical objects of radius Template:Math, moving with velocity Template:Math in a fluid with dynamic viscosity Template:Math:[155]
In electromagnetics, the vacuum permeability constant μ0 appears in Maxwell's equations, which describe the properties of electric and magnetic fields and electromagnetic radiation. Before 20 May 2019, it was defined as exactly
Memorizing digits
Template:Main Piphilology is the practice of memorizing large numbers of digits of Template:Pi,[156] and world-records are kept by the Guinness World Records. The record for memorizing digits of Template:Pi, certified by Guinness World Records, is 70,000 digits, recited in India by Rajveer Meena in 9 hours and 27 minutes on 21 March 2015.[157] In 2006, Akira Haraguchi, a retired Japanese engineer, claimed to have recited 100,000 decimal places, but the claim was not verified by Guinness World Records.[158]
One common technique is to memorize a story or poem in which the word lengths represent the digits of Template:Pi: The first word has three letters, the second word has one, the third has four, the fourth has one, the fifth has five, and so on. Such memorization aids are called mnemonics. An early example of a mnemonic for pi, originally devised by English scientist James Jeans, is "How I want a drink, alcoholic of course, after the heavy lectures involving quantum mechanics."[156] When a poem is used, it is sometimes referred to as a piem.[159] Poems for memorizing Template:Pi have been composed in several languages in addition to English.[156] Record-setting Template:Pi memorizers typically do not rely on poems, but instead use methods such as remembering number patterns and the method of loci.[160]
A few authors have used the digits of Template:Pi to establish a new form of constrained writing, where the word lengths are required to represent the digits of Template:Pi. The Cadaeic Cadenza contains the first 3835 digits of Template:Pi in this manner,[161] and the full-length book Not a Wake contains 10,000 words, each representing one digit of Template:Pi.[162]
In popular culture

Perhaps because of the simplicity of its definition and its ubiquitous presence in formulae, Template:Pi has been represented in popular culture more than other mathematical constructs.[163]
In the Palais de la Découverte (a science museum in Paris) there is a circular room known as the pi room. On its wall are inscribed 707 digits of Template:Pi. The digits are large wooden characters attached to the dome-like ceiling. The digits were based on an 1873 calculation by English mathematician William Shanks, which included an error beginning at the 528th digit. The error was detected in 1946 and corrected in 1949.[164]
In Carl Sagan's 1985 novel Contact it is suggested that the creator of the universe buried a message deep within the digits of Template:Pi. This part of the story was omitted from the film adaptation of the novel.[165][166] The digits of Template:Pi have also been incorporated into the lyrics of the song "Pi" from the 2005 album Aerial by Kate Bush.[167] In the 1967 Star Trek episode "Wolf in the Fold", an out-of-control computer is contained by being instructed to "Compute to the last digit the value of Template:Pi".[32]
In the United States, Pi Day falls on 14 March (written 3/14 in the US style), and is popular among students.[32] Template:Pi and its digital representation are often used by self-described "math geeks" for inside jokes among mathematically and technologically minded groups. A college cheer variously attributed to the Massachusetts Institute of Technology or the Rensselaer Polytechnic Institute includes "3.14159".[168][169] Pi Day in 2015 was particularly significant because the date and time 3/14/15 9:26:53 reflected many more digits of pi.[170][171] In parts of the world where dates are commonly noted in day/month/year format, 22 July represents "Pi Approximation Day", as 22/7 = 3.142857.[172]
Template:Anchor Some have proposed replacing Template:Pi by [[Tau (mathematical constant)|Template:Math]],[173] arguing that Template:Mvar, as the number of radians in one turn or the ratio of a circle's circumference to its radius, is more natural than Template:Pi and simplifies many formulae.[174][175] This use of Template:Math has not made its way into mainstream mathematics,[176] but since 2010 this has led to people celebrating Two Pi Day or Tau Day on June 28.[177]
In 1897, an amateur mathematician attempted to persuade the Indiana legislature to pass the Indiana Pi Bill, which described a method to square the circle and contained text that implied various incorrect values for Template:Pi, including 3.2. The bill is notorious as an attempt to establish a value of mathematical constant by legislative fiat. The bill was passed by the Indiana House of Representatives, but rejected by the Senate, and thus it did not become a law.[178]
In contemporary internet culture, individuals and organizations frequently pay homage to the number Template:Pi. For instance, the computer scientist Donald Knuth let the version numbers of his program TeX approach Template:Pi. The versions are 3, 3.1, 3.14, and so forth.[179]
See also
- [[Approximations of π|Approximations of Template:Pi]]
- [[Chronology of computation of π|Chronology of computation of Template:Pi]]
- List of mathematical constants
References
Explanatory notes
Citations
General and cited sources
- Template:Cite book
- Template:Cite book
- Template:Cite book English translation by Catriona and David Lischka.
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Wikicite
- Template:Cite book
- Template:Cite book
Further reading
External links
- Template:Mathworld
- Demonstration by Lambert (1761) of irrationality of Template:Pi, online Template:Webarchive and analysed BibNum Template:Webarchive (PDF).
- Template:Pi Search Engine 2 billion searchable digits of Template:Pi, Template:Mvar and Template:Radic
- approximation von π by lattice points and approximation of π with rectangles and trapezoids (interactive illustrations)
Template:Irrational number Template:Authority control
- ↑ Template:Cite journal
- ↑ 2.0 2.1 2.2 Template:Cite book
Reprinted in Template:Cite book
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite journal
- ↑ 6.0 6.1 Template:Cite book
- ↑ Template:Cite web
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ 11.0 11.1 Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ 15.0 15.1 Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Cite book
- ↑ Template:Cite book, p. 185.
- ↑ Template:Cite book
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ 24.0 24.1 Template:Harvnb
- ↑ 25.0 25.1 Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite journal Ptolemy used a three-sexagesimal-digit approximation, and Jamshīd al-Kāshī expanded this to nine digits; see Template:Cite book
- ↑ 28.0 28.1 Template:Harvnb
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ 32.0 32.1 32.2 Template:Cite book
- ↑ Template:Harvnb. Grienberger achieved 39 digits in 1630; Sharp 71 digits in 1699.
- ↑ 34.0 34.1 Template:Harvnb
- ↑ Template:Cite journal
- ↑ Template:Cite web
- ↑ Template:Cite book His evaluation was 3.14159 26535 89793 23846 26433 83279 50288 4196 < Template:Pi < 3.14159 26535 89793 23846 26433 83279 50288 4199.
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Harvnb
- ↑ 41.0 41.1 41.2 41.3 Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:OEIS2C
- ↑ Template:Cite book
- ↑ 45.0 45.1 Template:Harvnb. Newton quoted by Arndt.
- ↑ Template:Cite journal
- ↑ 47.0 47.1 Template:Harvnb
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ 50.0 50.1 Template:Harvnb
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite web Reprinted in Template:Cite book
- ↑ Template:Harvnb
- ↑ Template:Cite magazine
- ↑ 56.0 56.1 Template:Cite journalTemplate:BrTemplate:Harvnb
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ 59.0 59.1 Template:Harvnb
- ↑ Lambert, Johann, "Mémoire sur quelques propriétés remarquables des quantités transcendantes circulaires et logarithmiques", reprinted in Template:Harvnb
- ↑ Template:Cite journal
- ↑ Hardy and Wright 1938 and 2000: 177 footnote § 11.13–14 references Lindemann's proof as appearing at Math. Ann. 20 (1882), 213–225.
- ↑ cf Hardy and Wright 1938 and 2000:177 footnote § 11.13–14. The proofs that e and π are transcendental can be found on pp. 170–176. They cite two sources of the proofs at Landau 1927 or Perron 1910; see the "List of Books" at pp. 417–419 for full citations.
- ↑ Template:Cite book (English translation: Template:Cite book)
- ↑ 65.0 65.1 Template:Cite book
- ↑ 66.0 66.1 Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite journal English translation by Ian Bruce Template:Webarchive: "Template:Mvar is taken for the ratio of the radius to the periphery [note that in this work, Euler's Template:Pi is double our Template:Pi.]"
- ↑ Template:Cite book English translation in Template:Cite journal
- ↑ Template:Cite book English translation by Ian Bruce Template:Webarchive : "Let Template:Math denote the ratio of the diameter to the circumference"
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Harvnb. For details of algorithms, see Template:Cite book
- ↑ 79.0 79.1 79.2 Template:Cite web
- ↑ Template:Harvnb
- ↑ Template:Cite news
- ↑ Template:Cite news
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Harvnb
- ↑ 88.0 88.1 Template:Cite book
- ↑ Template:Cite magazine
- ↑ PSLQ means Partial Sum of Least Squares.
- ↑ Template:Cite web
- ↑ Template:Harvnb
- ↑ Template:Cite journal
- ↑ Template:HarvnbTemplate:BrTemplate:Harvnb
- ↑ Template:Cite journal
- ↑ Template:HarvnbTemplate:BrTemplate:Harvnb
- ↑ 97.0 97.1 Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:HarvnbTemplate:BrBellards formula in: Template:Cite web
- ↑ Template:Cite news
- ↑ Template:Cite arXiv
- ↑ Template:Cite web
- ↑ Template:Harvnb
- ↑ Template:Cite web
- ↑ Template:Cite web
- ↑ Template:Cite bookTemplate:Pb See Barbier's theorem, Corollary 5.1.1, p. 98; Reuleaux triangles, pp. 3, 10; smooth curves such as an analytic curve due to Rabinowitz, § 5.3.3, pp. 111–112.
- ↑ Template:Cite book
- ↑ Template:Citation
- ↑ 110.0 110.1 Template:Harvnb
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite arXiv
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ 119.0 119.1 Template:Cite journal
- ↑ Feller, W. An Introduction to Probability Theory and Its Applications, Vol. 1, Wiley, 1968, pp. 174–190.
- ↑ 121.0 121.1 Template:Harvnb
- ↑ Template:Cite book; Theorem 1.13.
- ↑ Template:Cite book; Chapter 6.
- ↑ Template:Cite book; Chapter XII Characteristic classes
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ 130.0 130.1 Template:Citation
- ↑ Template:Harvnb
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Harvnb
- ↑ Template:Cite journal
- ↑ Template:Harvnb
- ↑ This theorem was proved by Ernesto Cesàro in 1881. For a more rigorous proof than the intuitive and informal one given here, see Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Harvnb
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite conference
- ↑ 144.0 144.1 Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book; Chapter II.
- ↑ 148.0 148.1 Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ 156.0 156.1 156.2 Template:Harvnb
- ↑ "Most Pi Places Memorized" Template:Webarchive, Guinness World Records.
- ↑ Template:Cite news
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite web
- ↑ Template:Cite book
- ↑ For instance, Pickover calls π "the most famous mathematical constant of all time", and Peterson writes, "Of all known mathematical constants, however, pi continues to attract the most attention", citing the Givenchy π perfume, Pi (film), and Pi Day as examples. See: Template:Cite book Template:Cite book
- ↑ Template:HarvnbTemplate:BrTemplate:Harvnb
- ↑ Template:Harvnb
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite news
- ↑ Template:Cite journal
- ↑ Template:Cite news
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite web
- ↑ Template:HarvnbTemplate:BrTemplate:HarvnbTemplate:BrTemplate:Cite journal
- ↑ Template:Cite journal