Sophie

Sophie

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

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>eliminate</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_resultant_lp__Ring__Element_cm__Ring__Element_cm__Ring__Element_rp.html">next</a> | <a href="_eliminate.html">previous</a> | <a href="_resultant_lp__Ring__Element_cm__Ring__Element_cm__Ring__Element_rp.html">forward</a> | <a href="_eliminate.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>eliminate</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>eliminate(v,J)</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>v</tt>, <span>a <a href="../../Macaulay2Doc/html/___Ring__Element.html">ring element</a></span> or <span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>, a variable or list of variables of a polynomial ring <tt>R</tt></span></li>
<li><span><tt>J</tt>, <span>an <a href="../../Macaulay2Doc/html/___Ideal.html">ideal</a></span>, in the ring <tt>R</tt></span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span><span>an <a href="../../Macaulay2Doc/html/___Ideal.html">ideal</a></span>, generated by the elements of J not involving the variables v</span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>If the ideal <tt>J</tt> is homogeneous, then an effort is made to use the Hilbert function to speed up the computation.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[x,a,b,c,d]   

o1 = R

o1 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i2 : f = x^2+a*x+b

      2
o2 = x  + x*a + b

o2 : R</pre>
</td></tr>
<tr><td><pre>i3 : g = x^2+c*x+d

      2
o3 = x  + x*c + d

o3 : R</pre>
</td></tr>
<tr><td><pre>i4 : time eliminate(x,ideal(f,g))
     -- used 0.002999 seconds

                      2    2             2           2
o4 = ideal(a*b*c - b*c  - a d + a*c*d - b  + 2b*d - d )

o4 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i5 : time ideal resultant(f,g,x)
     -- used 0.001 seconds

                        2    2             2           2
o5 = ideal(- a*b*c + b*c  + a d - a*c*d + b  - 2b*d + d )

o5 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i6 : sylvesterMatrix(f,g,x)

o6 = {0} | b 0 d 0 |
     {1} | a b c d |
     {2} | 1 a 1 c |
     {3} | 0 1 0 1 |

             4       4
o6 : Matrix R  &lt;--- R</pre>
</td></tr>
<tr><td><pre>i7 : discriminant(f,x)

        2
o7 = - a  + 4b

o7 : R</pre>
</td></tr>
</table>
<p>One may also switch the order of arguments: the ideal being the first argument.  This usage has been deprecated, and should no longer be used.</p>
</div>
</div>
<div class="single"><h2>Caveat</h2>
<div>The ring <tt>R</tt> should not be a quotient ring, or a non-commutative ring.  Additionally, it would be nice to be able to use a DegreeLimit, or to be able to interrupt the computation.</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_resultant_lp__Ring__Element_cm__Ring__Element_cm__Ring__Element_rp.html" title="">resultant</a></span></li>
<li><span><a href="_discriminant_lp__Ring__Element_cm__Ring__Element_rp.html" title="">discriminant</a></span></li>
<li><span><a href="index.html" title="eliminating specified variables, and Sylvester resultant">Elimination</a> -- eliminating specified variables, and Sylvester resultant</span></li>
</ul>
</div>
<div class="waystouse"><h2>Ways to use <tt>eliminate</tt> :</h2>
<ul><li><span>eliminate(List,Ideal), see <span><a href="_eliminate.html" title="">eliminate</a></span></span></li>
<li><span>eliminate(RingElement,Ideal), see <span><a href="_eliminate.html" title="">eliminate</a></span></span></li>
</ul>
</div>
</div>
</body>
</html>