Gröbner basis |
In computer algebra, computational algebraic geometry, and computational commutative algebra, a Gröbner basis G (named after Wolfgang Gröbner) is a particular kind of generating subset of an ring ideal I in a polynomial ring R. One can view it as a multivariate, non-linear generalization of:
A Gröbner basis is characterised by any one of the following properties, stated relative to some monomial order:
It should be clear that all these properties are equivalent; different authors use different definitions depending on the topic they choose.
It is a significant fact of commutative algebra that such generating subsets exist, and can be effectively obtained starting with any generating subset.
The basis depends on the monomial ordering chosen, and different orderings can give rise to radically different Gröbner bases. Two of the most commonly used orderings are lexicographical order, and degree lexicographic , a variant on lexicographic ordering where monomials are sorted first by degree, then by lexicographic ordering when two monomials are of the same degree.
In most cases (polynomials in finitely many variables with complex coefficients (more generally coefficients over any field), for example), Gröbner bases exist for any monomial ordering. One method for generating them is known as Buchberger s algorithm. All subsequent algorithms for computing Gröbner bases (including the justifiably celebrated algorithms of Faugére) are a refinement of Buchberger s algorithm.
A Gröbner basis is termed reduced if the leading coefficient of each element of the basis is 1 and no monomial in any element of the basis is in the ideal generated by the leading coefficients of the other elements of the basis. Both standard and reduced Gröbner bases are often computable in practice.
The concept and algorithms of Gröbner bases have been generalized (in a limited way) to modules.
=Properties and applications of Gröbner bases=
==Deciding equality of ideals==
Reduced Gröbner bases can be shown to be unique for any given ideal and monomial ordering, and are also often computable in practice. Thus one can determine if two ideals are equal by looking at their reduced Gröbner bases.
==Deciding membership of ideals==
The reduction of a polynomial f by the multivariate division algorithm for an ideal using a Gröbner basis will yield 0 if and only if f is in the ideal. (This is not true in general for polynomials in more than one variable). This gives a test for determining whether or not a polynomial is in an ideal with a given set of generators.
==Elimination property==
If a Gröbner basis for an ideal I in
: k [ x 1, x 2, ..., x n ]
is computed relative to the lexicographic ordering with
: x 1 > x 2 > ... > x n ,
the intersection of I with
: k [ x k , x k +1, ..., x n ]
is given by the intersection of the Gröbner basis with
: k [ x k , x k+1, ..., x n ].
In particular a polynomial f lies in
: k [ x k , x k +1, ..., x n ],
if and only if its leading term lies in this subring. This is known as the elimination property .
==Solving equations==
In particular, this gives us a method for solving simultaneous polynomial equations. If there are only finitely many solutions to the system of equations
:{ f 1[ x 1, ..., x n ] = a 1, ..., f m [ x 1, ..., x n ] = a n },
we should be able to manipulate these equations to get something of the form
: g ( x n ) = b .
The elimination property says that if we compute a Gröbner basis for the ideal generated by { f 1 − a 1, ..., f m − a m } relative to the right lexicographic ordering, then we can find the polynomial g as one of the elements of our basis. Furthermore, (taking k = n − 1) there will be another polynomial in the basis involving only x n −1 and x n , so we can take our possible solutions for xn and find corresponding values for x n −1. This lifting continues all the way up until we ve found the values of all the variables.
==Conversion of parametric equations ==
The same elimination property can almost be used to convert parametric equations of polynomials into nonparametric equations. Given the equations
:{ x 1 = f 1( t 1, ..., t m ), ..., x n = f n ( t 1, ..., t m )},
we compute a Gröbner basis for the ideal generated by
:{ x 1 − f 1, ..., x n − f n }
relative to any ordering which places polynomials involving t greater than those which don t: for example, lexicographic ordering with
: t 1 > t 2 > ... > t m > x 1 > ... > x n .
Taking only the elements of the basis which do not involve the t variables, we get a set of equations describing not the original surface, but the smallest algebraic variety containing it.
==Intersecting ideals==
*If I is generated by
:{ f 1, ..., f m } and J is generated by some
:{ g 1, ..., g k },
then the intersection of I and J can be found by taking a Gröbner basis for the ideal generated by :{ tf 1, ..., tf m , (1 − t ) g 1, ..., (1 − t ) g k }
relative to any lexicographic ordering which places t first, then taking only those terms not involving t . In particular, this allows us to calculate the least common multiple (and hence the greatest common divisor) of two polynomials f and g , since it is the generator of the intersection of the ideals generated by f and by g . This is true even if we do not know how to factor the polynomials! Also note, that for more than one variable the polynomial ring is no Euclidean domain, so the Euclidean algorithm doesn t work here.
=External link=
*[http://magma.maths.usyd.edu.au/users/allan/gb Comparative Timings Page for Gröbner Bases Software] *[http://grobner.nuigalway.ie/ ogb] Online Gröbner Basis, Galway, Eire *[http://www.cs.le.ac.uk/people/ah83/grobner/ Gröbner Basis Theory] Leicester University|
|