<?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>maps between modules</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_marked__G__B_lp__Matrix_cm__Matrix_rp.html">next</a> | <a href="_map_lp__Ring_cm__Matrix_rp.html">previous</a> | <a href="_marked__G__B_lp__Matrix_cm__Matrix_rp.html">forward</a> | <a href="_map_lp__Ring_cm__Matrix_rp.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>maps between modules</h1> <div>Maps between free modules are usually specified as matrices, as described in the section on <a href="_matrices.html" title="">matrices</a>. In this section we cover a few other techniques.<p/> Let's set up a ring, a matrix, and a free module.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[x,y,z];</pre> </td></tr> <tr><td><pre>i2 : f = vars R o2 = | x y z | 1 3 o2 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i3 : M = R^4 4 o3 = R o3 : R-module, free</pre> </td></tr> </table> We can use <a href="___Module_sp^_sp__List.html" title="projection onto summand">Module ^ List</a> and <a href="___Module_sp_us_sp__List.html" title="map from free module to some generators">Module _ List</a> to produce projection maps to quotient modules and injection maps from submodules corresponding to specified basis vectors.<table class="examples"><tr><td><pre>i4 : M^{0,1} o4 = | 1 0 0 0 | | 0 1 0 0 | 2 4 o4 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i5 : M_{2,3} o5 = | 0 0 | | 0 0 | | 1 0 | | 0 1 | 4 2 o5 : Matrix R <--- R</pre> </td></tr> </table> <p/> Natural maps between modules can be obtained with <a href="_induced__Map.html" title="compute an induced map">inducedMap</a>; the first argument is the desired target, and the second is the source.<table class="examples"><tr><td><pre>i6 : inducedMap(source f, ker f) o6 = {1} | -y 0 -z | {1} | x -z 0 | {1} | 0 y x | o6 : Matrix</pre> </td></tr> <tr><td><pre>i7 : inducedMap(coker f, target f) o7 = | 1 | o7 : Matrix</pre> </td></tr> </table> </div> </div> </body> </html>