Jacobian — Definition, Formula & Examples
The Jacobian is a matrix that collects all the first-order partial derivatives of a vector-valued function, organizing how each output component changes with respect to each input variable. Its determinant, called the Jacobian determinant, measures how the function locally stretches or compresses area (or volume) near a point.
Given a differentiable function with component functions , the Jacobian matrix is the matrix whose entry in the -th row and -th column is . When , the Jacobian determinant is defined and represents the local scaling factor of the transformation at a given point.
Key Formula
Where:
- = The i-th component function of the vector-valued function F
- = The j-th input variable
- = Number of output components (rows)
- = Number of input variables (columns)
How It Works
To build the Jacobian, compute each partial derivative and place it in row , column . The resulting matrix is the best linear approximation of near a point — it generalizes the single-variable derivative to multiple dimensions. When , you can take its determinant: a nonzero Jacobian determinant means the function is locally invertible (by the Inverse Function Theorem). In integration, the absolute value of the Jacobian determinant serves as the scaling factor when changing variables — for instance, converting a double integral from Cartesian to polar coordinates.
Worked Example
Problem: Find the Jacobian matrix and its determinant for the transformation from polar to Cartesian coordinates: .
Step 1: Identify the component functions: and .
Step 2: Compute each partial derivative to fill the 2×2 Jacobian matrix.
Step 3: Compute the determinant of J.
Answer: The Jacobian matrix is and the Jacobian determinant is . This is why the area element in polar coordinates is .
Another Example
Problem: Find the Jacobian matrix for .
Step 1: Set and .
Step 2: Compute the four partial derivatives.
Step 3: Compute the determinant.
Answer: The Jacobian matrix is with determinant .
Why It Matters
The Jacobian appears constantly in Calculus III (multivariable calculus) whenever you change variables in multiple integrals — polar, cylindrical, and spherical coordinate substitutions all rely on the Jacobian determinant. In machine learning, the Jacobian matrix tracks how neural-network outputs respond to changes in inputs, which is central to backpropagation. Robotics engineers use Jacobians to relate joint velocities to end-effector velocities in robotic arms.
Common Mistakes
Mistake: Forgetting the absolute value of the Jacobian determinant when substituting in integrals.
Correction: The area/volume scaling factor is . A negative determinant indicates orientation reversal, but the integral scaling is always the absolute value.
Mistake: Mixing up row and column positions — placing in the wrong location.
Correction: Each row corresponds to one output component and each column corresponds to one input variable . Row , column holds .
