# Gröbner basis (groebner_basis)

Groebner basis of a list of polynomials.

## How to write it

### groebner_basis(polynomials, variables)

**polynomials**

A list of polynomials. Takes a list.

**variables**

A variable, or a list of variables such as \[x, y\]. Takes a variable, or a list of variables.

## Examples

- $\displaystyle \operatorname{groebner\_basis}(\left[ x^{2}+y, x+y^{2} \right], \left[ x, y \right]) = \left[ y^{2}+x, y^{4}+y \right]$

  `groebner_basis([x^2 + y, x + y^2], [x, y])`

  In the solver, `groebner_basis([x^2 + y, x + y^2], [x, y])` gives `[y^2 + x, y^4 + y]`.

  [Open in the solver](https://hilberon.com/?q=groebner_basis%28%5Bx%5E2%20%2B%20y%2C%20x%20%2B%20y%5E2%5D%2C%20%5Bx%2C%20y%5D%29)

## Related functions

- [minimal_polynomial](https://hilberon.com/library/minimal_polynomial)

  Minimal polynomial of an algebraic number over the rationals.
- [function_expand](https://hilberon.com/library/function_expand)

  Rewrite special functions of shifted arguments in terms of simpler ones.
- [nc_multiply](https://hilberon.com/library/nc_multiply)

  The noncommutative product: multiplies quaternions in order, and anything else stays as written.
- [full_simplify](https://hilberon.com/library/full_simplify)

  Search harder than simplify for a simpler form, under assumptions.
- [numerator](https://hilberon.com/library/numerator)

  Numerator of a fraction.
- [factor](https://hilberon.com/library/factor)

  Factor a polynomial into irreducible factors.

---
Source: https://hilberon.com/library/groebner_basis
