Previous Up Next

11.5.3  Testing if a (list of) polynomial(s) belongs to an ideal given by a Gröbner basis

The in_ideal command determines whether or not a polynomial is in an ideal.

Examples

in_ideal((x+y)^2,[y^2,x^2+2*x*y],[x,y])
     
1           
in_ideal([(x+y)^2,x+y],[y^2,x^2+2*x*y],[x,y])
     

1,0
          
in_ideal(x+y,[y^2,x^2+2*x*y],[x,y])
     
0           

Previous Up Next