Triple Integral Handout
Triple Integral Handout
6 MATL AB
∆V = ∆x.∆y.∆z.
DEFINITION 1.1
The triple integral of f (x, y, z) over the box Ω is
Ñ Ñ
f (x, y, z)dV = f (x, y, z)d xd yd z =
Ω Ω
m X
X p
n X
= lim f (x i∗j k , y i∗j k , z i∗j k )∆x∆y.∆z.
m,n,p→∞
i =1 j =1 k=1
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)d xd yd z
Ω a c r
Zb Zd Z s
= f (x, y, z)d z d y d x.
a c r
EXAMPLE 2.1
Ñ
Evaluate I = x y z 2 dV, where Ω is the rectangular
Ω
box given by
Ω = 0 É x É 1, −1 É y É 2, 0 É z É 3
© ª
Z3 Z2 Z1 Z3 Z2 Z1
I= x y z 2 d xd yd z = x y z 2 d x d yd z
0 −1 0 0 −1 0
Z3 Z2 · ¸x=1 Z Z2
3
2x2 y z2
= yz · d yd z = d yd z
2 x=0 2
0 −1 0 −1
Z3 Z2 Z3 · Z3
¸ y=2
y z2 z2 y 2 3z 2
= dy dz = dz = dz
2 4 y=−1 4
0 −1 0 0
3 ¸3
z
·
27
= = ·
4 0 4
Ñ
Evaluate I = f (x, y, z)dV
Ω
1
The projection of Ω onto the Ox y is D
2
The lower boundary of the solid Ω is the surface
with equation z = z 1 (x, y)
3
The upper boundary of the solid Ω is the surface
with equation z = z 2 (x, y)
Ñ Ï z 2Z(x,y)
EXAMPLE 2.2
Evaluate Ñ
I= (x + 2y)dV,
Ω
x
Ï Z Ï
£ ¤z=x
I= (x + 2y)d z d A = xz + 2y z z=0 d A
D 0 D
Ï
= (x 2 + 2y x)d A
D
EXAMPLE 2.3
Evaluate Ñ p
I= x 2 + z 2 dV,
Ω
Z4 p
Ï
I= x 2 + z 2d y d A
D 2 2
Ï hxp+z i y=4
= 2 2
x + z .y dA
2 y=x +z 2
D
Ï p
2 2
= (4 − x − z ) x 2 + z 2 d A
D
Z2π Z2
I = 4 − r 2 r.r d r d ϕ
¡ ¢
0 0
2π
2
Z Z
¡ 2
4r − r 4 d r d ϕ
¢
=
0 0
¸2
4r 3 r 5
·
128π
= 2π. − = ·
3 5 0 15
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 x y−plane
and z is the directed distance from the x y−plane to M .
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}
Ω = {(x, y, z) : 0 É y É 2; 0 É x É
p
4 − y 2 ; 0 É z É x}
1
The lower surface of Ω is z = 0.
2
The upper surface of Ω is z = x.
3
The projection of Ω onto x y−plane is
q
0 É y É 2; 0 É x É 4 − y 2 .
Therefore
x
Ï Z Ï h iz=x Ï
I= 2xd z d A = 2xz dA= 2x 2 d A
z=0
D 0 D D
n p o
where D = (x, y) : 0 É y É 2; 0 É x É 4 − y2 .
Zπ/2 Z2
I = 2r 2 cos2 ϕr d r d ϕ
0 0
π/2 ¸r =2
2r 4
Z ·
2
= cos ϕ. dϕ
4 r =0
0
Zπ/2 Zπ/2
= 8 cos2 ϕd ϕ = 4(1 + cos(2ϕ))d ϕ
0 0
(HCMUT-OISP)
· ¸π/2
TRIPLE INTEGRALS 29 / 80
Triple Integrals in Cylindrical Coordinates Evaluating Triple Integrals with Cylindrical Coordinates
EXAMPLE 3.2
Evaluate the triple integral with cylindrical
coordinates Ñ
I= zdV,
Ω
I= zd z d A
D x 2 +y 2
(2x + y 2 )2 (x 2 + y 2 )2
2
Ï · ¸
= − dA
2 2
D
Z2π Z1 2
r cos2 ϕ(r 2 cos2 ϕ + 2r 2 )
I = dϕ rdr
2
0 0
Z2π· ¸
1 2 2 11π
= cos ϕ(cos ϕ + 2) d ϕ = ·
12 48
0
EXAMPLE 3.3
Evaluate the triple integral with cylindrical
coordinates
1
Ñ
I= dV,
x2 + y 2
Ω
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 .
Ω = {(ρ, ϕ, θ) : ρ 1 É ρ É ρ 2 , α É ϕ É β, c É θ É d },
where ρ 1 Ê 0, β − α É 2π, d − c É π.
θ1 É θ É θ2 , (0 É θ É π)
ϕ1 É ϕ É ϕ2 , (0 É ϕ É 2π)
ρ (ϕ, θ) É ρ É ρ (ϕ, θ), (ρ Ê 0)
1 2
2
The formula for triple integration
Zθ2 Zϕ2 ρ 2Z(ϕ,θ)
3
We convert a triple integral from
rectangular coordinates to spherical
coordinates
x = ρ. sin θ cos ϕ
y = ρ. sin θ sin ϕ
z = ρ. cos θ
(
x 2 + y 2 + z 2 = ρ2
⇒
x 2 + y 2 = ρ. sin θ.
p
4
Usually, spherical coordinates are used
in triple integrals when surfaces such
cones and spheres form the boundary of
the region of integration.
EXAMPLE 4.1
Evaluate the triple integral with spherical coordinates
Ñ
I= (x + z)dV,
Ω
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
Zπ
1 ¡ 2 ¢ ¯¯ϕ=2π
= sin θ. sin ϕ + sin θ cos θ.ϕ ¯ dθ
4 ϕ=0
0
1 ¯π
= · π (− cos 2θ) ¯ = 0.
¯
8 0
EXAMPLE 4.2
Evaluate the triple integral with spherical coordinates
Ñ
I= (x 2 + y 2 )dV,
Ω
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
EXAMPLE 4.3
Evaluate the triple integral with spherical coordinates
Ñ
I= (x 2 + y 2 + z 2 )dV,
Ω
x 2 +y 2 +z 2 = (ρ cos ϕ sin θ)2 +(ρ sin ϕ sin θ)2 +(ρ cos θ)2 = ρ 2
Zπ/2 Zπ/2 Z2 Zπ/2
31 π 31π
I = d θ d ϕ ρ 2 ρ 2 sin θd ρ = · · sin θd θ = ·
5 2 10
0 0 1 0
EXAMPLE 4.4
Evaluate the triple integral with spherical coordinates
1
Ñ
I= dV,
x2 + y 2 + z2
Ω
n o
Ω = (x, y, z) : x + y + z É 4, z Ê x + y
2 2 2
p
2 2
n o
Ω = (x, y, z) : x + y + z É 4, z Ê x + y
2 2 2
p
2 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
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)
Ω
EXAMPLE 5.1
Use spherical coordinates to findpthe volume of the
solid that lies above the cone z = x 2 + y 2 and below
the sphere x 2 + y 2 + z 2 = z.
n o
Ω = (x, y, z) : x + y + z É z, z Ê x + y
2 2 2
p
2 2
Zπ/4 Z2π Z θ
cos
V = dθ dϕ ρ 2 sin θd ρ
0 0 0
Z2π Zπ/4 ¸ρ=cos θ
ρ3
·
= d ϕ. sin θ. dθ
3 ρ=0
0 0
Zπ/4 ¸π/4
cos4 θ π
·
2π 2π
3
= · sin θ cos θd θ = − = ·
3 3 4 0 8
0
[X , Y ] = meshg r i d (x, y)
x = [−1 0 1]; y = [−2 − 1 0 1 2];
[X , Y ] = meshg r i d (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
x = [−1 0 1];
[X ] = meshg r i d (x);
−1 0 1
X = −1 0 1
−1 0 1
1
Use [X , Y ] = meshg r i d (x, y) to receive projection
onto x y−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
Code
x = l i nspace(−1, 1, 50); y = l i nspace(−2, 2, 50);
z = l i nspace(0, 3, 50); [X , Y ] = meshg r i d (x, y);
sur f (X , Y , 3 + 0 ∗ X ) (or mesh(X , Y , Z ) or
sur f c(X , Y , Z ))
hold on
mesh(X , Y , 0 ∗ X )
[X , Z ] = meshg r i d (x, z);
sur f (X , 2 + 0 ∗ X , Z ,
′
F aceC ol or ′ ,′ g ′ ,′ E d g eC ol or ′ ,′ b ′ ,′ F ace Al pha ′ , 0.1);
sur f (X , −2 + 0 ∗ X , Z ,
′
F aceC ol or ′ ,′ g ′ ,′ E d g eC ol or ′ ,′ g ′ ,′ F ace Al pha ′ , 0.1);
EXAMPLE 6.2
Sketch the solid bounded by
z = 0, z = 1 − y, −1 É x É 1, x 2 É y É 1
Code
cl f
s = l i nspace(−1, 1, 30);
s1 = meshg r i d (s); t 1 = [];
for i=1:length(s)
t am = l i nspace(s(i )b2, 1, 30);
t 1 = [t 1 t am ′ ];
end
x = s1; y = t 1; z = 1 − y; z1 = 0 ∗ x;
hold on
sur f (x, y, z,′ F aceC ol or ′ ,′ g ′ ,′ F ace Al pha ′ , 0.3);
sur f (x, y, z1,′ F aceC ol or ′ ,′ r ′ ,′ E d g eC ol or ′ ,′ none ′ );
EXAMPLE 6.3
Sketch the solid bounded by
z = 0, z = 4 − x 2 − y 2 , x 2 + y 2 = 2
Code
clf
hold on
phi=linspace(0,2*pi,30); r=linspace(0,sqrt(2),30);
[r phi ] = meshg r i d (r, phi );
x=r.*cos(phi); y=r.*sin(phi);
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 ] = meshg r i d (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’);
EXAMPLE 6.4
Sketch the solid that lies between the spheres
x 2 + y 2 + z 2 = 1 and x 2 + y 2 + z 2 = 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);
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);
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’);