Change of variables in double integrals
Imagine that you had to compute the double integral
Dg(x,y)dA | (1) |

We could start to calculate this as follows.
Dg(x,y)dA = (x2 + y2)dydx = a mess |
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 D defined by -7 ≤ x ≤ 7 and -
≤ y ≤
. In polar
coordinates, the disk is the region we’ll call D* defined by 0 ≤ r ≤ 7 and
0 ≤ θ ≤ 2π. Hence the region of integration is simpler to describe using polar
coordinates.
Moreover, the integrand x2 + y2 is simple in polar coordinates because x2 + y2 = r2. Using polar coordinates, our lives will be a lot easier because it seems that all we need to do is integrate r2 over the region D* defined by 0 ≤ r ≤ 7 and 0 ≤ θ ≤ 2π.
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 dA stands for the area of a little bit of the region D. In rectangular coordinates, we replaced dA by dxdy (or dydx). The rest of this reading discusses what dA becomes when we change variables. (As you will see, in polar coordinates, dA does not becomes drdθ.)
To see how area gets changed, let’s write the change of variables as the function
| T(r,θ) = (r cos θ,r sin θ). | (2) |
Do you understand why the disk looks like a rectangle in polar coordinates (i.e., why the region D* on the left is a rectangle)? Remember, the disk is described by 0 ≤ r ≤ 7 and 0 ≤ θ ≤ 2π, which is a rectangle when plotted in the rθ-plane.
We can say that T(r,θ) parametrizes D for (r,θ) in D*. (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 D* into small rectangles of width Δr and height Δθ. The function T(r,θ) maps each of these small rectangles into “curvy rectangles” in D, as shown below.
The area of each small rectangle in D* is ΔrΔθ. But we don’t care about area in D*. The dA in the integral of equation (1) is based on area in D not area in D*. So we need to estimate the area of each “curvy rectangle” in D.
It turns out that we can approximate each “curvy rectangle” as a parallelogram
with sides
Δr 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 T 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
| | det DT(r,θ)|ΔrΔθ, |
For T given by equation (2), you can calculate that | det DT(r,θ)| = r so that the area of each “curvy rectangle” is rΔrΔθ. This agrees with the above picture, since the “curvy rectangles” were larger when r was larger.
The important point is that T stretches or shrinks D* when it maps D* onto D. Consequently, when we convert from area in D* to area in D, we need to multiply by the absolute value of the determinant of the matrix of partial derivatives: | det DT(r,θ)|.
We now put everything back together. We started off trying to integrate the function g(x,y) = x2 + y2 over the region D. If we use (x,y) = T(r,θ) to change variables, we can instead integrate the function g(T(r,θ)) = r2 over the region D*. However, we need to include the factor | det DT(r,θ)| = r in dA to account for the stretching by T. We can replace dA with rdrdθ. We end up with the formula
Dg(x,y)dA = g(T(r,θ))| det DT(r,θ)|drdθ, |
D(x2 + y2)dA = ∫
02π ∫
07r2rdrdθ = ∫
02π ∫
07r3drdθ. |
For a general change of variables, we tend to use the variables u and v (rather than r and θ). In this case, if we change variables by (x,y) = T(u,v), our integral is
Dg(x,y)dA = g(T(u,v))| det DT(u,v)|dudv, |
You can see some examples, including more details on the disk example, here.


(



