Home › Fractions › Lesson 3

Valuations, Reduced Forms and Rational Roots

Lesson 3 of 12

Key idea of this section

Every x ∈ ℚ× has a unique factorisation x = ±∏ pvp(x) with vp(x) ∈ ℤ,
and vp(xy) = vp(x) + vp(y),  vp(x + y) ≥ min(vp(x), vp(y)).

The p-adic valuation

By the fundamental theorem of arithmetic, every nonzero integer n factors uniquely as ±∏ pep. Set vp(n) = ep, the exponent of the prime p in n. For x = a/b ∈ ℚ× define vp(x) = vp(a) − vp(b). This is well defined, because a/b = a′/b′ gives ab′ = a′b and hence vp(a) + vp(b′) = vp(a′) + vp(b). By convention vp(0) = +∞.

Proposition 3.1. For all x, y ∈ ℚ: (i) vp(xy) = vp(x) + vp(y); (ii) vp(x + y) ≥ min(vp(x), vp(y)), with equality whenever vp(x) ≠ vp(y).

Proof. Part (i) is additivity of exponents. For (ii) we may assume x, y, x + y ≠ 0. Let m = min(vp(x), vp(y)) and write x = pm·a/b and y = pm·c/d with p ∤ bd. Then x + y = pm(ad + bc)/(bd) and p ∤ bd, so vp(x + y) ≥ m. If, say, vp(x) = m < vp(y), then p ∤ a but p | c, so p ∤ ad + bc and equality holds. ∎

The map vp: ℚ× → ℤ is a surjective group homomorphism, a discrete valuation. Its valuation ring {x : vp(x) ≥ 0} is exactly the localisation ℤ₍ₚ₎ of Lesson 1, and x ∈ ℤ if and only if vp(x) ≥ 0 for every prime p. Collecting all primes gives the structure theorem

ℚ×  ≅  {±1} × ⊕_p ℤ,     x ↦ (sign x, (vp(x))p),

so the multiplicative group of ℚ is a free abelian group on the primes, times a group of order 2.

Reduced forms

Proposition 3.2. Every x ∈ ℚ has a unique representation x = a/b with b > 0 and gcd(a, b) = 1. If x = c/d is any representation, then c = ka and d = kb for some nonzero integer k.

Proof. Existence: divide any representation by the gcd and fix the sign. If a/b = c/d with gcd(a, b) = 1, then ad = bc, so b | ad and, being coprime to a, b | d (Euclid's lemma). Writing d = kb gives akb = ad = bc, and cancelling b ≠ 0 gives c = ka. Uniqueness of the reduced form follows because two reduced representations divide each other's denominators. ∎

The same proof works in any unique factorisation domain, so in Frac(D) for a UFD D every element has a reduced representation, unique up to multiplication of numerator and denominator by a common unit.

The rational root theorem

Theorem 3.3. Let f(x) = an xⁿ + ⋯ + a₁x + a₀ ∈ ℤ[x] with an a₀ ≠ 0. If r/s is a root of f with gcd(r, s) = 1, then r | a₀ and s | an.

Proof. Multiply f(r/s) = 0 by sⁿ:

an rⁿ + an−1 rn−1 s + ⋯ + a₁ r sn−1 + a₀ sⁿ = 0.

Every term except a₀sⁿ is divisible by r, so r | a₀sⁿ, and since gcd(r, s) = 1, r | a₀. Similarly every term except an rⁿ is divisible by s, so s | an. ∎

Corollary 3.4. A monic polynomial in ℤ[x] has no rational roots other than integers; in particular, for a positive integer N and k ≥ 2, the number N1/k is rational only if N is a perfect k-th power. In the language of algebraic number theory, ℤ is integrally closed in ℚ.

For example, the rational roots of 6x³ − 11x² + 6x − 1 lie among ±1, ±1/2, ±1/3, ±1/6, and testing shows that they are 1, 1/2 and 1/3; indeed 6x³ − 11x² + 6x − 1 = (x − 1)(2x − 1)(3x − 1).

Gauss's lemma

Call f ∈ ℤ[x] primitive if the gcd of its coefficients is 1. Gauss's lemma states that the product of primitive polynomials is primitive. Proof: if a prime p divided every coefficient of fg, then in 𝔽p[x] we would have f̄ ḡ = 0 with f̄, ḡ ≠ 0, impossible because 𝔽p[x] is a domain. Consequently a primitive polynomial is irreducible in ℤ[x] if and only if it is irreducible in ℚ[x]: any factorisation over ℚ can be rescaled, by clearing denominators and extracting contents, into a factorisation over ℤ with factors of the same degrees. This is the bridge from the field of fractions back to the ring, and it is the reason why ℤ[x] is a unique factorisation domain.

Harmonic numbers are not integers

Valuations give slick proofs of non-integrality. Let Hn = 1 + 1/2 + ⋯ + 1/n.

Theorem 3.5. For n ≥ 2, v2(Hn) = −⌊log₂ n⌋. In particular Hn is not an integer.

Proof. Let 2k be the largest power of 2 not exceeding n, so k = ⌊log₂ n⌋ ≥ 1. Among 1, …, n the integer 2k is the only one divisible by 2k, since 2·2k > n. Thus v2(1/2k) = −k while v2(1/j) > −k for every other j ≤ n. Group the remaining terms into a sum T with v2(T) > −k (by part (ii) of Proposition 3.1). Then by the equality case, v2(Hn) = v2(1/2k + T) = −k < 0. ∎

For example H10 = 7381/2520, where 2520 = 2³·3²·5·7 and 7381 = 11²·61, so v2(H10) = −3 = −⌊log₂ 10⌋, in agreement with the theorem. Wolstenholme's theorem, which asserts that the numerator of Hp−1 is divisible by p² for primes p ≥ 5, is a deeper statement of the same flavour.

Exercise

  • (a)
    Compute v2, v3, v5, v7 and v11 of x = −540/77.
  • (b)
    Find v3(H10) and explain why it is negative.
Show solution

Answers: (a) 540 = 2²·3³·5 and 77 = 7·11, so v2(x) = 2, v3(x) = 3, v5(x) = 1, v7(x) = −1 and v11(x) = −1; the sign plays no role. (b) From H10 = 7381/2520 with 7381 = 11²·61 and v3(2520) = 2, v3(H10) = −2. The reason: 9 is the only j ≤ 10 with v3(j) = 2, so the term 1/9 has strictly smallest 3-adic valuation and dominates the sum.

V.3.1