Triple Integral

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 135

TRIPLE INTEGRALS

ELECTRONIC VERSION OF LECTURE

Dr. Lê Xuân Đại


HoChiMinh City University of Technology
Faculty of Applied Science, Department of Applied Mathematics
Email: ytkadai@hcmut.edu.vn

HCMC— 2017.
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 1 / 86
OUTLINE

1 DEFINITION OF TRIPLE INTEGRALS

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 2 / 86


OUTLINE

1 DEFINITION OF TRIPLE INTEGRALS


2 TRIPLE INTEGRALS IN RECTANGULAR (CARTESIAN)
COORDINATE SYSTEM

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 2 / 86


OUTLINE

1 DEFINITION OF TRIPLE INTEGRALS


2 TRIPLE INTEGRALS IN RECTANGULAR (CARTESIAN)
COORDINATE SYSTEM

3 TRIPLE INTEGRALS IN CYLINDRICAL COORDINATES

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 2 / 86


OUTLINE

1 DEFINITION OF TRIPLE INTEGRALS


2 TRIPLE INTEGRALS IN RECTANGULAR (CARTESIAN)
COORDINATE SYSTEM

3 TRIPLE INTEGRALS IN CYLINDRICAL COORDINATES

4 TRIPLE INTEGRALS IN SPHERICAL COORDINATES

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 2 / 86


OUTLINE

1 DEFINITION OF TRIPLE INTEGRALS


2 TRIPLE INTEGRALS IN RECTANGULAR (CARTESIAN)
COORDINATE SYSTEM

3 TRIPLE INTEGRALS IN CYLINDRICAL COORDINATES

4 TRIPLE INTEGRALS IN SPHERICAL COORDINATES

5 APPLICATIONS OF TRIPLE INTEGRALS

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 2 / 86


OUTLINE

1 DEFINITION OF TRIPLE INTEGRALS


2 TRIPLE INTEGRALS IN RECTANGULAR (CARTESIAN)
COORDINATE SYSTEM

3 TRIPLE INTEGRALS IN CYLINDRICAL COORDINATES

4 TRIPLE INTEGRALS IN SPHERICAL COORDINATES

5 APPLICATIONS OF TRIPLE INTEGRALS

6 MATL AB

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 2 / 86


Definition of Triple Integrals Evaluating mass of a solid

Suppose that the density function of a solid


object that occupies the region Ω is f (x, y, z),
in units of mass per unit volume, at any
given point (x, y, z).

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 3 / 86


Definition of Triple Integrals Evaluating mass of a solid

Suppose that the density function of a solid


object that occupies the region Ω is f (x, y, z),
in units of mass per unit volume, at any
given point (x, y, z).

Find the mass m of this solid, if the solid Ω


is the box?
n o
Ω = (x, y, z) : a É x É b, c É y É d, r É z É s
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 3 / 86
Definition of Triple Integrals Evaluating mass of a solid

We divide Ω into sub-boxes by dividing [a, b]


into m subintervals [xi−1, xi ] of equal width
∆x = b−a m
, dividing [c, d] into n subintervals
[yj−1 , yj ] of equal width ∆y = d−c n
, and dividing
[r, s] into p subintervals [zk−1 , zk ] of equal
width ∆z = s−r p
·
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 4 / 86
Definition of Triple Integrals Evaluating mass of a solid

The volume of each sub-box Ωijk is


∆V = ∆x.∆y.∆z.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 5 / 86


Definition of Triple Integrals Evaluating mass of a solid

The volume of each sub-box Ωijk is


∆V = ∆x.∆y.∆z.

The triple Riemann sum is approximately


equal to the mass of the solid Ω
m X
X p
n X
∗ ∗ ∗
M≈ f (xijk , yijk , zijk )∆x∆y.∆z.
i=1 j=1 k=1


where the sample point (xijk ∗
, yijk ∗
, zijk ) ∈ Ωijk .

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 5 / 86


Definition of Triple Integrals Definition

DEFINITION 1.1
The triple integral of f (x, y, z) over the box Ω is
Ñ Ñ
f (x, y, z)dV = f (x, y, z)dxdydz =
Ω Ω

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 6 / 86


Definition of Triple Integrals Definition

DEFINITION 1.1
The triple integral of f (x, y, z) over the box Ω is
Ñ Ñ
f (x, y, z)dV = f (x, y, z)dxdydz =
Ω Ω

m X
X p
n X
∗ ∗ ∗
= lim f (xijk , yijk , zijk )∆x∆y.∆z.
m,n,p→∞
i=1 j=1 k=1

if this limit exists.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 6 / 86


Triple Integrals in rectangular (Cartesian) coordinate system Fubini’s Theorem

THEOREM 2.1
If f (x, y, z) is continuous on the rectangular
box Ω : a É x É b, c É y É d, r É z É s, then
Ñ Zb Zd Z s
f (x, y, z)dV = f (x, y, z)dxdydz =
Ω a c r

Zb Zd Z s
   

=   f (x, y, z)dz dy  dx.


a c r

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 7 / 86


Triple Integrals in rectangular (Cartesian) coordinate system Fubini’s Theorem

EXAMPLE 2.1Ñ
Evaluate I = xyz2 dV , where Ω is the

rectangular box given by
Ω : 0 É x É 1, −1 É y É 2, 0 É z É 3

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 8 / 86


Triple Integrals in rectangular (Cartesian) coordinate system Fubini’s Theorem

EXAMPLE 2.1Ñ
Evaluate I = xyz2 dV , where Ω is the

rectangular box given by
Ω : 0 É x É 1, −1 É y É 2, 0 É z É 3

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 8 / 86


Triple Integrals in rectangular (Cartesian) coordinate system Fubini’s Theorem

Z3 Z2 Z1 Z3 Z2 Z1
 

I= xyz2 dxdydz =  xyz2 dx dydz =


0 −1 0 0 −1 0

Z3 Z2 · 2 ¸x=1 Z3 Z2 2
x yz
= yz2 · dydz = dydz =
2 x=0 2
0 −1 0 −1

Z3 Z2 2 Z3 · 2 2 ¸y=2 Z3 2
 
yz z y 3z
=  dy  dz = dz = dz =
2 4 y=−1 4
0 −1 0 0
3 ¸3
z
·
27
= = ·
4 0 4

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 9 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region
Ñ
Evaluate I = f (x, y, z)dV

1
The projection of Ω onto the Oxy is D
2
The lower boundary of the solid Ω is the
surface with equation z = z1(x, y)
3
The upper boundary of the solid Ω is the
surface with equation z = z2(x, y)
 
Ñ Ï z2Z(x,y)

I= f (x, y, z)dV = f (x, y, z)dz dA


 

Ω D z1 (x,y)

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 10 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 11 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

EXAMPLE 2.2
Evaluate Ñ
I= (x + 2y)dV ,

where Ω is the solid bounded by
x2 É y É x, 0 É z É x.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 12 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 13 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

 x 
Ï Z Ï
£ ¤z=x
I=  (x + 2y)dz dA = xz + 2yz z=0 dA =
D 0 D
Ï
= (x2 + 2yx)dA
D

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 14 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

 x 
Ï Z Ï
£ ¤z=x
I=  (x + 2y)dz dA = xz + 2yz z=0 dA =
D 0 D
Ï
= (x2 + 2yx)dA
D

where D = {(x, y) : 0 É x É 1, x2 É y É x}.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 14 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

 x 
Ï Z Ï
£ ¤z=x
I=  (x + 2y)dz dA = xz + 2yz z=0 dA =
D 0 D
Ï
= (x2 + 2yx)dA
D

where D = {(x, y) : 0 É x É 1, x2 É y É x}.


Z1 Zx Z1 h
 
¡ 2 iy=x
2 2
¢
I=  x + 2yx dy dx =
 x y + xy 2
dx =
y=x
0 x2 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 14 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

 x 
Ï Z Ï
£ ¤z=x
I=  (x + 2y)dz dA = xz + 2yz z=0 dA =
D 0 D
Ï
= (x2 + 2yx)dA
D

where D = {(x, y) : 0 É x É 1, x2 É y É x}.


Z1 Zx Z1 h
 
¡ 2 iy=x
2 2
¢
I=  x + 2yx dy dx =
 x y + xy 2
dx =
y=x
0 x2 0


2
Z
x3 − x4 + x3 − x5 dx = ·
¢
=
0 15
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 14 / 86
Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

EXAMPLE 2.3
Evaluate
Ñ p
I= x2 + z2 dV ,

where Ω is the region bounded by


x2 + z2 É y É 4.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 15 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 16 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

The solid Ω is bounded by the right


boundary y = 4, and the left boundary
y = x2 + z2 . To find the projection of Ω onto
Oxz, we can find the intersection of
y = x2 + z2 , y = 4.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 17 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

The solid Ω is bounded by the right


boundary y = 4, and the left boundary
y = x2 + z2 . To find the projection of Ω onto
Oxz, we can find the intersection of
y = x2 + z2 , y = 4.
( (
2 2
y = x +z x2 + z2 = 4

y=4 y=4

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 17 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

The solid Ω is bounded by the right


boundary y = 4, and the left boundary
y = x2 + z2 . To find the projection of Ω onto
Oxz, we can find the intersection of
y = x2 + z2 , y = 4.
( (
2 2
y = x +z x2 + z2 = 4

y=4 y=4
Therefore the intersection of y = x2 + z2, y = 4
is the intersection of x2 + z2 = 4 and y = 4.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 17 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

The solid Ω is bounded by the right


boundary y = 4, and the left boundary
y = x2 + z2 . To find the projection of Ω onto
Oxz, we can find the intersection of
y = x2 + z2 , y = 4.
( (
2 2
y = x +z x2 + z2 = 4

y=4 y=4
Therefore the intersection of y = x2 + z2, y = 4
is the intersection of x2 + z2 = 4 and y = 4.
Thus the projection D of solid Ω onto Oxz is
the disk x2 + z2 É 4.
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 17 / 86
Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Z4 p
 
Ï
I=  x2 + z2 dy  dA =
D x2 +z2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 18 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Z4 p
 
Ï
I=  x2 + z2 dy  dA =
D x2 +z2
Ï hp iy=4
= x2 + z2 .y dA =
y=x2 +z2
D
Ï p
= (4 − x2 − z2 ) x2 + z2 dA
D

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 18 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Z4 p
 
Ï
I=  x2 + z2 dy  dA =
D x2 +z2
Ï hp iy=4
= x2 + z2 .y dA =
y=x2 +z2
D
Ï p
= (4 − x2 − z2 ) x2 + z2 dA
D
where D = {(x, z) : x2 + z2 É 4}.
Convert to polar coordinates in xz−plane:
x = r cos ϕ, z = r sin ϕ. This gives
D = {(r, ϕ) : 0 É r É 2, 0 É ϕ É 2π}.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 18 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Z2π Z2
 

I =  4 − r 2 r.rdr  dϕ =
¡ ¢

0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 19 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Z2π Z2
 

I =  4 − r 2 r.rdr  dϕ =
¡ ¢

0 0

Z2π Z2
 

=  4r 2 − r 4 dr  dϕ =
¡ ¢

0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 19 / 86


Triple Integrals in rectangular (Cartesian) coordinate system The Triple Integral over a general bounded region

Z2π Z2
 

I =  4 − r 2 r.rdr  dϕ =
¡ ¢

0 0

Z2π Z2
 

=  4r 2 − r 4 dr  dϕ =
¡ ¢

0 0
¸2
4r 3 r 5
·
128π
= 2π. − = ·
3 5 0 15

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 19 / 86


Triple Integrals in Cylindrical Coordinates Cylindrical Coordinates

DEFINITION 3.1
In the cylindrical coordinate system, a
point M(x, y, z) in three-dimensional space is
represented by the ordered triple (r, ϕ, z),
where r and ϕ are polar coordinates of the
projection of M onto the xy−plane and z is
the directed distance from the xy−plane to
M.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 20 / 86


Triple Integrals in Cylindrical Coordinates Cylindrical Coordinates

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 21 / 86


Triple Integrals in Cylindrical Coordinates Cylindrical Coordinates

TO CONVERT FROM CYLINDRICAL TO


RECTANGULAR COORDINATES , WE USE THE
EQUATIONS

 x = r. cos ϕ

y = r. sin ϕ

z = z

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 22 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Ω = {(r, ϕ, z) : α É ϕ É β, r1 (ϕ) É r É r2 (ϕ),


z1 (x, y) É z É z2 (x, y)}

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 23 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Ω = {(r, ϕ, z) : α É ϕ É β, r1 (ϕ) É r É r2 (ϕ),


z1 (x, y) É z É z2 (x, y)}

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 23 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Volume element in cylindrical coordinates


dV = rdrdϕ.dz.
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 24 / 86
Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Evaluating the triple integral with


cylindrical coordinates, we have to
determine:
1
Lower boundary z = z1(r, ϕ)

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 25 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Evaluating the triple integral with


cylindrical coordinates, we have to
determine:
1
Lower boundary z = z1(r, ϕ)
2
Upper boundary z = z2(r, ϕ)

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 25 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Evaluating the triple integral with


cylindrical coordinates, we have to
determine:
1
Lower boundary z = z1(r, ϕ)
2
Upper boundary z = z2 (r, ϕ)
(
αÉϕÉβ
3
Projection D :
r1 (ϕ) É r É r2 (ϕ)

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 25 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Evaluating the triple integral with


cylindrical coordinates, we have to
determine:
1
Lower boundary z = z1(r, ϕ)
2
Upper boundary z = z2 (r, ϕ)
(
αÉϕÉβ
3
Projection D :
r1 (ϕ) É r É r2 (ϕ)
4
Iterated integral is a triple integral
Z β Z r2 (ϕ) Z z2 (r,ϕ)
I= dϕ dr f (r cos ϕ, r sin ϕ, z)rdz
α r1 (ϕ) z1 (r,ϕ)

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 25 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

EXAMPLE 3.1
Evaluate the triple integral with cylindrical
coordinates
Ñ
I= 2xdV ,

where
Ω = {(x, y, z) : 0 É y É 2; 0 É x É
p
4 − y 2 ; 0 É z É x}

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 26 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Ω = {(x, y, z) : 0 É y É 2; 0 É x É
p
4 − y 2 ; 0 É z É x}

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 27 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

1
The lower surface of Ω is z = 0.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 28 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

1
The lower surface of Ω is z = 0.
2
The upper surface of Ω is z = x.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 28 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

1
The lower surface of Ω is z = 0.
2
The upper surface of Ω is z = x.
3
of Ω onto xy−plane is
The projection p
0 É y É 2; 0 É x É 4 − y2.
Therefore
 x 
Ï Z Ï h iz=x Ï
I=  2xdz dA = 2xz dA = 2x2 dA
z=0
D 0 D D
n p o
where D = (x, y) : 0 É y É 2; 0 É x É 4 − y 2 .
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 28 / 86
Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Convert to polar coordinates in xy−plane:


x = r cos ϕ, y = r sin ϕ, we get
n πo
D = (r, ϕ) : 0 É r É 2, 0 É ϕ É
2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 29 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Convert to polar coordinates in xy−plane:


x = r cos ϕ, y = r sin ϕ, we get
n πo
D = (r, ϕ) : 0 É r É 2, 0 É ϕ É
2
Zπ/2 Z2 Zπ/2·
 
4 ¸r=2
2r
I =  2r 2 cos2 ϕrdr  dϕ = cos2 ϕ. dϕ =
4 r=0
0 0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 29 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Convert to polar coordinates in xy−plane:


x = r cos ϕ, y = r sin ϕ, we get
n πo
D = (r, ϕ) : 0 É r É 2, 0 É ϕ É
2
Zπ/2 Z2 Zπ/2·
 
4 ¸r=2
2r
I =  2r 2 cos2 ϕrdr  dϕ = cos2 ϕ. dϕ =
4 r=0
0 0 0

Zπ/2 Zπ/2
sin(2ϕ) π/2
· ¸
2
8 cos ϕdϕ = 4(1 + cos(2ϕ))dϕ = 4. ϕ +
2 0
0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 29 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Convert to polar coordinates in xy−plane:


x = r cos ϕ, y = r sin ϕ, we get
n πo
D = (r, ϕ) : 0 É r É 2, 0 É ϕ É
2
Zπ/2 Z2 Zπ/2·
 
4 ¸r=2
2r
I =  2r 2 cos2 ϕrdr  dϕ = cos2 ϕ. dϕ =
4 r=0
0 0 0

Zπ/2 Zπ/2
sin(2ϕ) π/2
· ¸
2
8 cos ϕdϕ = 4(1 + cos(2ϕ))dϕ = 4. ϕ +
2 0
0 0
= 2π.
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 29 / 86
Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

EXAMPLE 3.2
Evaluate the triple integral with cylindrical
coordinates Ñ
I= zdV ,

where Ω is the solid that lies within the
cylinder x2 + y 2 = 1, above the paraboloid
z = x2 + y 2 and below the paraboloid
z = 2x2 + y 2 .

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 30 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 31 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Ω is the solid bounded by


1
upper surface z = 2x2 + y 2,

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 32 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Ω is the solid bounded by


1
upper surface z = 2x2 + y 2,
2
lower surface z = x2 + y 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 32 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Ω is the solid bounded by


1
upper surface z = 2x2 + y 2,
2
lower surface z = x2 + y 2
3
projection of Ω onto xy−plane: x2 + y 2 = 1.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 32 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Ω is the solid bounded by


1
upper surface z = 2x2 + y 2,
2
lower surface z = x2 + y 2
3
projection of Ω onto xy−plane: x2 + y 2 = 1.
Therefore,
 
Ï 2xZ2 +y 2

I= zdz dA =
 

D x2 +y 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 32 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Ω is the solid bounded by


1
upper surface z = 2x2 + y 2,
2
lower surface z = x2 + y 2
3
projection of Ω onto xy−plane: x2 + y 2 = 1.
Therefore,
 
Ï 2xZ2 +y 2

I= zdz dA =
 

D x2 +y 2

(2x2 + y 2 )2 (x2 + y 2 )2
Ï · ¸
= − dA =
2 2
D
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 32 / 86
Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Z2π Z1 2
r cos2 ϕ(r 2 cos2 ϕ + 2r 2 )
I = dϕ rdr =
2
0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 33 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Z2π Z1 2
r cos2 ϕ(r 2 cos2 ϕ + 2r 2 )
I = dϕ rdr =
2
0 0

Z2π· ¸
1 11π
= cos2 ϕ(cos2 ϕ + 2) dϕ = ·
12 48
0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 33 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

EXAMPLE 3.3
Evaluate the triple integral with cylindrical
coordinates
1
Ñ
I= dV ,
x2 + y 2

where Ω is the solid bounded by


z = 0, z = y, x2 + y 2 = 1 and y Ê 0.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 34 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 35 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

The solid Ω is bounded by


1
upper surface z = y,

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 36 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

The solid Ω is bounded by


1
upper surface z = y,
2
lower surface z = 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 36 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

The solid Ω is bounded by


1
upper surface z = y,
2
lower surface z = 0
3
projection of Ω onto xy−plane: x2 + y 2 = 1,
y Ê 0.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 36 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

The solid Ω is bounded by


1
upper surface z = y,
2
lower surface z = 0
3
projection of Ω onto xy−plane: x2 + y 2 = 1,
y Ê 0.  y 
1
Ï Z
I= 2 2
dz dA =

x +y
D 0
¸z=y
z y
Ï · Ï
= dA = dA =
x2 + y 2 z=0 x2 + y 2
D D

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 36 / 86


Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates

The solid Ω is bounded by


1
upper surface z = y,
2
lower surface z = 0
3
projection of Ω onto xy−plane: x2 + y 2 = 1,
y Ê 0.  y 
1
Ï Z
I=
2 2
dz dA =

x +y
D 0
¸z=y
z y
Ï · Ï
= dA = dA =
x2 + y 2 z=0 x2 + y 2
D D
Z π Z 1 Z π
r sin ϕ
= dϕ rdr = sin ϕdϕ = 2.
0 0 r2 0
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 36 / 86
Triple Integrals in Spherical Coordinates Spherical Coordinates

DEFINITION 4.1
In the spherical coordinate system, a point
M(x, y, z) in three-dimensional space is
represented by the ordered triple (θ, ϕ, ρ),
where ρ is the distance from the origin to M,
ϕ is the same angle as in cylindrical
coordinates, and θ is the angle between the
positive z−axis and the line segment OM.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 37 / 86


Triple Integrals in Spherical Coordinates Spherical Coordinates

The relationship between rectangular and


spherical coordinates

 x = ρ. sin θ cos ϕ

y = ρ. sin θ sin ϕ
 z = ρ. cos θ

where 0 É θ É π, 0 É ϕ É 2π, ρ > 0.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 38 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

In the spherical coordinate system, the


counterpart of a rectangular box is a
spherical wedge
Ω = {(ρ, ϕ, θ) : ρ 1 É ρ É ρ 2 , α É ϕ É β,

c É θ É d},
where ρ 1 Ê 0, β − α É 2π, d − c É π.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 39 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

The Volume element dV = ρ 2 sin θdρdϕdθ.


Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 40 / 86
Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

In order to evaluate the triple integral with


spherical coordinates, we have to
determine:
1
The solid Ω in spherical coordinates


 θ1 É θ É θ2 , (0 É θ É π)
ϕ1 É ϕ É ϕ2 , (0 É ϕ É 2π)
 ρ (ϕ, θ) É ρ É ρ (ϕ, θ), (ρ Ê 0)

1 2
2
The formula for triple integration
Zθ2 Zϕ2 ρ 2Z(ϕ,θ)

I= dθ dϕ f (ρ cos ϕ sin θ, ρ sin ϕ sin θ, ρ cos θ)ρ 2 sin θdρ


θ1 ϕ1 ρ 1 (ϕ,θ)

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 41 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

3
We convert a triple integral from
rectangular coordinates to spherical
coordinates

 x = ρ. sin θ cos ϕ

y = ρ. sin θ sin ϕ
 z = ρ. cos θ

(
x2 + y 2 + z2 = ρ 2
⇒ p 2
x + y 2 = ρ. sin θ.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 42 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

4
Usually, spherical coordinates are used
in triple integrals when surfaces such
cones and spheres form the boundary of
the solid of integration.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 43 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

EXAMPLE 4.1
Evaluate the triple integral with spherical
coordinates
Ñ
I= (x + z)dV ,

where Ω is the unit ball x2 + y 2 + z2 É 1.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 44 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

The solid Ω in
 spherical coordinate is
 0ÉθÉπ

bounded by 0 É ϕ É 2π
 0 É ρ É 1.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 45 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

Zπ Z2π Z1
I= dθ dϕ (ρ cos ϕ sin θ + ρ cos θ)ρ 2 sin θdρ
0 0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 46 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

Zπ Z2π Z1
I= dθ dϕ (ρ cos ϕ sin θ + ρ cos θ)ρ 2 sin θdρ
0 0 0

Zπ Z2π
1
= dθ (cos ϕ sin θ + cos θ) sin θdϕ =
4
0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 46 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

Zπ Z2π Z1
I= dθ dϕ (ρ cos ϕ sin θ + ρ cos θ)ρ 2 sin θdρ
0 0 0

Zπ Z2π
1
= dθ (cos ϕ sin θ + cos θ) sin θdϕ =
4
0 0

1 ¡ 2 ¢ ¯¯ϕ=2π
= sin θ. sin ϕ + sin θ cos θ.ϕ ¯ dθ =
4 ϕ=0
0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 46 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

Zπ Z2π Z1
I= dθ dϕ (ρ cos ϕ sin θ + ρ cos θ)ρ 2 sin θdρ
0 0 0

Zπ Z2π
1
= dθ (cos ϕ sin θ + cos θ) sin θdϕ =
4
0 0

1 ¡ 2 ¢ ¯¯ϕ=2π
= sin θ. sin ϕ + sin θ cos θ.ϕ ¯ dθ =
4 ϕ=0
0
1 ¯π
= · π (− cos 2θ) ¯ = 0.
¯
8 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 46 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

EXAMPLE 4.2
Evaluate the triple integral with spherical
coordinates
Ñ
I= (x2 + y 2 )dV ,

where Ω is the solid hemisphere


x2 + y 2 + z2 É 1, z Ê 0.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 47 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

The solid Ω in
 spherical coordinate is
π

 0 É θ É
2

bounded by 0 É ϕ É 2π

 0 É ρ É 1.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 48 / 86
Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

Zπ/2 Z2π Z1
I = dθ dϕ [(ρ cos ϕ sin θ)2 +(ρ sin ϕ sin θ)2 ]ρ 2 sin θdρ =
0 0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 49 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

Zπ/2 Z2π Z1
I = dθ dϕ [(ρ cos ϕ sin θ)2 +(ρ sin ϕ sin θ)2 ]ρ 2 sin θdρ =
0 0 0

Zπ/2
1 4π
= · 2π. sin3 θdθ = ·
5 15
0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 49 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

EXAMPLE 4.3
Evaluate the triple integral with spherical
coordinates
Ñ
I= (x2 + y 2 + z2 )dV ,

where Ω lies between the spheres


x2 + y 2 + z2 = 1 and x2 + y 2 + z2 = 4 in the first
octant.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 50 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 51 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

The solid Ω in
 spherical coordinate is
π

 0 É θ É
2

π

bounded by 0 É ϕ É

 2
 1 É ρ É 2.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 52 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

The solid Ω in
 spherical coordinate is
π

 0 É θ É
2

π

bounded by 0 É ϕ É

 2
 1 É ρ É 2.

x2 + y 2 + z2 =
(ρ cos ϕ sin θ)2 + (ρ sin ϕ sin θ)2 + (ρ cos θ)2 = ρ 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 52 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

The solid Ω in
 spherical coordinate is
π

 0 É θ É
2

π

bounded by 0 É ϕ É

 2
 1 É ρ É 2.

x2 + y 2 + z2 =
(ρ cos ϕ sin θ)2 + (ρ sin ϕ sin θ)2 + (ρ cos θ)2 = ρ 2
Zπ/2 Zπ/2 Z2 Zπ/2
2 2 31 π 31π
I = dθ dϕ ρ ρ sin θdρ = · · sin θdθ = ·
5 2 10
0 0 1 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 52 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

EXAMPLE 4.4
Evaluate the triple integral with spherical
coordinates
1
Ñ
I= dV ,
x2 + y 2 + z2

where Ω is the solid that lies within the


2 2 2
sphere
p x + y + z = 4 and above the cone
z= x2 + y 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 53 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

n o
Ω = (x, y, z) : x + y + z É 4, z Ê x2 + y 2
p 2 2 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 54 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

n o
Ω = (x, y, z) : x + y + z É 4, z Ê x2 + y 2
p 2 2 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 55 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

The solid Ω in
 spherical coordinate is
π

 0 É θ É
4

bounded by 0 É ϕ É 2π

 0 É ρ É 2.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 56 / 86


Triple Integrals in Spherical Coordinates Evaluating Triple Integrals with Spherical Coordinates

The solid Ω in
 spherical coordinate is
π

 0 É θ É
4

bounded by 0 É ϕ É 2π

 0 É ρ É 2.

Zπ/4 Z2π Z2
1 2
I = dθ dϕ ρ sin θdρ =
ρ2
0 0 0

Zπ/4 p
= 2.2π. sin θdθ = (4 − 2 2)π.
0
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 56 / 86
Applications of Triple Integrals Evaluating the volume of a solid

THEOREM 5.1
If f (x, y, z) = 1 for all points in Ω, then the
triple integral represent the volume of Ω
Ñ
V= 1.dV (1)

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 57 / 86


Applications of Triple Integrals Evaluating the volume of a solid

EXAMPLE 5.1
Use spherical coordinates to find the volume
of the
p solid that lies above the cone
z = x2 + y 2 and below the sphere
x2 + y 2 + z2 = z.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 58 / 86


Applications of Triple Integrals Evaluating the volume of a solid

n o
Ω = (x, y, z) : x + y + z É z, z Ê x + y
2 2 2
p
2 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 59 / 86


Applications of Triple Integrals Evaluating the volume of a solid

Substituting x = ρ. cos ϕ sin θ, y = ρ. sin ϕ sin θ,


z = ρ. cos θ into the equation x2 + y 2 + z2 É z,
we get ρ É cos θ,

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 60 / 86


Applications of Triple Integrals Evaluating the volume of a solid

Substituting x = ρ. cos ϕ sin θ, y = ρ. sin ϕ sin θ,


z = ρ. cos θ into the equation x2 + y 2 + z2 É z,
we pget ρ É cos θ, and into the equation
z Ê x2 + y 2 , we get ρ cos θ Ê ρ. sin θ,

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 60 / 86


Applications of Triple Integrals Evaluating the volume of a solid

Substituting x = ρ. cos ϕ sin θ, y = ρ. sin ϕ sin θ,


z = ρ. cos θ into the equation x2 + y 2 + z2 É z,
we pget ρ É cos θ, and into the equation
z Ê h x2 + y 2 , we get ρ cos θ Ê ρ. sin θ, where
π i π
θ ∈ 0, , we have tan θ É 1, or 0 É θ É
2 4

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 60 / 86


Applications of Triple Integrals Evaluating the volume of a solid

Substituting x = ρ. cos ϕ sin θ, y = ρ. sin ϕ sin θ,


z = ρ. cos θ into the equation x2 + y 2 + z2 É z,
we pget ρ É cos θ, and into the equation
z Ê h x2 + y 2 , we get ρ cos θ Ê ρ. sin θ, where
π i π
θ ∈ 0, , we have tan θ É 1, or 0 É θ É
2 4
The solid Ω in spherical coordinate is
π


 0ÉθÉ
4

bounded by 0 É ϕ É 2π

 0 É ρ É cos θ.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 60 / 86


Applications of Triple Integrals Evaluating the volume of a solid

Zπ/4 Z2π Z θ
cos

V = dθ dϕ ρ 2 sin θdρ =
0 0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 61 / 86


Applications of Triple Integrals Evaluating the volume of a solid

Zπ/4 Z2π Z θ
cos

V = dθ dϕ ρ 2 sin θdρ =
0 0 0

Z2π Zπ/4 · 3 ¸ρ=cos θ


ρ
= dϕ. sin θ. dθ
3 ρ=0
0 0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 61 / 86


Applications of Triple Integrals Evaluating the volume of a solid

Zπ/4 Z2π Z θ
cos

V = dθ dϕ ρ 2 sin θdρ =
0 0 0

Z2π Zπ/4 · 3 ¸ρ=cos θ


ρ
= dϕ. sin θ. dθ
3 ρ=0
0 0

Zπ/4 4 ¸π/4
θ π
·
2π 2π cos
= · sin θ cos3 θdθ = − = ·
3 3 4 0 8
0

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 61 / 86


Applications of Triple Integrals Density and Mass

TOTAL MASS

If the density function of a solid object that


occupies the region E is ρ(x, y, z), in units of
mass per unit volume, at any given point
(x, y, z), then its mass is
Ñ
m= ρ(x, y, z)dV . (2)
E

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 62 / 86


Applications of Triple Integrals Density and Mass

TOTAL CHARGE

The total electric charge on a solid object


occupying a region E and having charge
density σ(x, y, z) is
Ñ
Q= σ(x, y, z)dV . (3)
E

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 63 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

SKETCH THE SOLID IN THE CARTESIAN COORDINATE


SYSTEM

[X , Y ] = meshgrid(x, y)
x = [−1 0 1]; y = [−2 − 1 0 1 2];
[X , Y ] = meshgrid(x, y);
−1 0 1 −2 −2 −2
−1 0 1 −1 −1 −1
X = −1 0 1 , Y = 0 0 0
−1 0 1 1 1 1
−1 0 1 2 2 2
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 64 / 86
MatLab Sketch the solid in the Cartesian Coordinate System

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 65 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

x = [−1 0 1];
[X ] = meshgrid(x);
−1 0 1
X = −1 0 1
−1 0 1

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 66 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

THE SOLID IS THE BOX

1
Use [X , Y ] = meshgrid(x, y) to receive
projection onto xy−plane

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 67 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

THE SOLID IS THE BOX

1
Use [X , Y ] = meshgrid(x, y) to receive
projection onto xy−plane
2
Sketch the upper and lower surfaces.
EXAMPLE 6.1
Sketch the solid bounded by
z = 0, z = 3, −1 É x É 1, −2 É y É 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 67 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

Code
x = linspace(−1, 1, 50); y = linspace(−2, 2, 50);
z = linspace(0, 3, 50); [X , Y ] = meshgrid(x, y);
surf (X , Y , 3 + 0 ∗ X ) (or mesh(X , Y , Z) or surfc(X , Y , Z))
hold on
mesh(X , Y , 0 ∗ X )
[X , Z] = meshgrid(x, z);
surf (X , 2 + 0 ∗ X , Z,
0
FaceColor 0 ,0 g 0 ,0 EdgeColor 0 ,0 b0 ,0 FaceAlpha0 , 0.1);
surf (X , −2 + 0 ∗ X , Z,
0
FaceColor 0 ,0 g 0 ,0 EdgeColor 0 ,0 g 0 ,0 FaceAlpha0 , 0.1);

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 68 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

[Y , Z] = meshgrid(y, z);
surf (−1 + 0 ∗ Y , Y , Z,
0
FaceColor 0 ,0 b0 ,0 EdgeColor 0 ,0 g 0 ,0 FaceAlpha0 , 0.1);
surf (1 + 0 ∗ Y , Y , Z,
0
FaceColor 0 ,0 b0 ,0 EdgeColor 0 ,0 g 0 ,0 FaceAlpha0 , 0.1);
xlabel(0 x0 ); ylabel(0 y 0 ); zlabel(0 z0 );
axis([−1 1 − 2 2 0 8])
view(120,12)
grid on
rotate3d on

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 69 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 70 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

THE SOLID LIES BELOW THE SURFACE z = z2 , ABOVE THE


SURFACE z = z1 WITH ITS PROJECTION D

EXAMPLE 6.2
Sketch the solid bounded by
z = 0, z = 1 − y, −1 É x É 1, x2 É y É 1

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 71 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

THE SOLID LIES BELOW THE SURFACE z = z2 , ABOVE THE


SURFACE z = z1 WITH ITS PROJECTION D

EXAMPLE 6.2
Sketch the solid bounded by
z = 0, z = 1 − y, −1 É x É 1, x2 É y É 1

Code
clf
s = linspace(−1, 1, 30);
s1 = meshgrid(s); t1 = [];

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 71 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

for i=1:length(s)
tam = linspace(s(i)b2, 1, 30);
t1 = [t1 tam0 ];
end
x = s1; y = t1; z = 1 − y; z1 = 0 ∗ x;
hold on
surf (x, y, z,0 FaceColor 0 ,0 g 0 ,0 FaceAlpha0 , 0.3);
surf (x, y, z1,0 FaceColor 0 ,0 r 0 ,0 EdgeColor 0 ,0 none0 );

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 72 / 86


MatLab Sketch the solid in the Cartesian Coordinate System

s = linspace(−1, 1, 30); t1 = [];


for i=1:length(s)
tam = linspace(0, 1 − s(i)b2, 30);
t1 = [t1 tam0 ];
end
x = s1; z = t1; y = s1.b2;
surf (x, y, z,0 FaceColor 0 ,0 b0 ,0 FaceAlpha0 , 0.5);
xlabel(0 x0 ); ylabel(0 y 0 ); zlabel(0 z0 );
view(120, 12)
grid on
rotate3d on
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 73 / 86
MatLab Sketch the solid in the Cartesian Coordinate System

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 74 / 86


MatLab Sketch the solid in the Cylindrical Coordinate System

EXAMPLE 6.3
Sketch the solid bounded by
z = 0, z = 4 − x2 − y 2 , x2 + y 2 = 2

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 75 / 86


MatLab Sketch the solid in the Cylindrical Coordinate System

EXAMPLE 6.3
Sketch the solid bounded by
z = 0, z = 4 − x2 − y 2 , x2 + y 2 = 2

Code
clf
hold on
phi=linspace(0,2*pi,30);
r=linspace(0,sqrt(2),30);
[r phi] = meshgrid(r, phi);
x=r.*cos(phi); y=r.*sin(phi);
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 75 / 86
MatLab Sketch the solid in the Cylindrical Coordinate System

z = 4 − x.b2 − y.b2; z1 = 0 ∗ x;
surf(x,y,z,’FaceColor’,’g’,’FaceAlpha’,0.3);
surf(x,y,z1,’FaceColor’,’b’,’FaceAlpha’,0.3);
phi=linspace(0,2*pi,30);
z2=linspace(0,2,30);
[z2 phi] = meshgrid(z2, phi);
x1=sqrt(2).*cos(phi); y1=sqrt(2).*sin(phi);
surf(x1,y1,z2,’FaceColor’,’r’,’FaceAlpha’,0.3);
grid on; view (13,28); rotate3d on
xlabel(’x’); ylabel(’y’); zlabel(’z’);
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 76 / 86
MatLab Sketch the solid in the Cylindrical Coordinate System

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 77 / 86


MatLab Sketch the solid in the Spherical Coordinate System

EXAMPLE 6.4
Sketch the solid that lies between the spheres
x2 + y 2 + z2 = 1 and x2 + y 2 + z2 = 4 in the first
octant.

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 78 / 86


MatLab Sketch the solid in the Spherical Coordinate System

EXAMPLE 6.4
Sketch the solid that lies between the spheres
x2 + y 2 + z2 = 1 and x2 + y 2 + z2 = 4 in the first
octant.
Code
clf
phi=linspace(0,pi/2,30);
theta=linspace(0,pi/2,30);
[p t]=meshgrid(phi,theta);
x=sin(t).*cos(p); y=sin(t).*sin(p); z=cos(t);
mesh(x,y,z,’FaceColor’,’r’,’FaceAlpha’,0.3);
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 78 / 86
MatLab Sketch the solid in the Spherical Coordinate System

hold on
x2=2*sin(t).*cos(p);
y2=2*sin(t).*sin(p);
z2=2*cos(t);
mesh(x2,y2,z2,’FaceColor’,’g’,’FaceAlpha’,0.3);
r=linspace(1,2,30)
[r th]=meshgrid(r,theta);
x3=sin(th).*r.*cos(0);
y3=sin(th).*r.*sin(0);
z3=r.*cos(th);
mesh(x3,y3,z3,’FaceColor’,’b’,’FaceAlpha’,0.3);
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 79 / 86
MatLab Sketch the solid in the Spherical Coordinate System

x4=sin(th).*r.*cos(pi/2);
y4=sin(th).*r.*sin(pi/2);
z4=r.*cos(th);
mesh(x4,y4,z4,’FaceColor’,’b’,’FaceAlpha’,0.3);
[r phi]=meshgrid(r,phi);
x5=sin(pi/2).*r.*cos(phi);
y5=sin(pi/2).*r.*sin(phi);
z5=r.*cos(pi/2);
mesh(x5,y5,z5,’FaceColor’,’r’,’FaceAlpha’,0.3);
rotate3d on
xlabel(’x’); ylabel(’y’); zlabel(’z’);
Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 80 / 86
MatLab Sketch the solid in the Spherical Coordinate System

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 81 / 86


MatLab Sketch the solid in the Spherical Coordinate System

THANK YOU FOR YOUR ATTENTION

Dr. Lê Xuân Đại (HCMUT-OISP) TRIPLE INTEGRALS HCMC— 2017. 82 / 86

You might also like