Pi is irrational because it cannot be written as a ratio of two integers. In other words, there is no pair of whole numbers a and b such that π = a/b exactly. This was proved rigorously in 1761 by Johann Heinrich Lambert, and the proof rests on the deep structure of the number, not on any measurement or approximation.
What Irrational Really Means
A rational number is any number that can be expressed as a fraction of two integers, such as 1/2, −3/7, or 5 (which is 5/1). The decimal expansion of a rational number either terminates (like 0.25) or eventually repeats a block of digits forever (like 0.333… or 0.142857142857…). An irrational number is one that cannot be written this way, and its decimal expansion never terminates and never falls into a repeating pattern.
Pi is the classic example. Its decimal begins 3.141592653589793… and continues forever with no repeating block. That non-repeating, non-terminating decimal is a consequence of irrationality, not the definition of it. The definition is about fractions of integers.
Why the Fraction 22/7 Fails
Many people learn 22/7 as a handy approximation for pi. It is close — 22/7 ≈ 3.142857 — but it is not equal to pi. The difference is about 0.00126, small enough to fool a quick calculation but large enough to matter in precise work. Other famous approximations include 355/113 (≈ 3.14159292), which is accurate to six decimal places, and 3.14159, which is just a truncated decimal, not a fraction of integers at all.
Every one of these is an approximation. No fraction of integers can equal pi exactly, which is precisely what “irrational” asserts.
How the Proof Works
Lambert’s original proof used the continued fraction expansion of the tangent function and showed that tan(x) is irrational for any nonzero rational x. Since tan(π/4) = 1, a rational number, π/4 cannot be rational, and therefore π cannot be rational. Later mathematicians gave other proofs, including one by Charles Hermite and simpler modern versions using calculus and polynomials.
A common modern proof strategy runs roughly as follows:
- Assume, for contradiction, that π = a/b for some positive integers a and b.
- Construct a carefully designed polynomial and integrate it over an interval related to π.
- Show that the integral must be a positive integer, but also that it is strictly between 0 and 1 for a suitable choice of parameters.
- Since no integer lies strictly between 0 and 1, the assumption must be false, so π is irrational.
The details are technical, but the logic is a classic proof by contradiction: assume the opposite, derive an impossibility, conclude the original statement is true.
Irrational vs. Transcendental
Irrationality is not the strongest property π has. In 1882, Ferdinand von Lindemann proved that π is transcendental, meaning it is not the root of any nonzero polynomial equation with rational coefficients. Every transcendental number is irrational, but not every irrational number is transcendental. For example, √2 is irrational but not transcendental, because it satisfies x² − 2 = 0.
Transcendence is why the ancient problem of “squaring the circle” — constructing a square with the same area as a given circle using only a compass and straightedge — is impossible. If π were merely irrational, the problem might still have been solvable in some cases; transcendence rules it out entirely.
Common Misconceptions
- “Pi is irrational because its decimal never ends.” Many rational numbers have decimals that never end, such as 1/3 = 0.333… The key is that pi’s decimal never repeats, not merely that it never ends.
- “Pi equals 22/7.” It does not. 22/7 is an approximation, and a fairly rough one compared with 355/113.
- “Irrational means crazy or illogical.” In mathematics, irrational simply means “not a ratio of integers.” It has nothing to do with being unreasonable.
- “We can’t know pi exactly because it’s irrational.” We know pi exactly as a symbol and through precise definitions; we simply cannot write its full decimal expansion or express it as a simple fraction.
Why It Matters
Irrationality is not just a curiosity. It guarantees that any decimal or fractional representation of pi is necessarily an approximation, which is why engineers and scientists must choose a precision appropriate to their task. It also underpins results in number theory and analysis, and it explains why certain geometric constructions are impossible. The proof that π is irrational was a landmark in the development of rigorous mathematics, showing that intuition about numbers can be misleading and that proof is essential.
Frequently Asked Questions
Is pi irrational or rational?
Pi is irrational. It cannot be expressed as a fraction of two integers, and its decimal expansion never terminates or repeats.
Who proved pi is irrational?
Johann Heinrich Lambert gave the first rigorous proof in 1761. Earlier mathematicians suspected it but did not prove it.
Is 22/7 equal to pi?
No. 22/7 is a common approximation, but it differs from pi by about 0.00126. It is not exact.
Can pi be written as a fraction?
No fraction of integers equals pi exactly. Any fraction you see, such as 355/113, is an approximation.
Is pi transcendental?
Yes. Ferdinand von Lindemann proved in 1882 that pi is transcendental, meaning it is not the root of any nonzero polynomial with rational coefficients.
Does an irrational number have to be a never-ending decimal?
No. Irrational numbers have non-repeating, non-terminating decimals, but many rational numbers also have non-terminating decimals (like 1/3). The defining feature is the lack of a repeating pattern, not the lack of an end.