# How can I compute Intersect of Ideals?

hello Could you please tell me how can I compute intersect of two or more Ideals? Thank you

How can I compute Intersect of Ideals?

hello Could you please tell me how can I compute intersect of two or more Ideals? Thank you

add a comment

1

I am not sure i understand your question, but you may try:

```
sage: R.<x> = PolynomialRing(QQ, 1) ; R
Multivariate Polynomial Ring in x over Rational Field
sage: I = R.ideal(x^2-1) ; I
Ideal (x^2 - 1) of Multivariate Polynomial Ring in x over Rational Field
sage: J = R.ideal(x^2-2) ; J
Ideal (x^2 - 2) of Multivariate Polynomial Ring in x over Rational Field
sage: I.intersection(J)
Ideal (x^4 - 3*x^2 + 2) of Multivariate Polynomial Ring in x over Rational Field
```

Asked: **
2013-06-05 03:31:15 -0500
**

Seen: **779 times**

Last updated: **Jun 05 '13**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.