Double integral change of variables examples

Example 1

Compute the double integral

Dg(x,y)dA

where g(x,y) = x2 + y2 and D is disk of radius 7 centered at origin.

PIC

Solution: Since computing this integral in rectangular coordinates is too difficult, we change to polar coordinates. (We chose polar coordinates since the disk is easily described in polar coordinates.) Let

T(r,θ) = (r cos θ,r sin θ).

be the change of variables function from polar coordinates into rectangular coordinates.

Then, by the change of variables formula, the integral becomes

Dg(x,y)dA = Dg(T(r,θ)) det DT(r,θ) drdθ,

where D is the region in the rθ-plane that is mapped by T onto the disk D. In polar coordinates, the disk is described by 0 r 7 and 0 θ 2π, so this is the region D.

We calculate

g(T(r,θ)) = g(r cos θ,r sin θ) = r2 cos 2θ + r2 sin 2θ = r2 T1 r (r,θ) = cos θ T2 r (r,θ) = sin θ T1 θ (r,θ) = r sin θ T2 θ (r,θ) = r cos θ DT(r,θ) = cos θ sin θ r sin θ r cos θ det DT(r,θ) = r cos 2θ (r) sin 2θ = r(cos 2θ + sin 2θ) = r

Since r 0 in D, we know that det DT(r,θ) = |r| = r. Therefore the integral is

Dg(x,y)dA =02π07r2rdrdθ =22π r4 4 07 dθ =22π74 4 dθ = π74 2

Note: In case you have trouble believing the formula that dA becomes det DT(r,θ) dr,dθ, we could motivate the result that, for polar coordinates, dA becomes rdrdθ as follows.

Chop up the disk into grid corresponding to a grid size in polar coordinates of Δr and Δθ, just as we did for the intro reading. A single “curvy rectangle” with a corner (r,θ) is pictured below.

PIC

Let ΔA be area of the “curvy rectangle”. You can see that the area depends on the radius r, since its width is approximately rΔθ and its height is approximately Δr. Hence the area ΔA is approximately rΔrΔθ. I hope that now you can believe that dA becomes rdrdθ when changing variables to polar coordinates.

Example 2

Evaluate

D(x2 y2)dxdy

where D is the region pictured below.

PIC

Solution:

The region can be described simply if we change to coordinates u and v where

u = y x v = xy.  (1)

With this change of variables, our new region of integration D is 0 u 1, 1 v 2.

Our change of variables as expressed in equation (1) give u and v in terms of x and y. In our change of variables formula, we need to have x and y expressed in terms of u and v using some function (x,y) = T(u,v). So one way to solve this problem is to solve equation (1) for x and y to determine the function T. We could then compute

(x,y) (u,v),

which is what we need for the change of variables formula.

For this example, we will use another method that skips this step. We will leave u and v expressed in terms of x and y (as in equation (1)) and compute (u,v) (x,y) instead of (x,y) (u,v). Since we know that

(x,y) (u,v) = 1 (u,v) (x,y),

we can easily get the correct factor for out change of variables formula.

To compute (u,v) (x,y), we view u and v as functions of x and y: s(x,y) and t(x,y). The partial derivatives of u and v with respect to x and y are

u x = 1,u y = 1,v x = y, andv y = x.

We compute

(u,v) (x,y) = det u xu y v x v y = u x v y u y v x = x y,

so that

(x,y) (u,v) = 1 x y.

The factor we need for our change of variables formula is then

(x,y) (u,v) = 1 x + y

since x and y are positive in our domain.

Once we change variables, we will need to integrate over the region D the expression

(x2 y2) 1 x + y.

Since we can factor x2 y2 = (x y)(x + y) the above expression simplifies to x y.

Since the integral over D is an integral in u and v, we need to write x y in terms of u and v. Glancing at equation (1), we see that x y = u, so we simply need to integrate u over the region D.

Our integral is

D(x2 y2)dxdy = D ududv = 1201ududv = 12 u2 2 01 dv = 121 2dv = 1 2

where x and y are functions of u and v.

Example 3

Evaluate

Dcex2y2 dA

where Dc is the region in the first quadrant of the xy-plane where x2 + y2 < c2.

PIC

Solution:

Change to polar coordinates. Region is sector: 0 θ π2 and 0 r c.

Dcex2y2 dA =0π20cer2 rdrdθ =0π2 1 2er2 0c dθ = 1 2 1 ec2 02πdθ = π 4 1 ec2