<?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>Ring / Ideal -- make a quotient ring</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Ring_sp^_sp__List.html">next</a> | <a href="___Ring_sp_st_st_sp__Ring.html">previous</a> | <a href="___Ring_sp^_sp__List.html">forward</a> | <a href="___Ring_sp_st_st_sp__Ring.html">backward</a> | up | <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> <hr/> <div><h1>Ring / Ideal -- make a quotient ring</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>S = R/I</tt></div> </dd></dl> </div> </li> <li><span>Operator: <a href="__sl.html" title="a binary operator, usually used for division">/</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>R</tt>, <span>a <a href="___Ring.html">ring</a></span></span></li> <li><span><tt>I</tt>, <span>an <a href="___Ideal.html">ideal</a></span> or element of <tt>R</tt>or <span>a <a href="___List.html">list</a></span> or <span>a <a href="___Sequence.html">sequence</a></span> of elements of <tt>R</tt></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><tt>S</tt>, <span>a <a href="___Quotient__Ring.html">quotient ring</a></span>, the quotient ring <tt>R/I</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>If <tt>I</tt> is a ring element of <tt>R</tt> or <tt>ZZ</tt>, or a list or sequence of such elements, then <tt>I</tt> is understood to be the ideal generated by these elements. If <tt>I</tt> is a module, then it must be a submodule of a free module of rank 1.<table class="examples"><tr><td><pre>i1 : ZZ[x]/367236427846278621 ZZ[x] o1 = ------------------ 367236427846278621 o1 : QuotientRing</pre> </td></tr> </table> <table class="examples"><tr><td><pre>i2 : A = QQ[u,v];</pre> </td></tr> <tr><td><pre>i3 : I = ideal random(A^1, A^{-2,-2,-2}) 2 9 7 2 8 2 10 8 2 2 2 6 2 o3 = ideal (2u + -u*v + --v , -u + --u*v + -v , -u + u*v + -v ) 7 10 7 9 3 3 5 o3 : Ideal of A</pre> </td></tr> <tr><td><pre>i4 : B = A/I;</pre> </td></tr> <tr><td><pre>i5 : use A;</pre> </td></tr> <tr><td><pre>i6 : C = A/(u^2-v^2,u*v);</pre> </td></tr> </table> <table class="examples"><tr><td><pre>i7 : D = GF(9,Variable=>a)[x,y]/(y^2 - x*(x-1)*(x-a)) o7 = D o7 : QuotientRing</pre> </td></tr> <tr><td><pre>i8 : ambient D o8 = GF 9[x, y] o8 : PolynomialRing</pre> </td></tr> </table> The names of the variables are assigned values in the new quotient ring (by automatically running <tt>use R</tt>) when the new ring is assigned to a global variable.<p/> Warning: quotient rings are bulky objects, because they contain a Gröbner basis for their ideals, so only quotients of <a href="___Z__Z.html" title="the class of all integers">ZZ</a> are remembered forever. Typically the ring created by <tt>R/I</tt> will be a brand new ring, and its elements will be incompatible with the elements of previously created quotient rings for the same ideal.<table class="examples"><tr><td><pre>i9 : ZZ/2 === ZZ/(4,6) o9 = true</pre> </td></tr> <tr><td><pre>i10 : R = ZZ/101[t] o10 = R o10 : PolynomialRing</pre> </td></tr> <tr><td><pre>i11 : R/t === R/t o11 = false</pre> </td></tr> </table> </div> </div> </div> </body> </html>