<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>intersection of ideals</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_ideal_spquotients_spand_spsaturation.html">next</a> | <a href="_dimension_cm_spcodimension_cm_spand_spdegree.html">previous</a> | <a href="_ideal_spquotients_spand_spsaturation.html">forward</a> | <a href="_dimension_cm_spcodimension_cm_spand_spdegree.html">backward</a> | <a href="_ideals.html">up</a> | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <div><a href="index.html" title="">Macaulay2Doc</a> > <a href="_ideals.html" title="">ideals</a> > <a href="_intersection_spof_spideals.html" title="">intersection of ideals</a></div> <hr/> <div><h1>intersection of ideals</h1> <div>Use <a href="_intersect.html" title="compute an intersection">intersect</a> to compute the intersection of two or more ideals.<table class="examples"><tr><td><pre>i1 : R = QQ[a..d];</pre> </td></tr> <tr><td><pre>i2 : intersect(ideal(a,b),ideal(c*d,a*b),ideal(b*d,a*c)) o2 = ideal (b*c*d, a*c*d, a*b*d, a*b*c) o2 : Ideal of R</pre> </td></tr> </table> The command <a href="_intersect.html" title="compute an intersection">intersect</a> will only work with proper ideals. To intersect an ideal with a ring, use <a href="_select__In__Subring.html" title="select columns in a subring">selectInSubring</a> along with the elimination ordering, see <a href="___Eliminate.html" title="elimination order">Eliminate</a>.</div> </div> </body> </html>