Pi
is the ratio between a circle's circumference and diameter. That is,
is a fundamental constant in mathematics, especially in geometry, trigonometry, and calculus. The first 10 digits of (sometimes written as "pi" and pronounced as "pie") are , but any finite list of digits is an approximation of . This is because is an irrational number meaning it is not perfectly equivalent to any ratio of whole numbers, as well as a transcendental number.
Contents
Applications of in Geometry
Common geometric formulae involving
- where is the circumference of a circle and is the diameter.
- where is the area of a circle and is the radius.
- where is the volume of a sphere and is the radius.
- where is the surface area of a sphere and is the radius.
- where is the area of an ellipse and and are the semi-minor and semi-major axes.
A circle is inscribed in a square. What is the ratio of the area of the circle to the area of the square?
Approximating using Polygons
By measuring the perimeter of these polygons, we can approximate the perimeter of the circle.
The perimeters of these -gons can be obtained from regular polygons trigonometry and we can then use small-angle approximation to find the limit,
An approximation for can be derived from the perimeters of a circumscribed square and an inscribed square.
![]()
Let be the perimeter of the larger square, the perimeter of the smaller square, and the circumference of the circle.
The circumference of the circle can then be approximated by the average of the two perimeters:
If is the diameter of the circle, then the length of a side of the larger square is also . The length of a side of the smaller square can be found using a special right triangle. This length is . Now we have
So, our approximation for the circumference is . Dividing this equation by yields us an approximation for
This isn't a particularly good approximation! However, better approximations can be obtained using a similar method with regular polygons with more sides.
Approximating by Statistical Techniques
There are many simulations and statistical techniques that can be used to approximate . Long before computers were invented, the French mathematicians Buffon and Laplace proposed using a stochastic simulation to estimate the value of .
"Buffon's needle" famously approximates using the fact that a straight needle is equally likely to land at any angle when it is tossed onto a plane.
Suppose needles of length 1 are dropped onto a floor with strips of wood 1 unit apart. The expected value for the number of needles which cross two strips of wood is
![]()
The crux of the proof is the idea of breaking up each needle into small segments. Loosely speaking, linearity of expectation tells us that the expected number of times that the needle will cross between two strips of wood is proportional to the length of the needle.
Thus, as a function of the length the expected number of crossings is for some constant However, consider a circle with diameter 1 (so circumference ); with probability 1, this circle will intersect exactly 2 of the wood-crossings. Hence, so If one is uncomfortable with the idea of a circle, consider approximating the circle by combining a bunch of very, very small linear segments.
This results in an easy simulation technique for approximating Simply throw needles on the floor, count the number of needles which cross two strips of wood, and then This type of simulation technique is known as a Monte Carlo simulation.
Another approximation is even simpler. Think about inscribing a circle in a square with sides of length , so that the radius of the circle is of length .
The true area of the circle is . Buffon suggested that he could estimate the area of a circle by a dropping a large number of needles (which he argued would follow a random path as they fell) in the vicinity of the square. The ratio of the number of needles with tips lying within the square to the number of needles with tips lying within the circle could then be used to estimate the area of the circle:
Applications of in Complex Numbers, Trigonometry, and Euler's Formula
The number is important in trigonometry, as it provides a more natural interpretation of angles than degrees do. Specifically, radians are defined so that radians are equivalent to a full circle (in other words, , understood as radians, is commonly equal to 180 degrees when used in trigonometry); in this way, an angle of corresponds to an arc length of , where is the radius of the circle. Equivalently, radians are defined so that one radian corresponds to an arc length equal to the radius of the circle.
This also allows for easy evaluation of trigonometric functions:
(in radians) | |||
0 | 0 | 1 | 0 |
1 | |||
1 | 0 | undefined | |
0 | -1 | 0 |
This also allows complex numbers to be presented in polar coordinates, meaning that any complex number can be written in the form for some real numbers and . The number plays a key role in their analysis, as this complex number is equivalent to
as both sides represent the same point in the complex plane. Setting gives the famous identity
It is conjectured that this is the only nontrivial relation between the numbers and , making this result (known as Euler's formula) even more remarkable.
Exactly Defining as an Infinite Series
Though cannot be represented as any finite series of rational numbers (as a consequence of being irrational), there are many ways to express as an infinite series. The "first," historically speaking, of these sequences was an infinite product:
which, since the term of the infinite product is by repeated application of the half-angle formula, is equivalent to the statement
which is true, as for large .
More useful series involves infinite sums rather than products, because calculating the first few terms of an infinite expression of gives good approximations of its value. The simplest is the Gregory-Leibniz series, which uses the evaluation of the Taylor series of at 1:
However, this converges slowly, meaning that a large number of terms are necessary to get a good approximation of . Better series include Machin-like formulae:
In the modern computer era, even better series are known:
which can be used to calculate millions of digits of .
Exactly Defining as an Integral
can also be defined in terms of integrals. The simplest are those that represent the area or perimeter of a circle:
as represents the top half of a circle over .
More complicated integrals come from statistics, such as the area under the normal distribution:
and the Cauchy distribution:
Finally, appears in various expressions involving the gamma function, which is an extension of the factorial function defined as
which contains when evaluated on half-integers. For example,