Jacobian Matrix

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

1 min read Last updated Wed Aug 12 2026 06:16:48 GMT+0000 (Coordinated Universal Time)

For F:RnRnF : \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)=(f1x1f1x2f1xnf2x1f2x2f2xnfnx1fnx2fnxn)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)=3x1cos(x2x3)12f2(x)=x1281(x2+0.1)2+sinx3+1.06f3(x)=ex1x2+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)2x1162(x2+0.1)cosx3x2ex1x2x1ex1x220)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}
Was this helpful?