Change of variables in double integrals
Imagine that you had to compute the double integral
where and is disk of radius 7 centered at origin.

We could start to calculate this as follows.
It turns out that this integral would be a lot easier if we could change variables to polar coordinates. In rectangular coordinates, as above, the disk is the region defined by and . In polar coordinates, the disk is the region we’ll call defined by and . Hence the region of integration is simpler to describe using polar coordinates.
Moreover, the integrand is simple in polar coordinates because . Using polar coordinates, our lives will be a lot easier because it seems that all we need to do is integrate over the region defined by and .
Unfortunately, it’s not quite that easy. We need to account for one more consequence of changing variables, which is how changing variables changes area. You may recall that stands for the area of a little bit of the region . In rectangular coordinates, we replaced by (or ). The rest of this reading discusses what becomes when we change variables. (As you will see, in polar coordinates, does not becomes .)
To see how area gets changed, let’s write the change of variables as the function
The function gives rectangular coordinates in terms of polar coordinates. It maps the region (shown below in green) into the region (shown in blue). You can change and by dragging the red point in . The yellow point moves to show the point in (you cannot drag the yellow point directly).
Do you understand why the disk looks like a rectangle in polar coordinates (i.e., why the region on the left is a rectangle)? Remember, the disk is described by and , which is a rectangle when plotted in the -plane.
We can say that parametrizes for in . (This uses the same language that we used when parametrizing a curve. We’ll use it again when we talk about parametrizing surfaces.)
We can chop up the region into small rectangles of width and height . The function maps each of these small rectangles into “curvy rectangles” in , as shown below.
The area of each small rectangle in is . But we don’t care about area in . The in the integral of equation (1) is based on area in not area in . So we need to estimate the area of each “curvy rectangle” in .
It turns out that we can approximate each “curvy rectangle” as a parallelogram with sides and . We know the area of a parallelogram is the magnitude of the cross product of the two vectors spanning the parallelogram. So it looks like we are finished.
We have to use one little trick since the cross product is defined only for three-dimensional vectors and is two-dimensional. We view the vectors and as three-dimensional vectors that happen to have zero for their third component. Then, we can take their cross product. We’ll show in lecture that the area of a “curvy rectangle” simplifies to
where is the matrix of partial derivatives. (The in is not the same as the region of integration; sorry for the poor notation.) Because we need to take the absolute value of the determinant, we typically use the notation “det” to denote determinant to avoid confusion (see discussion at end of the matrices and determinant reading).
For given by equation (2), you can calculate that so that the area of each “curvy rectangle” is . This agrees with the above picture, since the “curvy rectangles” were larger when was larger.
The important point is that stretches or shrinks when it maps onto . Consequently, when we convert from area in to area in , we need to multiply by the absolute value of the determinant of the matrix of partial derivatives: .
We now put everything back together. We started off trying to integrate the function over the region . If we use to change variables, we can instead integrate the function over the region . However, we need to include the factor in to account for the stretching by . We can replace with . We end up with the formula
which for our example is
You can compute that this integral is much easier using this form than you could using the original integral (1).
For a general change of variables, we tend to use the variables and (rather than and ). In this case, if we change variables by , our integral is
where is a region in the -plane that is parametrized by for in the region .
You can see some examples, including more details on the disk example, here.