19.07.2014 Views

Contents - Student subdomain for University of Bath

Contents - Student subdomain for University of Bath

Contents - Student subdomain for University of Bath

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.1. GCD IN ONE VARIABLE 115<br />

The concept <strong>of</strong> modular methods is inspired by this calculation, where there<br />

is no possibility <strong>of</strong> intermediate expression swell, <strong>for</strong> the integers modulo 5 are<br />

bounded (by 4). Obviously, there is no need to use the integers modulo 5: any<br />

prime number p will suffice (we chose 5 because the calculation does not work<br />

modulo 2, <strong>for</strong> reasons to be described later, and 3 divides one <strong>of</strong> the leading<br />

coefficients). In this example, the result was that the polynomials are relatively<br />

prime. This raises several questions about generalising this calculation to an<br />

algorithm capable <strong>of</strong> calculating the g.c.d. <strong>of</strong> any pair <strong>of</strong> polynomials:<br />

1. how do we calculate a non-trivial g.c.d.?<br />

2. what do we do if the modular g.c.d. is not the modular image <strong>of</strong> the g.c.d.<br />

(as in the example in the footnote 1 )?<br />

3. how much does this method cost?<br />

4.1.1 Bounds on divisors<br />

Be<strong>for</strong>e we can answer these questions, we have to be able to bound the coefficients<br />

<strong>of</strong> the g.c.d. <strong>of</strong> two polynomials.<br />

Theorem 27 (Landau–Mignotte Inequality [Lan05, Mig74, Mig82]) Let<br />

Q = ∑ q<br />

i=0 b ix i be a divisor <strong>of</strong> the polynomial P = ∑ p<br />

i=0 a ix i (where a i and b i<br />

are integers). Then<br />

q<br />

max<br />

i=0 |b i| ≤<br />

√<br />

q∑<br />

∣ ∣ √√√ ∣∣∣<br />

|b i | ≤ 2 q b q ∣∣∣<br />

p∑<br />

a 2 i<br />

a .<br />

p<br />

i=0<br />

These results are corollaries <strong>of</strong> statements in Appendix A.2.2.<br />

If we regard P as known and Q as unknown, this <strong>for</strong>mulation does not<br />

quite tell us about the unknowns in terms <strong>of</strong> the knowns, since there is some<br />

dependence on Q on the right, but we can use a weaker <strong>for</strong>m:<br />

√ √√√ q∑<br />

p∑<br />

|b i | ≤ 2 p a 2 i .<br />

i=0<br />

When it comes to greatest common divisors, we have the following result.<br />

Corollary 8 Every coefficient <strong>of</strong> the g.c.d. <strong>of</strong> A = ∑ α<br />

i=0 a ix i and B = ∑ β<br />

i=0 b ix i<br />

(with a i and b i integers) is bounded by<br />

i=0<br />

i=0<br />

⎛<br />

2 min(α,β) gcd(a α , b β ) min ⎝ 1<br />

√ α ∑<br />

a 2 i<br />

|a α |<br />

, 1<br />

∑<br />

√ β<br />

|b β |<br />

i=0<br />

i=0<br />

b 2 i<br />

⎞<br />

⎠ .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!