Jacobian matrix and determinant

From Wikipedia, the free encyclopedia
(Redirected from Jacobian matrix)
Jump to navigation Jump to search

Template:Short description Script error: No such module "redirect hatnote". Script error: No such module "sidebar".

In vector calculus, the Jacobian matrix (Template:IPAc-en,[1][2][3] Template:IPAc-en) of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. If this matrix is square, that is, if the number of variables equals the number of components of function values, then its determinant is called the Jacobian determinant. Both the matrix and (if applicable) the determinant are often referred to simply as the Jacobian.[4] They are named after Carl Gustav Jacob Jacobi.

The Jacobian matrix is the natural generalization of the derivative and the differential of a usual function to vector valued functions of several variables. This generalization includes generalizations of the inverse function theorem and the implicit function theorem, where the non-nullity of the derivative is replaced by the non-nullity of the Jacobian determinant, and the multiplicative inverse of the derivative is replaced by the inverse of the Jacobian matrix.

The Jacobian determinant is fundamentally used for changes of variables in multiple integrals.

Definition

Let 𝐟:nm be a function such that each of its first-order partial derivatives exists on n. This function takes a point Template:Tmath as input and produces the vector Template:Tmath as output. Then the Jacobian matrix of fScript error: No such module "Check for unknown parameters"., denoted JfScript error: No such module "Check for unknown parameters"., is the Template:Tmath matrix whose (i, j)Script error: No such module "Check for unknown parameters". entry is fixj; explicitly J𝐟=[𝐟x1𝐟xn]=[Tf1Tfm]=[f1x1f1xnfmx1fmxn]where Tfi is the transpose (row vector) of the gradient of the i-th component.

The Jacobian matrix, whose entries are functions of xScript error: No such module "Check for unknown parameters"., is denoted in various ways; other common notations include DfScript error: No such module "Check for unknown parameters"., 𝐟, and (f1,,fm)(x1,,xn).[5][6] Some authors define the Jacobian as the transpose of the form given above.

The Jacobian matrix represents the differential of fScript error: No such module "Check for unknown parameters". at every point where fScript error: No such module "Check for unknown parameters". is differentiable. In detail, if hScript error: No such module "Check for unknown parameters". is a displacement vector represented by a column matrix, the matrix product J(x) ⋅ hScript error: No such module "Check for unknown parameters". is another displacement vector, that is the best linear approximation of the change of fScript error: No such module "Check for unknown parameters". in a neighborhood of xScript error: No such module "Check for unknown parameters"., if f(x)Script error: No such module "Check for unknown parameters". is differentiable at xScript error: No such module "Check for unknown parameters"..Template:Efn This means that the function that maps yScript error: No such module "Check for unknown parameters". to f(x) + J(x) ⋅ (yx)Script error: No such module "Check for unknown parameters". is the best linear approximation of f(y)Script error: No such module "Check for unknown parameters". for all points yScript error: No such module "Check for unknown parameters". close to xScript error: No such module "Check for unknown parameters".. The linear map hJ(x) ⋅ hScript error: No such module "Check for unknown parameters". is known as the derivative or the differential of fScript error: No such module "Check for unknown parameters". at xScript error: No such module "Check for unknown parameters"..

When m=n, the Jacobian matrix is square, so its determinant is a well-defined function of xScript error: No such module "Check for unknown parameters"., known as the Jacobian determinant of fScript error: No such module "Check for unknown parameters".. It carries important information about the local behavior of fScript error: No such module "Check for unknown parameters".. In particular, the function fScript error: No such module "Check for unknown parameters". has a differentiable inverse function in a neighborhood of a point xScript error: No such module "Check for unknown parameters". if and only if the Jacobian determinant is nonzero at xScript error: No such module "Check for unknown parameters". (see inverse function theorem for an explanation of this and 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 m=1, that is when f:n is a scalar-valued function, the Jacobian matrix reduces to the row vector Tf; this row vector of all first-order partial derivatives of Template:Tmath is the transpose of the gradient of Template:Tmath, i.e. 𝐉f=Tf. Specializing further, when m=n=1, that is when f: is a scalar-valued function of a single variable, the Jacobian matrix has a single entry; this entry is the derivative of the function Template:Tmath.

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

Jacobian matrix

The Jacobian of a vector-valued function in several variables generalizes the gradient 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 of 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 (x′, y′) = f(x, y)Script error: No such module "Check for unknown parameters". is used to smoothly transform an image, the Jacobian matrix Jf(x, y)Script error: No such module "Check for unknown parameters"., describes how the image in the neighborhood of (x, y)Script error: No such module "Check for unknown parameters". 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 fScript error: No such module "Check for unknown parameters". is differentiable at a point pScript error: No such module "Check for unknown parameters". in RnScript error: No such module "Check for unknown parameters"., then its differential is represented by Jf(p)Script error: No such module "Check for unknown parameters".. In this case, the linear transformation represented by Jf(p)Script error: No such module "Check for unknown parameters". is the best linear approximation of fScript error: No such module "Check for unknown parameters". near the point pScript error: No such module "Check for unknown parameters"., in the sense that

𝐟(𝐱)𝐟(𝐩)=𝐉𝐟(𝐩)(𝐱𝐩)+o(𝐱𝐩)(as 𝐱𝐩),

where o(‖xp‖)Script error: No such module "Check for unknown parameters". is a quantity that approaches zero much faster than the distance between xScript error: No such module "Check for unknown parameters". and pScript error: No such module "Check for unknown parameters". does as xScript error: No such module "Check for unknown parameters". approaches pScript error: No such module "Check for unknown parameters".. This approximation specializes to the approximation of a scalar function of a single variable by its Taylor polynomial of degree one, namely

f(x)f(p)=f(p)(xp)+o(xp)(as xp).

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 of a scalar-valued function of several variables may too be regarded as its "first-order derivative".

Composable differentiable functions f : RnRmScript error: No such module "Check for unknown parameters". and g : RmRkScript error: No such module "Check for unknown parameters". satisfy the chain rule, namely 𝐉𝐠𝐟(𝐱)=𝐉𝐠(𝐟(𝐱))𝐉𝐟(𝐱) for x Script error: No such module "Check for unknown parameters". in RnScript error: No such module "Check for unknown parameters"..

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

File:Jacobian determinant and distortion.svg
A nonlinear map f:22 sends a small square (left, in red) to a distorted parallelogram (right, in red). The Jacobian at a point gives the best linear approximation of the distorted parallelogram near that point (right, in translucent white), and the Jacobian determinant gives the ratio of the area of the approximating parallelogram to that of the original square.

If m = nScript error: No such module "Check for unknown parameters"., then fScript error: No such module "Check for unknown parameters". is a function from RnScript error: No such module "Check for unknown parameters". 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 simply referred to as "the Jacobian".

The Jacobian determinant at a given point gives important information about the behavior of fScript error: No such module "Check for unknown parameters". near that point. For instance, the continuously differentiable function fScript error: No such module "Check for unknown parameters". is invertible near a point pRnScript error: No such module "Check for unknown parameters". if the Jacobian determinant at pScript error: No such module "Check for unknown parameters". is non-zero. This is the inverse function theorem. Furthermore, if the Jacobian determinant at pScript error: No such module "Check for unknown parameters". is positive, then fScript error: No such module "Check for unknown parameters". preserves orientation near pScript error: No such module "Check for unknown parameters".; if it is negative, fScript error: No such module "Check for unknown parameters". reverses orientation. The absolute value of the Jacobian determinant at pScript error: No such module "Check for unknown parameters". gives us the factor by which the function fScript error: No such module "Check for unknown parameters". expands or shrinks volumes near pScript error: No such module "Check for unknown parameters".; 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 nScript error: No such module "Check for unknown parameters".-dimensional dVScript error: No such module "Check for unknown parameters". element is in general a parallelepiped in the new coordinate system, and the nScript error: No such module "Check for unknown parameters".-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.

Inverse

According to the inverse function theorem, the matrix inverse of the Jacobian matrix of an invertible function f : RnRnScript error: No such module "Check for unknown parameters". is the Jacobian matrix of the inverse function. That is, the Jacobian matrix of the inverse function at a point pScript error: No such module "Check for unknown parameters". is

𝐉𝐟1(𝐩)=𝐉𝐟1(𝐟1(𝐩)),

and the Jacobian determinant is

det(𝐉𝐟1(𝐩))=1det(𝐉𝐟(𝐟1(𝐩))).

If the Jacobian is continuous and nonsingular at the point pScript error: No such module "Check for unknown parameters". in RnScript error: No such module "Check for unknown parameters"., then fScript error: No such module "Check for unknown parameters". is invertible when restricted to some neighbourhood of pScript error: No such module "Check for unknown parameters".. In other words, if the Jacobian determinant is not zero at a point, then the function is locally invertible near this point.

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 points

Script error: No such module "Labelled list hatnote".

If f : RnRmScript error: No such module "Check for unknown parameters". is a differentiable function, a critical point of fScript error: No such module "Check for unknown parameters". 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 kScript error: No such module "Check for unknown parameters". be the maximal dimension of the open balls contained in the image of fScript error: No such module "Check for unknown parameters".; then a point is critical if all minors of rank kScript error: No such module "Check for unknown parameters". of fScript error: No such module "Check for unknown parameters". are zero.

In the case where m = n = kScript error: No such module "Check for unknown parameters"., a point is critical if the Jacobian determinant is zero.

Examples

Example 1

Consider a function f : R2R3,Script error: No such module "Check for unknown parameters". with (x, y) ↦ (f1(x, y), f2(x, y), f3(x, y)),Script error: No such module "Check for unknown parameters". given by

𝐟([xy])=[f1(x,y)f2(x,y)f3(x,y)]=[x2y5x+siny4y].

The Jacobian matrix of fScript error: No such module "Check for unknown parameters". is

𝐉𝐟(x,y)=[f1xf1yf2xf2yf3xf3y]=[2xyx25cosy04]

Example 2: polar-Cartesian transformation

The transformation from polar coordinates (r, φ)Script error: No such module "Check for unknown parameters". to Cartesian coordinates (x, y), is given by the function F: R+ × [0, 2Template:Pi) → R2Script error: No such module "Check for unknown parameters". with components

x=rcosφ;y=rsinφ.

𝐉𝐅(r,φ)=[xrxφyryφ]=[cosφrsinφsinφrcosφ]

The Jacobian determinant is equal to rScript error: No such module "Check for unknown parameters".. This can be used to transform integrals between the two coordinate systems:

𝐅(A)f(x,y)dxdy=Af(rcosφ,rsinφ)rdrdφ.

Example 3: spherical-Cartesian transformation

The transformation from spherical coordinates (ρ, φ, θ)Script error: No such module "Check for unknown parameters".[7] to Cartesian coordinates (x, y, z), is given by the function F: R+ × [0, π) × [0, 2π) → R3Script error: No such module "Check for unknown parameters". with components

x=ρsinφcosθ;y=ρsinφsinθ;z=ρcosφ.

The Jacobian matrix for this coordinate change is

𝐉𝐅(ρ,φ,θ)=[xρxφxθyρyφyθzρzφzθ]=[sinφcosθρcosφcosθρsinφsinθsinφsinθρcosφsinθρsinφcosθcosφρsinφ0].

The determinant is ρ2 sin φScript error: No such module "Check for unknown parameters".. Since dV = dx dy dzScript error: No such module "Check for unknown parameters". 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 dV = ρ2 sin φ Script error: No such module "Check for unknown parameters". 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 (ρScript error: No such module "Check for unknown parameters". and φScript error: No such module "Check for unknown parameters".). It can be used to transform integrals between the two coordinate systems:

𝐅(U)f(x,y,z)dxdydz=Uf(ρsinφcosθ,ρsinφsinθ,ρcosφ)ρ2sinφdρdφdθ.

Example 4

The Jacobian matrix of the function F : R3R4Script error: No such module "Check for unknown parameters". with components

y1=x1y2=5x3y3=4x222x3y4=x3sinx1

is

𝐉𝐅(x1,x2,x3)=[y1x1y1x2y1x3y2x1y2x2y2x3y3x1y3x2y3x3y4x1y4x2y4x3]=[10000508x22x3cosx10sinx1].

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

Example 5

The Jacobian determinant of the function F : R3R3Script error: No such module "Check for unknown parameters". with components

y1=5x2y2=4x122sin(x2x3)y3=x2x3

is

|0508x12x3cos(x2x3)2x2cos(x2x3)0x3x2|=8x1|50x3x2|=40x1x2.

From this we see that FScript error: No such module "Check for unknown parameters". reverses orientation near those points where x1Script error: No such module "Check for unknown parameters". and x2Script error: No such module "Check for unknown parameters". have the same sign; the function is locally invertible everywhere except near points where x1 = 0Script error: No such module "Check for unknown parameters". or x2 = 0Script error: No such module "Check for unknown parameters".. Intuitively, if one starts with a tiny object around the point (1, 2, 3)Script error: No such module "Check for unknown parameters". and apply FScript error: No such module "Check for unknown parameters". to that object, one will get a resulting object with approximately 40 × 1 × 2 = 80Script error: No such module "Check for unknown parameters". times the volume of the original one, with orientation reversed.

Other uses

Dynamical systems

Consider a dynamical system of the form 𝐱˙=F(𝐱), where 𝐱˙ is the (component-wise) derivative of 𝐱 with respect to the evolution parameter t (time), and F:nn is differentiable. If F(𝐱0)=0, then 𝐱0 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 𝐉F(𝐱0), the Jacobian of F at the stationary point.[8] 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.[9]

Newton's method

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.

Regression and least squares fitting

The Jacobian serves as a linearized design matrix in statistical regression and curve fitting; see non-linear least squares. The Jacobian is also used in random matrices, moments, local sensitivity and statistical diagnostics.[10][11]

See also

Notes

Template:Notelist

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Joel Hass, Christopher Heil, and Maurice Weir. Thomas' Calculus Early Transcendentals, 14e. Pearson, 2018, p. 959.
  8. Script error: No such module "citation/CS1".
  9. Script error: No such module "citation/CS1".
  10. Script error: No such module "Citation/CS1".
  11. Script error: No such module "Citation/CS1".

Script error: No such module "Check for unknown parameters".

Further reading

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

External links

Template:Matrix classes