Sophie

Sophie

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

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>free modules</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_matrices_spto_spand_spfrom_spmodules.html">next</a> | <a href="_modules.html">previous</a> | <a href="_matrices_spto_spand_spfrom_spmodules.html">forward</a> | backward | <a href="_modules.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="_modules.html" title="">modules</a> > <a href="_free_spmodules.html" title="">free modules</a></div>
<hr/>
<div><h1>free modules</h1>
<div>We use <a href="___Ring_sp^_sp__Z__Z.html" title="make a free module">Ring ^ ZZ</a> to make a new free module.<p/>
<table class="examples"><tr><td><pre>i1 : R = ZZ/101[x,y,z];</pre>
</td></tr>
<tr><td><pre>i2 : M = R^4

      4
o2 = R

o2 : R-module, free</pre>
</td></tr>
</table>
Such modules are often made implicitly when constructing matrices.<table class="examples"><tr><td><pre>i3 : m = matrix{{x,y,z},{y,z,0}}

o3 = | x y z |
     | y z 0 |

             2       3
o3 : Matrix R  &lt;--- R</pre>
</td></tr>
<tr><td><pre>i4 : target m == R^2

o4 = true</pre>
</td></tr>
</table>
<p/>
When a ring is graded, so are its free modules.  By default, the degrees of the basis elements are taken to be 0.<table class="examples"><tr><td><pre>i5 : degrees M

o5 = {{0}, {0}, {0}, {0}}

o5 : List</pre>
</td></tr>
</table>
We can use <a href="___Ring_sp^_sp__List.html" title="make a free module">Ring ^ List</a> to specify other degrees, or more precisely, their additive inverses.<table class="examples"><tr><td><pre>i6 : F = R^{1,4:2,3,3:4}

      9
o6 = R

o6 : R-module, free, degrees {-1, -2, -2, -2, -2, -3, -4, -4, -4}</pre>
</td></tr>
<tr><td><pre>i7 : degrees F

o7 = {{-1}, {-2}, {-2}, {-2}, {-2}, {-3}, {-4}, {-4}, {-4}}

o7 : List</pre>
</td></tr>
</table>
Notice the use of <a href="__co.html" title="a binary operator, uses include repetition; ideal quotients">:</a> above to indicate repetition.<p/>
If the variables of the ring have multi-degrees represented by lists (vectors) of integers, then the degrees of a free module must also be multi-degrees.<table class="examples"><tr><td><pre>i8 : S = ZZ[a,b,c, Degrees=>{{1,2},{2,0},{3,3}}]

o8 = S

o8 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i9 : N = S ^ {{-1,-1},{-4,4},{0,0}}

      3
o9 = S

o9 : S-module, free, degrees {{1, 1}, {4, -4}, {0, 0}}</pre>
</td></tr>
<tr><td><pre>i10 : degree N_0

o10 = {1, 1}

o10 : List</pre>
</td></tr>
<tr><td><pre>i11 : degree (a*b*N_1)

o11 = {7, -2}

o11 : List</pre>
</td></tr>
</table>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_graded_spmodules.html" title="">graded modules</a></span></li>
</ul>
</div>
</div>
</body>
</html>