The Jacobi matrix is a special matrix consisting of partial derivatives that is vital in multivariate calculus. It is also sometimes referred to as the derivative matrix.
Definition
Jacobi/Derivative Matrix ^definition
Let be a function, expressed as . Then the Jacobi or derivative matrix of is a matrix of dimensions given by:
The determinant of this matrix, is known as the Jacobian.
In some cases, the Jacobian is notated using:
For example, in the simple case of , i.e. , the Jacobi matrix degrades to the gradient vector:
If is a 3D vector field, i.e. we have the Jacobi matrix:
Theorems
#todo inverse of jacobi theorem (lecture 4)
T1: Jacobi Matrix of a composite function is the matrix product of composing Jacobi matrices
Let be a composite function given by where:
- , where
- where
That is, we have . Then:
Or we can just directly compute using function composition:
Note
Examples
1: 2D to 3D Jacobi Matrix
Let given by:
Find
Solution where:
We can represent this function as
Then the Jacobian is given by:
2: Function composition with Jacobi matrices
Let and be real functions. Find the Jacobi matrix of
Solution and . Then By theorem 1, we know:
We know that
\begin{align} \mathbf{J}_{f \circ g} &= \mathbf{J}_{f}|_{(u,v) \mapsto (g_{1},g_{2})} \ \mathbf{J}_{g} = \begin{bmatrix} \frac{ \partial f_{1} }{ \partial u } & \frac{ \partial f_{1} }{ \partial v } \\ \frac{ \partial f_{2} }{ \partial u } & \frac{ \partial f_{2} }{ \partial v } \\ \frac{ \partial f_{3} }{ \partial u } & \frac{ \partial f_{3} }{ \partial v } \end{bmatrix} _{(u,v) \mapsto (g_{1},g_{2})} \begin{bmatrix} \frac{ \partial g_{1} }{ \partial x } & \frac{ \partial g_{1} }{ \partial y } \\ \frac{ \partial g_{2} }{ \partial x } & \frac{ \partial g_{2} }{ \partial y } \\
\end{bmatrix} \
&= \begin{bmatrix} 1 & 1 \ 1 & 0 \ 0 & 2v \end{bmatrix} _{(u,v) \mapsto (x^2 + 1, y^2)} \begin{bmatrix} 2x & 0 \ 0 & 2y \end{bmatrix}
= \begin{bmatrix} 1 & 1 \ 1 & 0 \ 0 & 2y^2 \end{bmatrix} \begin{bmatrix} 2x & 0 \ 0 & 2y \end{bmatrix} \ &= \begin{bmatrix} 2x & 2y \ 2x & 0 \ 0 & 4y^3 \end{bmatrix} \end{align}
3: More function composition
Compute at the point :
Solution . Then . Recall, by our theorem of Jacobi matrix of composite functions, our new composite function will have a Jacobi/Derivative matrix of size .
Let
Solving it, we have:
Plugging in , we get:
Applications
- Integration By Substitution In Higher Dimensions requires the Jacobian when changing coordinate systems.
- Robotics: Using inverse kinematics to related https://medium.com/@prabakaran.r_43682/jacobian-transformation-real-life-applications-across-mathematics-robotics-and-engineering-9c1dd64bfd60#todo