next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: Ideal + Ideal

Ideal + Ideal -- sum of ideals

Synopsis

Description

i1 : R = QQ[t][a..d];
i2 : I = ideal(a,(t+1)*c) + ideal(a^2,b^2)

                          2   2
o2 = ideal (a, (t + 1)c, a , b )

o2 : Ideal of R
The generators produced are not generally minimal. Use trim(Ideal) or mingens(Ideal) to find a smaller generating set.
i3 : trim I

                          2
o3 = ideal (a, (t + 1)c, b )

o3 : Ideal of R

See also