Definitions
Nearby Words

# pi

[pahy] /paɪ/
pi, in mathematics, the ratio of the circumference of a circle to its diameter. The symbol for pi is π. The ratio is the same for all circles and is approximately 3.1416. It is of great importance in mathematics not only in the measurement of the circle but also in more advanced mathematics in connection with such topics as continued fractions, logarithms of imaginary numbers, and periodic functions. Throughout the ages progressively more accurate values have been found for π; an early value was the Greek approximation 31/7, found by considering the circle as the limit of a series of regular polygons with an increasing number of sides inscribed in the circle. About the mid-19th cent. its value was figured to 707 decimal places and by the mid-20th cent. an electronic computer had calculated it to 100,000 digits. Although it has now been calculated to some 2.6 trillion digits, the exact value of π cannot be computed. It was shown by the German mathematician Johann Lambert in 1770 that π is irrational and by Ferdinand Lindemann in 1882 that π is transcendental; i.e., cannot be the root of any algebraic equation with rational coefficients. The important connection between π and e, the base of natural logarithms, was found by Leonhard Euler in the famous formula eiπ=-1, where i=-1.

List of numbers – Irrational numbers  ζ(3) – √2 – √3 – √5 – φ – α – e – π – δ
Binary                                                                         11.00100100001111110110…
Decimal                                                                        3.14159265358979323846…
Hexadecimal                                                                    3.243F6A8885A308D31319…
Continued fraction                                                             $3 + cfrac\left\{1\right\}\left\{7 + cfrac\left\{1\right\}\left\{15 + cfrac\left\{1\right\}\left\{1 + cfrac\left\{1\right\}\left\{292 + ddots\right\}\right\}\right\}\right\}$Note that this continued fraction is not periodic.

Pi or π is a mathematical constant which represents the ratio of any circle's circumference to its diameter in Euclidean geometry, which is the same as the ratio of a circle's area to the square of its radius. It is approximately equal to 3.14159. Pi is one of the most important mathematical constants: many formulae from mathematics, science, and engineering involve π.

Pi is an irrational number, which means that it cannot be expressed as a fraction m/n, where m and n are integers. Consequently its decimal representation never ends or repeats. Beyond being irrational, it is a transcendental number, which means that no finite sequence of algebraic operations on integers (powers, roots, sums, etc.) could ever produce it. Throughout the history of mathematics, much effort has been made to determine π more accurately and understand its nature; fascination with the number has even carried over into culture at large.

The Greek letter π, often spelled out pi in text, was adopted for the number from the Greek word for perimeter "περίμετρος", probably by William Jones in 1706, and popularized by Leonhard Euler some years later. The constant is occasionally also referred to as the circular constant, (not to be confused with an Archimedes number), or .

## Fundamentals

### The letter π

The name of the Greek letter π is pi, and this spelling is used in typographical contexts where the Greek letter is not available or where its usage could be problematic. When referring to this constant, the symbol π is always pronounced like "pie" in English, the conventional English pronunciation of the letter. In Greek, the name of this letter is IPA /pi/.

The constant is named "π" because "π" is the first letter of the Greek words περιφέρεια (periphery) and περίμετρος (perimeter), probably referring to its use in the formula to find the circumference, or perimeter, of a circle. π is Unicode character U+03C0 ("Greek small letter pi").

### Definition

In Euclidean plane geometry, π is defined as the ratio of a circle's circumference to its diameter:

$pi = frac\left\{c\right\}\left\{d\right\}.$

Note that the ratio c/d does not depend on the size of the circle. 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. This fact is a consequence of the similarity of all circles.

Alternatively π can be also defined as the ratio of a circle's area (A) to the area of a square whose side is equal to the radius:

$pi = frac\left\{A\right\}\left\{r^2\right\}.$

The constant π may be defined in other ways that avoid the concepts of arc length and area, for example, as twice the smallest positive x for which cos(x) = 0. The formulas below illustrate other (equivalent) definitions.

### Irrationality and transcendence

The constant π is an irrational number; that is, it cannot be written as the ratio of two integers. This was proven in 1761 by Johann Heinrich Lambert. 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. A somewhat earlier similar proof is by Mary Cartwright.

Furthermore, π is also transcendental, as was proven by Ferdinand von Lindemann in 1882. This means that there is no polynomial with rational coefficients of which π is a root. An important consequence of the transcendence of π is the fact that it is not constructible. Because the coordinates of all points that can be constructed with compass and straightedge are constructible numbers, it is impossible to square the circle: that is, it is impossible to construct, using compass and straightedge alone, a square whose area is equal to the area of a given circle.

### Numerical value

The numerical value of π truncated to 50 decimal places is:

3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510
See the links below and those at sequence A000796 in OEIS for more digits.

While the value of pi has been computed to more than a trillion (1012) digits, elementary applications, such as calculating the circumference of a circle, will rarely require more than a dozen decimal places. For example, a value truncated to 11 decimal places is accurate enough to calculate the circumference of the earth with a precision of a millimeter, and one truncated to 39 decimal places is sufficient to compute the circumference of any circle that fits in the observable universe to a precision comparable to the size of a hydrogen atom.

Because π is an irrational number, its decimal expansion never ends and does not repeat. This infinite sequence of digits has fascinated mathematicians and laymen alike, and much effort over the last few centuries has been put into computing more digits and investigating the number's properties. Despite much analytical work, and supercomputer calculations that have determined over 1 trillion digits of π, no simple pattern in the digits has ever been found. Digits of π are available on many web pages, and there is software for calculating π to billions of digits on any personal computer.

### Calculating π

π 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, due to Archimedes, is to calculate the perimeter, Pn , of a regular polygon with n sides circumscribed around a circle with diameter d. Then

$pi = lim_\left\{n to infty\right\}frac\left\{P_\left\{n\right\}\right\}\left\{d\right\}$

That is, the more sides the polygon has, the closer the approximation approaches π. Archimedes determined the accuracy of this approach by comparing the perimeter of the circumscribed polygon with the perimeter of a regular polygon with the same number of sides inscribed inside the circle. Using a polygon with 96 sides, he computed the fractional range: $begin\left\{smallmatrix\right\}3frac\left\{10\right\}\left\{71\right\} < pi < 3frac\left\{1\right\}\left\{7\right\}end\left\{smallmatrix\right\}$.

π can also be calculated using purely mathematical methods. Most formulas 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:

$pi = frac\left\{4\right\}\left\{1\right\}-frac\left\{4\right\}\left\{3\right\}+frac\left\{4\right\}\left\{5\right\}-frac\left\{4\right\}\left\{7\right\}+frac\left\{4\right\}\left\{9\right\}-frac\left\{4\right\}\left\{11\right\}cdots!$.

While that series is easy to write and calculate, it is not immediately obvious why it yields π. In addition, this series converges so slowly that 300 terms are not sufficient to calculate π correctly to 2 decimal places. 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

$pi_\left\{0,1\right\} = frac\left\{4\right\}\left\{1\right\}, pi_\left\{0,2\right\} =frac\left\{4\right\}\left\{1\right\}-frac\left\{4\right\}\left\{3\right\}, pi_\left\{0,3\right\} =frac\left\{4\right\}\left\{1\right\}-frac\left\{4\right\}\left\{3\right\}+frac\left\{4\right\}\left\{5\right\}, pi_\left\{0,4\right\} =frac\left\{4\right\}\left\{1\right\}-frac\left\{4\right\}\left\{3\right\}+frac\left\{4\right\}\left\{5\right\}-frac\left\{4\right\}\left\{7\right\}, cdots!$

and then define

$pi_\left\{i,j\right\} = frac\left\{pi_\left\{i-1,j\right\}+pi_\left\{i-1,j+1\right\}\right\}\left\{2\right\}$ for all $i,jge 1$

then computing $pi_\left\{10,10\right\}$ will take similar computation time to computing 150 terms of the original series in a brute force manner, and $pi_\left\{10,10\right\}=3.141592653cdots$, correct to 9 decimal places. This computation is an example of the Van Wijngaarden transformation.

## History

The history of π parallels the development of mathematics as a whole. Some authors divide progress into three periods: the ancient period during which π was studied geometrically, the classical era following the development of calculus in Europe around the 17th century, and the age of digital computers.

### Geometrical period

That the ratio of the circumference to the diameter of a circle is the same for all circles, and that it is slightly more than 3, was known to ancient Egyptian, Babylonian, Indian and Greek geometers. The earliest known approximations date from around 1900 BC; they are 25/8 (Babylonia) and 256/81 (Egypt), both within 1% of the true value. The Indian text gives π as 339/108 ≈ 3.139. The Tanakh appears to suggest, in the Book of Kings, that π = 3, which is notably worse than other estimates available at the time of writing (600 BC). The interpretation of the passage is disputed, as some believe the ratio of 3:1 is of an exterior circumference to an interior diameter of a thinly walled basin, which could indeed be an accurate ratio, depending on the thickness of the walls (See: Biblical value 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:

By using the equivalent of 96-sided polygons, he proved that 223/71 < π < 22/7. Taking the average of these values yields 3.1419.

In the following centuries further development took place in India and China. Around 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 3072-gon and obtained an approximate value for π of 3.1416.

$$
begin{align} pi approx A_{3072} & {} = 768 sqrt{2 - sqrt{2 + sqrt{2 + sqrt{2 + sqrt{2 + sqrt{2 + sqrt{2 + sqrt{2 + sqrt{2+1}}}}}}}}} & {} approx 3.14159. end{align}

Later, Liu Hui invented a quick method of calculating π and obtained an approximate value of 3.1416 with only a 96-gon, 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 using Liu Hui's algorithm applied to a 12288-gon. This value would stand as the most accurate approximation of π over the next 900 years.

### Classical period

Until the second millennium, π was known to fewer than 10 decimal digits. The next major advancement in the study of π came with the development of calculus, and in particular the discovery of infinite series which in principle permit calculating π to any desired accuracy by adding sufficiently many terms. Around 1400, Madhava of Sangamagrama found the first known such series:

$frac\left\{pi\right\}\left\{4\right\} = 1 - frac\left\{1\right\}\left\{3\right\} + frac\left\{1\right\}\left\{5\right\} - frac\left\{1\right\}\left\{7\right\} + cdots!$

This is now known as the Madhava-Leibniz series 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 into

$pi = sqrt\left\{12\right\} , left\left(1-frac\left\{1\right\}\left\{3 cdot 3\right\} + frac\left\{1\right\}\left\{5 cdot 3^2\right\} - frac\left\{1\right\}\left\{7 cdot 3^3\right\} + cdotsright\right)!$

Madhava was able to calculate π as 3.14159265359, correct to 11 decimal places. The record was beaten in 1424 by the Persian mathematician, Jamshīd al-Kāshī, who determined 16 decimals of π.

The first major European contribution since Archimedes was made by the German mathematician Ludolph van Ceulen (1540–1610), who used a geometrical method to compute 35 decimals of π. 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,

$frac2pi = frac\left\{sqrt2\right\}2 cdot frac\left\{sqrt\left\{2+sqrt2\right\}\right\}2 cdot frac\left\{sqrt\left\{2+sqrt\left\{2+sqrt2\right\}\right\}\right\}2 cdot cdots!$

found by François Viète in 1593. Another famous result is Wallis' product,

$frac\left\{pi\right\}\left\{2\right\} = frac\left\{2\right\}\left\{1\right\} cdot frac\left\{2\right\}\left\{3\right\} cdot frac\left\{4\right\}\left\{3\right\} cdot frac\left\{4\right\}\left\{5\right\} cdot frac\left\{6\right\}\left\{5\right\} cdot frac\left\{6\right\}\left\{7\right\} cdot frac\left\{8\right\}\left\{7\right\} cdot frac\left\{8\right\}\left\{9\right\} cdots!$

written down by John Wallis in 1655. Isaac Newton himself derived a series for π and calculated 15 digits, although he later confessed: "I am ashamed to tell you to how many figures I carried these computations, having no other business at the time."

In 1706 John Machin was the first to compute 100 decimals of π, using the formula

$frac\left\{pi\right\}\left\{4\right\} = 4 , arctan frac\left\{1\right\}\left\{5\right\} - arctan frac\left\{1\right\}\left\{239\right\}!$

with

$arctan , x = x - frac\left\{x^3\right\}\left\{3\right\} + frac\left\{x^5\right\}\left\{5\right\} - frac\left\{x^7\right\}\left\{7\right\} + cdots!$

Formulas of this type, now known as Machin-like formulas, were used to set several successive records and remained the best known method for calculating π well into the age of computers. A remarkable record was set by the calculating prodigy Zacharias Dase, who in 1844 employed a Machin-like formula to calculate 200 decimals of π in his head. The best value at the end of the 19th century was due to William Shanks, who took 15 years to calculate π with 707 digits, although due to a mistake only the first 527 were correct. (To avoid such errors, modern record calculations of any kind are often performed twice, with two different formulas. If the results are the same, they are likely to be correct.)

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 proved in 1794 that also π2 is irrational. When Leonhard Euler in 1735 solved the famous Basel problem – finding the exact value of

$frac\left\{1\right\}\left\{1^2\right\} + frac\left\{1\right\}\left\{2^2\right\} + frac\left\{1\right\}\left\{3^2\right\} + frac\left\{1\right\}\left\{4^2\right\} + cdots!$

which is π2/6, he established a deep connection between π and the prime numbers. Both Legendre and Leonhard Euler speculated that π might be transcendental, a fact that was proved in 1882 by Ferdinand von Lindemann.

William Jones' book A New Introduction to Mathematics from 1706 is cited as the first text where the Greek letter π was used for this constant, but this notation became particularly popular after Leonhard Euler adopted it in 1737. He 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 (16/5 - 4/239) - 1/3(16/5^3 - 4/239^3) + ... = 3.14159... = π

### Computation in the computer age

The advent of digital computers in the 20th century led to an increased rate of new π calculation records. John von Neumann used ENIAC to compute 2037 digits of π in 1949, a calculation that took 70 hours. 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 and mathematical depth. Two of his most famous formulas are the series

$frac\left\{1\right\}\left\{pi\right\} = frac\left\{2 sqrt 2\right\}\left\{9801\right\} sum_\left\{k=0\right\}^infty frac\left\{\left(4k\right)!\left(1103+26390k\right)\right\}\left\{\left(k!\right)^4 396^\left\{4k\right\}\right\}!$
and
$frac\left\{426880 sqrt\left\{10005\right\}\right\}\left\{pi\right\} = sum_\left\{k=0\right\}^infty frac\left\{\left(6k\right)! \left(13591409 + 545140134k\right)\right\}\left\{\left(3k\right)!\left(k!\right)^3 \left(-640320\right)^\left\{3k\right\}\right\}!$

which deliver 14 digits per term. The Chudnovsky brothers 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.

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. The algorithm consists of setting

$a_0 = 1 quad quad quad b_0 = frac\left\{1\right\}\left\{sqrt 2\right\} quad quad quad t_0 = frac\left\{1\right\}\left\{4\right\} quad quad quad p_0 = 1!$

and iterating

$a_\left\{n+1\right\} = frac\left\{a_n+b_n\right\}\left\{2\right\} quad quad quad b_\left\{n+1\right\} = sqrt\left\{a_n b_n\right\}!$
$t_\left\{n+1\right\} = t_n - p_n \left(a_n-a_\left\{n+1\right\}\right)^2 quad quad quad p_\left\{n+1\right\} = 2 p_n!$

until an and bn are close enough. Then the estimate for π is given by

$pi approx frac\left\{\left(a_n + b_n\right)^2\right\}\left\{4 t_n\right\}!$.

Using this scheme, 25 iterations suffice to reach 45 million correct decimals. A similar algorithm that quadruples the accuracy in each step has been found by Jonathan and Peter Borwein. 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. The current record is 1,241,100,000,000 decimals, set by Kanada and team in 2002. Although most of Kanada's previous records were set using the Brent-Salamin algorithm, the 2002 calculation made use of two Machin-like formulas that were slower but crucially reduced memory consumption. The calculation was performed on a 64-node Hitachi supercomputer with 1 terabyte of main memory, capable of carrying out 2 trillion operations per second.

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 Plouffe. The formula,

$pi = sum_\left\{k=0\right\}^infty frac\left\{1\right\}\left\{16^k\right\} left\left(frac\left\{4\right\}\left\{8k + 1\right\} - frac\left\{2\right\}\left\{8k + 4\right\} - frac\left\{1\right\}\left\{8k + 5\right\} - frac\left\{1\right\}\left\{8k + 6\right\}right\right),$

is remarkable because it allows extracting any individual hexadecimal or binary digit of π without calculating all the preceding ones. 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.

### Memorizing digits

Even long before computers have calculated π, memorizing a record number of digits became an obsession for some people. In 2006, Akira Haraguchi, a retired Japanese engineer, claimed to have recited 100,000 decimal places. 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. It took him 24 hours and 4 minutes to recite to the 67,890th decimal place of π without an error.

There are many ways to memorize π, including the use of "piems", which are poems that represent π in a way such that the length of each word (in letters) represents a digit. Here is an example of a piem: How I need a drink, alcoholic in nature (or: of course), after the heavy lectures involving quantum mechanics. Notice how the first word has 3 letters, the second word has 1, the third has 4, the fourth has 1, the fifth has 5, and so on. The contains the first 3834 digits of π in this manner. Piems are related to the entire field of humorous yet serious study that involves the use of mnemonic techniques to remember the digits of π, known as piphilology. See English mathematics mnemonics#Pi for examples. In other languages there are similar methods of memorization. However, this method proves inefficient for large memorizations of pi. Other methods include remembering patterns in the numbers.

## Advanced properties

### Numerical approximations

Due to the transcendental nature of π, there are no closed form expressions for the number in terms of algebraic numbers and functions. 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 π. The more terms included in a calculation, the closer to π the result will get.

Consequently, numerical calculations must use approximations of π. For many purposes, 3.14 or 22/7 is close enough, although engineers often use 3.1416 (5 significant figures) or 3.14159 (6 significant figures) for more precision. The approximations 22/7 and 355/113, with 3 and 7 significant figures respectively, are obtained from the simple continued fraction expansion of π. The approximation 355⁄113 (3.1415929…) is the best one that may be expressed with a three-digit or four-digit numerator and denominator.

The earliest numerical approximation of π is almost certainly the value 3. In cases where little precision is required, it may be an acceptable substitute. That 3 is an underestimate follows from the fact that it is the ratio of the perimeter of an inscribed regular hexagon to the diameter of the circle.

### Open questions

The most pressing open question about π is whether it is a normal number — whether any digit block occurs in the expansion of π just as often as one would statistically expect if the digits had been produced completely "randomly", and that this is true in every base, not just base 10. Current knowledge on this point is very weak; e.g., it is not even known which of the digits 0,…,9 occur infinitely often in the decimal expansion of π.

Bailey and Crandall showed in 2000 that the existence of the above mentioned Bailey-Borwein-Plouffe formula and similar 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 e are algebraically independent, although Yuri Nesterenko proved the algebraic independence of {π, eπ, Γ(1/4)} in 1996. However it is known that at least one of πe and π + e is transcendental (see Lindemann–Weierstrass theorem).

## Use in mathematics and science

π is ubiquitous in mathematics, appearing even in places that lack an obvious connection to the circles of Euclidean geometry.

### Geometry and trigonometry

For any circle with radius r and diameter d = 2r, the circumference is πd and the area is πr2. Further, π appears in formulas for areas and volumes of many other geometrical shapes based on circles, such as ellipses, spheres, cones, and tori. 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:
$int_\left\{-1\right\}^1 sqrt\left\{1-x^2\right\},dx = frac\left\{pi\right\}\left\{2\right\}$
and
$int_\left\{-1\right\}^1frac\left\{1\right\}\left\{sqrt\left\{1-x^2\right\}\right\},dx = pi$
gives half the circumference of the unit circle. More complicated shapes can be integrated as solids of revolution.

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

### Higher analysis and number theory

The frequent appearance of π in complex analysis can be related to the behavior of the exponential function of a complex variable, described by Euler's formula

$e^\left\{ivarphi\right\} = cos varphi + isin varphi !$

where i is the imaginary unit satisfying i2 = −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

$e^\left\{i pi\right\} = -1.!$

There are n different n-th roots of unity

$e^\left\{2 pi i k/n\right\} qquad \left(k = 0, 1, 2, dots, n - 1\right).$

The Gaussian integral

$int_\left\{-infty\right\}^\left\{infty\right\}e^\left\{-x^2\right\}dx=sqrt\left\{pi\right\}.$

A consequence is that the gamma function of a half-integer is a rational multiple of √π.

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

$Lambda = \left\{\left\{8pi G\right\} over \left\{3c^2\right\}\right\} rho$

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

$Delta x, Delta p ge frac\left\{h\right\}\left\{4pi\right\}$

$R_\left\{ik\right\} - \left\{g_\left\{ik\right\} R over 2\right\} + Lambda g_\left\{ik\right\} = \left\{8 pi G over c^4\right\} T_\left\{ik\right\}$

• Coulomb's law for the electric force, describing the force between two electric charges (q1 and q2) separated by distance r:

$F = frac\left\{left|q_1q_2right\left\{4 pi varepsilon_0 r^2\right\}$

$mu_0 = 4 pi cdot 10^\left\{-7\right\},mathrm\left\{N/A^2\right\},$

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

$frac\left\{P^2\right\}\left\{a^3\right\}=\left\{\left(2pi\right)^2 over G \left(M+m\right)\right\}$

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

$f\left(x\right) = \left\{1 over sigmasqrt\left\{2pi\right\} \right\},e^\left\{-\left(x-mu \right)^2/\left(2sigma^2\right)\right\}$

• the probability density function for the (standard) Cauchy distribution:

$f\left(x\right) = frac\left\{1\right\}\left\{pi \left(1 + x^2\right)\right\}.$

Note that since $int_\left\{-infty\right\}^\left\{infty\right\} f\left(x\right),dx = 1$ for any probability density function f(x), the above formulas can be used to produce other integral formulas for π.

Buffon's needle problem is sometimes quoted as a 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:

$pi approx frac\left\{2nL\right\}\left\{xS\right\}.$
Though this result is mathematically impeccable, it cannot be used to determine more than very few digits of π by experiment. Reliably getting just three digits (including the initial "3") right requires millions of throws, 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.

## See also

• List of topics related to π
• Proof that 22/7 exceeds π
• Feynman point – comprising the 762nd through 767th decimal places of π, consisting of the digit 9 repeated six times.
• Indiana Pi Bill.
• Pi Day.
• Software for calculating π on personal computers.
• Mathematical constants: e and φ
• SOCR resource hands-on activity for estimation of π using needle-dropping simulation
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 42, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9341980814933777, "perplexity_flag": "middle"}