TOPICS
Search

Gröbner Basis


A Gröbner basis of an ideal I in a polynomial ring K[x_1,...,x_n] over a field K, for a fixed monomial order, is a finite generating set G of nonzero polynomials such that the leading monomial of every nonzero f in I is divisible by the leading monomial of some member of G. The empty set is used for the zero ideal.

Equivalently, polynomial reduction by G gives each polynomial a unique remainder, and f in I iff that remainder is zero (Buchberger 2001b, pp. 230-231). A Gröbner basis generates the same ideal as the original polynomials, so it has the same common zeros over any extension field. Equality of zero sets alone is a weaker condition. For example, <x> and <x^2> have the same zero set but are different ideals. For linear polynomials, the calculation specializes to Gaussian elimination.

The algorithm for computing Gröbner bases is known as Buchberger's algorithm. Calculating a Gröbner basis is typically a very time-consuming process for large polynomial systems (Trott 2006, p. 37).

For example, in Q[x,y] with lexicographic order x>y, the generating set

 F={xy-1,y^2-1}
(1)

has the reduced Gröbner basis

 G={x-y,y^2-1}.
(2)

The identity x-y=y(xy-1)-x(y^2-1) shows that the new polynomial belongs to the original ideal. Conversely, xy-1=y(x-y)+(y^2-1) shows that F and G generate the same ideal. The monic normalization and reduction by the other members make a reduced Gröbner basis unique for a fixed monomial order.

Gröbner bases are pervasive in the construction of symbolic algebra algorithms. For lexicographic order x_1>...>x_n and 0<=l<n, the basis members involving only x_(l+1), ..., x_n form a Gröbner basis of the corresponding elimination ideal (Cox et al. 1997, p. 113). This permits elimination of the initial variables and is useful in implicitization. For example, the following Wolfram Language command solves for the onset of the period-4 bifurcation of the logistic map in parameter r by eliminating the variables x_1, x_2, x_3, and x_4 from a set of five equations describing the system.

  Factor /@ GroebnerBasis[
    {
      x2 - r x1(1 - x1),
      x3 - r x2(1 - x2),
      x4 - r x3(1 - x3),
      x1 - r x4(1 - x4),
      r^4(1 - 2x1)(1 - 2x2)(1 - 2x3)(1 - 2x4) + 1
    },
    r,
    {x1, x2, x3, x4},
    MonomialOrder -> EliminationOrder
  ]

Because computing a Gröbner basis can be so computationally expensive, variables can sometimes be eliminated more readily from a system of equations by manually computing the resultant of successive pairs of equations to iteratively eliminate one variable at each step.

The determination of a Gröbner basis is very roughly analogous to computing an orthonormal basis from a set of basis vectors and can be described roughly as a combination of Gaussian elimination (for linear systems) and the Euclidean algorithm (for univariate polynomials over a field).

The time and memory required to calculate a Gröbner basis depend very much on the variable ordering, monomial ordering, and on which variables are regarded as constants. Gröbner bases are used implicitly in many routines in the Wolfram Language, and can be called explicitly with the command GroebnerBasis[{poly1, poly2, ...}, {x1, x2, ...}].

In the common case of computing a Gröbner basis to eliminate trigonometric functions from a system of equations, the Weierstrass substitution

cost=(1-h^2)/(1+h^2)
(3)
sint=(2h)/(1+h^2),
(4)

where h=tan(t/2) can be (but are not always) preferable to using c=cost and s=sint with the additional equation c^2+s^2=1 because they reduce the number of variables (Trott 2006, p. 39).

A bibliography about Gröbner bases is maintained by Buchberger and Zapletal.

In the Season 4 opening episode "Trust Metric" (2007) of the television crime drama NUMB3RS, math genius Charlie Eppes mentions that he used Gröbner bases in an attempt to derive an equation describing friendship.


See also

Buchberger's Algorithm, Commutative Algebra, Elimination Ideal, Euclidean Algorithm, Gaussian Elimination, Gröbner Walk, Implicitization, Leading Monomial, Monomial, Monomial Order, Orthonormal Basis, Polynomial Reduction, Reduced Gröbner Basis, S-Polynomial

Explore with Wolfram|Alpha

References

Adams, W. W. and Loustaunau, P. An Introduction to Gröbner Bases. Providence, RI: Amer. Math. Soc., 1994.Becker, T. and Weispfenning, V. Gröbner Bases: A Computational Approach to Commutative Algebra. New York: Springer-Verlag, 1993.Boege, W.; Gebauer, R.; and Kredel, H. "Some Examples for Solving Systems of Algebraic Equations by Calculating Gröbner Bases." J. Symb. Comput. 1, 83-98, 1986.Buchberger, B. "A Criterion for Detecting Unnecessary Reductions in the Construction of Groebner Bases." Proceedings of the International Symposium on Symbolic and Algebraic Computation. pp. 3-21, June 1979.Buchberger, B. "Gröbner-Bases: An Algorithmic Method in Polynomial Ideal Theory." Ch. 6 in Multidimensional Systems Theory (Ed. N. K. Bose). Dordrecht, Netherlands: Reidel, pp. 184-232, 1985.Buchberger, B. "Introduction to Gröbner Bases." In Gröbner Bases and Applications (Ed. B. Buchberger and F. Winkler). Cambridge, England: Cambridge University Press, pp. 3-31, 1998. https://doi.org/10.1017/CBO9780511565847.003.Buchberger, B. "Gröbner Bases: A Short Introduction for Systems Theorists." In Proc. Computer Aided Systems Theory-EUROCAST 2001 (Ed. R. Moreno-Díaz, B. Buchberger, and J. L. Freire). Berlin, Germany: Springer-Verlag, pp. 1-19, 2001a. https://doi.org/10.1007/3-540-45654-6_1.Buchberger, B. "Gröbner Bases and Systems Theory." Multidimensional Systems Signal Process. 12, 223-251, 2001b. https://doi.org/10.1023/A:1011949421611.Buchberger, B. and Zapletal, A. "Gröbner Bases Bibliography." https://www3.risc.jku.at/research/theorema/Groebner-Bases-Bibliography/.Cox, D.; Little, J.; and O'Shea, D. Ideals, Varieties, and Algorithms: An Introduction to Computational Algebraic Geometry and Commutative Algebra, 2nd ed. New York: Springer-Verlag, 1997.Eisenbud, D. Commutative Algebra with a View toward Algebraic Geometry. New York: Springer-Verlag, 1995.Faugere, J. C.; Gianni, P.; Lazard, D.; and Mora, T. "Efficient Computation of Zero-Dimensional Groebner Bases by Change of Ordering." J. Symb. Comput. 16, 329-344, 1993.Fröberg, R. An Introduction to Gröbner Bases. Chichester, England: Wiley, 1997.Giovini, A.; Mora, T.; Niesi, G.; Robbiano, L.; and Traverso, C. "One Sugar Cube, Please?, or Selection Strategies in the Buchberger Algorithm." Proceedings of the International Symposium on Symbolic and Algebraic Computation. pp. 49-54, June 1991.Harris, J. "Rearranging Expressions by Patterns." Mathematica J. 4, 82-85, 1994.Heck, A. "A Bird's-Eye View of Gröbner Bases." http://www.can.nl/ca_library/groebner/tutorials/heck/aihenp96.html.Helzer, G. "Gröbner Bases." Mathematica J. 5, 67-73, 1995.Kreuzer, M. and Robbiano, L. "Gröbner Bases." Ch. 2 in Computational Commutative Algebra 1. Berlin, Germany: Springer-Verlag, pp. 85-144, 2000. https://doi.org/10.1007/978-3-540-70628-1.Lichtblau, D. "Gröbner Bases in Mathematica 3.0." Mathematica J. 6, 81-88, 1996.McGettrick, M. "Buchberger Algorithm--Gröbner Basis--Sparse Multivariate Polynomials." http://grobner.nuigalway.ie/grobner/basis.html.Mishra, B. Algorithmic Algebra. New York: Springer-Verlag, 1993.Nakos, G. and Glinos, M. "Computing Gröbner Bases over the Integers." Mathematica J. 4, 70-75, 1994.Robbiano, L. "Term Ordering on the Polynomial Ring." In EUROCAL '85: European Conference on Computer Algebra, 1985 Linz, Austria, Vol. 2: Research Contributions New York: Springer-Verlag, 1986.Stoutemyer, D. "Which Polynomial Representation Is Best? Surprises Abound!" In Proceedings of the Third MACSYMA Users' Conference, Schenectady, NY. pp. 221-243, 1984.Trott, M. "Applying GroebnerBasis to Three Problems in Geometry." Mathematica Educ. Res. 6, 15-28, 1997.Trott, M. The Mathematica GuideBook for Symbolics. New York: Springer-Verlag, pp. 32-50, 2006. https://www.mathematicaguidebooks.org/.Wang, D. Elimination Methods. Berlin, Germany: Springer-Verlag, 1999.

Referenced on Wolfram|Alpha

Gröbner Basis

Cite this as:

Weisstein, Eric W. "Gröbner Basis." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/GroebnerBasis.html

Subject classifications