§ Gauss Lemma for polynomials
- Let z(x)∈Z[X] such that z(x)=p(x)q(x) where p(x),q(x)∈Q[X]. Then we claim that there exists p′(x),q′(x)∈Z[x] such that z(x)=p′(x)q′(x).
- For example, suppose p(x)=a0/b0+a1x/b1 and q(x)=c0/d0+c1x/d1, such that p(x)q(x)∈Z[x] and these fractions are in lowest form. So, bi∣ai and di∣ci.
- Take common demoniator, so we can then find things the denominator divides to write as a product in Z. For example, we know that 9/10⋅20/3=6. This can be obtained by rearranging the product as (9/3)⋅(20/10)=3⋅2=6. We wish to perform a similar rearrangement, by first writing 9/10⋅20/3 as (9⋅20)/(10⋅3), and then pairing up 10↔20 and 3↔9 to get the final integer (9/3)(20/10)=6. After pairing up, each of the pairs (9/3) and (20/10) are clearly integers.
- Take common demoniator in p(x) and write it as a fraction: p(x)=(a0b1+(a1b0)x)/b0b1, and similarly q(x)=(c0d1+(c1d0)x)/d0d1.
- We claim that the denominator of p(x), b0b1 does not divide the numerator of p(x), (a0b1+(a1b0)x). This can be seen term-by-term. b0b1 does not divide a0b1 since a0b1/b0b1=a0/b0 which was assumed to be in lowest form, and a real fraction. Similarly for all terms in the numerator.
- Since the product p(x)q(x) which we write as fractions as (a0b1+(a1b0)x)(c0d1+(c1d0)x)/(b0b1)(d0d1) is integral, we must have that b0b1 divides the numerator. Since b0b1 does not divide the first factor (a0b1+(a1b0)x), it must divide the second factor (c0d1+(c1d0)x). Thus, the polynomial q′(x)≡(c0d1+(c1d0)x)/b0b1 is therefore integral [ie, q′(x)∈Z[x]].
- By the exact same reasoning, we must have d0d1 divides the product p(x)q(x). Since d0d1 does not divide (c0d1+(c1d0)x), it must divide (a 0 b 1 + (a 1 b 0)x) and therefore p′(x)≡(a0b1+(a1b0)x)/(d0d1)is integral.
- Thus, we can write z(x)=p′(x)q′(x) where p′(x),q′(x)∈Z[x].
- This generalizes, since we never used anything about being linear, we simply reasoned term by term.
§ Alternate way to show that the factorization is correct.
- Start at p(x)q(x)=(a0b1+(a1b0)x)(c0d1+(c1d0)x)/(b0b1)(d0d1).
- Rewrite as p(x)q(x)⋅(b0b1)(d0d1)=(a0b1+(a1b0)x)(c0d1+(c1d0)x)
- Suppose α is a prime factor of b0. Then reduce the above equation mod α. We get 0≡α(a0b1+(a1b0)x)(c0d1+(c1d0)x). Since Z/αZ[x] is an integral domain, we have that one of (a0b1+(a1b0)x) or (c0d1+(c1d0)x) vanishes, and thus pdivides one of the two.
- This works for all prime divisors of the denominators, thus we can "distribute" the prime divisors of the denominators across the two polynomials.
- Proof that Z/αZ[x] is an integral domain: note that Z/αZ is a field, thus Z/αZ[x] is a Euclidean domain (run Euclid algorithm). This implies it is integral.