Sophie

Sophie

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

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>symmetric algebras</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_tensor_spproducts_spof_springs.html">next</a> | <a href="_exterior_spalgebras.html">previous</a> | <a href="_tensor_spproducts_spof_springs.html">forward</a> | <a href="_exterior_spalgebras.html">backward</a> | <a href="_rings.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="_rings.html" title="">rings</a> > <a href="_symmetric_spalgebras.html" title="">symmetric algebras</a></div>
<hr/>
<div><h1>symmetric algebras</h1>
<div>Polynomial rings are symmetric algebras with explicit generators, and we have already seen how to construct them.  But if you have a module, then its symmetric algebra can be constructed with <a href="_symmetric__Algebra.html" title="the symmetric algebra of a module">symmetricAlgebra</a>.<table class="examples"><tr><td><pre>i1 : R = QQ[a..d];</pre>
</td></tr>
<tr><td><pre>i2 : symmetricAlgebra R^3

o2 = R[p , p , p ]
        0   1   2

o2 : PolynomialRing</pre>
</td></tr>
</table>
Maps between symmetric algebras can be constructed functorially.<table class="examples"><tr><td><pre>i3 : vars R

o3 = | a b c d |

             1       4
o3 : Matrix R  &lt;--- R</pre>
</td></tr>
<tr><td><pre>i4 : symmetricAlgebra vars R

o4 = map(R[p ],R[p , p , p , p ],{a*p , b*p , c*p , d*p , a, b, c, d})
            0     0   1   2   3      0     0     0     0

o4 : RingMap R[p ] &lt;--- R[p , p , p , p ]
                0          0   1   2   3</pre>
</td></tr>
<tr><td><pre>i5 : symmetricAlgebra transpose vars R

o5 = map(R[p , p , p , p ],R[p ],{a*p  + b*p  + c*p  + d*p , a, b, c, d})
            0   1   2   3     0      0      1      2      3

o5 : RingMap R[p , p , p , p ] &lt;--- R[p ]
                0   1   2   3          0</pre>
</td></tr>
</table>
Until the ring is used with <a href="_use.html" title="install or activate object">use</a> or assigned to a global variable, its generators are not assigned to global variables.<table class="examples"><tr><td><pre>i6 : a

o6 = a

o6 : R</pre>
</td></tr>
<tr><td><pre>i7 : p_0

o7 = p
      0

o7 : IndexedVariable</pre>
</td></tr>
<tr><td><pre>i8 : S = o2;</pre>
</td></tr>
<tr><td><pre>i9 : a

o9 = a

o9 : R</pre>
</td></tr>
<tr><td><pre>i10 : p_0

o10 = p
       0

o10 : S</pre>
</td></tr>
</table>
To specify the names of the variables when creating the ring, use the <a href="___Variables.html" title="name for an optional argument">Variables</a> option or the <a href="_monoid.html" title="make or retrieve a monoid">VariableBaseName</a> option.<table class="examples"><tr><td><pre>i11 : symmetricAlgebra(R^3, Variables => {t,u,v})

o11 = R[t, u, v]

o11 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i12 : symmetricAlgebra(R^3, VariableBaseName => t)

o12 = R[t , t , t ]
         0   1   2

o12 : PolynomialRing</pre>
</td></tr>
</table>
We can construct the symmetric algebra of a module that isn't necessarily free.<table class="examples"><tr><td><pre>i13 : use R

o13 = R

o13 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i14 : symmetricAlgebra(R^1/(a,b^3))

          R[p ]
             0
o14 = ------------
              3
      (a*p , b p )
          0     0

o14 : QuotientRing</pre>
</td></tr>
</table>
</div>
</div>
</body>
</html>