In
vector calculus, the Jacobian matrix (, ) of a
vector-valued function of several variables is the
matrix
Matrix most commonly refers to:
* ''The Matrix'' (franchise), an American media franchise
** '' The Matrix'', a 1999 science-fiction action film
** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchi ...
of all its first-order
partial derivatives. When this matrix is
square
In Euclidean geometry, a square is a regular quadrilateral, which means that it has four equal sides and four equal angles (90-degree angles, π/2 radian angles, or right angles). It can also be defined as a rectangle with two equal-length a ...
, that is, when the function takes the same number of variables as input as the number of
vector components of its output, its
determinant
In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if ...
is referred to as the Jacobian determinant. Both the matrix and (if applicable) the determinant are often referred to simply as the Jacobian in literature.
Suppose is a function such that each of its first-order partial derivatives exist on . This function takes a point as input and produces the vector as output. Then the Jacobian matrix of is defined to be an matrix, denoted by , whose th entry is
, or explicitly
:
where
is the transpose (row vector) of the
gradient
In vector calculus, the gradient of a scalar-valued differentiable function of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p is the "direction and rate of fastest increase". If the gr ...
of the
component.
The Jacobian matrix, whose entries are functions of , is denoted in various ways; common notations include , ,
, and
. Some authors define the Jacobian as the
transpose
In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal;
that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other notations).
The tr ...
of the form given above.
The Jacobian matrix
represents the
differential of at every point where is differentiable. In detail, if is a
displacement vector represented by a
column matrix, the
matrix product is another displacement vector, that is the best linear approximation of the change of in a
neighborhood of , if is
differentiable at . This means that the function that maps to is the best
linear approximation of for all points close to . This
linear function
In mathematics, the term linear function refers to two distinct but related notions:
* In calculus and related areas, a linear function is a function whose graph is a straight line, that is, a polynomial function of degree zero or one. For di ...
is known as the ''derivative'' or the
''differential'' of at .
When , the Jacobian matrix is square, so its
determinant
In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if ...
is a well-defined function of , known as the Jacobian determinant of . It carries important information about the local behavior of . In particular, the function has a differentiable
inverse function
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon ...
in a neighborhood of a point if and only if the Jacobian determinant is nonzero at (see
Jacobian conjecture for a related problem of ''global'' invertibility). The Jacobian determinant also appears when changing the variables in
multiple integrals (see
substitution rule for multiple variables).
When , that is when is a
scalar-valued function
In mathematics and physics, a scalar field is a function (mathematics), function associating a single number to every point (geometry), point in a space (mathematics), space – possibly physical space. The scalar may either be a pure Scalar ( ...
, the Jacobian matrix reduces to the
row vector ; this row vector of all first-order partial derivatives of is the transpose of the
gradient
In vector calculus, the gradient of a scalar-valued differentiable function of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p is the "direction and rate of fastest increase". If the gr ...
of , i.e.
. Specializing further, when , that is when is a
scalar-valued function
In mathematics and physics, a scalar field is a function (mathematics), function associating a single number to every point (geometry), point in a space (mathematics), space – possibly physical space. The scalar may either be a pure Scalar ( ...
of a single variable, the Jacobian matrix has a single entry; this entry is the derivative of the function .
These concepts are named after the
mathematician
A mathematician is someone who uses an extensive knowledge of mathematics in their work, typically to solve mathematical problems.
Mathematicians are concerned with numbers, data, quantity, mathematical structure, structure, space, Mathematica ...
Carl Gustav Jacob Jacobi (1804–1851).
Jacobian matrix
The Jacobian of a vector-valued function in several variables generalizes the
gradient
In vector calculus, the gradient of a scalar-valued differentiable function of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p is the "direction and rate of fastest increase". If the gr ...
of a
scalar-valued function in several variables, which in turn generalizes the derivative of a scalar-valued function of a single variable. In other words, the Jacobian matrix of a scalar-valued
function in several variables is (the transpose of) its gradient and the gradient of a scalar-valued function of a single variable is its derivative.
At each point where a function is differentiable, its Jacobian matrix can also be thought of as describing the amount of "stretching", "rotating" or "transforming" that the function imposes locally near that point. For example, if is used to smoothly transform an image, the Jacobian matrix , describes how the image in the neighborhood of is transformed.
If a function is differentiable at a point, its differential is given in coordinates by the Jacobian matrix. However a function does not need to be differentiable for its Jacobian matrix to be defined, since only its first-order
partial derivatives are required to exist.
If is
differentiable at a point in , then its
differential is represented by . In this case, the
linear transformation represented by is the best
linear approximation of near the point , in the sense that
:
where is a
quantity that approaches zero much faster than the
distance
Distance is a numerical or occasionally qualitative measurement of how far apart objects or points are. In physics or everyday usage, distance may refer to a physical length or an estimation based on other criteria (e.g. "two counties over"). ...
between and does as approaches . This approximation specializes to the approximation of a scalar function of a single variable by its
Taylor polynomial of degree one, namely
:
.
In this sense, the Jacobian may be regarded as a kind of "
first-order derivative" of a vector-valued function of several variables. In particular, this means that the
gradient
In vector calculus, the gradient of a scalar-valued differentiable function of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p is the "direction and rate of fastest increase". If the gr ...
of a scalar-valued function of several variables may too be regarded as its "first-order derivative".
Composable differentiable functions and satisfy the
chain rule
In calculus, the chain rule is a formula that expresses the derivative of the Function composition, composition of two differentiable functions and in terms of the derivatives of and . More precisely, if h=f\circ g is the function such that h(x) ...
, namely
for in .
The Jacobian of the gradient of a scalar function of several variables has a special name: the
Hessian matrix, which in a sense is the "
second derivative" of the function in question.
Jacobian determinant

If , then is a function from to itself and the Jacobian matrix is a
square matrix. We can then form its
determinant
In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if ...
, known as the Jacobian determinant. The Jacobian determinant is sometimes simply referred to as "the Jacobian".
The Jacobian determinant at a given point gives important information about the behavior of near that point. For instance, the
continuously differentiable function is
invertible near a point if the Jacobian determinant at is non-zero. This is the
inverse function theorem. Furthermore, if the Jacobian determinant at is
positive, then preserves orientation near ; if it is
negative, reverses orientation. The
absolute value of the Jacobian determinant at gives us the factor by which the function expands or shrinks
volume
Volume is a measure of occupied three-dimensional space. It is often quantified numerically using SI derived units (such as the cubic metre and litre) or by various imperial or US customary units (such as the gallon, quart, cubic inch). Th ...
s near ; this is why it occurs in the general
substitution rule.
The Jacobian determinant is used when making a
change of variables when evaluating a
multiple integral of a function over a region within its domain. To accommodate for the change of coordinates the magnitude of the Jacobian determinant arises as a multiplicative factor within the integral. This is because the -dimensional element is in general a
parallelepiped in the new coordinate system, and the -volume of a parallelepiped is the determinant of its edge vectors.
The Jacobian can also be used to determine the stability of
equilibria for
systems of differential equations by approximating behavior near an equilibrium point. Its applications include determining the stability of the disease-free equilibrium in disease modelling.
Inverse
According to the
inverse function theorem, the
matrix inverse of the Jacobian matrix of an
invertible function is the Jacobian matrix of the ''inverse'' function. That is, if the Jacobian of the function is continuous and nonsingular at the point in , then is invertible when restricted to some neighborhood of and
:
In other words, if the Jacobian determinant is not zero at a point, then the function is ''locally invertible'' near this point, that is, there is a
neighbourhood
A neighbourhood (British English, Irish English, Australian English and Canadian English) or neighborhood (American English; American and British English spelling differences, see spelling differences) is a geographically localised community ...
of this point in which the function is invertible.
The (unproved)
Jacobian conjecture is related to global invertibility in the case of a polynomial function, that is a function defined by ''n''
polynomial
In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An ex ...
s in ''n'' variables. It asserts that, if the Jacobian determinant is a non-zero constant (or, equivalently, that it does not have any complex zero), then the function is invertible and its inverse is a polynomial function.
Critical points
If is a
differentiable function, a ''critical point'' of is a point where the
rank of the Jacobian matrix is not maximal. This means that the rank at the critical point is lower than the rank at some neighbour point. In other words, let be the maximal dimension of the
open balls contained in the image of ; then a point is critical if all
minors of rank of are zero.
In the case where , a point is critical if the Jacobian determinant is zero.
Examples
Example 1
Consider the function with given by
:
Then we have
:
and
:
and the Jacobian matrix of is
:
and the Jacobian determinant is
:
Example 2: polar-Cartesian transformation
The transformation from
polar coordinates
In mathematics, the polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a reference point and an angle from a reference direction. The reference point (analogous to t ...
to
Cartesian coordinates (''x'', ''y''), is given by the function with components:
:
:
The Jacobian determinant is equal to . This can be used to transform integrals between the two coordinate systems:
:
Example 3: spherical-Cartesian transformation
The transformation from
spherical coordinates to
Cartesian coordinates (''x'', ''y'', ''z''), is given by the function with components:
:
The Jacobian matrix for this coordinate change is
:
The
determinant
In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if ...
is . Since is the volume for a rectangular differential volume element (because the volume of a rectangular prism is the product of its sides), we can interpret as the volume of the spherical
differential volume element. Unlike rectangular differential volume element's volume, this differential volume element's volume is not a constant, and varies with coordinates ( and ). It can be used to transform integrals between the two coordinate systems:
:
Example 4
The Jacobian matrix of the function with components
:
is
:
This example shows that the Jacobian matrix need not be a square matrix.
Example 5
The Jacobian determinant of the function with components
:
is
:
From this we see that reverses orientation near those points where and have the same sign; the function is
locally invertible everywhere except near points where or . Intuitively, if one starts with a tiny object around the point and apply to that object, one will get a resulting object with approximately times the volume of the original one, with orientation reversed.
Other uses
Regression and least squares fitting
The Jacobian serves as a linearized
design matrix in statistical
regression
Regression or regressions may refer to:
Science
* Marine regression, coastal advance due to falling sea level, the opposite of marine transgression
* Regression (medicine), a characteristic of diseases to express lighter symptoms or less extent ( ...
and
curve fitting; see
non-linear least squares.
Dynamical systems
Consider a
dynamical system
In mathematics, a dynamical system is a system in which a function describes the time dependence of a point in an ambient space. Examples include the mathematical models that describe the swinging of a clock pendulum, the flow of water i ...
of the form
, where
is the (component-wise) derivative of
with respect to the
evolution parameter (time), and
is differentiable. If
, then
is a
stationary point
In mathematics, particularly in calculus, a stationary point of a differentiable function of one variable is a point on the graph of the function where the function's derivative is zero. Informally, it is a point where the function "stops" i ...
(also called a
steady state
In systems theory, a system or a process is in a steady state if the variables (called state variables) which define the behavior of the system or the process are unchanging in time. In continuous time, this means that for those properties ' ...
). By the
Hartman–Grobman theorem In mathematics, in the study of dynamical systems, the Hartman–Grobman theorem or linearisation theorem is a theorem about the local behaviour of dynamical systems in the neighbourhood of a hyperbolic equilibrium point. It asserts that linearis ...
, the behavior of the system near a stationary point is related to the
eigenvalue
In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denot ...
s of
, the Jacobian of
at the stationary point. Specifically, if the eigenvalues all have real parts that are negative, then the system is stable near the stationary point, if any eigenvalue has a real part that is positive, then the point is unstable. If the largest real part of the eigenvalues is zero, the Jacobian matrix does not allow for an evaluation of the stability.
Newton's method
A square system of coupled nonlinear equations can be solved iteratively by
Newton's method
In numerical analysis, Newton's method, also known as the Newton–Raphson method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a real ...
. This method uses the Jacobian matrix of the system of equations.
See also
*
Center manifold
*
Hessian matrix
*
Pushforward (differential)
Notes
References
Further reading
*
*
External links
*
MathworldA more technical explanation of Jacobians
{{Matrix classes
Multivariable calculus
Differential calculus
Generalizations of the derivative
Determinants
Matrices