<< Chapter < Page Chapter >> Page >

The division algorithm

We would like to generalize the division algorithm to polynomials in several variables. In the single variable case, it suffices to be able to divide by a single polynomial

g ( x ) = q ( x ) f ( x ) + r ( x )

with deg r ( x ) < deg f ( x ) , in the sense that even if we want to determine, given g ( x ) , f 1 ( x ) , f 2 ( x ) , whether it's possible to write

g ( x ) = q 1 ( x ) f 1 ( x ) + q 2 ( x ) f 2 ( x )

we can use Euclid's algorithm to find the gcd f ( x ) of f 1 ( x ) and f 2 ( x ) and write it as f ( x ) = a 1 ( x ) f 1 ( x ) + a 2 ( x ) f 2 ( x ) , and then simply divide g ( x ) by f ( x ) .

Another way of saying this is that every ideal f 1 ( x ) , ... , f k ( x ) R [ x ] is in fact generated by a single element f 1 ( x ) , ... , f k ( x ) = f ( x ) , and both computing this element (using Euclid's algorithm) and testing whether g ( x ) is divisible by it can be carried out by dividing by single polynomials.

The situation is much more complicated when dealing with polynomials in several variables. For example, the ideal x , y R [ x , y ] can not be generated by a single element, and while x and y have no common factors, it is not possible to write 1 = q 1 ( x , y ) x + q 2 ( x , y ) y . As such, we won't be able to limit ourselves to dividing by a single polynomial.

Another condition that we'll have to change in the multivariable case is our requirement that deg r ( x ) < deg f ( x ) . For example, if we tried to write

x 2 y + x y 2 + z 3 = q 1 ( x , y ) x + q 2 ( x , y ) y + r ( x , y ) ,

it seems like whatever choices of q 1 and q 2 we make we'll always be stuck with a z 3 term in the remainder, which has a larger degree than the polynomials x and y that we're dividing by.

The division algorithm in several variables

We now describe what we can do over R [ x 1 , ... , x n ] by essentially just following the usual division algorithm for single variable polynomials. Since the single variable division algorithm involves the leading terms of various polynomials, we fix a monomial order on R [ x 1 , ... , x n ] and use it to define L T ( f ) to be the leading term of a polynomial f according to that monomial order.

Now suppose we are given a polynomial g that we are trying to divide by polynomials f 1 , ... , f k R [ x 1 , ... , x n ] to write

g = q 1 f 1 + + q n f n + r .

If L T ( g ) is divisible by L T ( f i ) , then we can add L T ( g ) L T ( f i ) to q i and subtract L T ( g ) L T ( f i ) f i from g to cancel out the leading term of g , leaving it with aa smaller leading term. In this way, we eventually arrive at a polynomial whose leading term is not divisible by any of the L T ( f i ) , and so we must move that leading term to the remainder. We continue in this way: we either cancel out L T ( g ) if it is divisible by some L T ( f i ) or we just move it to the remainder if it isn't. Since the leading term decreases at each step, this process must terminate eventually with no terms left of g , and at that point every term of the remainder we're left with will not be divisible by any of the L T ( f i ) .

Theorem (Division algorithm in R [ x 1 , ... , x n ] ) Fix a monomial order. Let f 1 , ... , f k R [ x 1 , ... , x n ] be given. Then every g R [ x 1 , ... , x n ] can be expressed as

g = q 1 f 1 + + q k f k + r

with q 1 , ... , q k , r R [ x 1 , ... , x n ] and either r = 0 or every term of r is not divisible by the leading term of any of the f i . Also, the leading monomial of each q i f i is no greater than that of f .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, The art of the pfug. OpenStax CNX. Jun 05, 2013 Download for free at http://cnx.org/content/col10523/1.34
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'The art of the pfug' conversation and receive update notifications?

Ask