Jacobian Matrix

Definition:
The Jacobian matrix is a matrix of all first-order partial derivatives of a vector-valued function. If a function maps input variables to outputs, the Jacobian matrix is defined as:

where:

  • is the output vector.
  • is the input vector.

The entry of is .


Properties:

  1. Dimensions:
    The Jacobian matrix has dimensions :

    • : Number of output components.
    • : Number of input variables.
  2. Linear Approximation:
    The Jacobian matrix is used to linearly approximate near a point :

  3. Chain Rule (Matrix Form):
    If and , then the Jacobian of the composition is:

  4. Special Cases:

    • If (scalar output), reduces to the gradient vector:
    • If (scalar input), is a column vector of derivatives.

Examples:

  1. Scalar Function:
    Let . The Jacobian is:

  2. Multivariable Function:
    Let . The Jacobian is:


Numerical Stability:

For high-dimensional functions or datasets, numerical computation of the Jacobian may become computationally expensive.