<?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>Singular Book 1.3.3 -- properties of ring maps</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Singular_sp__Book_sp1.3.13.html">next</a> | <a href="___Singular_sp__Book_sp1.2.13.html">previous</a> | <a href="___Singular_sp__Book_sp1.3.13.html">forward</a> | <a href="___Singular_sp__Book_sp1.2.13.html">backward</a> | <a href="___M2__Singular__Book.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="_basic_spcommutative_spalgebra.html" title="">basic commutative algebra</a> > <a href="___M2__Singular__Book.html" title="Macaulay2 examples for the Singular book">M2SingularBook</a> > <a href="___Singular_sp__Book_sp1.3.3.html" title="properties of ring maps">Singular Book 1.3.3</a></div> <hr/> <div><h1>Singular Book 1.3.3 -- properties of ring maps</h1> <div><table class="examples"><tr><td><pre>i1 : S = QQ[a,b,c];</pre> </td></tr> <tr><td><pre>i2 : R = QQ[x,y,z];</pre> </td></tr> <tr><td><pre>i3 : phi = map(R,S,{x,y,x^2-y^3}) 3 2 o3 = map(R,S,{x, y, - y + x }) o3 : RingMap R <--- S</pre> </td></tr> <tr><td><pre>i4 : isInjective phi o4 = false</pre> </td></tr> <tr><td><pre>i5 : ker phi 3 2 o5 = ideal(b - a + c) o5 : Ideal of S</pre> </td></tr> </table> Packaged code for computing preimage is missing, but it's easy to do, as follows.<table class="examples"><tr><td><pre>i6 : psi = map(R,S,{x,x+y,z-x^2+y^3}) 3 2 o6 = map(R,S,{x, x + y, y - x + z}) o6 : RingMap R <--- S</pre> </td></tr> <tr><td><pre>i7 : isInjective psi o7 = true</pre> </td></tr> <tr><td><pre>i8 : ker psi o8 = ideal () o8 : Ideal of S</pre> </td></tr> </table> </div> </div> </body> </html>