The Jacobian generalizes the derivative of a scalar function to a vector-valued function. 2 objects carry the name.
- The Jacobian matrix
The matrix of first partial derivatives of a vector-valued function.
- The Jacobian determinant
The determinant of the Jacobian matrix of a transformation.
Jacobian Matrix
For f:Rn→Rm with coordinate functions f1,f2,…,fm, the Jacobian matrix Jpf(x) is the m×n matrix of first partial derivatives
Jpf(x)=∂x1∂f1∂x1∂f2⋮∂x1∂fm∂x2∂f1∂x2∂f2⋮∂x2∂fm⋯⋯⋱⋯∂xn∂f1∂xn∂f2⋮∂xn∂fm
Row i of Jpf(x) is the gradient of fi.
Jacobian Determinant
For a transformation T, the Jacobian determinant is the determinant of the Jacobian matrix of T.
For T from the uv-plane to the xy-plane, x=x(u,v), y=y(u,v):
J(u,v)=∂(u,v)∂(x,y)=∂u∂x∂u∂y∂v∂x∂v∂y=∂u∂x∂v∂y−∂v∂x∂u∂y
For T from uvw-space to xyz-space, x=x(u,v,w), y=y(u,v,w), z=z(u,v,w):
J(u,v,w)=∂(u,v,w)∂(x,y,z)=∂u∂x∂u∂y∂u∂z∂v∂x∂v∂y∂v∂z∂w∂x∂w∂y∂w∂z
Examples:
- ∂(r,θ)∂(x,y)=r, for polar coordinates x=rcosθ, y=rsinθ
- ∂(ρ,ϕ,θ)∂(x,y,z)=ρ2sinϕ, for spherical coordinates
First-Order Approximation
The Jacobian matrix gives the first-order approximation of f around x0. See Approximation.
f(x)≈f(x0)+Jpf(x0)(x−x0)
For scalar f, the gradient form is
f(x)≈f(x0)+∇f(x0)T(x−x0)
Worked Examples
Example 1
Find the Jacobian matrix of the system
f1(x)f2(x)f3(x)=3x1−cos(x2x3)−21=x12−81(x2+0.1)2+sinx3+1.06=e−x1x2+20x3+310π−3
Solution Reveal Hide
The partial derivatives give
J(x)=32x1−x2e−x1x2x3sin(x2x3)−162(x2+0.1)−x1e−x1x2x2sin(x2x3)cosx320
Example 2
Find the Jacobian matrix of f1=x12+x22 and f2=x1x2, then evaluate it at x=(1,2)T.
Solution Reveal Hide
J(x)=(2x1x22x2x1)J(1,2)=(2241)