Sophie

Sophie

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

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>minimal primes of an ideal</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_associated_spprimes_spof_span_spideal.html">next</a> | <a href="_radical_spof_span_spideal.html">previous</a> | <a href="_associated_spprimes_spof_span_spideal.html">forward</a> | <a href="_radical_spof_span_spideal.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="_minimal_spprimes_spof_span_spideal.html" title="">minimal primes of an ideal</a></div>
<hr/>
<div><h1>minimal primes of an ideal</h1>
<div><h2>using minimalPrimes</h2>
To obtain a list of the minimal associated primes for an ideal <tt>I</tt> (i.e. the smallest primes containing <tt>I</tt>), use the function <a href="_minimal__Primes.html" title="minimal associated primes of an ideal">minimalPrimes</a>.<table class="examples"><tr><td><pre>i1 : R = QQ[w,x,y,z];</pre>
</td></tr>
<tr><td><pre>i2 : I = ideal(w*x^2-42*y*z, x^6+12*w*y+x^3*z, w^2-47*x^4*z-47*x*z^2)

               2           6    3                4         2    2
o2 = ideal (w*x  - 42y*z, x  + x z + 12w*y, - 47x z - 47x*z  + w )

o2 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i3 : minimalPrimes I

              3
o3 = {ideal (x  + z, w, y), ideal (x, w, y), ideal (x, z, w)}

o3 : List</pre>
</td></tr>
</table>
If the ideal given is a prime ideal then <tt>minimalPrimes</tt> will return the ideal given.<table class="examples"><tr><td><pre>i4 : R = ZZ/101[w..z];</pre>
</td></tr>
<tr><td><pre>i5 : I = ideal(w*x^2-42*y*z, x^6+12*w*y+x^3*z, w^2-47*x^4*z-47*x*z^2);

o5 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i6 : minimalPrimes I

                  2             4         2    2   2   2          2      3 
o6 = {ideal (12w*x  + y*z, - 47x z - 47x*z  + w , x y*z  - 12w*x*z  + 11w ,
     ------------------------------------------------------------------------
        2   2    2 3      4       6      3
     43w x*z  + y z  - 31w , - 42x  - 42x z + w*y)}

o6 : List</pre>
</td></tr>
</table>
<h2>warning</h2>
Warning (15 May 2001):  If you stop a function mid process and then run <tt>minimalPrimes</tt> an error is given.  Restarting Macaulay2 and then running <tt>minimalPrimes</tt> works around this.<p/>
See <a href="_associated_spprimes_spof_span_spideal.html" title="">associated primes of an ideal</a> for information on finding associated prime ideals and <a href="_primary_spdecomposition.html" title="">primary decomposition</a> for more information about finding the full primary decomposition of an ideal.</div>
</div>
</body>
</html>