# Jacobian matrix and determinant

In vector calculus, the **Jacobian matrix** (/dʒəˈkoʊbiən/,^{[1]}^{[2]}^{[3]} /dʒɪ-, **Jacobian** in literature.^{[4]}

Suppose **f** : ℝ^{n} → ℝ^{m} is a function. This function takes a point **x** ∈ ℝ^{n} as input and produces the vector **f**(**x**) ∈ ℝ^{m} as output. Then the Jacobian matrix **J** of **f** is an *m*×*n* matrix, usually defined and arranged as follows:

or, entry-wise:

This matrix, whose entries are functions of **x**, is also denoted variously by D**f**, **J**_{f}, and *∂*(*f*_{1},...,*f*_{m})/*∂*(*x*_{1},...,*x*_{n}). (Note however that some literature defines the Jacobian as the transpose of the matrix given above.)

The Jacobian matrix represents the differential of **f** at every point where **f** is differentiable. In detail, with respect to a given point **p**∈ ℝ^{n}, the Jacobian matrix of **f** : ℝ^{n} → ℝ^{m} represents the linear transformation that sends the position vector of a point **x** in ℝ^{n} relative to **p** to , regarded as the position vector of some point in relative to **f**(**p**). If **f** is differentiable at some point **p**^{[a]}, then this is the linear transformation that best approximates **f** for points close **p**, and is known as the *derivative* or the *differential* of **f** at **p**. In particular, the only entry of the Jacobian matrix of a scalar-valued differentiable function of a single variable is the derivative of the function.

When *m* = *n*, the Jacobian matrix is square, so its determinant is a well-defined function of **x**, known as the **Jacobian determinant** of **f**. It carries important information about the local behavior of **f**. In particular, the function **f** has locally in the neighborhood of a point **x** an inverse function that is differentiable if and only if the Jacobian determinant is nonzero at **x** (see Jacobian conjecture). The Jacobian determinant also appears when changing the variables in multiple integrals (see substitution rule for multiple variables).

If *m* = 1, **f** is a scalar field and the Jacobian matrix is reduced to a row vector of partial derivatives of **f**—i.e. the transpose of the gradient of **f**, when denoted as column vector with respect to the ordered basis .

These concepts are named after the mathematician Carl Gustav Jacob Jacobi (1804–1851).

## Contents

## Jacobian matrixEdit

The Jacobian generalizes the gradient of a scalar-valued function in several variables, which itself generalizes the derivative of a scalar-valued function of a single variable. In other words, the Jacobian of a scalar-valued function in several variables is its gradient and the gradient of a scalar-valued function of a single variable is its derivative. The Jacobian can also be thought of as describing the amount of "stretching", "rotating" or "transforming" that a transformation imposes locally. For example, if (*x*′, *y*′) = **f**(*x*, *y*) is used to transform an image, the Jacobian **J**_{f}(*x*, *y*), describes how the image in the neighborhood of (*x*, *y*) is transformed.

If a function is differentiable at a point, its derivative is given in coordinates by the Jacobian, but a function does not need to be differentiable for the Jacobian to be defined, since only the partial derivatives are required to exist.

If **p** is a point in ℝ^{n} and **f** is differentiable at **p**, then its derivative is given by **J**_{f}(**p**). In this case, the linear map described by **J**_{f}(**p**) is the best linear approximation of **f** near the point **p**, in the sense that

where *o*(‖**x** − **p**‖) is a quantity that approaches zero much faster than the distance between **x** and **p** does as **x** approaches **p**. (See Total derivative#The total derivative as a linear map.)

Compare this to a Taylor series for a scalar function of a scalar argument, truncated to first order:

In a sense, both the gradient and Jacobian are "first derivatives"—the former the first derivative of a *scalar function* of several variables, the latter the first derivative of a *vector function* of several variables.

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 determinantEdit

If *m* = *n*, then **f** is a function from ℝ^{n} to itself and the Jacobian matrix is a square matrix. We can then form its determinant, known as the **Jacobian determinant**. The Jacobian determinant is sometimes referred to as "the Jacobian".

The Jacobian determinant at a given point gives important information about the behavior of **f** near that point. For instance, the continuously differentiable function **f** is invertible near a point **p** ∈ ℝ^{n} if the Jacobian determinant at **p** is non-zero. This is the inverse function theorem. Furthermore, if the Jacobian determinant at **p** is positive, then **f** preserves orientation near **p**; if it is negative, **f** reverses orientation. The absolute value of the Jacobian determinant at **p** gives us the factor by which the function **f** expands or shrinks volumes near **p**; 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 *n*-dimensional *dV* element is in general a parallelepiped in the new coordinate system, and the *n*-volume of a parallelepiped is the determinant of its edge vectors.

The Jacobian can also be used to solve systems of differential equations at an equilibrium point or approximate solutions near an equilibrium point. Its applications include determining the stability of the disease-free equilibrium in disease modelling.^{[5]}

## InverseEdit

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 **f** : ℝ^{n} → ℝ^{n} is continuous and nonsingular at the point **p** in ℝ^{n}, then **f** is invertible when restricted to some neighborhood of **p** and

Conversely, 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 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* polynomials 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 pointsEdit

If **f** : ℝ^{n} → ℝ^{m} is a differentiable function, a *critical point* of **f** 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 *k* be the maximal dimension of the open balls contained in the image of **f**; then a point is critical if all minors of rank *k* of **f** are zero.

In the case where 1 = *m* = *n* = *k*, a point is critical if the Jacobian determinant is zero.

## ExamplesEdit

### Example 1Edit

Consider the function **f** : ℝ^{2} → ℝ^{2}, with (*x*, *y*) ↦ (*f*_{1}(*x*, *y*), *f*_{2}(*x*, *y*)), given by

Then we have

and

and the Jacobian matrix of **f** is

and the Jacobian determinant is

### Example 2: polar-Cartesian transformationEdit

The transformation from polar coordinates (*r*, *φ*) to Cartesian coordinates (*x*, *y*), is given by the function **F**: ℝ^{+} × [0, 2π) → ℝ^{2} with components:

The Jacobian determinant is equal to *r*. This can be used to transform integrals between the two coordinate systems:

### Example 3: spherical-Cartesian transformationEdit

The transformation from spherical coordinates (*r*, *θ*, *φ*) to Cartesian coordinates (*x*, *y*, *z*), is given by the function **F**: ℝ^{+} × [0, *π*] × [0, 2 *π*) → ℝ^{3} with components:

The Jacobian matrix for this coordinate change is

The determinant is *r*^{2} sin *θ*. As an example, since *dV* = *dx* *dy* *dz* this determinant implies that the differential volume element *dV* = *r*^{2} sin *θ* *dr* *dθ* *dφ*. Unlike for a change of Cartesian coordinates, this determinant is not a constant, and varies with coordinates (*r* and *θ*).

### Example 4Edit

The Jacobian matrix of the function **F** : ℝ^{3} → ℝ^{4} with components

is

This example shows that the Jacobian need not be a square matrix.

### Example 5Edit

The Jacobian determinant of the function **F** : ℝ^{3} → ℝ^{3} with components

is

From this we see that **F** reverses orientation near those points where *x*_{1} and *x*_{2} have the same sign; the function is locally invertible everywhere except near points where *x*_{1} = 0 or *x*_{2} = 0. Intuitively, if one starts with a tiny object around the point (1, 2, 3) and apply **F** to that object, one will get a resulting object with approximately 40 × 1 × 2 = 80 times the volume of the original one, with orientation reversed.

## Other usesEdit

The Jacobian serves as a linearized design matrix in statistical regression and curve fitting; see non-linear least squares.

### Dynamical systemsEdit

Consider a dynamical system 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 (also called a steady state). By the Hartman–Grobman theorem, the behavior of the system near a stationary point is related to the eigenvalues of , the Jacobian of at the stationary point.^{[6]} 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.^{[7]}

### Newton's methodEdit

A square system of coupled nonlinear equations can be solved iteratively by Newton's method. This method uses the Jacobian matrix of the system of equations.

### Surface analysisEdit

Let *n* = 2 so the Jacobian is a 2 × 2 real matrix. Suppose a surface diffeomorphism f: *U* → *V* in the neighborhood of *p* in *U* is written The matrix can be interpreted as a complex number: ordinary, split, or dual. Furthermore, since is invertible, the complex number has a polar decomposition or an alternative planar decomposition.

And again, each such complex number represents a group action on the tangent plane at *p*. The action is dilation by the norm of the complex number, and rotation respecting angle, hyperbolic angle, or slope, according to the case of Such action corresponds to a conformal mapping.

## See alsoEdit

## ReferencesEdit

**^**"Jacobian - Definition of Jacobian in English by Oxford Dictionaries".*Oxford Dictionaries - English*. Archived from the original on 1 December 2017. Retrieved 2 May 2018.**^**"the definition of jacobian".*Dictionary.com*. Archived from the original on 1 December 2017. Retrieved 2 May 2018.**^**Team, Forvo. "Jacobian pronunciation: How to pronounce Jacobian in English".*forvo.com*. Retrieved 2 May 2018.**^**W., Weisstein, Eric. "Jacobian".*mathworld.wolfram.com*. Archived from the original on 3 November 2017. Retrieved 2 May 2018.**^**Smith? RJ (2015). "The Joys of the Jacobian".*Chalkdust*.**2**: 10–17.**^**Arrowsmith, D. K.; Place, C. M. (1992). "The Linearization Theorem".*Dynamical Systems: Differential Equations, Maps, and Chaotic Behaviour*. London: Chapman & Hall. pp. 77–81. ISBN 0-412-39080-9.**^**Hirsch, Morris; Smale, Stephen (1974).*Differential equations, dynamical systems and linear algebra*.

## Further readingEdit

- Gandolfo, Giancarlo (1996).
*Economic Dynamics*(Third ed.). Berlin: Springer. pp. 305–330. ISBN 3-540-60988-1.

## External linksEdit

- Hazewinkel, Michiel, ed. (2001) [1994], "Jacobian",
*Encyclopedia of Mathematics*, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4 - Mathworld A more technical explanation of Jacobians

Cite error: There are `<ref group=lower-alpha>`

tags or `{{efn}}`

templates on this page, but the references will not show without a `{{reflist|group=lower-alpha}}`

template or `{{notelist}}`

template (see the help page).