Change of variables in multiple integrals

Sometimes, we need to integrate a function on a bounded closed region other than a rectangle or a region sandwiched by two curves. Even when the bounded closed region is simple, it may still be difficult to integrate a function on it. We may calculate the integral in such cases by changing the integration variables.



Consider two R2 planes, the (u,v) plane and (x,y) plane. Suppose we have a map Φ

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

defined on a neighbor of the bounded closed region E in the (u,v) plane. Suppose Φ maps E to the bounded closed region D in the (x,y) plane (Figure 1):

Φ(E)=D.

Figure 1. Change of variables by the mapping Φ(u,v)=(x(u,v),y(u,v)).

We further assume the following:

  1. Φ(u,v) is injective.
  2. The functions x(u,v) and y(u,v) are of class C1, and at an arbitrary point (u0,v0)E, we have xu(u0,v0)yv(u0,v0)xv(u0,v0)yu(u0,v0)0. That is, the determinant of the Jacobian of Φ is non-zero in E.

Let f(x,y) be a continuous function on D. By composing with Φ, we have the function
(fΦ)(u,v)=f(x(u,v),y(u,v))
on E.

Theorem (Change-of-variables formula for multiple integrals)

The following holds:

(Eq:chvar)Df(x,y)dxdy=Ef(x(u,v),y(u,v))|J(u,v)|dudv

where

J(u,v)=xu(u,v)yv(u,v)xv(u,v)yu(u,v).

Proof. Omitted. (Too technical and too long). ■

Instead of the proof, we give a hand-waving explanation of how the above change-of-variables formula works. Consider the situation as in Figure1 where the region E is rectangular, and D is of some general (i.e., not easily describable) shape. We would like to integrate a function f(x,y) on D.

First, let us partition the rectangle E into smaller rectangles (Figure 2, left). Accordingly, the region D is also partitioned into corresponding smaller subregions (Figure 2, right).

Figure 2. Partitioning E and D.

Figure 3. A close-up view of the highlighted regions in Figure 2.

Each small rectangular subregion Eij=[ai,ai+1]×[cj,cj+1]E (i=0,1,,n1;j=0,1,,m1) is mapped to a subregion DijD (Figure 3). Each Dij is a region surrounded by the pieces of four curves (Figure 3, right). Now, let pij=(ai,cj) be the bottom left vertex of the small rectangle Eij and define qij=Φ(pij)=(x(ai,cj),y(ai,cj)). The integral of f(x,y) over D is calculated as follows. Let μ(Dij) be the area of the region Dij

Remark. In the following, μ(X) indicates the area of the set XR2. □

The integral Df(x,y)dxdy is approximated by the sum
(Eq:intD)Df(x,y)dxdyi=0n1j=0m1f(x(ai,cj),y(ai,cj))μ(Dij)
where each f(x(ai,cj),y(ai,cj))μ(Dij) represents the signed volume of the shape with base Dij and (signed) height f(x(ai,cj),y(ai,cj)). As the partition is refined, the sum on the right-hand side converges to the integral on the left-hand side.
On the other hand, the right-hand side of the formula (Eq:chvar) can be approximated as
(Eq:intE)Ef(x(u,v),y(u,v))|J(u,v)|dudvi=0n1j=0m1f(x(ai,cj),y(ai,cj))|J(ai,cj)|μ(Eij)
To compare (Eq:intD) and (Eq:intE), we need to compare the areas of Dij and Eij. Note that it suffices to show that
μ(Dij)=|J(ai,cj)|μ(Eij).
The difficulty here is we don't know how to measure the area of Dij, μ(Dij). On the other hand, we know that μ(Eij)=(ai+1ai)(cj+1cj) (as Eij=[ai,ai+1]×[cj,cj+1] is rectangular). To simplify the problem, we approximate the region Dij by a parallelogram spanned by the two vectors
qi,jqi+1,j=(x(ai+1,cj)x(ai,cj),y(ai+1,cj)y(ai,cj)),qi,jqi,j+1=(x(ai,cj+1)x(ai,cj),y(ai,cj+1)y(ai,cj)).
We further approximate each component of these vectors by using the first-order Taylor expansion (Figure 4):
x(ai+1,cj)x(ai,cj)xu(ai,cj)(ai+1ai),y(ai+1,cj)y(ai,cj)yu(ai,cj)(ai+1ai),x(ai,cj+1)x(ai,cj)xv(ai,cj)(cj+1cj),y(ai,cj+1)y(ai,cj)yv(ai,cj)(cj+1cj)
where xu=xu, yu=yu, xv=xv, yv=yv.
Figure 4. Approximating the region Dij by the parallelogram Pij.

Thus, consider the parallelogram Pij spanned by the following two vectors:
u=(xu(ai,ci)(ai+1ai),yu(ai,ci)(ai+1ai)),v=(xv(ai,ci)(cj+1cj),yv(ai,ci)(cj+1cj)).
We can approximate the area of Dij by that of Pij (Fig. 4), that is,
μ(Dij)μ(Pij).
Now, recall the fact that the area of the parallelogram spanned by u=(a,b) and v=(c,d) is given by |adbc|. Therefore, the area of Pij is given by
μ(Pij)=|xu(ai,ci)(ai+1ai)yv(ai,ci)(cj+1cj)yu(ai,ci)(ai+1ai)xv(ai,ci)(cj+1cj)|=|xu(ai,ci)yv(ai,cj)yu(ai,cj)xv(ai,cj)|(ai+1ai)(cj+1cj)=|J(ai,cj)|μ(Eij).
Thus, if we take the limit of infinitesimally fine partitions of Eij, the sums in (Eq:intD) and (Eq:intE) will converge to the same value that is Df(x,y)dxdy.

Example. Let us calculate D(x+y)dxdy whereD is the square region surrounded by the following four lines
y=12x,y=12x+52,y=2x,y=2x+5.
Observe that the four vertices of this square are (0,0), (2,1), (1,3), and (1,2) (Draw a figure!). Based on this,  any point (x,y) in the square can be represented as a linear combination of the two vectors (2,1) and (1,2):
(x,y)=u(2,1)+v(1,2)=(2uv,u+2v), 0u,v1.
Thus, consider the change of variables
x(u,v)=2uv,y(u,v)=u+2v.
Then, the square region E=[0,1]×[0,1] on the (u,v) plane is mapped to D.
The Jacobian determinant is
J(u,v)=|xu(u,v)xv(u,v)yu(u,v)yv(u,v)|=|2112|=5.
Thus, we have
D(x+y)dxdy=E{(2uv)+(u+2v)}5dudv=501(01(3u+v)dv)du=501[3uv+12v2]v=0v=1du=501(3u+12)du=5[32u2+12u]u=0u=1=10.
In general, an integral over the parallelogram region D with vertices (0,0), (a,b), (c,d) and (a+c,b+d) can be transformed to an integral over E=[0,1]×[0,1] by the linear transformation
x(u,v)=au+cv,y(u,v)=bu+dv.
In such a case, we have
Df(x,y)dxdy=Ef(au+cv,bu+dv)|adbc|dudv

Another important change of variables is the polar coordinates:
x(r,θ)=rcosθ,y(r,θ)=rsinθ.
Then, the Jacobian determinant is
J(r,θ)=|cosθsinθrsinθrcosθ|=r(cos2θ+sin2θ)=r.

Example. Given
D={(x,y)x0,y0,x2+y2a2}
where a>0, let us find
D(x2+y2)dxdy.
Using the polar coordinates x=rcosθ,y=rsinθ, we have dxdy=rdrdθ, and the ranges of r and θ are [0,a] and [0,π2], respectively. Noting that x2+y2=r2, we have
D(x2+y2)dxdy=0a(0π2r2rdθ)dr=π20ar3dr=π2[r44]0a=a4π8.


Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic