S-Polynomials and Buchberger s Algorithm

Similar documents
Lecture 15: Algebraic Geometry II

POLYNOMIAL DIVISION AND GRÖBNER BASES. Samira Zeada

4 Hilbert s Basis Theorem and Gröbner basis

5 The existence of Gröbner basis

Problem Set 1 Solutions

M3P23, M4P23, M5P23: COMPUTATIONAL ALGEBRA & GEOMETRY REVISION SOLUTIONS

On the minimal free resolution of a monomial ideal.

Gröbner Bases & their Computation

MCS 563 Spring 2014 Analytic Symbolic Computation Monday 27 January. Gröbner bases

Gröbner Bases. eliminating the leading term Buchberger s criterion and algorithm. construct wavelet filters

GRÖBNER BASES AND POLYNOMIAL EQUATIONS. 1. Introduction and preliminaries on Gróbner bases

Groebner Bases and Applications

The F 4 Algorithm. Dylan Peifer. 9 May Cornell University

Lecture 2: Gröbner Basis and SAGBI Basis

1 xa 2. 2 xan n. + c 2 x α 2

PREMUR Seminar Week 2 Discussions - Polynomial Division, Gröbner Bases, First Applications

A decoding algorithm for binary linear codes using Groebner bases

Gröbner Bases over a Dual Valuation Domain

Lesson 14 Properties of Groebner Bases

Lecture 1. (i,j) N 2 kx i y j, and this makes k[x, y]

Counting Zeros over Finite Fields with Gröbner Bases

ABSTRACT. Department of Mathematics. interesting results. A graph on n vertices is represented by a polynomial in n

FOR GRASSMAN ALGEBRAS IN A MAPLE PACKAGE MR. TROY BRACHEY. Tennessee Tech University OCTOBER No

Math 4370 Exam 1. Handed out March 9th 2010 Due March 18th 2010

An Improvement of Rosenfeld-Gröbner Algorithm

On the relation of the Mutant strategy and the Normal Selection strategy

Summer Project. August 10, 2001

Abstract Algebra for Polynomial Operations. Maya Mohsin Ahmed

MATH 497A: INTRODUCTION TO APPLIED ALGEBRAIC GEOMETRY

Polynomials, Ideals, and Gröbner Bases

Computing Free Resolutions in Macaulay2

Computing Minimal Polynomial of Matrices over Algebraic Extension Fields

Grobner Bases: Degree Bounds and Generic Ideals

Comparison between XL and Gröbner Basis Algorithms

An Algebraic Geometric Approach to Analyze Static Voltage Collapse in a Simple Power System Model

Coding Theory: A Gröbner Basis Approach

THE FUNDAMENTAL THEOREM ON SYMMETRIC POLYNOMIALS. Hamza Elhadi S. Daoub

THE ALGEBRAIC GEOMETRY DICTIONARY FOR BEGINNERS. Contents

Computational Theory of Polynomial Ideals

SJÄLVSTÄNDIGA ARBETEN I MATEMATIK

Gröbner bases for the polynomial ring with infinite variables and their applications

Example: This theorem is the easiest way to test an ideal (or an element) is prime. Z[x] (x)

Gröbner Bases, Ideal Computation and Computational Invariant Theory

Solving systems of polynomial equations and minimization of multivariate polynomials

Deducing Polynomial Division Algorithms using a Groebner Basis

100 CHAPTER 4. SYSTEMS AND ADAPTIVE STEP SIZE METHODS APPENDIX

MCS 563 Spring 2014 Analytic Symbolic Computation Friday 31 January. Quotient Rings

Lecture 4 February 5

1.1.1 Algebraic Operations

Algorithms for computing syzygies over V[X 1,..., X n ] where V is a valuation ring

2. Intersection Multiplicities

Computation of the Minimal Associated Primes

Inverse Variation. y varies inversely as x. REMEMBER: Direct variation y = kx where k is not equal to 0.

Dipartimento di Matematica

arxiv: v1 [math.ac] 14 Sep 2016

arxiv: v1 [hep-lat] 13 Oct 2017

ADVANCED TOPICS IN ALGEBRAIC GEOMETRY

SYMMETRIC POLYNOMIALS

On the Inoue invariants of the puzzles of Sudoku type

Page 23, part (c) of Exercise 5: Adapt the argument given at the end of the section should be Adapt the argument used for the circle x 2 +y 2 = 1

Analytical Solutions of Generalized Triples Algorithm for Flush Air-Data Sensing Systems

Lecture 10: Powers of Matrices, Difference Equations

Computational methods in the study of symplectic quotients

Sylvester Matrix and GCD for Several Univariate Polynomials

Linear algebra and differential equations (Math 54): Lecture 10

Higher-Dimensional Analogues of the Combinatorial Nullstellensatz

Standard Bases for Linear Codes over Prime Fields

Applications of results from commutative algebra to the study of certain evaluation codes

5.1 Simplifying Rational Expressions

Computing syzygies with Gröbner bases

Algebraic Varieties. Notes by Mateusz Micha lek for the lecture on April 17, 2018, in the IMPRS Ringvorlesung Introduction to Nonlinear Algebra

Subfields of division algebras. J. Bell

Compatibly split subvarieties of Hilb n (A 2 k)

MTH 1310, SUMMER 2012 DR. GRAHAM-SQUIRE. A rational expression is just a fraction involving polynomials, for example 3x2 2

A Saturation Algorithm for Homogeneous Binomial Ideals

COMPUTATIONAL COMMUTATIVE ALGEBRA NOTES

Letterplace ideals and non-commutative Gröbner bases

Quadrics Defined by Skew-Symmetric Matrices

Real Numbers. Real numbers are divided into two types, rational numbers and irrational numbers

SHUHONG GAO, VIRGÍNIA M. RODRIGUES, AND JEFFREY STROOMER

Change of Ordering for Regular Chains in Positive Dimension

Algebra. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

APPLICATIONS OF LOCAL COHOMOLOGY

FILTERED RINGS AND MODULES. GRADINGS AND COMPLETIONS.

A brief introduction to computational algebraic geometry

THE DIVISION THEOREM IN Z AND F [T ]

Algebra Review. Terrametra Resources. Lynn Patten

MATH 320, WEEK 11: Eigenvalues and Eigenvectors

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 2: HILBERT S NULLSTELLENSATZ.

Math 302 Module 4. Department of Mathematics College of the Redwoods. June 17, 2011


A Combinatorial Approach to Involution and δ-regularity I: Involutive Bases in Polynomial Algebras of Solvable Type

4.5 Rational functions.

Gröbner Bases. Martin R. Albrecht. DTU Crypto Group

Consistent Fixed Points and Negative Gain

Chapter 2. Matrix Arithmetic. Chapter 2

5 Systems of Equations

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

Primary Decomposition of Ideals Arising from Hankel Matrices

Transcription:

S-Polynomials and Buchberger s Algorithm J.M. Selig Faculty of Business London South Bank University, London SE1 0AA, UK 1 S-Polynomials As we have seen in previous talks one of the problems we encounter in the division algorithm is if the leading terms of a pair of polynomials cancel. So here we study this phenomenon in some detail. For any pair of polynomials f 1, f 2 K[x 1, x 2,..., x n ] and a given monomial order, we can form their S-polynomial which deliberately cancels the leading terms of both polynomials. For example, using deglex order, suppose f 1 = 3x 3 y + 2xy y 2 and f 2 = 2xy 2 5y 3, then we can write, S(f 1, f 2 ) = (1/3)yf 1 (1/2)x 2 f 2 = (x 3 y 2 + 2 3 xy2 1 3 y3 ) (x 3 y 2 5 2 x2 y 3 ) = 5 2 x2 y 3 + 2 3 xy2 1 3 y3. This can be written more generally if we introduce the notion of the least common multiple of a pair of monomials. Consider monomials x α and x β, where as usual this is short for x α = x α1 1 xα2 2 xαn n and similar for the other monomial. It is not too difficult to see that the least common multiple (LCM) of these can be found by taking the maximum of each index, LCM(x α, x β ) = x max(α1,β1) 1 x max(α2,β2) 2 x max(αn,βn) n. Now the definition of the S-polynomial of a pair of polynomials can be written formally as, S(f 1, f 2 ) = xγ LT(f 1 ) f 1 xγ LT(f 2 ) f 2, where x γ = LCM(LM(f 1 ), LM(f 2 )) is the least common multiple of the leading monomials of the polynomials. Note that the leading coefficients are inverted when we do this. In some sense this is the only way that cancellation can occur. Consider a polynomial t c if i with constant coefficients c i K and multideg(f i ) = δ = (δ 1, δ 2,..., δ n ) Z n 0, for all i. Now if multideg(h) < δ then h can be written as a linear combination (with coefficients from K) of the S-polynomials: 1

S(f j, f k ) with 1 j, k t. Moreover the multidegrees of these S-polynomials will be less than δ; S(f j, f k ) < δ. To see this let p i = f i /d i where d i K is the leading coefficient of f i. Notice that this means that the leading term of any f i will be LT(f i ) = d i x δ. The sum now becomes, t c id i p i. This can be written in terms of differences of the p i s, t c i d i p i = c 1 d 1 (p 1 p 2 ) + (c 2 d 2 + c 1 d 1 )(p 2 p 3 ) + (c 1 d 1 + c 2 d 2 + c 3 d 3 )(p 3 p 4 ) + + (c 1 d 1 + c 2 d 2 + + c t d t )p t Now, by hypothesis, the multidegree of h is less than δ and this can only happen if the coefficients of x δ sum to zero. That is, (c 1 d 1 + c 2 d 2 + + c t d t ) = 0 and hence the final term in the above expansion must vanish. t c i d i p i = c 1 d 1 (p 1 p 2 ) + (c 2 d 2 + c 1 d 1 )(p 2 p 3 ) + (c 1 d 1 + c 2 d 2 + c 3 d 3 )(p 3 p 4 ) + + (c 1 d 1 + c 2 d 2 + + c t 1 d t 1 )(p t 1 p t ) Next observe that S(f j, f k ) = LT(f j ) f j Hence finally we can write, where, a j = j c id i. LT(f k ) f k = d j x δ f j t t 1 c i d i p i = a j S(f j, f j+1 ) j=1 2 Gröbner Bases in terms of S-polynomials d k x δ f k = (pj p k ). The key theorem here is a characterisation of a Gröbner basis in terms of these S- polynomials. Theorem 1 Let I K[x 1, x 2,..., x n ] be a polynomial ideal with basis G = {g 1, g 2,..., g s } then G is a Gröbner basis for I if and only if the remainder on dividing every S- polynomial S(g i, g j ) (i j) by G (in any order of the basis elements) is zero. One way around this is straightforward, if G is a Gröbner Basis then from what we saw last time, dividing S(g i, g j ) by G in any order must give 0 since the S-polynomials will all be elements of the ideal generated by G. The other way around is substantially harder to show. We must show that given the properties of the S-polynomials, G must be a Gröbner basis. That is, we must show 2

that given the properties of the S-polynomials then the leading term of any f I lies in the ideal < LT(g 1 ), LT(g 2 ),..., LT(g s ) >. If f I =< g 1, g 2,..., g s > then there must be polynomials h i such that, f = h 1 g 1 + h 2 g 2 + + h s g s and moreover, the multidegree of f must be less than or equal to the maximum of the multidegrees of the h i g i s, multideg(f) max(multideg(h i g i )) If equality holds then clearly the leading term of f is divisible by the leading term of the generator g i with the maximal multidegree for h i g i. So in this case LT(f) < LT(g 1 ), LT(g 2 )..., LT(g s ) >. If equality does not hold, then some cancellation must have occurred. This means that, f can be expressed in terms of S-polynomials. Now the hypothesis that the S-polynomials have no remainder when divided by G means that we can undo the cancellation and replace the S-polynomials by expressions involving the g i s. Continuing in this fashion we will eventually find an expression for f in terms of the g i s where the multigegree of f is equal to the maximum multidegree of the terms h i g i. When this happens the theorem is proved. Full details of the proof can be found in [1, pp.82 84]. 3 Buchberger s Algorithm The above considerations lead quite naturally to a fairly simple algorithm for finding a Gröbner basis of an ideal. In essence, we repeatedly compute the S-polynomials of pairs of generators and then divide by the set of generators. If the remainder of this division is non-zero then we extend the set of generators by adding the remainder. Formally this can be written, Inputs: F = (f 1, f 2,..., f s ), a list of generators for a non-zero ideal. Outputs: G = (g 1, g 2,..., g t ), a Gröbner basis for the ideal with F G. Method: Initialise G := F, Repeat G := G For every pair {g i, g j } i j Do, compute the remainder S on dividing S(g i, g j ) by G, If S 0 then G := G {S}, end for Until G = G Output G. The fact the algorithm will terminate is guaranteed by the ascending chain condition (ACC). Each iteration of the central loop increases the monomial ideal generated by 3

the leading terms of the generators < LT(g 1 ), LT(g 2 ),..., LT(g t ) >. Each of these ideas is a sub-ideal of the following iteration and by ACC this sequence will eventually stabalise. Again, for a detailed proof that the algorithm is correct see [1, p. 88]. This algorithm is simple to describe but it is not very efficient, there are now many modifications of this basic routine which make it quicker. However, notice that the above algorithm must repeatedly examine all possible pairs of polynomials in a list, so it is never going to be particularly quick. Groöbner bases for an ideal are not unique, and this can cause difficulties in some circumstances. By imposing more constraints on the possible generators it is possible to define minimal and then reduced Gröbner bases. The reduced Gröbner basis of an ideal is unique and hence can be used to solve the ideal identity problem for example. Given two ideals in terms of a set of generators, how can we tell if they are actually the same ideal? A possible solution is to compute the reduced Gröbner basis for each and compare. If the generators of the reduced Gröbner basis differ then so do the ideals they generate. 4 Example: Solving Systems of Polynomial Equations Consider the problem of finding the points of intersection between two ellipses defined by the equations, 2x 2 4x + y 2 4y + 3 = 0, x 2 2x + 3y 2 12y + 9 = 0. To do this we consider the ideal generated by the two polynomials < f 1, f 2 > where, f 1 = 2x 2 4x + y 2 4y + 3 and f 2 = x 2 2x + 3y 2 12y + 9. The lexical order with x > y will be used in the following. First the S-polynomial, S(f 1, f 2 ) = 5 2 y2 + 10y 15 2. It is easy to see that the remainder on dividing this by (f 1, f 2 ) is just all of S(f 1, f 2 ). Write this as f 3 = 5 2 y2 + 10y 15 2. So we add this to the list of generators to get G 1 = (f 1, f 2, f 3 ). Next we don t have to work out S(f 1, f 2 ) again, it doesn t change, but we do need to find the other two S-polynomials, S(f 1, f 3 ) = 4x 2 y 3x 2 2xy 2 + 1 2 y4 2y 3 + 3 2 y2, S(f 2, f 3 ) = 4x 2 y 3x 2 2xy 2 + 3y 4 12y 3 + 9y 2. Now we divide these S-polynomials by G 1 we get, S(f 1, f 3 ) = (2y 3 2 )f 1 + ( 4 5 x 1 5 y2 + 4 5 y 3 5 )f 3, S(f 2, f 3 ) = (2y 3 2 )f 1 + ( 4 5 x 6 5 y2 + 4 5 y 3 5 )f 3. 4

No remainders, so we are done! Now solving f 3 = 0 gives two solutions for y, y = 3 or y = 1. Substituting either of these solutions into f 1 or f 2 gives x = 0 or x = 2. This gives four possible solutions, (x, y) = (0, 1), (2, 1), (0, 3) and (2, 3), the vertices of a square. References [1] Cox, D. Little, J. and O Shea, D., 1996, Ideals, Varieties, and Algorithms an Introduction to Algebraic Geometry and Commutative Algebra (second ed.), Springer Verlag, Berlin. 5