MA126LectureNotes4 2
MA126LectureNotes4 2
Higher integration
Similarly,
Z bZ d Z b Z d
f (x, y)dydx = f (x, y)dy dx
a c a c
1
CHAPTER 4. HIGHER INTEGRATION 2
Rb
as a function of y, g(y) = a f (x, y)dx. This function can then be integrated,
Rd RdRb
ie. c g(y)dy. In other words, c a f (x, y)dxdy is just two iterations of
integrals of single-variable functions.
Then, iterated integrals require no special methods to compute, other
than the standard techniques for integrating single-variable functions. Like
partial differentiation, we just need to keep track of what is being treated
as a variable, and what is being treated as constant/fixed. Let’s look at an
example of computing an iterated integral.
R0 R1
Example 4.2.1. Compute −2 0 (x2 y + xy 3 + y 2 − 2x) dxdy
Solution. Since
Z 0Z 1 Z 0 Z 1
2 3 2 2 3 2
x y + xy + y − 2x dxdy = x y + xy + y − 2x dx dy
−2 0 −2 0
R1
we need to first compute 0
(x2 y + xy 3 + y 2 − 2x) dx.
Z 1
x2 y + xy 3 + y 2 − 2x dx
0
3 1
x y x2 y 3 2 2
= + + xy − x
3 2 0
3
y y
= + + y2 − 1
3 2
So substituting this function of y in, we can complete our computation
of the iterated integral.
Z 0Z 1
x2 y + xy 3 + y 2 − 2x dxdy
−2 0
Z 0 Z 1
2 3 2
= x y + xy + y − 2x dx
−2 0
Z 0
y y3
2
= + + y − 1 dy
−2 3 2
2 0
y y4 y3
= + + −y
6 8 3 −2
=2
CHAPTER 4. HIGHER INTEGRATION 3
20
15
10
5
−1
0
−1 0
−0.5 0
0.5 1 1
20
15
10
5
−1
0
−1 0
−0.5 0
0.5 1 1
.
By taking the limit as n → ∞, we can conclude that
Z 1Z 1
f (x, y)dxdy = V olume(S)
−1 −1
. But we already know that the value of the double integral of f over R is
equal to V olume(S). So we’ve justified the following fact.
Fact 4.2.2 (Fubini’s Theorem for(rectangular regions).
a≤x≤b
If f (x, y) is continuous on R : , then:
c≤y≤d
Z Z d Z b Z bZ d
f (x, y)dA = f (x, y)dxdy = f (x, y)dydx
R c a a c
Even more generally, this equality still holds when f (x, y) is any function
that is bounded on R, is continuous except possibly on finitely many smooth
curves in R, and where the iterated integrals on the right exist.
Recall that previously, we could only estimate the value of most double
integrals (with Riemann sums). Now, we don’t need to rely on using ”known”
geometric volume formulas (in fact, we can prove many of those now!). Fu-
bini’s Theorem gives us a practical method for reduce double integrals to
iterated integrals, to which we can apply all of our single-variable integration
techniques.
To understand why the double integral of f over R has the same value as
the iterated integral of f with bounds from the corresponding
Z Z x and y inter- d b
vals, it helps to have some graphical interpretation of f (x, y)dxdy.
c a
Example 4.2.2. Compute the volume of the solid S bounded between the
surface z = −3x3 +x2 +8y 2 x−2y 3 +10, and the 2 by 2 square in the xy-plane
centered at the origin.
Solution. From the previous section, we know that
Z
V olume(S) = −3x3 + x2 + 8y 2 x − 2y 3 + 10dA
R
Z
V olume(S) = −2x3 + 8xy + y 2 − 3y 3 + 10dA
ZR1 Z 1
−2x3 + 8xy + y 2 − 3y 3 + 10 dxdy
=
−1 −1
Z 1 Z 1
−2x3 + 8xy + y 2 − 3y 3 + 10 dxdy
−1 −1
Z 1 1 Z 1
1 4 2 2 3
= − x + 4x y + xy − 3xy + 10x dxdy = 2y 2 − 6y 3 + 20dy
−1 2 −1 −1
1
2 6
= y 3 − y 4 + 20y
3 4 −1
4
= + 40
3
124
=
3
Remember that Fubini’s Theorem says that for f continuous on a rect-
angular region R,
Z Z dZ b Z bZ d
f (x, y)dA = f (x, y)dxdy = f (x, y)dydx
R c a a c
in particular, we can switch the order of the iterated integral. It’s important
to note that this is only so straightforward because the region is rectangu-
lar. The main reason we would choose one order versus the other is for
computational convenience.
Example 4.2.3 (Switching the order of an iterated integral over a rectan-
gular region). Z
Compute the double integral y sin(xy) dA, where R = [1, 2] × [0, π].
R
Solution. Here, if we integrate with respect to x first then we get
Z Z πZ 2
y sin(xy) dA = y sin(xy) dx dy
0 1
R
CHAPTER 4. HIGHER INTEGRATION 7
we
Z have to apply integration by parts. So, the whole process of computing
y sin(xy) dA is going to be much more involved than in the first solution
R
(although with the same result).
Here, for every fixed x in the interval [a, b], the values of y change between
g1 (x) and g2 (x) (that is, R is sliced vertically). Hence, the double integral of
a function f (x, y) over R can be reduced to an iterated integral as follows
Fact 4.2.3 (Fubini’s Theorem for vertically sliceable regions).
Z Z b Z g2 (x)
f (x, y) dA = f (x, y) dy dx
a g1 (x)
R
In this case, R is bounded above and below by the horizontal lines y = c and
y = d, and on the sides by the curves x = h1 (y) and x = h2 (y). Observe that
the side curves are given as functions of y.
CHAPTER 4. HIGHER INTEGRATION 9
Thus, for every fixed y in the interval [c, d], the values of x change between
h1 (y) and h2 (y) (that is, R is sliced horizontally), and the double integral of
a function f (x, y) over R can be reduced to an iterated integral as follows
Fact 4.2.4 (Fubini’s Theorem for horizontally sliceable regions).
Z Z d Z h2 (y)
f (x, y) dA = f (x, y) dx dy
c h1 (y)
R
Why do we need regions of Type I and Type II? The idea is that every
region can be split into a union of such regions. One can do it by cutting
the given region R into sub-regions using horizontal and vertical lines. This
means we have a method for computing double integrals over any closed
and bounded region. We just need to decompose the region into sliceable
sub-regions, and then compute the corresponding iterated integrals.
For example, the region R shown above can be split into three regions
R1 , R2 , and R3 , where R1 and R3 are regions of Type II and R2 is a region
of Type I. Hence, by the properties of double integrals, the double integral
of a function f (x, y) over R splits into the sum of three double integrals
Z Z Z Z
f (x, y) dA = f (x, y) dA + f (x, y) dA + f (x, y) dA
R R1 R2 R3
Z 1
x(1 + x2 ) + (1 + x2 )2 − (x(2x2 ) + (2x2 )2 dx
=
−1
1 1
x2 2 3 x4 3 5
Z
2 3 4
= (1 + x + 2x − x − 3x ) dx = x + + x − − x
−1 2 3 4 5 −1
1 2 1 3 1 2 1 3 4 6 32
= 1+ + − − − −1 + − − + =2+ − =
2 3 4 5 2 3 4 5 3 5 15
Z
Example 4.2.5. Compute xy dA, where R is bounded by the curves
R
y = x − 1 and y 2 = 2x + 6.
Solution: Observe that the equation y 2 = 2x + 6 can be rewritten as
1
x = y 2 − 3 which describes a parabola whose axis coincides with the x-axis.
2
Similarly, we can rewrite y = x − 1 as x = y + 1. Hence, the region R can be
considered as a Type II region of the following shape
CHAPTER 4. HIGHER INTEGRATION 11
1
Here, the left bound is the parabola x = y 2 − 3 and the right bound is
2
the line x = y + 1.
Next, we find the bounds in which y changes. Compute the intersection
1
points of the given curves: the equation y 2 − 3 = y + 1 has two solutions
2
x = 4 and x = −2. Hence, −2 6 y 6 4 and for each y in this interval, x
changes from 21 y 2 − 3 (left boundary of R) to y + 1 (right boundary of R).
Thus, we have
Z Z 4 Z y+1 Z 4 " y+1
#
y 2
xy dA = xy dx dy = x dy
−2 12 y 2 −3 −2 2 1 2
y −3
R 2
Z 4 2 !
y 1
= (y + 1)2 − (y 2 − 3) dy
−2 2 2
4
1 4
Z 5 6
y 3 2 1 y 4 2 3 2
= − + 4y + 2y − 8y dy = − + y + y − 4y
2 −2 4 2 24 3 −2
= 36
Sometimes the proposed order of integration in an iterated integral is not
convenient. In such cases switching the order of integration may help.
Z 1Z 1
Example 4.2.6. Compute sin(y 2 ) dy dx.
Z 0 x
Solution: The integral sin(y 2 ) dy cannot be expressed as a finite sum
of
Z 1elementary
Z 1 functions. Hence, it is impossible to compute the integral
sin(y 2 ) dy dx with the proposed order of integration: at first by y and
0 x
then by x. Consider the region of integration R: this is a Type I region
R = {(x, y) | 0 6 x 6 1, x 6 y 6 1}
CHAPTER 4. HIGHER INTEGRATION 12
R = {(x, y) | 0 6 y 6 1, 0 6 x 6 y}
so, we have
Z 1Z 1 Z Z 1 Z y
2 2
sin(y ) dy dx = sin(y ) dA = sin(y 2 ) dx dy
0 x 0 0
R
4.2.3 Exercises
1. Compute the iterated integral:
Z 1 Z 2
(a) (x + 2y + xy + 1) dxdy
0 0
Z 1 Z 2
(b) (x + 2y + xy + 1) dydx
0 0
Z 3 Z y
(c) (xy)dxdy
1 0
√
Z 1 Z x
y
(d) dydx
0 0 ex2
π
Z
2
Z cos θ
(e) r (cos θ − r) drdθ
0 0
4.2.4 Answers
1. (a) 7
(b) 8
(c) 10
1 1
(d) 4
1− e
1
(e) 9
1
2. (a) 2
(b) 2 ln(2)
(c) e − 2
3. (a) 8
(b) 0
8
(c) 99
−162
(d) 5
1
(e) (1 − e)e e−1 + e
2
4. (a) 3
.
(b) e − 1.
1
5. Mass = 2
(e4 − 3) kg