Change o Variable in Multiple Integrals
Change o Variable in Multiple Integrals
Change of Variables
Formula, Improper
Multiple Integrals
293
294 Chapter 5 Change of Variables Formula
On the other hand, by the Chain Rule (F ◦ ϕ)0 (x) = f (ϕ(x))ϕ0 (x).
Hence, again by the Fundamental theorem,
Z b
f (ϕ(x))ϕ0 (x)dx = (F ◦ ϕ)(b) − (F ◦ ϕ)(a) = F (ϕ(b)) − F (ϕ(a)).
a
However, one has to be careful here, for (5.1) is fine as it stands when
ϕ is increasing. If ϕ were decreasing, (i.e., ϕ0 (x) < 0) the right side of
(5.1) is
Z ϕ(a) Z ϕ(b)
f (u)du = − f (u)du.
ϕ(b) ϕ(a)
Setting Ω = [a, b], so that ϕ(Ω) is the interval with endpoints ϕ(a) and
ϕ(b) we write
Z Z
f (u)du = f (ϕ(x))|ϕ0 (x)|dx. (5.2)
ϕ(Ω) Ω
We remark that this result is also valid if f is not continuous, but merely
integrable, because sets of measure zero contribute nothing to either
integral.
Since the sets over which we integrate are bounded simple sets it is
natural to ask, whether a diffeomorphism maps (bounded) simple sets
to (bounded) simple sets.
Since (M n)n is constant and > 0 is arbitrary, ϕ(S) has measure zero.
Proof. First note that since ϕ(Ω) ⊆ ϕ(Ω) and ϕ(Ω) is compact (i.e.,
closed and bounded), the set ϕ(Ω) is also bounded. At the same time,
since Ω is simple, ν(∂(Ω)) = 0. It follows from Lemma 5.1.5 that
ν(ϕ(∂(Ω))) = 0. Now since ϕ is a diffeomorphism, Lemma 5.1.2 tells us
∂(ϕ(Ω)) = ϕ(∂(Ω)). Hence ν(∂(ϕ(Ω))) = ν(ϕ(∂(Ω))) = 0, and ϕ(Ω) is
simple.
4 4
3 3
2 2
T
c T(c)
1 1
-1 1 2 3 4 -1 1 2 3 4
-1 -1
distances fixed. Hence shapes are fixed and so the geometric effect of
the application of O leaves volumes unchanged. Thus it is enough to
see how D affects the volume of C. Since D is diagonal with positive
diagonal entries λ1 , ..., λn we have
Therefore
Hence
ν(T (C)) = | det T |ν(C).
Now, let C be a cube containing Ω and partition C into subcubes of
equal side length 2r. Since Ω is simple its characteristic function χΩ is
integrable over C, that is, ν∗ (Ω) = ν(Ω) = ν ∗ (Ω) (see Remark 4.1.41).
Let Ci be the subcubes for which Ci ⊂ Ω with i = 1, ...p and Sp Cj be
thoseSsubcubes for which S Cj ∩ Ω 6= ∅ with j = 1,S..., q. Then i=1 Ci ⊂
Ω ⊂ qj=1 Cj . Therefore pi=1 T (Ci ) ⊂ T (Ω) ⊂ qj=1 T (Cj ). Since the
result holds for cubes, it follows that
p
X q
X
| det T | ν(Ci ) ≤ ν(T (Ω)) ≤ | det T | ν(Cj ).
i=1 j=1
Letting r → 0 we get
ν(B n (r)) = cn r n ,
Proof. Since ||rx|| = r||x||, the ball B n (r) is the image of B n under
the linear map T (x) = rx on Rn . Furthermore, since det T = r n ,
Proposition 5.1.7 gives ν(B n (r)) = ν(T (B n )) = r n cn . For example, for
n = 3, Example 4.3.19 tells us c3 = 34 π, and of course c2 = π.
Proof. For x ∈ Ω let F (x) = f (T (x)) and set y = T (x). Let C be a cube
containing Ω and partition C into subcubes P = {Cj : j = 1, ..., m} of
equal side length 2r. Then for each j, the sets {T (Cj )} form a partition
of T (Ω). From Proposition 5.1.7, ν(T (Cj )) = | det T |ν(Cj ).
x = c1 v1 + ... + ck vk ,
ν(ϕ(Br (a)))
lim = | det Dϕ (a)|.
r→0 ν(Br (a))
||Dϕ (a)−1 φ(x) − Dφ (a)−1 ϕ(a)|| ≤ ||x − a|| + ||x − a|| ||Dϕ (a)−1 (x)||.
2
For the case of the cube, here use the triangle inequality for the box-norm || · ||∞
√
and the estimate ||x − a|| ≤ n||x − a||∞ .
5.1 Change of variables formula 303
Thus,
Since ||x − a|| < r, ||(x)|| → 0 as r → 0. Now let 0 < t < 1 and choose
r > 0 small enough so that 1 + β||(x)|| lies strictly between 1 − t and
1 + t. This means Dϕ (a)−1 (ϕ(Br (a))) is contained in a ball centered at
Dϕ (a)−1 ϕ(a) of radius (1 + t)r. If for some x, Dϕ (a)−1 ϕ(x) lies on the
boundary of this ball, then
That is,
ν(Dϕ (a)−1 (ϕ(Br (a)))
(1 − t)n ≤ ≤ (1 + t)n .
ν(Br (a))
But since Dφ (a)−1 is linear, Proposition 5.1.7 tells us
Thus,
ν(ϕ(Br (a)))
(1 − t)n ≤ ≤ (1 + t)n . (5.7)
| det Dϕ (a)|ν(Br (a))
Letting t → 0 (so that r → 0) yields the conclusion.
N1
5.1.13). Set K = ∪i=1 Ci , then K is compact and D ⊂ K ⊂ ϕ(U ). As
3
The Change of Variables formula was first proposed by Euler when he studied
double integrals in 1769, and it was generalized to triple integrals by Lagrange in
1773. Although it was used by Legendre, Laplace, Gauss, and first generalized to
n variables by Mikhail Ostrogradski in 1836, it resisted a fully rigorous proof for
a surprisingly long time. The theorem was first completely proved 125 years later,
by Elie Cartan in a series of papers beginning in the mid-1890s. A popular proof
adapted by many authors is the one given by J. Schwartz (1954) in [29]. In the proof
given here effort has been made in avoiding as many technicalities as possible. A
quite different approach to the problem can be found in P. Lax [20] and [21].
5.1 Change of variables formula 305
S∞
in the proof of Theorem 4.1.30 we may write D = k=1 D k1 with each
D 1 compact. Since ϕ−1 ∈ C 1 (ϕ(U )) and each D 1 has measure zero,
k k
Lemma 5.1.5 and Proposition 4.1.21 tell us that E = ϕ−1 (D) has also
measure zero. Hence f ◦ ϕ is integrable. Since |Jϕ | is continuous on
Ω, the set of points of discontinuity of (f ◦ ϕ)|Jϕ | is the set E and so
(f ◦ ϕ)|Jϕ | is integrable on Ω.
(1 − t)n |Jϕ (xj )|ν(Cj ) ≤ ν(ϕ(Cj )) ≤ |Jϕ (xj )|ν(Cj )(1 + t)n . (5.9)
m
X
≤ (1 + t)n F (xj )|Jϕ (xj )|ν(Cj ).
j=1
Letting t → 0 yields
m
X m
X m
X
F (xj )|Jϕ (xj )|ν(Cj ) ≤ f (yj )ν(ϕ(Cj )) ≤ F (xj )|Jϕ (xj )|ν(Cj ).
j=1 j=1 j=1
(5.10)
The far left and far right are each a Riemann sum SP (F |Jϕ |) for the
function F |Jϕ |. Let d = maxj=1,...,m {d(ϕ(Cj ))}. Since ϕ is (uniformly)
continuous on C, if r → 0 then also d → 0. Now since the functions f
and F |Jϕ | are integrable on ϕ(C) and C respectively, letting r → 0 in
(5.10) we get
Z Z
f (y)dy = f (ϕ(x))|Jϕ (x)|dx. (5.11)
ϕ(C) C
306 Chapter 5 Change of Variables Formula
p Z
X Z
= (f (ϕ(x))|Jϕ (x)|dx = (f (ϕ(x))|Jϕ (x)|dx.
i=1 Ci K
for any continuous function f with compact support whose support lies
in ϕ(U ).
where ϕ(u, v) = (x(u, v), y(u, v)) for (u, v) ∈ Ω∗ = ϕ−1 (Ω) and
∂x ∂x
∂(x, y)
|Jϕ (u, v)| = | det Dϕ (u, v)| =
= det ∂u
∂v
∂y ∂y .
∂(u, v)
∂u ∂u
Ω∗ = {(u, v) : 0 ≤ u ≤ 1, 0 ≤ v ≤ 6} .
1 1
Z Z Z Z
xydxdy = (2u + v)(v − u)| |dudv
Ω 9 Ω∗ 3
1Z 6 6
1 2 1 77
Z Z
= (2u + v)(v − u)dudv = (− + v + v 2 )dv = .
27 0 0 0 3 2 27
Example 5.1.19. Compute the integral
Z Z
y−x
e y+x dxdy,
Ω
u = y − x, v = y + x,
4
4
3
3
2
Y 2
W*
1 W
1
0
0 1 2 3 4 0
0 1 2 3 4
Z 1 Z v Z 1
1 u 1 1 1 1
= e v du dv = (e − )vdv = (e − e−1 ) = sinh(1).
2 0 −v 2 0 e 4 2
Example 5.1.20. Let f (x, y) = x2 + y 2 . Evaluate
R R
Ω f (x, y)dxdy,
where Ω is the region in the first quadrant of the xy-plane bounded by
the curves xy = 1, xy = 3, x2 − y 2 = 1, and x2 − y 2 = 4.
ψ(x, y) = (xy, x2 − y 2 )
The Jacobian of ϕ is
∂(x, y) 1 1 1
Jϕ (u, v) = = =− =− 1 .
∂(u, v) Jψ (x, y) 2(x2 + y 2 ) 2(4u + v 2 ) 2
2
3Z 4 3Z 4
1 1
Z Z
1
2 2
= (4u + v ) · 2
1 dudv = dudv = 3.
1 1 2(4u2 + v 2 ) 2 2 1 1
x = (b + r cos φ) cos θ
y = (b + r cos φ) sin θ
z = r sin φ,
maps the rectangle R = {(θ, φ, r) : θ, φ ∈ [0, 2π], r ∈ [0, a]} onto the
torus, ie ϕ(R) = Ω. In particular, ϕ is one-to-one in the interior of R.
Its Jacobian is
∂(x, y, z)
Jϕ (θ, φ, r) = = r(b + r cos φ),
∂(θ, φ, r)
Polar coordinates
Its Jacobian is
∂(x, y) cos θ −r sin θ
Jφ (r, θ) = = det = r cos2 θ + r sin2 θ = r,
∂(r, θ) sin θ r cos θ
which is zero for r = 0. ϕ maps the set [0, +∞) × [0, 2π) in the rθ-
plane onto R2 . Note that on this set ϕ is not one-to-one, since for
0 ≤ θ < 2π it sends all points (0, θ) into (0, 0). However ϕ restricted to
S = (0, +∞) × (0, 2π) (the interior of [0, +∞) × [0, 2π)) is one-to-one
and Jφ (r, θ) 6= 0 on S. Although ϕ(S) excludes the non-negative x-axis,
this set has 2-dimensional volume zero and therefore contributes nothing
to the value of an integral. Note in particular,that ϕ maps the rect-
angle Rα = [0, α] × [0, 2π] onto the disk Bα = (x, y) : x2 + y 2 ≤ α2 .
where Bα = (x, y) : x2 + y 2 ≤ α2 .
we see that Ω∗ = (0, 1] × [0, π2 ) and Jϕ (r, θ) = abr. Now the integral
becomes
2 2
5
e−(x +y ) dxdy = π is improper. See Section 5.2, for a detailed
RR
The integral R2
discussion on improper multiple integrals.
5.1 Change of variables formula 315
π r Z r
1Z
1 − r2 π 1 1 − r2
Z
2
ab rdrdθ = ab rdr
0 0 1 + r2 2 0 1 + r2
Z √2 p
π
= ab 2 − ρ2 dρ,
2 0
√
where ρ2 = 1 + r 2 . Finally, setting ρ = 2 sin t, this latter integral
yields π2 ( π4 − 21 )ab.
π √
4 3 3−π
Z
6
2
= ( cos θ − 1)dθ = .
0 3 18
Cylindrical coordinates
The cylidrical coordinates are just the polar coordinates in the xy-plane
with the z-coordinate added on, (Figure 5.3),
Hr,Θ,zL
Θ y
r
a
r4
2
Z
= 2πb r 1 − 4 dr = πa2 b.
0 a 3
Example 5.1.27. Find the moment of inertia IL of a cylinder x2 +y 2 =
a2 of height h, if its density at each point is propotional to the distance
of this point from the axis of the cylinder, with respect to a line L par-
allel to the axis of the cylinder and at distance b from it.
where d(x, y, z) is the distance from (x, y, z) to the line L, and ρ(x, y, z)
is the density. Placing the base of the cylinder on the xy-plane with its
center at the origin, the line
pL is described by x = b, y = 0. The density
function is ρ(x, y, z) = k x2 + y 2 and [d(x, y, z)]2 = (x − b)2 + y 2 .
Passing to cylindrical coordinates we get
Z h Z 2π Z a
IL = [(r cos θ − b)2 + (r sin θ)2 ](kr)rdrdθdz
0 0 0
Z h Z 2π Z a
= kr 2 [r 2 + b2 − 2r cos θ]drdθdz
0 0 0
Z h Z 2π Z a
=k r 2 [r 2 + b2 ]drdθdz + 0
0 0 0
2 b2
3 a
= 2πka h + .
5 3
Spherical coordinates
3
2 +y 2 +z 2 ) 2
e(x
RRR
Example 5.1.28. Compute the integral Ω dxdydz,
where Ω is the unit ball in R3 .
1 1
4 4π(e − 1)
Z Z
2 r3
= 4π r e dr = π et dt = ,
0 3 0 3
where we set t = r 3 .
√ 1 1
RRR
Example 5.1.29. Compute dxdydz, where Ω is Ω + z
x2 +y 2
p
the region in R3 bounded below by the cone z = x2 + y 2 and above
by the sphere x2 + y 2 + z 2 = 1, and z > 0.
1 1
Z Z Z
= + r 2 sin φdrdθdφ
Ω∗ r sin φ r cos φ
π
Z
4
Z 1 Z 2π
= (1 + tan φ) r dθ dr dφ
0 0 0
π
Z
4
Z 1
= 2π (1 + tan φ) rdr dφ
0 0
π √
π 2
Z π
4
=π (1 + tan φ)dφ = π[(φ − log(cos φ))|0 ] = π − log 4
.
0 4 2
q q
6
Ω = {(x, y, z) : −√12 ≤ x ≤ 1 1 1
p
√
2
,− 2
−x2 ≤ y ≤ 2
−x2 , x2 +y 2 ≤ z ≤
p
1−x2 −y 2 }. Note that working with rectangular coordinates the integral becomes
quite tedious.
320 Chapter 5 Change of Variables Formula
Solution. Place the ball B with its center at the origin, so that B
is described by x2 + y 2 + z 2 ≤ a2 . From Example 4.3.19 the volume of
the ball is ν(B) = 43 πa3 . Using spherical coordinates
Z a Z 2πZ π
1 1
Z Z Z
x= xdxdydz = (r cos φ)r 2 sin φdφdθdr = 0.
ν(B) B ν(B) 0 0 0
By symmetry x = y = z. Hence its centroid is its center (0, 0, 0).
2 2 a π 2π 4 8πka5
Z Z Z
Ix = Iy = Iz = I0 = kr sin φdθdφdr = .
3 3 0 0 0 15
4πka3
Since the mass of the ball is m = 3 , the answer can be expressed
2 2
5 a m.
5.1 Change of variables formula 321
Exercise 5.1.32. Show that the centroid of the portion of the ball of
radius a in the first octant is the point 3a
2 (1, 1, 1).
Spherical coordinates in Rn
x1 = r cos φ1 ,
x2 = r sin φ1 cos φ2 ,
..........................................
= {(r, θ, φ1 , ..., φn−2 ) ∈ Rn : r ∈ [0, α], θ ∈ [0, 2π], φi ∈ [0, π], i = 1, ..., n−2}
onto the ball Bα = {x ∈ Rn : ||x|| ≤ α}.
Thus for n = 2
∂(x1 , x2 , x3 , ..., xn )
JΦn (r, Θ) = JΦn (r, θ, φ1 , ..., φn−2 ) =
∂(r, θ, φ1 , ..., φn−2 )
n−2
Y
= r n−1 sinn−2 φ1 sinn−3 φ2 · · · sin2 φn−3 sin φn−2 = r n−1 sinn−k−1 φk .
k=1
Example 5.1.33. (The volume of the unit ball in Rn ). Find the volume
of the n-dimensional unit ball,
B n = {x ∈ Rn : ||x|| ≤ 1} .
Z π π
2π
Z
n−2 n−3
= ··· sin φ1 sin φ2 · · · sin φn−2 dφ1 · · · dφn−2
n 0 0
n−2 Z π n−2
2π Y 2π Y 2π
= sink φdφ = Ik = [I1 I2 · · · In−2 ] ,
n 0 n n
k=1 k=1
Rπ
where Ik = 0 sink φdφ. From elementary calculus we know that for
k = 1, 2, ...
π
(2k)!π
Z
I2k = sin2k φdφ = ,
0 22k (k!)2
π
22k−1 ((k − 1)!)2
Z
I2k−1 = sin2k−1 φdφ = .
0 (2k − 1)!
5.1 Change of variables formula 323
2π
Now, since Ik−1 Ik = k ,when n = 2m (m = 1, 2, ...), we have
m−1
2π π πm
c2m = = ,
2m (m − 1)! m!
while when n = 2m + 1 (m = 0, 1, ...),
m−1
2m+1 π m
2π π
c2m+1 = · I2m−1 = .
2m + 1 (m − 1)! 1 · 3 · 5 · · · (2m + 1)
Thus,
πm 2m+1 π m
c2m = , c2m+1 = . (5.14)
m! 1 · 3 · 5 · · · (2m + 1)
4π π2 8π 2 π3 16π 3
Hence c1 = 2, c2 = π, c3 = 3 , c4 = 2 , c5 = 15 , c6 = 6 , c7 = 105 ,
and so on.
2
x2 2
In particular, the volume of the 3-dimensional ellipsoid a2
+ yb2 + zc2 ≤ 1
is 43 πabc.
Example 5.1.35. (Invariant integrals on groups)(*).
We now give an application of the Change of Variables formula to calcu-
lating Invariant integrals on groups . Rather than deal with generalities,
we shall do this with an example which has enough complexity to illus-
trate the general situation well.
Consider the set G of all matrices of the following form.
uv
G= x= : u 6= 0, v ∈ R .
01
which evidently can be identified with the (open) left and right half
planes. We write x = (u, v). As the reader can easily check, G is
a group under matrix multiplication (in particular G is closed under
multiplication). G is called the affine group of the real line R. We
define left and right translation (Lg and Rg respectively) in G as follows:
Lg (x) = gx, Rg (x) = xg. The reader can easily check that each Lg
and Rg is a diffeomorphism of G. Now as such they also operate on
functions. Namely if f ∈ Cc (G), the continuous functions on G with
compact support, we write Lg (f )(x) = f (gx) and Rg (f )(x) = f (xg).
Notice that Lgh = Lg Lh and Rgh = Rg Rh for each g and h ∈ G.
We say an integral over G is left invariant if
Z Z
Lg (f ) = f
G G
nowhere zero. (This latter point is obvious in our case, but is true in
general since Lg and Rg are diffeomorphisms).
f
Now consider f ∈ Cc (G). Then | det D(L g )|
is also ∈ Cc (G) and in
f
fact for each g, as f varies over Cc (G) so does | det D(Lg )| . Similarly for
f
each g, as f varies over Cc (G) so does Now let φ ∈ Cc (G)
| det D(Rg )| .
and Lg be a change of variables. The Change of Variables formula (5.8)
tells us Z Z
φ(gx)| det D(Lg )|dudv = φ(x)dudv.
G G
f
Since this holds for all φ and we can take φ = | det D(Lg )| , we get
f (gx) f (x)
Z Z
| det D(Lg )|dudv = dudv.
G | det D(Lg )(gx)| G | det D(Lg )(x)|
After taking into account that Lgh = Lg Lh , the Chain Rule and the
fact that | det(AB)| = | det(A)|| det(B)| we get
dudv dudv
Z Z
f (gx) = f (x) ,
G | det D(Lg )| G | det D(Lg )|
dudv dudv
=
| det D(Lg )| u2
EXERCISES
7. Evaluate Z Z p
x2 + y 2 dxdy,
Ω
where Ω is the region by the circles x2 + y 2 = 4, x2 + y 2 = 9.
8. Evaluate Z Z y
tan−1 dxdy,
Ω x
n √ o
where Ω = (x, y) : x2 +y 2 ≥ 1, x2 +y 2 ≤ 9, y ≥ √x3 , y ≤ x 3 .
Hint. Change to polar coordinates.
5.1 Change of variables formula 327
9. Evaluate Z Z
(x − y)4 ex+y dxdy,
Ω
where Ω is the square with vertices (1, 0), (2, 1), (1, 2), and (0, 1).
√
(x + y)2 2− 2
Z Z
p dxdy = π.
Ω 1 + x2 + y 2 3
12. Find the volume of the region in R3 which is above the xy-plane,
under the paraboloid z = x2 + y 2 , and inside the elliptic cylinder
x2 y2
9 + 4 = 1. Hint. Use elliptical coordinates x = 3r cos θ, y =
2r sin θ.
1
Z Z Z
dxdydz.
Ω y+z
z
Z Z Z
dxdydz,
Ω 1 + x2 + y 2
where Ω = (x, y, z) : 1 ≤ x2 + y 2 ≤ 3, x ≥ 0, x ≤ y, 1 ≤ z ≤ 5 .
17. Evaluate
1
Z Z Z
p dxdydz,
Ω x2 + y2 + (z − 2)2
where Ω is the unit ball x2 + y 2 + z 2 ≤ 1.
18. Evaluate
yz
Z Z Z
dxdydz,
Ω 1+x
where Ω is the portion of the closed unit ball in R3 which lies in
the positive octant x, y, z ≥ 0.
19. Evaluate
1
Z Z Z
3 dxdydz,
Ω (x2 + y 2 + z 2 ) 2
where Ω is the solid bounded by the two spheres x2 + y 2 + z 2 = a2
and x2 + y 2 + z 2 = b2 , where 0 < b < a.
8 1 1
√ √
1. 15 . 2. 6(n+4) . 3. 6[ 2 + log(1 + 2)]).
π 38π π2 1 3 11
5. 0. 6. 16 . 7. 3 . 8. 6 . 9. 5 (e − e). 10. − 36 .
19. 4π log( ab ).
exists and has a value independent of the choice of the sets in the ex-
haustion of Ω, this limt is called the improper integral of f over Ω.
When this limit is finite, we say that the integral converges and f is
integrable over Ω. If there is no common limit for all exhaustions of Ω
or its value is +∞, we say the integral diverges and f is not integrable
over Ω.
Definition 5.2.3 extends the concept of multiple integral to the case
of an unbounded region of integration or an unbounded integrand. This
calls for the following remark.
Remark 5.2.4. If Ω is a bounded simple set in Rn and f is integrable
over Ω, then the integral over Ω in the sense of Definition
R 5.2.3 converges
and has the same value as the (proper) integral Ω f of Definition 4.1.37.
Indeed, that f |Ωk is integrable over Ωk follows from the Lebesgue
criterion (as in Theorem 4.2.1 (6)). Since f is integrable over Ω, it is
bounded. Hence |f (x)| ≤ M for all x ∈ Ω, for some M > 0. From the
additivity of the integral we have
Z Z Z
f− f = f ≤ M ν(Ω\Ωk ).
(5.16)
Ω Ωk Ω\Ωk
5.2 Improper multiple integrals 331
Ωk = Bk = {x ∈ Rn : ||x|| ≤ k} ,
332 Chapter 5 Change of Variables Formula
Bk = (x, y) ∈ R2 : x2 + y 2 < k
Z k Z k Z k 2
−y 2 −x2 −x2
= e dy e dx = e dx .
−k −k −k
Since any exponential is positive, taking the positive square root of both
sides yields the desired integral.
In particular,
Z Z Z
2 2 2 n
··· e−(x1 +...+xn) dx1 · · · dxn = e−||x|| dx = (π) 2 .
Rn Rn
7
C. Gauss (1777-1855). One of the great mathematicians with numerous pioneer-
ing contributions in several fields in mathematics, physics and astronomy.
334 Chapter 5 Change of Variables Formula
|f | = f + + f − .