Double Integrals PDF
Double Integrals PDF
MATHEMATICS III
DOUBLE INTEGRALS OVER RECTANGULAR AND NON-RECTANGULAR REGIONS
Mohsen Aghaeiboorkheili
Department of Mathematics & Computer Science
The Papua New Guinea University of Technology
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 2/56
Double Integrals
Z Z
f (x, y)dA,
R
where R is the region of integration in the xy-plane. For positive f (x, y), the definite integral is equal to the
volume under the surface z = f (x, y) and above xy − plane for x and y in the region R. This is shown in the
figure below.
For general f (x, y), the definite integral is equal to the volume above the xy-plane minus the volume below the
xy-plane.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 3/56
Double Integrals Application
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 4/56
Double Integrals Application
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 4/56
Double Integrals Application
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 4/56
Double Integrals Application
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 4/56
Double Integrals Application
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 4/56
Double Integrals Application
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 4/56
Double Integrals Application
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 4/56
Double Integrals Riemann Sums
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 5/56
Double Integrals Riemann Sums
In the limit as the size of the rectangles goes to 0, the sum on the right
converges to a value which is the definite integral. The quantity f (x, y)dA
in the definite integral represents the volume in some infinitesimal region
around the point (x, y). The region is so small that the f (x, y) only varies
infinitesimally in the region. The double integral sign says: add up volumes
in all the small regions in R.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 6/56
Double Integrals D.integrals over rec.regions
represents the volume under the surface. We can compute the volume by slicing the
three-dimensional region like a loaf of bread. Suppose the slices are parallel to the
y-axis. An example of slice between x and x + dx is shown in the figure.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 7/56
Double Integrals D.integrals over rec.regions
In the limit of infinitesimal thickness dx, the volume of the slice is the
product of the cross-sectional area and the thickness dx. The cross sec-
tional area is the area under the curve f (x, y) for fixed x and y varying
between c and d. (Note that if the thickness dx is infinitesimal, x varies
only infinitesimally on the slice. We can assume that x is constant.) The
picture below shows the cross-sectional area.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 8/56
Double Integrals D.integrals over rec.regions
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 9/56
Double Integrals D.integrals over rec.regions
Example
Calculate the volume under the surface z = x2 + xy 3 over the
region R defined by 0 ≤ x ≤ 1 and 1 ≤ y ≤ 2.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 11/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Example
Calculate the volume under the surface z = x2 + xy 3 over the
region R defined by 0 ≤ x ≤ 1 and 1 ≤ y ≤ 2.
Solution
Suppose we integrate with respect to y first. Then
Z 1Z 2 Z 1
2 3
V = x + xy dy dx = C(x)dx (1)
0 1 0
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 11/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Solution ( Cont.)
Z 2 Z 2
2
C(x) = x dy + xy 3 dy
1 1
Z 2 Z 2
=x2 dy + x y 3 dy
1 1
y=2
1
=x2 y + xy 4
4 y=1
1
=(2x2 + 4x) − (x2 + x) .
4
So
15
C(x) = x2 + x. (2)
4
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 12/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Solution ( Cont.)
Replacing equation (2) into the equation (1)
Z 1
15
V = (x2 +
x)dx
0 4
Z 1 Z 1 Z 1
15 1
Z
2 15 2
= x dx + xdx = x dx + xdx
0 0 4 0 4 0
1 3 15 2 x=1
= x + x
3 8 x=0
that means
53
V = .
24
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 13/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Solution ( Cont.)
Suppose we integrate with respect to x now. Then
Z 2Z 1 Z 2
x2 + xy 3 dx dy =
V = G(y)dy (3)
1 0 1
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 14/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Solution ( Cont.)
Z 1 Z 1
2
G(y) = x dx + xy 3 dx
0 0
Z 1 Z 1
= x2 dx + y 3 xdx
0 0
1 3 1 2 3 x=1
= x + x y
3 2 x=0
1 1 3
=( + y ) − (0 + 0) .
3 2
So
1 1
G(y) = y 3 + . (4)
2 3
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 15/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Solution ( Cont.)
Replacing equation (4) into the equation (3)
Z 2
1 1
V = ( y 3 + )dy
1 2 3
1 2 3 1 2
Z Z
= y dy + dy
2 1 3 1
y=2
1 1
= y 4 + y
8 3 y=1
2 1 1
=(2 + ) − ( + )
3 8 3
that means
53
V =
24
The two approaches yield the same answer.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 16/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 17/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Example
Compute the integral
ZZ
xy 2 dA
R
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 18/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Solution
Suppose we integrate with respect to y first. Then
Z 2Z 1 Z 2
2
xy dy dx = C(x)dx (5)
0 0 0
Solution ( Cont.)
Replacing equation (6) into the equation (5)
Z 2Z 1 Z 2
1
xy 2 dy dx = xdx
0 0 0 3
Z 2
1
= xdx
3 0
1 2 x=2
= x
6 x=0
4
= −0
6
that means Z 2Z 1
2
xy 2 dy dx = .
0 0 3
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 20/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Solution ( Cont.)
Suppose we integrate with respect to x now. Then
Z 1Z 2 Z 1
2
xy dx dy = G(y)dy (7)
0 0 0
So
G(y) = 2y 2 . (8)
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 21/56
Double Integrals D.integrals over rec.regions Example of D.integrals RR
Solution ( Cont.)
Replacing equation (8) into the equation (7)
Z 1 Z 2 Z 1
xy 2 dx dy = 2y 2 dy
0 0 0
Z 1
=2 y 2 dy
0
y=1
2 3
= y
3 y=0
2
= −0
3
that means Z 1 Z 2
2
xy 2 dx dy = .
0 0 3
The two approaches yield the same answer.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 22/56
Double Integrals D.Integrals General Regions
In this section we consider double integrals over more general regions. Suppose that the
region R is defined by C1 (x) ≤ y ≤ C2 (x) with a ≤ x ≤ b. This is called a vertically
simple region. The double integral is given by
Z Z Z b Z C2 (x)
f (x, y)dA = f (x, y)dy dx
R a C1 (x)
To derive this formula we slice the three-dimensional region into slices parallel to the
y-axis. The figure below shows a top view of slice between x and x + dx.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 23/56
Double Integrals D.Integrals General Regions
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 24/56
Double Integrals D.Integrals General Regions
Z Z Z d Z G2 (y)
f (x, y)dA = f (x, y)dx dy.
R c G1 (y)
In this case the slices are parallel to the x-axis. The inner integral
Z G2 (y)
G(y) = f (x, y)dx
G1 (y)
is the cross-sectional area of the slice between y and y + dy. The volume
of the slice between y and y + dy is G(y)dy. The total volume is the sum
of the volumes of all the slices:
Z d
G(y)dy.
c
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 25/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Example
Compute the double integral Z Z
30xydA,
R
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 26/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution
We treat the region R as a vertically simple region, first. In this
case the integral is given by
Z Z Z 1Z x
30xydA = 30xydy dx,
R 0 x2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 27/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
We treat the region R as a horizontally simple region, now. In this case the integral is
given by
Z Z Z 1 Z √y
30xydA = 30xydx dy,
R 0 y
Z √
y Z √
y
x= √y
2
= 15y 2 − 15y 3 .
30xydx = 30y xdx = 15x y
y y x=y
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 28/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Example
Compute the integral
ZZ
xy 2 dA
R
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 29/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution
We treat the region R as a vertically simple region, first. In this
case the integral is given by
Z Z Z 2 Z x/2
2
xy dA = xy 2 dy dx,
R 0 0
Solution ( Cont.)
We treat the region R as a horizontally simple region, now. In this case the integral is
given by Z Z Z 1Z 2
xy 2 dA = xy 2 dx dy,
R 0 2y
2 2 1 2 2 x=2
Z Z
xy 2 dx = y 2 xdx = x y = 2y 2 − 2y 4 .
2y 2y 2 x=2y
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 31/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Example
Calculate the volume under the surface z = 3 + x2 − 2y over the
region R defined by 0 ≤ x ≤ 1 and −x ≤ y ≤ x.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 32/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution
The volume V is the double integral of 3 + x2 − 2y over R.
ZZ Z 1Z x
2
V = (3 + x − 2y)dx dy = (3 + x2 − 2y)dy dx
R 0 −x
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 33/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
1
1 4 x=1 3
Z
3 2
V = (6x + 2x )dx = 3x + x = .
0 2 x=0 2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 34/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
1
1 4 x=1 3
Z
3 2
V = (6x + 2x )dx = 3x + x = .
0 2 x=0 2
Remark
Volume between two surfaces f (x, y) and g(x, y) can be find by
ZZ h i
V = f (x, y) − g(x, y) dA
R
f (x, y) − g(x, y) = 0.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 34/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Example
Calculate the volume between the surfaces
f (x, y) = 3 − x2 − y 2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 35/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Example
Calculate the volume between the surfaces
f (x, y) = 3 − x2 − y 2
Solution ( Cont.)
where R is the obtained region by solving
f (x, y) − g(x, y) = 0 =⇒ x2 + y 2 = 1.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 36/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
Please remember that in polar coordinates
Z Z Z Z !
f (x, y)dx dy = rf r cos(θ), r sin(θ) dr dθ.
R R∗
FIRST SOLUTION:
By these definitions, region R can be stated in the following form
q q
−1 ≤ x ≤ 1, − 1 − (x2 ) ≤ y ≤ 1 − (x2 ).
So
Z 1 Z √1−x2 h i
V = √ 3 − 3x2 − 3y 2 dy dx.
−1 − 1−x2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 37/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
The inner integral is (remember θ is a constant)
Z 1 Z 1
(3 − 3r2 )r dr = (3r − 3r3 )dr
0 0
1 1
3 2 3 4 r=1
Z Z
3
= 3rdr − 3r dr = r − r
0 0 2 4 r=0
3 3 3
= − = .
2 4 4
So the outer integral is
Z 2π Z 2π
3 3 3π
V = dθ = dθ = .
0 4 4 0 2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 38/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
SECOND SOLUTION:
By these definitions, region R can be stated in the following form
p p
−1 ≤ x ≤ 1, − 1 − (x2 ) ≤ y ≤ 1 − (x2 ).
So √
Z 1 Z 1−x2 h i
V = √ 3 − 3x2 − 3y 2 dy dx.
−1 − 1−x2
√
Z 1−x2 h i
2 2
Inner = √ 3 − 3x − 3y dy
− 1−x2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 39/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
√
Z 1−x2 h i
Inner = √ 3 − 3x2 − 3y 2 dy
− 1−x2
Z √1−x2 Z √
1−x2 Z √
1−x2
2
=3 √ dy − 3x √ dy − 3 √ y 2 dy
− 1−x2 − 1−x2 − 1−x2
y=√1−x2
=3y − 3x2 y − y 3
√
y=− 1−x2
p p 3/2
=6 1 − x2 − 6x2 1 − x2 − 2 1 − x2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 40/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
Z 1 h p p 3/2 i
V = 6 1 − x2 − 6x2 1 − x2 − 2 1 − x2 dx
−1
Z 1 p Z 1 p Z 1 3/2
=6 1 − x2 dx − 6 (x2 1 − x2 )dx − 2 1 − x2 dx.
−1 −1 −1
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 41/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
Z π/2 p p
V = (6 1 − sin2 θ − 6 sin2 θ 1 − sin2 θ − 2(1 − sin2 θ)3/2 ) cos θdθ
−π/2
Z π/2
= (6 cos θ − 6 sin2 θ cos θ − 2 cos3 θ) cos θdθ
−π/2
Z π/2 Z π/2
3 1
= 4 cos4 θdθ = + 2 cos 2θ + cos 4θ dθ
−π/2 −π/2 2 2
π/2
3 1 3π
= θ + sin 2θ + sin 4θ = .
2 8 −π/2 2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 42/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Remark
Area between two curves(or one curve and one line) can be find by
ZZ
V = dA
R
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 43/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Remark
Area between two curves(or one curve and one line) can be find by
ZZ
V = dA
R
Remark
Sometimes you need to change the order of integration to get a
tractable integral.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 43/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Example
Find area of region bounded by parabola x = y 2 and the line
y = x. The region is pictured below.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 44/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution
We’ll let y go from 0 to 1. Then x goes from y 2 to y. The area is
Z 1Z y
Area = dx dy.
0 y2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 45/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Example
Evaluate
Z 1Z 1
2
ey dy dx.
0 x
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 46/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution
The inner integral is Z 1
2
ey dy.
x
2
There is no antiderivative of ey , so you get stuck trying to
compute the integral with respect to y. But, if we change the order
of integration, then we can integrate with respect to x first, which
is doable. And, it turns out that the integral with respect to y also
becomes possible after we finish integrating with respect to x.
We can also describe the region by
0≤y≤1
0 ≤ x ≤ y,
Solution ( Cont.)
Z 1Z 1 Z 1Z y
2 2
ey dy dx = ey dx dy
0 x 0 0
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 48/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
Since the integration with respect to x gave us an extra factor of
y, we can compute the integral with respect to y by using a
u-substitution, u = y 2 , so du = 2y dy. With this substitution, u
ranges from 0 to 1, and we calculate the integral as
Z 1Z y Z 1
y2 2
e dx dy = yey dy
0 0 0
1 u 1 1
Z 1
1 u
= e du = e = (e − 1).
0 2 2 0 2
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 49/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Definition
For a given object with density function of f (x, y),
Z Z
Total mass M= f (x, y)dA
R
Z Z
Moment around the x-axis Mx = yf (x, y)dA
R
Z Z
Moment around the y-axis My = xf (x, y)dA
R
M y Mx
Center of mass (x̄, ȳ) = ( , )
M M
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 50/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Remark
The center of mass when the density is 1 everywhere is called
centroid.
Example
Find the centroid of mass of a thin, uniform plate whose shape is
the region between y = cos(x) and the x-axis between x = −π/2
and x = π/2.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 51/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution
π π
As it is clear, the limits of integration are − ≤x≤ and 0 ≤
2 2
y ≤ cos(x). So we have
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 52/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
Z Z Z +π/2 Z cos(x)
M= f (x, y)dA = dy dx
R −π/2 0
Z +π/2
= cos(x)dx = 2,
−π/2
Z Z Z +π/2 Z cos(x)
Mx = yf (x, y)dA = ydy dx
R −π/2 0
" #
Z +π/2
1 π
= 1 + cos(2x) dx = ,
4 −π/2 4
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 53/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Solution ( Cont.)
Z Z Z +π/2 Z cos(x)
My = xf (x, y)dA = xdy dx
R −π/2 0
Z +π/2 h i
= x cos(x) dx = 0,
−π/2
My Mx
(x̄, ȳ) =( , )
M M
0 π/4 π
=( , ) = (0, ).
2 2 8
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 54/56
Double Integrals D.Integrals General Regions Example of D.I General.R
Example
Find the center of mass of a two-dimensional plate that occupies
the quarter circle x2 + y 2 ≤ 1 in the first quadrant and has density
κ(x2 + y 2 ).
Example
Find the center of mass of a two-dimensional plate that occupies
the triangle formed by x = 2, y = x, and y = 2x and has density
function 2x.
Mohsen Aghaei PNG Unitech ENG. MATHEMATICS III March 03, 2020 55/56
Thanks for your attention...