Home › Fractions › Lesson 9

Irrationality and Diophantine Approximation

Lesson 9 of 12

Key idea of this section

x is irrational  ⟺  0 < |qx − p| < ε has integer solutions for every ε > 0.
Dirichlet: every irrational x has infinitely many p/q with |x − p/q| < 1/q².
Liouville: an algebraic x of degree d ≥ 2 satisfies |x − p/q| ≥ c(x)/qd.

Three proofs that √2 is irrational

First proof (valuations). If √2 = p/q then p² = 2q², and v2 of the left side is even while v2 of the right side is odd.

Second proof (descent). If √2 = p/q with q ≥ 1 minimal, then since 1 < √2 < 2 we have 0 < p − q < q, and

(2q − p)/(p − q) = (2 − √2)/(√2 − 1) = √2,

a representation with smaller denominator, a contradiction. Geometrically this is the classical argument that the side and diagonal of a square have no common measure.

Third proof (rational root theorem). √2 is a root of the monic polynomial x² − 2, so if it were rational it would be an integer, but 1² < 2 < 2².

An irrationality criterion

Proposition 9.1. A real number x is irrational if and only if for every ε > 0 there are integers p, q with 0 < |qx − p| < ε.

Proof. If x = a/b with b ≥ 1, then qx − p = (qa − pb)/b is either 0 or at least 1/b in absolute value, so the condition fails for ε = 1/b. Conversely, if x is irrational, Dirichlet's theorem below provides, for every N, integers with 0 < |qx − p| < 1/N. ∎

Every classical irrationality proof is, at heart, a construction of integer combinations qx − p that are nonzero but too small to be nonzero integers divided by a fixed denominator.

The irrationality of e

Theorem 9.2 (Euler, 1737; this proof is due to Fourier). The number e is irrational.

Proof. Suppose e = a/q with integers a, q ≥ 1. The number

N = q!·(e − ∑k=0q 1/k!)

is an integer, because q!·e = (q − 1)!·a and q!/k! ∈ ℤ for k ≤ q. On the other hand N = ∑k > q q!/k! > 0 and

N = 1/(q + 1) + 1/((q + 1)(q + 2)) + ⋯ < ∑j ≥ 1 (q + 1)−j = 1/q ≤ 1,

so 0 < N < 1, a contradiction. ∎

The irrationality of π

Theorem 9.3 (Lambert, 1761; this proof is due to Niven, 1947). The number π is irrational.

Proof. Suppose π = a/b with positive integers a, b. For n ≥ 1 put

f(x) = xⁿ(a − bx)ⁿ / n!,     F(x) = f(x) − f″(x) + f⁽⁴⁾(x) − ⋯ + (−1)ⁿ f⁽²ⁿ⁾(x).

The polynomial n!·f has integer coefficients and only terms of degree n to 2n, so fj(0) is 0 for j < n and an integer for j ≥ n. Since f(π − x) = f(x), also fj(π) = (−1)j fj(0) ∈ ℤ. Hence F(0) and F(π) are integers. Now F″ + F = f, so

d/dx [F′(x) sin x − F(x) cos x] = F″(x) sin x + F(x) sin x = f(x) sin x,

and therefore ∫₀π f(x) sin x dx = F(π) + F(0) ∈ ℤ. But for 0 < x < π we have 0 < f(x) sin x ≤ πⁿaⁿ/n!, so the integral lies strictly between 0 and π(πa)ⁿ/n!, which is less than 1 for n large. No integer lies strictly between 0 and 1. ∎

Hermite proved in 1873 that e is transcendental, and Lindemann in 1882 that π is transcendental, which settled the ancient problem of squaring the circle. Apéry's proof of the irrationality of ζ(3) (1978) uses the same principle with an ingenious sequence of rational approximations. It is still unknown whether e + π, or Euler's constant γ, is irrational.

Dirichlet's approximation theorem

Theorem 9.4 (Dirichlet, 1842). For every real x and every integer N ≥ 1 there are integers p, q with 1 ≤ q ≤ N and |qx − p| < 1/N.

Proof. Consider the N + 1 numbers {kx} = kx − ⌊kx⌋ for k = 0, 1, …, N, all in [0, 1), and the N intervals [j/N, (j + 1)/N) for j = 0, …, N − 1. By the pigeonhole principle two of them, {ix} and {jx} with 0 ≤ i < j ≤ N, lie in the same interval. Put q = j − i and p = ⌊jx⌋ − ⌊ix⌋; then 1 ≤ q ≤ N and |qx − p| = |{jx} − {ix}| < 1/N. ∎

Corollary 9.5. If x is irrational, there are infinitely many fractions p/q with |x − p/q| < 1/q².

Proof. Dividing the theorem's conclusion by q gives |x − p/q| < 1/(qN) ≤ 1/q². Since x is irrational, |qx − p| > 0 for every pair; choosing N larger than 1/|qx − p| for the pairs already found produces new pairs. ∎

The pigeonhole argument extends immediately to simultaneous approximation: for real x₁, …, xd and N ≥ 1 there is 1 ≤ q ≤ Nd with |qxi − pi| < 1/N for all i. This is the starting point of the geometry of numbers.

Liouville's theorem and transcendental numbers

Theorem 9.6 (Liouville, 1844). Let x be a real algebraic number of degree d ≥ 2. There is a constant c(x) > 0 such that |x − p/q| ≥ c(x)/qd for all integers p and q ≥ 1.

Proof. Let f ∈ ℤ[t] be the minimal polynomial of x, of degree d, scaled to have integer coefficients. Let M = max |f′(t)| over [x − 1, x + 1]. If |x − p/q| ≥ 1 there is nothing to prove once c ≤ 1. Otherwise, f(p/q) ≠ 0 because f is irreducible of degree ≥ 2 and so has no rational root, and qᵈ f(p/q) is a nonzero integer, so |f(p/q)| ≥ 1/qᵈ. By the mean value theorem, |f(p/q)| = |f(x) − f(p/q)| ≤ M|x − p/q|. Hence |x − p/q| ≥ 1/(M qᵈ), and c(x) = min(1, 1/M) works. ∎

Corollary 9.7. The Liouville number L = ∑k ≥ 1 10−k! = 0.110001000000000000000001… is transcendental.

Proof. Let pn/qn be the partial sum up to k = n, so qn = 10n!. Then 0 < L − pn/qn < 2·10−(n+1)! = 2/qnn+1. If L were algebraic of degree d (d ≥ 2, since its decimal expansion is not eventually periodic), Liouville's theorem would give c/qnd < 2/qnn+1 for all n, which fails once n + 1 > d and qn is large. ∎

The irrationality measure μ(x) is the supremum of the exponents μ for which |x − p/q| < 1/qμ has infinitely many solutions. Rationals have μ = 1, Dirichlet gives μ ≥ 2 for irrationals, Liouville gives μ ≤ d for algebraic numbers of degree d, and the Thue–Siegel–Roth theorem (Roth, 1955, for which he received the Fields Medal in 1958) gives μ(x) = 2 for every irrational algebraic x. By a theorem of Khinchin, μ(x) = 2 for almost every real x. For e one also has μ(e) = 2, as follows from its continued fraction, whereas for π the best known upper bound, due to Zeilberger and Zudilin (2020), is about 7.103.

Exercise

  • (a)
    Dirichlet's theorem with x = √2 and N = 10 guarantees some q ≤ 10 with |q√2 − p| < 1/10. Find the smallest such q.
  • (b)
    Prove that log₂ 3 is irrational.
Show solution

Answers: (a) Testing q = 1, …, 5: the distances from q√2 to the nearest integer are about 0.414, 0.172, 0.243, 0.343, 0.071. So q = 5 is the smallest, with |5√2 − 7| ≈ 0.0711 < 0.1. (b) If log₂ 3 = a/b with positive integers a, b, then 2a = 3b, impossible because the left side is even and the right side odd.

V.3.1