Fiveable

๐ŸŒฟComputational Algebraic Geometry Unit 3 Review

QR code for Computational Algebraic Geometry practice questions

3.2 Monomial orderings and division algorithm

3.2 Monomial orderings and division algorithm

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐ŸŒฟComputational Algebraic Geometry
Unit & Topic Study Guides

Monomial orderings are crucial for comparing and manipulating polynomials. They provide a systematic way to arrange terms, which is essential for algorithms like polynomial division. Understanding these orderings helps us work with complex polynomials and solve equations.

The division algorithm for polynomials extends the familiar process of dividing numbers to the world of polynomials. It allows us to break down complicated polynomials into simpler parts, making it easier to solve equations and study algebraic structures.

Monomial Orderings

Definition and Properties

  • A monomial ordering is a total order on the set of monomials in a polynomial ring, which is compatible with the multiplication of monomials
  • Compatibility with multiplication means that if m1โ‰คm2m_1 \leq m_2, then m1โ‹…mโ‰คm2โ‹…mm_1 \cdot m \leq m_2 \cdot m for any monomial mm
  • A monomial ordering is called a well-ordering if every strictly decreasing sequence of monomials eventually terminates
    • This is a necessary condition for the division algorithm to work

Types of Monomial Orderings

  • The three main types of monomial orderings are lexicographic order (lex), graded lexicographic order (grlex), and graded reverse lexicographic order (grevlex)
  • Lexicographic order (lex) compares monomials by comparing their exponents from left to right, similar to how words are ordered in a dictionary
    • Example: x2yโ‰คxy3x^2y \leq xy^3 in lex order because 2<32 < 3
  • Graded lexicographic order (grlex) first compares the total degree of the monomials, and if the degrees are equal, it then uses lexicographic order to break ties
    • Example: x2y2โ‰คxy3x^2y^2 \leq xy^3 in grlex order because 2+2=4<1+3=42+2 = 4 < 1+3 = 4
  • Graded reverse lexicographic order (grevlex) also compares the total degree of monomials first, but if the degrees are equal, it uses reverse lexicographic order to break ties
    • Example: x2y2โ‰คx3yx^2y^2 \leq x^3y in grevlex order because 2+2=4=3+12+2 = 4 = 3+1 and 2<32 < 3

Applying Orderings to Polynomials

Leading Terms, Coefficients, and Monomials

  • Given a monomial ordering, the leading term of a polynomial is the term with the highest monomial according to the chosen ordering
  • The leading coefficient of a polynomial is the coefficient of the leading term
  • The leading monomial of a polynomial is the monomial part of the leading term
    • Example: For f=3x2y+2xy2โˆ’y3f = 3x^2y + 2xy^2 - y^3, under lex order, the leading term is 3x2y3x^2y, the leading coefficient is 33, and the leading monomial is x2yx^2y
Definition and Properties, set theory - Well Ordering Theorem Proof - Mathematics Stack Exchange

Comparing Polynomials

  • To compare two multivariate polynomials using a monomial ordering, compare their leading terms according to the chosen ordering
    • Example: Let f=3x2y+2xy2โˆ’y3f = 3x^2y + 2xy^2 - y^3 and g=x3โˆ’2x2y+xyg = x^3 - 2x^2y + xy. Under lex order, fโ‰คgf \leq g because x2yโ‰คx3x^2y \leq x^3
  • The choice of monomial ordering can affect the leading term, leading coefficient, and leading monomial of a multivariate polynomial
    • Example: For f=3x2y+2xy2โˆ’y3f = 3x^2y + 2xy^2 - y^3, under grlex order, the leading term is โˆ’y3-y^3, the leading coefficient is โˆ’1-1, and the leading monomial is y3y^3

Polynomial Division Algorithm

Algorithm Description

  • The polynomial division algorithm is a generalization of the univariate polynomial division algorithm to multivariate polynomials using a chosen monomial ordering
  • The algorithm divides a polynomial ff by a set of polynomials {g1,โ€ฆ,gs}\{g_1, \ldots, g_s\} and returns a remainder rr and quotients {q1,โ€ฆ,qs}\{q_1, \ldots, q_s\} such that f=q1g1+โ€ฆ+qsgs+rf = q_1g_1 + \ldots + q_sg_s + r, where rr is reduced with respect to {g1,โ€ฆ,gs}\{g_1, \ldots, g_s\}
  • A polynomial rr is reduced with respect to a set of polynomials {g1,โ€ฆ,gs}\{g_1, \ldots, g_s\} if no term of rr is divisible by any of the leading terms of {g1,โ€ฆ,gs}\{g_1, \ldots, g_s\}

Algorithm Steps

  • The division algorithm proceeds by iteratively canceling the leading term of ff by the leading term of one of the divisor polynomials until no further reduction is possible
    1. Initialize the remainder rr to ff and the quotients {q1,โ€ฆ,qs}\{q_1, \ldots, q_s\} to zero
    2. While rโ‰ 0r \neq 0 and rr is not reduced with respect to {g1,โ€ฆ,gs}\{g_1, \ldots, g_s\}:
      • Choose a polynomial gig_i whose leading term divides the leading term of rr
      • Update qi:=qi+LT(r)LT(gi)q_i := q_i + \frac{LT(r)}{LT(g_i)} and r:=rโˆ’LT(r)LT(gi)โ‹…gir := r - \frac{LT(r)}{LT(g_i)} \cdot g_i
    3. Return the remainder rr and quotients {q1,โ€ฆ,qs}\{q_1, \ldots, q_s\}
Definition and Properties, Use long division to divide polynomials | College Algebra

Monomial Ordering Choice

  • The choice of monomial ordering determines the leading terms of the polynomials and thus affects the outcome of the division algorithm
    • Example: Dividing f=x2y+xy2+y3f = x^2y + xy^2 + y^3 by g=xyโˆ’1g = xy - 1 yields different results under lex and grlex orders:
      • Under lex order: f=(xy+y2)โ‹…g+yf = (xy + y^2) \cdot g + y
      • Under grlex order: f=(x+y)โ‹…g+yf = (x + y) \cdot g + y

Orderings Impact on Division

Remainder and Quotient Dependence

  • Different monomial orderings can lead to different remainders and quotients in the polynomial division algorithm
    • Example: Dividing f=x2y+xy2+y3f = x^2y + xy^2 + y^3 by g1=xyโˆ’1g_1 = xy - 1 and g2=y2โˆ’1g_2 = y^2 - 1 yields different results under lex and grlex orders:
      • Under lex order: f=(x+y)โ‹…g1+(1)โ‹…g2+2f = (x + y) \cdot g_1 + (1) \cdot g_2 + 2
      • Under grlex order: f=(x)โ‹…g1+(y)โ‹…g2+x+yf = (x) \cdot g_1 + (y) \cdot g_2 + x + y

Computational Efficiency

  • The choice of monomial ordering can affect the efficiency of the division algorithm, as some orderings may lead to fewer reduction steps than others
  • Graded reverse lexicographic order (grevlex) is often used in practice due to its computational efficiency and desirable properties for Grรถbner basis computations

Grรถbner Bases

  • Grรถbner bases, which are a key concept in computational algebraic geometry, depend on the choice of monomial ordering used in the division algorithm
  • The division algorithm with respect to a Grรถbner basis always yields a unique remainder, regardless of the order in which the divisor polynomials are used
    • Example: If {g1,โ€ฆ,gs}\{g_1, \ldots, g_s\} is a Grรถbner basis under a given monomial ordering, then dividing any polynomial ff by {g1,โ€ฆ,gs}\{g_1, \ldots, g_s\} will always result in the same remainder rr, regardless of the order in which the gig_i are used in the division algorithm