Jacobian Matrix

Work in progress. This note is still being written and incomplete.

For F:Rn→RnF : \mathbb{R}^n \to \mathbb{R}^n with coordinate functions f1,f2,…,fnf_1, f_2, \ldots, f_n, the Jacobian matrix J(x⃗)J(\vec{x}) is the n×nn \times n matrix of first partial derivatives

J(x⃗)=(∂f1∂x1∂f1∂x2⋯∂f1∂xn∂f2∂x1∂f2∂x2⋯∂f2∂xn⋮⋮⋱⋮∂fn∂x1∂fn∂x2⋯∂fn∂xn)J(\vec{x}) = \begin{pmatrix} \dfrac{\partial f_1}{\partial x_1} & \dfrac{\partial f_1}{\partial x_2} & \cdots & \dfrac{\partial f_1}{\partial x_n} \\[6pt] \dfrac{\partial f_2}{\partial x_1} & \dfrac{\partial f_2}{\partial x_2} & \cdots & \dfrac{\partial f_2}{\partial x_n} \\[6pt] \vdots & \vdots & \ddots & \vdots \\[6pt] \dfrac{\partial f_n}{\partial x_1} & \dfrac{\partial f_n}{\partial x_2} & \cdots & \dfrac{\partial f_n}{\partial x_n} \end{pmatrix}

Row ii of J(x⃗)J(\vec{x}) is the gradient of fif_i.

Example

f1(x⃗)=3x1−cos⁡(x2x3)−12f2(x⃗)=x12−81(x2+0.1)2+sin⁡x3+1.06f3(x⃗)=e−x1x2+20x3+10π−33\begin{aligned} f_1(\vec{x}) &= 3x_1 - \cos(x_2 x_3) - \tfrac{1}{2} \\ f_2(\vec{x}) &= x_1^2 - 81(x_2 + 0.1)^2 + \sin x_3 + 1.06 \\ f_3(\vec{x}) &= e^{-x_1 x_2} + 20x_3 + \tfrac{10\pi - 3}{3} \end{aligned}

the partial derivatives give

J(x⃗)=(3x3sin⁡(x2x3)x2sin⁡(x2x3)2x1−162(x2+0.1)cos⁡x3−x2e−x1x2−x1e−x1x220)J(\vec{x}) = \begin{pmatrix} 3 & x_3 \sin(x_2 x_3) & x_2 \sin(x_2 x_3) \\ 2x_1 & -162(x_2 + 0.1) & \cos x_3 \\ -x_2 e^{-x_1 x_2} & -x_1 e^{-x_1 x_2} & 20 \end{pmatrix}
Written by September 28, 2026 1 min read
Was this helpful?