Sophie

Sophie

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

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>tensor products of rings</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="___Weyl_spalgebras.html">next</a> | <a href="_symmetric_spalgebras.html">previous</a> | <a href="___Weyl_spalgebras.html">forward</a> | <a href="_symmetric_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="_tensor_spproducts_spof_springs.html" title="">tensor products of rings</a></div>
<hr/>
<div><h1>tensor products of rings</h1>
<div>The operator <a href="__st_st.html" title="a binary operator, usually used for tensor product or Cartesian product">**</a> or the function <a href="_tensor.html" title="tensor product">tensor</a> can be used to construct tensor products of rings.<table class="examples"><tr><td><pre>i1 : ZZ/101[x,y]/(x^2-y^2) ** ZZ/101[a,b]/(a^3+b^3)

        ZZ
       ---[x, y, a, b]
       101
o1 = ------------------
       2    2   3    3
     (x  - y , a  + b )

o1 : QuotientRing</pre>
</td></tr>
</table>
Other monomial orderings can be specified.<table class="examples"><tr><td><pre>i2 : T = tensor(ZZ/101[x,y], ZZ/101[a,b], MonomialOrder => Eliminate 2)

o2 = T

o2 : PolynomialRing</pre>
</td></tr>
</table>
The options to <tt>tensor</tt> can be discovered with <a href="_options.html" title="get options">options</a>.<table class="examples"><tr><td><pre>i3 : options tensor

o3 = OptionTable{DegreeLift => null      }
                 DegreeMap => null
                 DegreeRank => null
                 Degrees => null
                 Global => true
                 Heft => null
                 Inverses => false
                 Join => null
                 Local => false
                 MonomialOrder => null
                 MonomialSize => 32
                 SkewCommutative => {}
                 VariableBaseName => null
                 Variables => null
                 Weights => {}
                 WeylAlgebra => {}

o3 : OptionTable</pre>
</td></tr>
</table>
Given two (quotients of) polynomial rings, say, R = A[x1, ..., xn]/I, S = A[y1,...,yn]/J, then R ** S = A[x1,...,xn,y1, ..., yn]/(I + J).  The variables in the two rings are always considered as different.  If they have name conflicts, you may still use the variables with indexing, but the display will be confusing:<table class="examples"><tr><td><pre>i4 : R = QQ[x,y]/(x^3-y^2);</pre>
</td></tr>
<tr><td><pre>i5 : T = R ** R

o5 = T

o5 : QuotientRing</pre>
</td></tr>
<tr><td><pre>i6 : generators T

o6 = {x, y, x, y}

o6 : List</pre>
</td></tr>
<tr><td><pre>i7 : {T_0 + T_1, T_0 + T_2}

o7 = {x + y, x + x}

o7 : List</pre>
</td></tr>
</table>
We can change the variable names with the <a href="___Variables.html" title="name for an optional argument">Variables</a> option.<table class="examples"><tr><td><pre>i8 : U = tensor(R,R,Variables => {x,y,x',y'})

o8 = U

o8 : QuotientRing</pre>
</td></tr>
<tr><td><pre>i9 : x + y + x' + y'

o9 = x + y + x' + y'

o9 : U</pre>
</td></tr>
</table>
</div>
</div>
</body>
</html>