# 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

2

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
```

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2013-06-05 10:31:15 +0100 **

Seen: **2,361 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.