Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 6 years ago

Legh gravatar image

Intersection of polynomial Ideals over R

I am trying to compute the intersection of Ideals over R[x,y], but I get problems from the coefficient 12. This is my code:

R.<x,y>=PolynomialRing(RR,order='lex')

I=Ideal([(x^2+y^2-1),(x*y),(y^3-y)])

I5=Ideal([x-1/sqrt(2),y-1/sqrt(2)])

I6=Ideal([x+1/sqrt(2),y-1/sqrt(2)])

I7=Ideal([x+1/sqrt(2),y+1/sqrt(2)])

I8=Ideal([x-1/sqrt(2),y+1/sqrt(2)])

J=I.intersection(I5,I6,I7,I8)

and this is the error I get:

TypeError: Intersection is only available for ideals of the same ring.

So when I ask if

I5 in R

the answer is False. I also tried with QQbar but same result, can someone explain this? Thanks!

P.S. Sorry I can't seem to Blockquote, if some mod does it would be nice

click to hide/show revision 2
None

updated 6 years ago

Iguananaut gravatar image

Intersection of polynomial Ideals over R

I am trying to compute the intersection of Ideals over R[x,y], but I get problems from the coefficient 12. This is my code:

R.<x,y>=PolynomialRing(RR,order='lex')

R.<x,y>=PolynomialRing(RR,order='lex')
 I=Ideal([(x^2+y^2-1),(x*y),(y^3-y)])
 

I=Ideal([(x^2+y^2-1),(x*y),(y^3-y)])

I5=Ideal([x-1/sqrt(2),y-1/sqrt(2)]) I6=Ideal([x+1/sqrt(2),y-1/sqrt(2)])

I5=Ideal([x-1/sqrt(2),y-1/sqrt(2)])

I7=Ideal([x+1/sqrt(2),y+1/sqrt(2)]) I8=Ideal([x-1/sqrt(2),y+1/sqrt(2)])

I6=Ideal([x+1/sqrt(2),y-1/sqrt(2)])

I7=Ideal([x+1/sqrt(2),y+1/sqrt(2)])

I8=Ideal([x-1/sqrt(2),y+1/sqrt(2)])

J=I.intersection(I5,I6,I7,I8)

J=I.intersection(I5,I6,I7,I8)

and this is the error I get:

TypeError: Intersection is only available for ideals of the same ring.

ring.

So when I ask if

I5 in R

R

the answer is False. I also tried with QQbar but same result, can someone explain this? Thanks!

P.S. Sorry I can't seem to Blockquote, if some mod does it would be nice

Intersection of polynomial Ideals over R

I am trying to compute the intersection of Ideals over R[x,y], but I get problems from the coefficient 12. This is my code:

R.<x,y>=PolynomialRing(RR,order='lex')

I=Ideal([(x^2+y^2-1),(x*y),(y^3-y)])

I5=Ideal([x-1/sqrt(2),y-1/sqrt(2)])

I6=Ideal([x+1/sqrt(2),y-1/sqrt(2)])

I7=Ideal([x+1/sqrt(2),y+1/sqrt(2)])

I8=Ideal([x-1/sqrt(2),y+1/sqrt(2)])

J=I.intersection(I5,I6,I7,I8)

and this is the error I get:

TypeError: Intersection is only available for ideals of the same ring.

So when I ask if

I5 in R

the answer is False. I also tried with QQbar but same result, can someone explain this? Thanks!

EDIT: I also tried with 22 instead of 12 and I get the same error.