Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 3786

Macaulay2-1.3.1-8.fc15.i686.rpm

<?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>Singular Book 1.3.15 -- computing with radicals</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="___Singular_sp__Book_sp1.4.9.html">next</a> | <a href="___Singular_sp__Book_sp1.3.13.html">previous</a> | <a href="___Singular_sp__Book_sp1.4.9.html">forward</a> | <a href="___Singular_sp__Book_sp1.3.13.html">backward</a> | <a href="___M2__Singular__Book.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="_basic_spcommutative_spalgebra.html" title="">basic commutative algebra</a> > <a href="___M2__Singular__Book.html" title="Macaulay2 examples for the Singular book">M2SingularBook</a> > <a href="___Singular_sp__Book_sp1.3.15.html" title="computing with radicals">Singular Book 1.3.15</a></div>
<hr/>
<div><h1>Singular Book 1.3.15 -- computing with radicals</h1>
<div>Compute the radical of an ideal with <a href="_radical.html" title="the radical of an ideal">radical</a>.<table class="examples"><tr><td><pre>i1 : R = QQ[x,y,z];</pre>
</td></tr>
<tr><td><pre>i2 : radical ideal(z^4+2*z^2+1)

              2
o2 = ideal(- z  - 1)

o2 : Ideal of R</pre>
</td></tr>
</table>
A somewhat more complicated example:<table class="examples"><tr><td><pre>i3 : I = ideal"xyz,x2,y4+y5"

                    2   5    4
o3 = ideal (x*y*z, x , y  + y )

o3 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i4 : radical I

                   2
o4 = ideal (-x, - y  - y, x*y)

o4 : Ideal of R</pre>
</td></tr>
</table>
The index of nilpotency.  We compute the minimal integer <i>k</i> such that <i>(y<sup>2</sup>+y)<sup>k</sup> &isin;I</i>.<table class="examples"><tr><td><pre>i5 : k = 0;</pre>
</td></tr>
<tr><td><pre>i6 : while (y^2+y)^k % I != 0 do k = k+1;</pre>
</td></tr>
<tr><td><pre>i7 : k

o7 = 4</pre>
</td></tr>
</table>
The index of nilpotency is 4.</div>
</div>
</body>
</html>