In vector calculus, the Jacobian matrix (dʒəˈkəʊbiən, dʒᵻ-,_jᵻ-) of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. When this matrix is square, that is, when the function takes the same number of variables as input as the number of vector components of its output, its determinant 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 f : Rn → Rm is a function such that each of its first-order partial derivatives exist on Rn. This function takes a point x ∈ Rn as input and produces the vector f(x) ∈ Rm as output. Then the Jacobian matrix of f is defined to be an m×n matrix, denoted by J, whose (i,j)th entry is , or explicitly
where is the transpose (row vector) of the gradient of the -th component.
The Jacobian matrix, whose entries are functions of x, is denoted in various ways; common notations include Df, Jf, , and . Some authors define the Jacobian as the transpose of the form given above.
The Jacobian matrix represents the differential of f at every point where f is differentiable. In detail, if h is a displacement vector represented by a column matrix, the matrix product J(x) ⋅ h is another displacement vector, that is the best linear approximation of the change of f in a neighborhood of x, if f(x) is differentiable at x. This means that the function that maps y to f(x) + J(x) ⋅ (y – x) is the best linear approximation of f(y) for all points y close to x. The linear map h → J(x) ⋅ h is known as the derivative or the differential of f at x.
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 a differentiable inverse function in a neighborhood of a point x if and only if the Jacobian determinant is nonzero at x (see Jacobian conjecture for a related problem of global invertibility).