How to find the Jacobian matrix and determinant for two variables

When we switch from one pair of coordinates to another, a small region can change shape and size. The Jacobian matrix tells us how the coordinates change nearby, and its determinant gives us the local area scale.

Put the four partial derivatives in a matrix

Suppose x=x(u,v) and y=y(u,v). Put the derivatives of x in the first row and the derivatives of y in the second row. The columns are for u and v, in that order.

D=[∂x∂u∂x∂v∂y∂u∂y∂v]

The subscript on a derivative tells us which input varies. For example, xu means differentiate x with respect to u while holding v fixed.

Find the determinant for a two-variable transformation

Let x=uv and y=2u-v2. Find the two partial derivatives of each output and put them into the matrix.

xu=v,xv=uyu=2,yv=-2v
D=[vu2-2v]

For this two-by-two determinant, multiply along each diagonal and subtract the second product from the first.

J=xuyv-xvyu=v(-2v)-u(2)=-2v2-2u

Use the absolute value for area

At (u,v)=(1,1), the determinant is -4. The minus sign tells us the transformation reverses orientation there. The absolute value |-4|=4 tells us that a very small region near that point maps to about four times its area.

A small square and its image under the transformationA small square centered at one comma one maps to a larger curved quadrilateral in the output plane. The dots mark the input point and its image.Input (u, v)Output (x, y)Small squareIts image
Near (1, 1), a small region maps to about four times its original area.

For a change of variables in a double integral on a region where the transformation is one-to-one and has a nonzero Jacobian in the interior, use dA=|J|dudv.

The same arrangement of rows and columns works with three outputs. See how to find the Jacobian in three variables.