Skip to content

Jacobian Matrix Calculator

Find the symbolic Jacobian of a set of functions, evaluate it at a point and get its determinant.

AvailableRuns in your browserFree · No sign-up

Jacobian Matrix Calculator

Examples:

Comma-separated, up to 6.

One value per variable, in the same order. pi and fractions work.

Use + − * / ^ and parentheses. Functions: sin, cos, tan, sec, csc, cot, asin, acos, atan, sinh, cosh, tanh, exp, log, ln, log10, log2, sqrt, cbrt, abs. Constants: pi, e. Write multiplication explicitly (2*x).

Calculations use full double precision; this only affects display.

Definition

Jij = ∂fi / ∂xj

Row i holds the partial derivatives of function fi; column j holds the derivatives with respect to variable xj. For m functions of n variables the Jacobian is m × n. When it's square, its determinant measures how the mapping stretches area or volume near the point; a zero determinant means the map isn't locally invertible there.

Derivatives are found symbolically with mathjs and simplified, then evaluated in double precision. Expressions are checked against an allow-list before anything is evaluated — no code is executed.

Your data is processed locally in your browser and is not uploaded to OZVILO servers.

How to use the Jacobian Matrix Calculator

  1. 1List the variables, separated by commas (for example x, y).
  2. 2Enter one function per line using those variables.
  3. 3Optionally enter a point to evaluate at, with one value per variable.
  4. 4Press Calculate to see the symbolic Jacobian, its value at the point and, for square systems, the determinant.

Examples

  • Polar to Cartesian

    Input
    Variables r, θ · f₁ = r·cos(θ), f₂ = r·sin(θ)
    Result
    J = [[cos θ, −r·sin θ], [sin θ, r·cos θ]] · det J = r
  • Polynomial system

    Input
    f₁ = x²·y, f₂ = 5x + sin(y)
    Result
    J = [[2·x·y, x²], [5, cos y]]

Jacobian Matrix Calculator features

  • Symbolic differentiation and simplification
  • Evaluation at a point
  • Determinant for square Jacobians
  • Safe expression parser — no code execution

Frequently asked questions

What is a Jacobian matrix?

For m functions of n variables, the Jacobian is the m × n matrix of first partial derivatives: entry (i, j) is ∂fᵢ/∂xⱼ. It's the best linear approximation of the mapping near a point.

What does the Jacobian determinant tell me?

For a square Jacobian, |det J| is the factor by which the mapping scales small areas or volumes near the point — it's the r in r dr dθ for polar coordinates. A zero determinant means the map isn't locally invertible there.

Which functions can I use?

+ − * / ^, parentheses, the constants pi and e, and sin, cos, tan, sec, csc, cot, asin, acos, atan, sinh, cosh, tanh, exp, log (natural), ln, log10, log2, sqrt, cbrt and abs. Write multiplication explicitly, like 2*x.

Is it safe to type expressions?

Yes. Expressions are parsed into a syntax tree and checked against an allow-list; anything else (assignments, property access, unknown functions) is rejected. Nothing you type is executed as code.