What Is a Jacobian Matrix?
The Jacobian matrix is a structured way to capture all first-order partial derivatives of a vector-valued function. If you have a mapping from several input variables to several output functions, the Jacobian tells you how each output changes as each input changes.
For a function F(x) = [f₁, f₂, ..., fm] with variables [x₁, x₂, ..., xn], the Jacobian is an m × n matrix where each entry is: Jij = ∂fi/∂xj.
How to Use This Jacobian Matrix Calculator
1) Enter Variables
Provide variables in order, such as x, y or x, y, z. The order matters because the Jacobian columns are created in exactly that sequence.
2) Enter Functions
Add one output function per line. Each line is treated as one row of the Jacobian matrix. For example:
x^2 + ysin(x*y)
3) Enter Evaluation Point
Type numeric values in the same order as your variables. For x, y, a point like 1, 2 means x=1 and y=2.
4) Click Calculate
The calculator numerically approximates each partial derivative using a centered finite-difference method and then displays the full Jacobian matrix.
Why Jacobians Matter
- Optimization: Used in multivariable methods and nonlinear least squares.
- Robotics: Maps joint velocities to end-effector velocities.
- Machine learning: Essential in sensitivity analysis and backpropagation foundations.
- Physics and engineering: Common in coordinate transformations and nonlinear systems.
Tips for Better Results
- Use a small step size, but not too small (default 1e-5 is a good start).
- Avoid points where your function is undefined (like division by zero).
- If results look unstable, slightly adjust the step size and compare.
Quick Example
Let F(x, y) = [x² + y, sin(xy)] at (1, 2). The Jacobian is:
- For f₁ = x² + y: [∂f₁/∂x, ∂f₁/∂y] = [2x, 1] → [2, 1]
- For f₂ = sin(xy): [∂f₂/∂x, ∂f₂/∂y] = [y cos(xy), x cos(xy)]
Numerically, this calculator will produce values very close to those analytical derivatives.