Jacobian Matrix
Tags | Basics |
---|
The idea
The gradient gives us the derivative of a function . What if we wanted to find the derivative of a function ??
Intuitively, that means that we need derivatives, one for each pair of outputs to inputs. We can express this as the Jacobian matrix
, defined as follows:
Every row of the jacobian represents an element of the output, and each column represents an element of the input.
Linear approximations with the jacobian
This is very simple: a linear approximation at a point is just
where is in the input domain
Intuition of the Jacobian
Here, we can start to understand what actually is. It's just a row matrix consisting of gradients of each individual component of the output. As such, if we think of matrix-vector multiplication in the row format, you can think of as a bunch of dot products
Now, each one of those is just a linear approximation WRT , or if you will, the derivative. Now, you can probably understand why the jacobian is a linear approximation of .
Geometric intuition of the Jacobian
The jacobian has many uses. You can also imagine the Jacobian itself as a linear transformation. But what does this tell us?
Well, you can imagine as a transformation but it isn't linear, so it might pinch and stretch unevenly. The Jacobian approximates the behavior of at the specific point, and it approximates it as a linear transformation. This linear transformation is just the Jacobian matrix!
The determinant of the Jacobian therefore tells you how space is expanded or shrunk at a certain point. This is used in multivariable change-of-variable integrations.