Change of variables in this visualization
An integral over an awkward region can often be done over a simpler region instead. Choose a smooth map that carries onto , covering it once: one to one inside , with there (what happens on the boundary does not change the integral). Then each small cell of becomes a small piece of , and the integral picks up the factor by which stretches area. The Jacobian matrix holds the partial derivatives of and with respect to the new variables.
Why |det J|
Near a point a smooth map is nearly linear: moving in and in moves the image by about , where and are the columns of . So the cell at goes to nearly the parallelogram on and , whose area is (a determinant gives the signed area of the parallelogram on its columns, and its absolute value the ordinary area). A finite cell’s real area is the average of over the cell times , and that average can differ from the value at the corner . As the cell shrinks toward , the real area divided by tends to ; where that is not zero, the real area divided by the parallelogram's tends to 1. Adding up times these areas over all the cells gives the formula.
Why the absolute value
A determinant can be negative. Swapping the names and swaps the two columns of and changes the sign of , but the cells and their areas stay exactly the same. The sign only says whether keeps or reverses the turning direction from the first column to the second; the determinant is a signed area, and the formula needs the ordinary area, which is never negative, so it uses . Where , the linear approximation squashes the cell flat: at the origin under squaring, the cell itself still has area, but its area divided by tends to 0.
Using it
A good map makes the region a rectangle, or the integrand simpler, or both. Polar coordinates are the commonest case: , has , which is the extra in . The same idea works in three dimensions with a 3 × 3 Jacobian, where stretches volume; for spherical coordinates it is , with measured from the positive z-axis.
Things to notice
- The derivatives in are taken with respect to the new variables and ; if the map is given the other way, as in terms of , then where , the inverse map’s Jacobian determinant at is .
Controls
- Drag Q in the parameter plane below, or drag T(Q) in the xy-plane; arrow keys move Q.
- Each step of the Δ knob halves both sides of the cell; the dashed tangent parallelogram is the linear approximation at Q.