<?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>jacobian(Matrix) -- the matrix of partial derivatives of polynomials in a matrix</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_jacobian_lp__Ring_rp.html">next</a> | <a href="_jacobian_lp__Ideal_rp.html">previous</a> | <a href="_jacobian_lp__Ring_rp.html">forward</a> | <a href="_jacobian_lp__Ideal_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>jacobian(Matrix) -- the matrix of partial derivatives of polynomials in a matrix</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>jacobian f</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_jacobian.html" title="the Jacobian matrix of partial derivatives">jacobian</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>f</tt>, <span>a <a href="___Matrix.html">matrix</a></span>, with one row</span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___Matrix.html">matrix</a></span>, the Jacobian matrix of partial derivatives of the polynomial entries of <tt>f</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>If <tt>f</tt> is a 1 by <tt>m</tt> matrix over a polynomial ring <tt>R</tt> with <tt>n</tt> indeterminates, then the resulting matrix of partial derivatives has dimensions <tt>n</tt> by <tt>m</tt>, and the <tt>(i,j)</tt> entry is the partial derivative of the <tt>j</tt>-th entry of <tt>f</tt> by the <tt>i</tt>-th indeterminate of the ring.<p/> If the ring of <tt>f</tt> is a quotient polynomial ring <tt>S/J</tt>, then only the derivatives of the given entries of <tt>f</tt> are computed and NOT the derivatives of elements of <tt>J</tt>.<table class="examples"><tr><td><pre>i1 : R = QQ[x,y,z];</pre> </td></tr> <tr><td><pre>i2 : f = matrix{{y^2-x*(x-1)*(x-13)}} o2 = | -x3+14x2+y2-13x | 1 1 o2 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i3 : jacobian f o3 = {1} | -3x2+28x-13 | {1} | 2y | {1} | 0 | 3 1 o3 : Matrix R <--- R</pre> </td></tr> </table> If the ring of <tt>f</tt> is a polynomial ring over a polynomial ring, then indeterminates in the coefficient ring are treated as constants.<table class="examples"><tr><td><pre>i4 : R = ZZ[a,b,c][x,y,z] o4 = R o4 : PolynomialRing</pre> </td></tr> <tr><td><pre>i5 : jacobian matrix{{a*x+b*y^2+c*z^3, a*x*y+b*x*z}} o5 = {1, 0} | a ya+zb | {1, 0} | 2yb xa | {1, 0} | 3z2c xb | 3 2 o5 : Matrix R <--- R</pre> </td></tr> </table> </div> </div> </div> </body> </html>