The name of the Greek letter π is

Alternatively π can be defined as the ratio of a circle's area

Because π is an irrational number, its decimal representation does not repeat, and therefore does not terminate. This sequence of non-repeating digits has fascinated mathematicians and laymen alike, and much effort over the last few centuries has been put into computing ever more of these digits and investigating π's properties.

The earliest numerical approximation of π is almost certainly the value 3.

π can be empirically estimated by drawing a large circle, then measuring its diameter and circumference and dividing the circumference by the diameter. Another geometry-based approach, attributed to Archimedes,

Most formulae used for calculating the value of π have desirable mathematical properties, but are difficult to understand without a background in trigonometry and calculus. However, some are quite simple, such as this form of the Gregory-Leibniz series:

For many purposes, 3.14 or 22/7 is close enough, although engineers often use 3.1416 (5 significant figures) or 3.14159 (6 significant figures) for more precision. The approximations 22/7 and 355/113, with 3 and 7 significant figures respectively, are obtained from the simple continued fraction expansion of π. The approximation 355/113 (3.1415929...) is the best one that may be expressed with a three-digit or four-digit numerator and denominator; the next good approximation 52163/16604 (3.141592387...) requires much bigger numbers, due to the large number 292 in the continued fraction expansion of π.

Archimedes (287–212 BC) was the first to estimate π rigorously. He realized that its magnitude can be bounded from below and above by inscribing circles in regular polygons and calculating the outer and inner polygons' respective perimeters:

Ptolemy, in his Almagest, gives a value of 3.1416, which he may have obtained from Apollonius of Perga.

Around AD 265, the Wei Kingdom mathematician Liu Hui provided a simple and rigorous iterative algorithm to calculate π to any degree of accuracy. He himself carried through the calculation to a 3072-gon (i.e. a 3072-sided polygon) and obtained an approximate value for π of 3.1416.

Around 480, the Chinese mathematician Zu Chongzhi demonstrated that π ≈ 355/113, and showed that 3.1415926 < π < 3.1415927

Maimonides mentions with certainty the irrationality of π in the 12th century.

The first major European contribution since Archimedes was made by the German mathematician Ludolph van Ceulen (1540–1610), who used a geometric method to give an estimate of π that is correct to 35 decimal digits. He was so proud of the calculation, which required the greater part of his life, that he had the digits engraved into his tombstone.

Around the same time, the methods of calculus and determination of infinite series and products for geometrical quantities began to emerge in Europe. The first such representation was the Viète's formula,

Theoretical advances in the 18th century led to insights about π's nature that could not be achieved through numerical calculation alone. Johann Heinrich Lambert proved the irrationality of π in 1761, and Adrien-Marie Legendre also proved in 1794 π

The advent of digital computers in the 20th century led to an increased rate of new π calculation records. John von Neumann et al. used ENIAC to compute 2037 digits of π in 1949, a calculation that took 70 hours.

In the beginning of the 20th century, the Indian mathematician Srinivasa Ramanujan found many new formulas for π, some remarkable for their elegance, mathematical depth and rapid convergence.

A collection of some others are in the table below:

where

is the pochhammer symbol for the falling factorial.

The related one found by the Chudnovsky brothers in 1987 is

Whereas series typically increase the accuracy with a fixed amount for each added term, there exist iterative algorithms that

An important recent development was the Bailey–Borwein–Plouffe formula (BBP formula), discovered by Simon Plouffe and named after the authors of the paper in which the formula was first published, David H. Bailey, Peter Borwein, and Simon Plouffe.

If a formula of the form

In 2006, Simon Plouffe, using the integer relation algorithm PSLQ, found a series of formulas.

In the previous formula, if

There are many ways to memorize π, including the use of "piems", which are poems that represent π in a way such that the length of each word (in letters) represents a digit. Here is an example of a piem, originally devised by Sir James Jeans:

Bailey and Crandall showed in 2000 that the existence of the above mentioned Bailey-Borwein-Plouffe formula and similar formulas imply that the normality in base 2 of π and various other constants can be reduced to a plausible conjecture of chaos theory.

It is also unknown whether π and

From the unit-circle definition of the trigonometric functions also follows that the sine and cosine have period 2π. That is, for all

In modern mathematics, π is often

There are

Buffon's needle problem is sometimes quoted as an empirical approximation of π in "popular mathematics" works. Consider dropping a needle of length

On November 7, 2005, alternative musician Kate Bush released the album

In Carl Sagan's novel

Darren Aronofsky's film

The Wheel of Dublin (Ferris wheel) has been nicknamed "the pi in the sky".

In the fictional movie,

*pi*.^{[8]}The name*pi*is commonly used as an alternative to using the Greek letter. As a mathematical symbol, the Greek letter is not capitalized (Π) even at the beginning of a sentence, and instead the lower case (π) is used at the beginning of a sentence. When referring to this constant, the symbol π is always pronounced "pie" in English, which is the conventional English pronunciation of the Greek letter. The constant is named "π" because "π" is the first letter of the Greek word περίμετρος (perimeter), probably referring to its use in the formula perimeter/diameter which is constant for all circles, the word "perimeter" being synonymous here with "circumference."^{[9]}William Jones was the first to use the Greek letter in this way, in 1706,^{[10]}and it was later popularized by Leonhard Euler in 1737.^{[11]}^{[12]}William Jones wrote: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 the Circumference as 1 to ... 3.14159, &c. = πThe capital letter pi (Π) has a completely different mathematical meaning; it is used for expressing products (notice that the word "product" begins with the letter "p" just like "perimeter/diameter" does). It can also refer to the osmotic pressure of a solution.^{[13]}

### Geometric definition

In Euclidean plane geometry, π is defined as the ratio of a circle's circumference*C*to its diameter*d*:^{[9]}*C*/*d*is constant, regardless of a circle's size. For example, if a circle has twice the diameter*d*of another circle it will also have twice the circumference*C*, preserving the ratio*C*/*d*.Alternatively π can be defined as the ratio of a circle's area

*A*to the area of a square whose side is equal to the radius*r*of the circle:^{[9]}^{[14]}*Cr*/2). These two geometric definitions can be considered a problem when π occurs in areas of mathematics that otherwise do not involve geometry. For this reason, mathematicians often prefer to define π without reference to geometry, instead selecting one of its analytic properties as a definition. A common choice is to define π as twice the smallest positive*x*for which the trigonometric function cos(*x*) equals zero.^{[15]}### Irrationality and transcendence

Main article: Proof that π is irrational

π is an irrational number, meaning that it cannot be written as the ratio of two integers. π is also a transcendental number, meaning that there is no polynomial with rational coefficients for which π is a root.^{[16]}An important consequence of the transcendence of π is the fact that it is not constructible. Because the coordinates of all points that can be constructed with compass and straightedge are constructible numbers, it is impossible to square the circle: that is, it is impossible to construct, using compass and straightedge alone, a square whose area is equal to the area of a given circle.^{[17]}This is historically significant, for squaring a circle is one of the easily understood elementary geometry problems left to us from antiquity; many amateurs in modern times have attempted to solve each of these problems, and their efforts are sometimes ingenious, but in this case, doomed to failure: a fact not always understood by the amateur involved.^{[18]}^{[19]}### Decimal representation

See also: Numerical approximations of π

The decimal representation of π truncated to 50 decimal places is:^{[20]}*π*= 3.14159265358979323846264338327950288419716939937510...

^{[21]}While the decimal representation of π has been computed to more than a trillion (10^{12}) digits,^{[22]}elementary applications, such as estimating the circumference of a circle, will rarely require more than a dozen decimal places. For example, the decimal representation of π truncated to 11 decimal places is good enough to estimate the circumference of any circle that fits inside the Earth with an error of less than one millimetre, and the decimal representation of π truncated to 39 decimal places is sufficient to estimate the circumference of any circle that fits in the observable universe with precision comparable to the radius of a hydrogen atom.^{[23]}^{[24]}Because π is an irrational number, its decimal representation does not repeat, and therefore does not terminate. This sequence of non-repeating digits has fascinated mathematicians and laymen alike, and much effort over the last few centuries has been put into computing ever more of these digits and investigating π's properties.

^{[25]}Despite much analytical work, and supercomputer calculations that have determined over 1 trillion digits of the decimal representation of π, no simple base-10 pattern in the digits has ever been found.^{[26]}Digits of the decimal representation of π are available on many web pages, and there is software for calculating the decimal representation of π to billions of digits on any personal computer.### Estimating π

Main article: Numerical approximations of π

Number system | Approximation of π |
---|---|

Binary | 11.00100100001111110110...^{[27]} |

Octal | 3.11037552421026430215... |

Decimal | 3.14159265358979323846264338327950288... |

Hexadecimal | 3.243F6A8885A308D31319...^{[28]} |

Rational approximations | 3, ^{22}⁄_{7}, ^{333}⁄_{106}, ^{355}⁄_{113}, ^{103993}/_{33102}, ...^{[29]} (listed in order of increasing accuracy) |

Continued fraction | [3;7,15,1,292,1,1,1,2,1,3,1,14,2,1,1...]^{[30]} (This fraction is not periodic. Shown in linear notation) |

3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825 3421170679 8214808651 3282306647 0938446095 5058223172 5359408128 4811174502 8410270193 8521105559 6446229489 5493038196 4428810975 6659334461 2847564823 3786783165 2712019091 4564856692 3460348610 4543266482 1339360726 0249141273 7245870066 0631558817 4881520920 9628292540 9171536436 7892590360 0113305305 4882046652 1384146951 9415116094 3305727036 5759591953 0921861173 8193261179 3105118548 0744623799 6274956735 1885752724 8912279381 8301194912 9833673362 4406566430 8602139494 6395224737 1907021798 6094370277 0539217176 2931767523 8467481846 7669405132 0005681271 4526356082 7785771342 7577896091 7363717872 1468440901 2249534301 4654958537 1050792279 6892589235 4201995611 2129021960 8640344181 5981362977 4771309960 5187072113 4999999837 2978049951 0597317328 1609631859 5024459455 3469083026 4252230825 3344685035 2619311881 7101000313 7838752886 5875332083 8142061717 7669147303 5982534904 2875546873 1159562863 8823537875 9375195778 1857780532 1712268066 1300192787 6611195909 2164201989 3809525720 1065485863 2788659361 5338182796 8230301952 0353018529 6899577362 2599413891 2497217752 8347913151 5574857242 4541506959 |

^{[32]}In cases where little precision is required, it may be an acceptable substitute. That 3 is an underestimate follows from the fact that it is the ratio of the perimeter of an inscribed regular hexagon to the diameter of the circle.π can be empirically estimated by drawing a large circle, then measuring its diameter and circumference and dividing the circumference by the diameter. Another geometry-based approach, attributed to Archimedes,

^{[33]}is to calculate the perimeter,*P*of a regular polygon with_{n},*n*sides circumscribed around a circle with diameter*d.*Then compute the limit of a sequence as*n*increases to infinity:^{[34]}^{[16]}Formulas for calculating π using elementary arithmetic typically include series or summation notation (such as "..."), which indicates that the formula is really a formula for an infinite sequence of approximations to π.^{[35]}The more terms included in a calculation, the closer to π the result will get.Most formulae used for calculating the value of π have desirable mathematical properties, but are difficult to understand without a background in trigonometry and calculus. However, some are quite simple, such as this form of the Gregory-Leibniz series:

^{[36]}^{[37]}However, by computing this series in a somewhat more clever way by taking the midpoints of partial sums, it can be made to converge much faster. Let the sequence_{10,10}will take similar computation time to computing 150 terms of the original series in a brute-force manner, and , correct to 9 decimal places. This computation is an example of the van Wijngaarden transformation.^{[38]}For many purposes, 3.14 or 22/7 is close enough, although engineers often use 3.1416 (5 significant figures) or 3.14159 (6 significant figures) for more precision. The approximations 22/7 and 355/113, with 3 and 7 significant figures respectively, are obtained from the simple continued fraction expansion of π. The approximation 355/113 (3.1415929...) is the best one that may be expressed with a three-digit or four-digit numerator and denominator; the next good approximation 52163/16604 (3.141592387...) requires much bigger numbers, due to the large number 292 in the continued fraction expansion of π.

^{[29]}## History

See also: Chronology of computation of π and Numerical approximations of π

The Great Pyramid at Giza, constructed c.2589–2566 BC, was built with a perimeter of 1760 cubits and a height of 280 cubits; the ratio 1760/280 ≈ 2π. The same apotropaic proportions were used earlier at the Pyramid of Meidum c.2613-2589 BC and later at the pyramid of Abysir c.2453-2422. Some Egyptologists consider this to have been the result of deliberate design proportion. Verner wrote, "We can conclude that although the ancient Egyptians could not precisely define the value of π, in practice they used it".^{[39]}Petrie, author of*Pyramids and Temples of Gizeh*concluded: "but these relations of areas and of circular ratio are so systematic that we should grant that they were in the builders design".^{[40]}Others have argued that the Ancient Egyptians had no concept of pi and would not have thought to encode it in their monuments. The creation of the pyramid may instead be based on simple ratios of the sides of right angled triangles (the seked).^{[41]}The early history of π from textual sources roughly parallels the development of mathematics as a whole.^{[42]}### Antiquity

The earliest known textually evidenced approximations date from around 1900 BC; they are 256/81 (Egypt) and 25/8 (Babylonia), both within 1% of the true value.^{[9]}The Indian text*Shatapatha Brahmana*gives π as 339/108 ≈ 3.139. It has been suggested that passages in the 1 Kings 7:23 and 2 Chronicles 4:2 discussing a ceremonial pool in the temple of King Solomon with a diameter of ten cubits and a circumference of thirty cubits show that the writers considered pi to have had an approximate value of three, which various authors have tried to explain away through various suggestions such as a hexagonal pool or an outward curving rim.^{[43]}Archimedes (287–212 BC) was the first to estimate π rigorously. He realized that its magnitude can be bounded from below and above by inscribing circles in regular polygons and calculating the outer and inner polygons' respective perimeters:

^{[32]}By using the equivalent of 96-sided polygons, he proved that 3^{10}/_{71}< π < 3^{1}/_{7}.^{[32]}The average of these values is about 3.14185.Ptolemy, in his Almagest, gives a value of 3.1416, which he may have obtained from Apollonius of Perga.

^{[44]}Around AD 265, the Wei Kingdom mathematician Liu Hui provided a simple and rigorous iterative algorithm to calculate π to any degree of accuracy. He himself carried through the calculation to a 3072-gon (i.e. a 3072-sided polygon) and obtained an approximate value for π of 3.1416.

^{[45]}Later, Liu Hui invented a quick method of calculating π and obtained an approximate value of 3.14 with only a 96-gon,^{[45]}by taking advantage of the fact that the difference in area of successive polygons forms a geometric series with a factor of 4.Around 480, the Chinese mathematician Zu Chongzhi demonstrated that π ≈ 355/113, and showed that 3.1415926 < π < 3.1415927

^{[45]}using Liu Hui's algorithm applied to a 12288-gon. This value would remain the most accurate approximation of π available for the next 900 years.Maimonides mentions with certainty the irrationality of π in the 12th century.

^{[46]}This was proved in 1768 by Johann Heinrich Lambert.^{[47]}In the 20th century, proofs were found that require no prerequisite knowledge beyond integral calculus. One of those, due to Ivan Niven, is widely known.^{[48]}^{[49]}A somewhat earlier similar proof is by Mary Cartwright.^{[50]}### Second millennium AD

Until the second millennium AD, estimations of π were accurate to fewer than 10 decimal digits. The next major advances in the study of π came with the development of infinite series and subsequently with the discovery of calculus, which permit the estimation of π to any desired accuracy by considering sufficiently many terms of a relevant series. Around 1400, Madhava of Sangamagrama found the first known such series:^{[51]}^{[52]}or Gregory-Leibniz series since it was rediscovered by James Gregory and Gottfried Leibniz in the 17th century. Unfortunately, the rate of convergence is too slow to calculate many digits in practice; about 4,000 terms must be summed to improve upon Archimedes' estimate. However, by transforming the series intoThe first major European contribution since Archimedes was made by the German mathematician Ludolph van Ceulen (1540–1610), who used a geometric method to give an estimate of π that is correct to 35 decimal digits. He was so proud of the calculation, which required the greater part of his life, that he had the digits engraved into his tombstone.

^{[53]}Pi is sometimes called "Ludolph's Constant", though not as often as it is called "Archimedes' Constant."^{[54]}Around the same time, the methods of calculus and determination of infinite series and products for geometrical quantities began to emerge in Europe. The first such representation was the Viète's formula,

^{[55]}It converges linearly to π, with a rate of convergence*μ*that adds at least three decimal places for every five terms. As*n*approaches infinity,*μ*approaches 1/4 and 1/*μ*approaches 4:- .

Theoretical advances in the 18th century led to insights about π's nature that could not be achieved through numerical calculation alone. Johann Heinrich Lambert proved the irrationality of π in 1761, and Adrien-Marie Legendre also proved in 1794 π

^{2}to be irrational. When Leonhard Euler in 1735 solved the famous Basel problem, finding the exact value of the Riemann zeta function of 2,^{2}/6, he established a deep connection between π and the prime numbers. Both Legendre and Euler speculated that π might be transcendental, which was finally proved in 1882 by Ferdinand von Lindemann.### Computation in the computer age

Practically, a physicist needs only 39 digits of π to make a circle the size of the observable universe accurate to the size of a hydrogen atom.^{[23]}The advent of digital computers in the 20th century led to an increased rate of new π calculation records. John von Neumann et al. used ENIAC to compute 2037 digits of π in 1949, a calculation that took 70 hours.

^{[56]}^{[57]}Additional thousands of decimal places were obtained in the following decades, with the million-digit milestone passed in 1973. Progress was not only due to faster hardware, but also new algorithms. One of the most significant developments was the discovery of the fast Fourier transform (FFT) in the 1960s, which allows computers to perform arithmetic on extremely large numbers quickly.In the beginning of the 20th century, the Indian mathematician Srinivasa Ramanujan found many new formulas for π, some remarkable for their elegance, mathematical depth and rapid convergence.

^{[58]}One of his formulas is the series,*k*! is the factorial of*k*.A collection of some others are in the table below:

^{[59]}^{[60]}is the pochhammer symbol for the falling factorial.

The related one found by the Chudnovsky brothers in 1987 is

^{[58]}The Chudnovskys used this formula to set several π computing records in the end of the 1980s, including the first calculation of over one billion (1,011,196,691) decimals in 1989. It remains the formula of choice for π calculating software that runs on personal computers, as opposed to the supercomputers used to set modern records. On August 5, 2010, PhysOrg.com reported that Japanese and American computer experts Shigeru Kondo and Alexander Yee said they've calculated the value of π to 5 trillion decimal places on a personal computer, double the previous record.^{[61]}Whereas series typically increase the accuracy with a fixed amount for each added term, there exist iterative algorithms that

*multiply*the number of correct digits at each step, with the downside that each step generally requires an expensive calculation. A breakthrough was made in 1975, when Richard Brent and Eugene Salamin independently discovered the Brent–Salamin algorithm, which uses only arithmetic to double the number of correct digits at each step.^{[62]}The algorithm consists of setting*a*and_{n}*b*are close enough. Then the estimate for π is given by_{n}^{[63]}The methods have been used by Yasumasa Kanada and team to set most of the π calculation records since 1980, up to a calculation of 206,158,430,000 decimals of π in 1999. As of January 2010, the record was almost 2.7 trillion digits.^{[64]}This beats the previous record of 2,576,980,370,000 decimals, set by Daisuke Takahashi on the T2K-Tsukuba System, a supercomputer at the University of Tsukuba northeast of Tokyo.^{[65]}An important recent development was the Bailey–Borwein–Plouffe formula (BBP formula), discovered by Simon Plouffe and named after the authors of the paper in which the formula was first published, David H. Bailey, Peter Borwein, and Simon Plouffe.

^{[66]}The formula,^{[66]}Between 1998 and 2000, the distributed computing project PiHex used a modification of the BBP formula due to Fabrice Bellard to compute the quadrillionth (1,000,000,000,000,000:th) bit of π, which turned out to be 0.^{[67]}If a formula of the form

*b*and*c*are positive integers and*p*and*q*are polynomials with fixed degree and integer coefficients (as in the BPP formula above), this would be one the most efficient ways of computing any digit of π at any position in base*b*^{c}without computing all the preceding digits in that base, in a time just depending on the size of the integer*k*and on the fixed degree of the polynomials. Plouffe also describes such formulas as the interesting ones for computing numbers of class**SC***, in a logarithmically polynomial space and almost linear time, depending only on the size (order of magnitude) of the integer*k*, and requiring modest computing resources. The previous formula (found by Plouffe for π with*b*= 2 and*c*= 4, but also found for log(9/10) and for a few other irrational constants), implies that π is a**SC***number.In 2006, Simon Plouffe, using the integer relation algorithm PSLQ, found a series of formulas.

^{[68]}Let*q*= e^{π}(Gelfond's constant), then*k*is an odd number, and*a*,*b*,*c*are rational numbers.In the previous formula, if

*k*is of the form 4*m*+ 3, then the formula has the particularly simple form,*p*where the denominator is a highly factorable number. General expressions for these kinds of sums are given in^{[69]}### Pi and continued fraction

The sequence of partial denominators of the simple continued fraction of π does not show any obvious pattern:^{[30]}^{[70]}### Memorizing digits

Main article: Piphilology

Well before computers were used in calculating π, memorizing a *record*number of digits had become an obsession for some people. In 2006, Akira Haraguchi, a retired Japanese engineer, claimed to have recited 100,000 decimal places.^{[71]}This, however, has yet to be verified by Guinness World Records. The Guinness-recognized record for remembered digits of π is 67,890 digits, held by Lu Chao, a 24-year-old graduate student from China.^{[72]}It took him 24 hours and 4 minutes to recite to the 67,890th decimal place of π without an error.^{[73]}There are many ways to memorize π, including the use of "piems", which are poems that represent π in a way such that the length of each word (in letters) represents a digit. Here is an example of a piem, originally devised by Sir James Jeans:

*How I want a drink, alcoholic of course, after the heavy lectures involving quantum mechanics.*^{[74]}^{[75]}Notice how the first word has 3 letters, the second word has 1, the third has 4, the fourth has 1, the fifth has 5, and so on. The*Cadaeic Cadenza*contains the first 3835 digits of π in this manner.^{[76]}Piems are related to the entire field of humorous yet serious study that involves the use of mnemonic techniques to remember the digits of π, known as piphilology. In other languages there are similar methods of memorization. However, this method proves inefficient for large memorizations of π. Other methods include remembering patterns in the numbers and the method of loci.^{[77]}^{[78]}## Open questions

One open question about π is whether it is a normal number—whether any digit block occurs in the expansion of π just as often as one would statistically expect if the digits had been produced completely "randomly", and that this is true in*every*integer base, not just base 10.^{[79]}Current knowledge on this point is very weak; e.g., it is not even known which of the digits 0,...,9 occur infinitely often in the decimal expansion of π,^{[80]}although it is clear that at least two such digits must occur infinitely often, since otherwise π would be rational, which it is not.Bailey and Crandall showed in 2000 that the existence of the above mentioned Bailey-Borwein-Plouffe formula and similar formulas imply that the normality in base 2 of π and various other constants can be reduced to a plausible conjecture of chaos theory.

^{[81]}It is also unknown whether π and

*e*are algebraically independent, although Yuri Nesterenko proved the algebraic independence of {π,*e*^{π}, Γ(1/4)} in 1996.^{[82]}## Use in mathematics and science

Main article: List of formulas involving π

π is ubiquitous in mathematics, science, and engineering.^{[83]}It appears even in places that lack an obvious connection to the circles of Euclidean geometry.^{[84]}### Geometry and trigonometry

See also: Area of a disk

For any circle with radius *r*and diameter*d*= 2*r*, the circumference is π*d*and the area is π*r*^{2}. Further, π appears in formulas for areas and volumes of many other geometrical shapes based on circles, such as ellipses, spheres, cones, and tori.^{[85]}Accordingly, π appears in definite integrals that describe circumference, area or volume of shapes generated by circles. In the basic case, half the area of the unit disk is given by the integral:^{[86]}and^{[85]}More complicated shapes can be integrated as solids of revolution.^{[87]}From the unit-circle definition of the trigonometric functions also follows that the sine and cosine have period 2π. That is, for all

*x*and integers*n*, sin(*x*) = sin(*x*+ 2π*n*) and cos(*x*) = cos(*x*+ 2π*n*). Because sin(0) = 0, sin(2π*n*) = 0 for all integers*n*. Also, the angle measure of 180° is equal to π radians. In other words, 1° = (π/180) radians.In modern mathematics, π is often

*defined*using trigonometric functions, for example as the smallest positive*x*for which sin*x*= 0, to avoid unnecessary dependence on the subtleties of Euclidean geometry and integration. Equivalently, π can be defined using the inverse trigonometric functions, for example as π = 2 arccos(0) or π = 4 arctan(1). Expanding inverse trigonometric functions as power series is the easiest way to derive infinite series for π.### Complex numbers and calculus

A complex number*z*can be expressed in polar coordinates as follows:*i*is the imaginary unit satisfying*i*^{2}= −1 and*e*≈ 2.71828 is Euler's number. This formula implies that imaginary powers of*e*describe rotations on the unit circle in the complex plane; these rotations have a period of 360° = 2π. In particular, the 180° rotation*φ*= π results in the remarkable Euler's identity*n*different*n*-th roots of unity### Physics

Although not a physical constant, π appears routinely in equations describing fundamental principles of the Universe, due in no small part to its relationship to the nature of the circle and, correspondingly, spherical coordinate systems. Using units such as Planck units can sometimes eliminate π from formulae.- Heisenberg's uncertainty principle, which shows that the uncertainty in the measurement of a particle's position (Δ
*x*) and momentum (Δ*p*) can not both be arbitrarily small at the same time:^{[88]}

- Einstein's field equation of general relativity:
^{[89]}

- The cosmological constant Λ from Einstein's field equation is related to the intrinsic energy density of the vacuum
*ρ*via the gravitational constant_{vac}*G*as follows:^{[90]}

- Coulomb's law for the electric force, describing the force between two electric charges (
*q*and_{1}*q*) separated by distance_{2}*r*(with*ε*_{0}representing the vacuum permittivity of free space):^{[91]}

- Magnetic permeability of free space relates the production of a magnetic field in a vacuum by an electric current in units of Newtons (N) and Amperes (A):
^{[92]}

- Kepler's third law constant, relating the orbital period (
*P*) and the semimajor axis (*a*) to the masses (*M*and*m*) of two co-orbiting bodies:

### Probability and statistics

In probability and statistics, there are many distributions whose formulas contain π, including:- the probability density function for the normal distribution with mean μ and standard deviation σ, due to the Gaussian integral:
^{[93]}

- the probability density function for the (standard) Cauchy distribution:
^{[94]}

*f*(*x*), the above formulas can be used to produce other integral formulas for π.^{[95]}Buffon's needle problem is sometimes quoted as an empirical approximation of π in "popular mathematics" works. Consider dropping a needle of length

*L*repeatedly on a surface containing parallel lines drawn*S*units apart (with*S*>*L*). If the needle is dropped*n*times and*x*of those times it comes to rest crossing a line (*x*> 0), then one may approximate π using the Monte Carlo method:^{[96]}^{[97]}^{[98]}^{[99]}*by experiment*. Reliably getting just three digits (including the initial "3") right requires millions of throws,^{[96]}and the number of throws grows exponentially with the number of digits desired. Furthermore, any error in the measurement of the lengths*L*and*S*will transfer directly to an error in the approximated π. For example, a difference of a single atom in the length of a 10-centimeter needle would show up around the 9th digit of the result. In practice, uncertainties in determining whether the needle actually crosses a line when it appears to exactly touch it will limit the attainable accuracy to much less than 9 digits.^{[citation needed]}### Geomorphology and chaos theory

Under ideal conditions (uniform gentle slope on an homogeneously erodible substrate), the ratio between the actual length of a river and its straight-line from source to mouth length tends to approach π.^{[100]}Albert Einstein was the first to suggest that rivers have a tendency towards an ever more loopy path because the slightest curve will lead to faster currents on the outer side, which in turn will result in more erosion and a sharper bend. The sharper the bend, the faster the currents on the outer edge, the more the erosion, the more the river will twist and so on. However, increasing loopiness will result in rivers doubling back on themselves and effectively short-circuiting, creating an ox-bow lake. The balance between these two opposing factors leads to an average ratio of π between the actual length and the direct distance between source and mouth.^{[101]}## In popular culture

Nobel prize winning poet Wisława Szymborska wrote a poem about π, and here is an excerpt:^{[102]}Many schools around the world observe Pi Day (March 14, from 3.14).The caravan of digits that is pi

does not stop at the edge of the page,

but runs off the table and into the air,

over the wall, a leaf, a bird's nest, the clouds, straight into the sky,

through all the bloatedness and bottomlessness.

Oh how short, all but mouse-like is the comet's tail!

^{[103]}At least one cheer at the Massachusetts Institute of Technology includes "3.14159!"^{[104]}On November 7, 2005, alternative musician Kate Bush released the album

*Aerial*. The album contains the song "π" whose lyrics consist principally of Bush singing the digits of π to music, beginning with "3.14".^{[105]}In Carl Sagan's novel

*Contact*, π played a key role in the story. The novel suggested that there was a message buried deep within the digits of π placed there by the creator of the universe.^{[106]}This part of the story was omitted from the film adaptation of the novel.Darren Aronofsky's film

*Pi*deals with a number theorist.The Wheel of Dublin (Ferris wheel) has been nicknamed "the pi in the sky".

^{[107]}In the fictional movie,

*Night at the Museum: Battle of the Smithsonian*, pi is the answer to the combination that will allow the Tablet of Akh-man-Ra to open the gates to the Underworld.