Proof that π is irrational

From Wikipedia, the free encyclopedia

In the 1760s, Johann Heinrich Lambert was the first to prove that the number π is irrational, meaning it cannot be expressed as a fraction , where and are both integers. In the 19th century, Charles Hermite found a proof that requires no prerequisite knowledge beyond basic calculus. Three simplifications of Hermite's proof are due to Mary Cartwright, Ivan Niven, and Nicolas Bourbaki. Another proof, which is a simplification of Lambert's proof, is due to Miklós Laczkovich. Many of these are proofs by contradiction.

In 1882, Ferdinand von Lindemann proved that π is not just irrational, but transcendental as well.[1]

Lambert's proof[edit]

Scan of formula on page 288 of Lambert's "Mémoires sur quelques propriétés remarquables des quantités transcendantes, circulaires et logarithmiques", Mémoires de l'Académie royale des sciences de Berlin (1768), 265–322

In 1761, Lambert proved that π is irrational by first showing that this continued fraction expansion holds:

Then Lambert proved that if x is non-zero and rational, then this expression must be irrational. Since , it follows that is irrational, and thus π is also irrational.[2] A simplification of Lambert's proof is given below.

Hermite's proof[edit]

Written in 1873, this proof uses the characterization of π as the smallest positive number whose half is a zero of the cosine function and it actually proves that π2 is irrational.[3][4] As in many proofs of irrationality, it is a proof by contradiction.

Consider the sequences of functions An and Un from into for defined by:

Using induction we can prove that

and therefore we have:


which is equivalent to

Using the definition of the sequence and employing induction we can show that

where Pn and Qn are polynomial functions with integer coefficients and the degree of Pn is smaller than or equal to ⌊n/2⌋. In particular, An(π/2) = Pn(π2/4).

Hermite also gave a closed expression for the function An, namely

He did not justify this assertion, but it can be proved easily. First of all, this assertion is equivalent to

Proceeding by induction, take n = 0.

and, for the inductive step, consider any . If

then, using integration by parts and Leibniz's rule, one gets

If π2/4 = p/q, with p and q in , then, since the coefficients of Pn are integers and its degree is smaller than or equal to ⌊n/2⌋, qn/2⌋Pn(π2/4) is some integer N. In other words,

But this number is clearly greater than 0. On the other hand, the limit of this quantity as n goes to infinity is zero, and so, if n is large enough, N < 1. Thereby, a contradiction is reached.

Hermite did not present his proof as an end in itself but as an afterthought within his search for a proof of the transcendence of π. He discussed the recurrence relations to motivate and to obtain a convenient integral representation. Once this integral representation is obtained, there are various ways to present a succinct and self-contained proof starting from the integral (as in Cartwright's, Bourbaki's or Niven's presentations), which Hermite could easily see (as he did in his proof of the transcendence of e[5]).

Moreover, Hermite's proof is closer to Lambert's proof than it seems. In fact, An(x) is the "residue" (or "remainder") of Lambert's continued fraction for tan(x).[6]

Cartwright's proof[edit]

Harold Jeffreys wrote that this proof was set as an example in an exam at Cambridge University in 1945 by Mary Cartwright, but that she had not traced its origin.[7] It still remains on the 4th problem sheet today for the Analysis IA course at Cambridge University.[8]

Consider the integrals

where n is a non-negative integer.

Two integrations by parts give the recurrence relation


then this becomes

Furthermore, J0(x) = 2sin(x) and J1(x) = −4x cos(x) + 4sin(x). Hence for all n ∈ Z+,

where Pn(x) and Qn(x) are polynomials of degree ≤ n, and with integer coefficients (depending on n).

Take x = π/2, and suppose if possible that π/2 = a/b, where a and b are natural numbers (i.e., assume that π is rational). Then

The right side is an integer. But 0 < In(π/2) < 2 since the interval [−1, 1] has length 2 and the function that is being integrated takes only values between 0 and 1. On the other hand,

Hence, for sufficiently large n

that is, we could find an integer between 0 and 1. That is the contradiction that follows from the assumption that π is rational.

This proof is similar to Hermite's proof. Indeed,

However, it is clearly simpler. This is achieved by omitting the inductive definition of the functions An and taking as a starting point their expression as an integral.

Niven's proof[edit]

This proof uses the characterization of π as the smallest positive zero of the sine function.[9]

Suppose that π is rational, i.e. π = a /b for some integers a and b ≠ 0, which may be taken without loss of generality to be positive. Given any positive integer n, we define the polynomial function:

and, for each x ∈ ℝ let

Claim 1: F(0) + F(π) is an integer.

Proof: Expanding f as a sum of monomials, the coefficient of xk is a number of the form ck /n! where ck is an integer, which is 0 if k < n. Therefore, f (k)(0) is 0 when k < n and it is equal to (k! /n!) ck if nk ≤ 2n; in each case, f (k)(0) is an integer and therefore F(0) is an integer.

On the other hand, f(πx) = f(x) and so (–1)kf (k)(πx) = f (k)(x) for each non-negative integer k. In particular, (–1)kf (k)(π) = f (k)(0). Therefore, f (k)(π) is also an integer and so F(π) is an integer (in fact, it is easy to see that F(π) = F(0), but that is not relevant to the proof). Since F(0) and F(π) are integers, so is their sum.

Claim 2:

Proof: Since f (2n + 2) is the zero polynomial, we have

The derivatives of the sine and cosine function are given by sin' = cos and cos' = −sin. Hence the product rule implies

By the fundamental theorem of calculus

Since sin 0 = sin π = 0 and cos 0 = – cos π = 1 (here we use the above-mentioned characterization of π as a zero of the sine function), Claim 2 follows.

Conclusion: Since f(x) > 0 and sin x > 0 for 0 < x < π (because π is the smallest positive zero of the sine function), Claims 1 and 2 show that F(0) + F(π) is a positive integer. Since 0 ≤ x(abx) ≤ πa and 0 ≤ sin x ≤ 1 for 0 ≤ xπ, we have, by the original definition of f,

which is smaller than 1 for large n, hence F(0) + F(π) < 1 for these n, by Claim 2. This is impossible for the positive integer F(0) + F(π). This shows that the original assumption that π is rational leads to a contradiction, which concludes the proof.

The above proof is a polished version, which is kept as simple as possible concerning the prerequisites, of an analysis of the formula

which is obtained by 2n + 2 integrations by parts. Claim 2 essentially establishes this formula, where the use of F hides the iterated integration by parts. The last integral vanishes because f (2n + 2) is the zero polynomial. Claim 1 shows that the remaining sum is an integer.

Niven's proof is closer to Cartwright's (and therefore Hermite's) proof than it appears at first sight.[6] In fact,

Therefore, the substitution xz = y turns this integral into

In particular,

Another connection between the proofs lies in the fact that Hermite already mentions[3] that if f is a polynomial function and


from which it follows that

Bourbaki's proof[edit]

Bourbaki's proof is outlined as an exercise in his calculus treatise.[10] For each natural number b and each non-negative integer n, define

Since An(b) is the integral of a function defined on [0,π] that takes the value 0 on 0 and on π and which is greater than 0 otherwise, An(b) > 0. Besides, for each natural number b, An(b) < 1 if n is large enough, because

and therefore

On the other hand, repeated integration by parts allows us to deduce that, if a and b are natural numbers such that π = a/b and f is the polynomial function from [0,π] into R defined by


This last integral is 0, since f (2n + 1) is the null function (because f is a polynomial function of degree 2n). Since each function f (k) (with 0 ≤ k ≤ 2n) takes integer values on 0 and on π and since the same thing happens with the sine and the cosine functions, this proves that An(b) is an integer. Since it is also greater than 0, it must be a natural number. But it was also proved that An(b) < 1 if n is large enough, thereby reaching a contradiction.

This proof is quite close to Niven's proof, the main difference between them being the way of proving that the numbers An(b) are integers.

Laczkovich's proof[edit]

Miklós Laczkovich's proof is a simplification of Lambert's original proof.[11] He considers the functions

These functions are clearly defined for all x ∈ R. Besides

Claim 1: The following recurrence relation holds:

Proof: This can be proved by comparing the coefficients of the powers of x.

Claim 2: For each x ∈ R,

Proof: In fact, the sequence x2n/n! is bounded (since it converges to 0) and if C is an upper bound and if k > 1, then

Claim 3: If x ≠ 0 and if x2 is rational, then

Proof: Otherwise, there would be a number y ≠ 0 and integers a and b such that fk(x) = ay and fk + 1(x) = by. In order to see why, take y = fk + 1(x), a = 0 and b = 1 if fk(x) = 0; otherwise, choose integers a and b such that fk + 1(x)/fk(x) = b/a and define y = fk(x)/a = fk + 1(x)/b. In each case, y cannot be 0, because otherwise it would follow from claim 1 that each fk + n(x) (n ∈ N) would be 0, which would contradict claim 2. Now, take a natural number c such that all three numbers bc/k, ck/x2 and c/x2 are integers and consider the sequence


On the other hand, it follows from claim 1 that

which is a linear combination of gn + 1 and gn with integer coefficients. Therefore, each gn is an integer multiple of y. Besides, it follows from claim 2 that each gn is greater than 0 (and therefore that gn ≥ |y|) if n is large enough and that the sequence of all gn converges to 0. But a sequence of numbers greater than or equal to |y| cannot converge to 0.

Since f1/2(π/4) = cos(π/2) = 0, it follows from claim 3 that π2/16 is irrational and therefore that π is irrational.

On the other hand, since

another consequence of Claim 3 is that, if x ∈ Q \ {0}, then tan x is irrational.

Laczkovich's proof is really about the hypergeometric function. In fact, fk(x) = 0F1(k; −x2) and Gauss found a continued fraction expansion of the hypergeometric function using its functional equation.[12] This allowed Laczkovich to find a new and simpler proof of the fact that the tangent function has the continued fraction expansion that Lambert had discovered.

Laczkovich's result can also be expressed in Bessel functions of the first kind Jν(x). In fact, Γ(k)Jk − 1(2x) = xk − 1fk(x). So Laczkovich's result is equivalent to: If x ≠ 0 and if x2 is rational, then

See also[edit]


  1. ^ Lindemann, Ferdinand von (2004) [1882], "Ueber die Zahl π", in Berggren, Lennart; Borwein, Jonathan M.; Borwein, Peter B. (eds.), Pi, a source book (3rd ed.), New York: Springer-Verlag, pp. 194–225, ISBN 0-387-20571-3.
  2. ^ Lambert, Johann Heinrich (2004) [1768], "Mémoire sur quelques propriétés remarquables des quantités transcendantes circulaires et logarithmiques", in Berggren, Lennart; Borwein, Jonathan M.; Borwein, Peter B. (eds.), Pi, a source book (3rd ed.), New York: Springer-Verlag, pp. 129–140, ISBN 0-387-20571-3.
  3. ^ a b Hermite, Charles (1873). "Extrait d'une lettre de Monsieur Ch. Hermite à Monsieur Paul Gordan". Journal für die reine und angewandte Mathematik (in French). 76: 303–311.
  4. ^ Hermite, Charles (1873). "Extrait d'une lettre de Mr. Ch. Hermite à Mr. Carl Borchardt". Journal für die reine und angewandte Mathematik (in French). 76: 342–344.
  5. ^ Hermite, Charles (1912) [1873]. "Sur la fonction exponentielle". In Picard, Émile (ed.). Œuvres de Charles Hermite (in French). Vol. III. Gauthier-Villars. pp. 150–181.
  6. ^ a b Zhou, Li (2011). "Irrationality proofs à la Hermite". The Mathematical Gazette. 95 (534): 407–413. arXiv:0911.1929. doi:10.1017/S0025557200003491. S2CID 115175505.
  7. ^ Jeffreys, Harold (1973), Scientific Inference (3rd ed.), Cambridge University Press, p. 268, ISBN 0-521-08446-6
  8. ^ "Department of Pure Mathematics and Mathematical Statistics". Retrieved 2022-04-19.
  9. ^ Niven, Ivan (1947), "A simple proof that π is irrational" (PDF), Bulletin of the American Mathematical Society, vol. 53, no. 6, p. 509, doi:10.1090/s0002-9904-1947-08821-2
  10. ^ Bourbaki, Nicolas (1949), Fonctions d'une variable réelle, chap. I–II–III, Actualités Scientifiques et Industrielles (in French), vol. 1074, Hermann, pp. 137–138
  11. ^ Laczkovich, Miklós (1997), "On Lambert's proof of the irrationality of π", American Mathematical Monthly, vol. 104, no. 5, pp. 439–443, doi:10.2307/2974737, JSTOR 2974737
  12. ^ Gauss, Carl Friedrich (1811–1813), "Disquisitiones generales circa seriem infinitam", Commentationes Societatis Regiae Scientiarum Gottingensis Recentiores (in Latin), 2