Contents - Student subdomain for University of Bath
Contents - Student subdomain for University of Bath
Contents - Student subdomain for University of Bath
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.1. GCD IN ONE VARIABLE 117<br />
This lemma is not very easy to use on its own, <strong>for</strong> it supposes that we know<br />
the g.c.d. (or at least its leading coefficient) be<strong>for</strong>e we are able to check whether<br />
the modular reduction has the same degree. But this leading coefficient has<br />
to divide the two leading coefficients <strong>of</strong> A and B, and this gives a <strong>for</strong>mulation<br />
which is easier to use.<br />
Corollary 10 If p does not divide the leading coefficients <strong>of</strong> A and <strong>of</strong> B (it<br />
may divide one, but not both), then the degree <strong>of</strong> gcd(A p , B p ) is greater than or<br />
equal to that <strong>of</strong> gcd(A, B).<br />
As the g.c.d. is the only polynomial (to within an integer multiple) <strong>of</strong> its degree<br />
which divides A and B, we can test the correctness <strong>of</strong> our calculations <strong>of</strong> the<br />
g.c.d.: if the result has the degree <strong>of</strong> gcd(A p , B p ) (where p satisfies the hypothesis<br />
<strong>of</strong> this corollary) and if it divides A and B, then it is the g.c.d. (to within an<br />
integer multiple).<br />
It is quite possible that we could find a gcd(A p , B p ) <strong>of</strong> too high a degree.<br />
For example, in the case cited above, gcd(A 2 , B 2 ) = x + 1 (it is obvious that<br />
x + 1 divides the two polynomials modulo 2, because the sum <strong>of</strong> the coefficients<br />
<strong>of</strong> each polynomial is even). The following lemma shows that this possibility<br />
can only arise <strong>for</strong> a finite number <strong>of</strong> p.<br />
Lemma 6 Let C = gcd(A, B). If p satisfies the condition <strong>of</strong> the corollary above,<br />
and if p does not divide Res x (A/C, B/C), then gcd(A p , B p ) = C p .<br />
Pro<strong>of</strong>. A/C and B/C are relatively prime, <strong>for</strong> otherwise C would not be the<br />
g.c.d. <strong>of</strong> A and B. By the corollary, C p does not vanish. There<strong>for</strong>e<br />
gcd(A p , B p ) = C p gcd(A p /C p , B p /C p ).<br />
For the lemma to be false, the last g.c.d. has to be non-trivial. This implies that<br />
the resultant Res x (A p /C p , B p /C p ) vanishes, by proposition 58 <strong>of</strong> the Appendix.<br />
This resultant is the determinant <strong>of</strong> a Sylvester matrix, and |M p | = (|M|) p , <strong>for</strong><br />
the determinant is only a sum <strong>of</strong> products <strong>of</strong> the coefficients. In the present case,<br />
this amounts to saying that Res x (A/C, B/C) p vanishes, that is that p divides<br />
Res x (A/C, B/C). But the hypotheses <strong>of</strong> the lemma exclude this possibility.<br />
Definition 70 If gcd(A p , B p ) = gcd(A, B) p , we say that the reduction <strong>of</strong> this<br />
problem modulo p is good, or that p is <strong>of</strong> good reduction. If not, we say that p<br />
is <strong>of</strong> bad reduction.<br />
This lemma implies, in particular, that there are only a finite number <strong>of</strong> values<br />
<strong>of</strong> p such that gcd(A p , B p ) does not have the same degree as that <strong>of</strong> gcd(A, B),<br />
that is the p which divide the g.c.d. <strong>of</strong> the leading coefficients and the p which<br />
divide the resultant <strong>of</strong> the lemma (the resultant is non-zero, and there<strong>for</strong>e has<br />
only a finite number <strong>of</strong> divisors). In particular, if A and B are relatively prime,<br />
we can always find a p such that A p and B p are relatively prime. An alternative<br />
pro<strong>of</strong> that there are only finitely primes <strong>of</strong> bad reduction can be deduced from<br />
Lemma 9.