<?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>sums, products, and powers of ideals</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_equality_spand_spcontainment.html">next</a> | <a href="_ideals_spto_spand_spfrom_spmodules.html">previous</a> | <a href="_equality_spand_spcontainment.html">forward</a> | <a href="_ideals_spto_spand_spfrom_spmodules.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="_sums_cm_spproducts_cm_spand_sppowers_spof_spideals.html" title="">sums, products, and powers of ideals</a></div> <hr/> <div><h1>sums, products, and powers of ideals</h1> <div>Arithmetic for ideals uses the standard symbols. Below are examples of the basic arithmetic functions for ideal.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[a..d]/(b*c-a*d,c^2-b*d,b^2-a*c);</pre> </td></tr> </table> For more information about quotient rings see <a href="_quotient_springs.html" title="">quotient rings</a>.<table class="examples"><tr><td><pre>i2 : I = ideal (a*b-c,d^3); o2 : Ideal of R</pre> </td></tr> <tr><td><pre>i3 : J = ideal (a^3,b*c-d); o3 : Ideal of R</pre> </td></tr> <tr><td><pre>i4 : I+J 3 3 o4 = ideal (a*b - c, d , a , a*d - d) o4 : Ideal of R</pre> </td></tr> <tr><td><pre>i5 : I*J 4 3 2 3 3 4 4 o5 = ideal (a b - a c, a b*d - a*b*d - a*c*d + c*d, a d , a*d - d ) o5 : Ideal of R</pre> </td></tr> <tr><td><pre>i6 : I^2 3 2 3 3 6 o6 = ideal (a c - 2a d + b*d, a*b*d - c*d , d ) o6 : Ideal of R</pre> </td></tr> </table> For more information see <a href="___Ideal_sp_pl_sp__Ideal.html" title="sum of ideals">Ideal + Ideal</a>, <a href="___Ideal_sp_st_sp__Ideal.html" title="product of ideals">Ideal * Ideal</a>, and <a href="___Ideal_sp^_sp__Z__Z.html" title="power">Ideal ^ ZZ</a>.</div> </div> </body> </html>