VectorCalculus
Jacobian
computes the Jacobian Matrix of a list or Vector of expressions
Calling Sequence
Parameters
Description
Examples
Jacobian(f, v, det)
Jacobian(f, v=p, det)
f
-
list(algebraic) or Vector(algebraic); expressions to be differentiated
v
(optional) list(name); specify the variables of differentiation
p
(optional) list(algebraic); point at which the Jacobian is evaluated
det
(optional) equation of the form determinant=t, where t is either true or false; specify whether to return the determinant
The Jacobian(f, v) command computes the Jacobian Matrix of a list or Vector of expressions f with respect to the variables in v.
If v is not provided, the differentiation variables are determined from the coordinate system of f, if f is a Vector, and otherwise from the ambient coordinate system (see SetCoordinates).
If p is supplied, the computed Jacobian will be evaluated at the corresponding point. The dimension of the point must equal the number of differentiation variables.
If the right side of det is true, an expression sequence containing the Jacobian Matrix and its determinant is returned. If the right side of det is false, the Jacobian Matrix is returned. If this parameter is the word determinant, it is interpreted as determinant=true. If the det parameter is not specified, it defaults to determinant=false.
If the computation of the determinant is requested, then the number of component functions given in f must be the same as the number of variables given in v.
with⁡VectorCalculus:
Jacobian⁡r⁢cos⁡t,r⁢sin⁡t,r2⁢t,r,t
cos⁡t−r⁢sin⁡tsin⁡tr⁢cos⁡t2⁢r⁢tr2
M,d≔Jacobian⁡r⁢sin⁡φ⁢cos⁡θ,r⁢sin⁡φ⁢sin⁡θ,r⁢cos⁡φ,r,φ,θ,determinant
M,d≔sin⁡φ⁢cos⁡θr⁢cos⁡φ⁢cos⁡θ−r⁢sin⁡φ⁢sin⁡θsin⁡φ⁢sin⁡θr⁢cos⁡φ⁢sin⁡θr⁢sin⁡φ⁢cos⁡θcos⁡φ−r⁢sin⁡φ0,sin⁡φ3⁢cos⁡θ2⁢r2+sin⁡φ3⁢sin⁡θ2⁢r2+sin⁡φ⁢cos⁡θ2⁢cos⁡φ2⁢r2+sin⁡φ⁢sin⁡θ2⁢cos⁡φ2⁢r2
simplify⁡d,trig
r2⁢sin⁡φ
Jacobian⁡x2+y,2⁢y,x,y=−1,1
−2102
Jacobian⁡Vector⁡r2,r⁢t,coordinates=polarr,t
2⁢r0tr
SetCoordinates⁡cylindricalr,θ,z
cylindricalr,θ,z
M,d≔Jacobian⁡r⁢θ,θ2⁢z,z,determinant
M,d≔θr002⁢θ⁢zθ2001,2⁢θ2⁢z
M,d≔Jacobian⁡a⁢r⁢t,t⁢w,w2⁢a,determinant,w,t,a=−1,1,2
M,d≔02⁢rr1−10−401,−6⁢r
See Also
VectorCalculus[Hessian]
VectorCalculus[SetCoordinates]
VectorCalculus[Wronskian]
Download Help Document