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.2. POLYNOMIALS IN TWO VARIABLES 125<br />

Since this is a polynomial in y only, the greatest common divisor does not depend<br />

on x, i.e. pp x (gcd(A, B)) = 1. Since cont x (A) = 1, cont x (gcd(A, B)) = 1, and<br />

hence gcd(A, B) = 1, but we had to go via a polynomial <strong>of</strong> degree 10 to show<br />

this. Space does not allow us to show bigger examples in full, but it can be<br />

shown that, even using the subresultant algorithm (Algorithm 3), computing<br />

the g.c.d. <strong>of</strong> polynomials <strong>of</strong> degree d in x and y can lead to intermediate 2<br />

polynomials <strong>of</strong> degree O(d 2 ).<br />

Suppose A and B both have degree d x in x and d y in y, with A = ∑ a i x i<br />

and B = ∑ b i x i ). After the first division (which is in fact a scaled subtraction<br />

C := a c B − b c A), the coefficients have, in general, degree 2d y in y. If we<br />

assume that each division reduces the degree by 1, then the next result would<br />

be λB − (µx + ν)C where µ = b c has degree d y in y and λ and ν have degree<br />

3d y . This result has degree 5d y in y, but the subresultant algorithm will divide<br />

through by b c , to leave a result D <strong>of</strong> degree d x − 2 in x and 4d y in y. Tthe next<br />

result would be λ ′ C − (µ ′ x + ν ′ )D where µ ′ = lc x (C) has degree 2d y in y and λ ′<br />

and ν ′ have degree 6d y . This result has degree 10d y in y, but the subresultant<br />

algorithm will divide by a factor <strong>of</strong> degree 4, leaving an E <strong>of</strong> degree 6d y in y.<br />

The next time round, we will have degree (after subresultant removal) 8d y in y,<br />

and ultimately degree 2d x d y in y when it has degree 0 in x.<br />

If this is not frigntening enough, consider what happens if, rather than being<br />

in x and y, our polynomials were in n + 1 variables x and y 1 , . . . , y n . Then the<br />

coefficients (with respect to x) <strong>of</strong> the initial polynomials would have degree d y ,<br />

and hence (at most) (1+d y ) n , whereas the result would have (1+2d x d y ) n terms,<br />

roughly (2d y ) n , or exponentially many, times as many terms as the inputs.<br />

If we wish to consider taking greatest common divisors <strong>of</strong> polynomials in<br />

several variables, we clearly have to do better. Fortunately there are indeed<br />

better algorithms. The historically first such algorithm is based on Algorithm<br />

14, except that evaluating a variable at a value replaces working modulo a prime.<br />

Open Problem 5 (Alternative Route <strong>for</strong> Bivariate Polynomial g.c.d.)<br />

Is there any reasonable hope <strong>of</strong> basing an algorithm on Algorithm 13? Intuition<br />

says not, and that, just as Algorithm 14 is preferred to Algorithm 13 <strong>for</strong> the univariate<br />

problem, so should it be here, but to the best <strong>of</strong> the author’s knowledge<br />

the question has never been explored.<br />

The reader will observe that the treatment here is very similar to that <strong>of</strong> the<br />

univariate case, and may well ask “can the treatments be unified?” Indeed<br />

they can, and this was done in [Lau82], but the unification requires rather more<br />

algebraic machinery than we have at our disposal.<br />

Notation 19 From now until section 4.3, we will consider the bivariate case,<br />

gcd(A, B) with A, B ∈ R[x, y] ≡ R[y][x], and we will be considering evaluation<br />

maps replacing y by v ∈ R, writing A y−v <strong>for</strong> the result <strong>of</strong> this evaluation.<br />

2 We stress this word. Unlike the integer case, where the coefficients <strong>of</strong> a g.c.d. can be<br />

larger than those <strong>of</strong> the original polynomials, the degree in y <strong>of</strong> the final g.c.d. cannot be<br />

greater than the (minimum <strong>of</strong>) the degrees (in y) <strong>of</strong> the inputs.

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

Saved successfully!

Ooh no, something went wrong!