A Gröbner basis generates the same ideal as the input polynomials:
Use
PolynomialReduce to show that
p1 is in the ideal generated by
g1 and
g2:
By Hilbert's Nullstellensatz, if the ideal is

then the polynomials have no common zero:
Reduce or
Solve proves that there is no common solution:
Conversely, if the ideal is not

, then there is at least one common zero:
Use
FindInstance to find a solution instance:
GroebnerBasis of univariate polynomials is equivalent to computing
PolynomialGCD:
GroebnerBasis of linear polynomials is equivalent to a Gaussian elimination process:
GroebnerBasis is used to solve systems of polynomial equations:
Use
Reduce to directly solve the system:
Solve gives solutions in terms of replacement rules:
Eliminate a variable from a system of polynomial equations:
Eliminate a variable using
Resolve:
Eliminate a variable using
Eliminate:
Eliminate a variable using
Resultant: