First let's recall the basic facts concerning definite integrals of functions of a single variable. If f(x) is defined for a≤x≤b, we start by dividing the interval [a,b] into n subintervals [xi−1,xi] of equal width Δx=(b−a)/n and we choose sample points xi∗ in these subintervals. Then we form the Riemann sum:
∑i=1nf(xi∗)Δx…(1)
and take the limit of such sums as n→∞ to obtain the definite integral of f from a to b:
∫abf(x)dx=limn→∞∑i=1nf(xi∗)Δx…(2)
In the special case where f(x)≥0, the Riemann sum can be interpreted as the sum of the areas of the approximating rectangles in Figure 10.1, and ∫abf(x)dx represents the area under the curve y=f(x) from a to b.
Figure 10.2: f is a surface with equation z = f(x, y).
Our goal is to find the volume of S. The first step is to divide the rectangle R into subrectangles. We accomplish this by dividing the interval [a,b] into m subintervals [xi−1,xi] of equal width Δx=(b−a)/m and dividing [c,d] into n subintervals [yj−1,yj] of equal width Δy=(d−c)/n.
By drawing lines parallel to the coordinate axes through the endpoints of these subintervals, as in Figure 10.3, we form the subrectangles
If we choose a sample point(xij∗,yij∗) in each Rij, then we can approximate the part of S that lies above each Rij by a thin rectangular box (or "column") with base Rij and height f(xij∗,yij∗) as shown in Figure 10.4.
The volume of this box is the height of the box times the area of the base rectangle:
f(xij∗,yij∗)ΔA
Figure 10.4: Approximation by a thin rectangular box
If we follow this procedure for all the rectangles and add the volumes of the corresponding boxes, we get an approximation to the total volume of S:
V≈∑i=1m∑j=1nf(xij∗,yij∗)ΔA(3)
This double sum means that for each subrectangle we evaluate f at the chosen point and multiply by the area of the subrectangle, and then we add the results. (See Figure 10.5.)
Figure 10.5: Approximation to the total volume of S
Our intuition tells us that the approximation given in Eq. (3) becomes better as m and n become larger and so we would expect that:
V=limm,n→∞∑i=1m∑j=1nf(xij∗,yij∗)ΔA(4)
We use the expression in Eq. (4) to define the volume (V) of the solid S that lies under the graph of f and above the rectangle R. Limits of the type that appear in Eq. (4) occur frequently, not just in finding volumes but in a variety of other situations even when f is not a positive function. So we make the following definition.
Definition
The double integral of f over the rectangle R is
∬Rf(x,y)dA=limm,n→∞∑i=1m∑j=1nf(xij∗,yij∗)ΔA
if this limit exists.
The precise meaning of the limit in Definition 5 is that for every number ε>0 there is an integer N such that
∬Rf(x,y)dA−∑i=1m∑j=1nf(xij∗,yij∗)ΔA<ε
for all integers m and n greater than N and for any choice of sample points (xij∗,yij∗) in Rij. A function f is called integrable if the limit in Definition 5 exists.
It is shown in courses on advanced calculus that all continuous functions are integrable. In fact, the double integral of f exists provided that f is "not too discontinuous." In particular, if f is bounded on R, [that is, there is a constant M such that ∣f(x,y)∣≤M for all (x,y) in R], and f is continuous there, except on a finite number of smooth curves, then f is integrable over R.
The sample point (xij∗,yij∗) can be chosen to be any point in the subrectangle Rij, but if we choose it to be the upper right-hand corner of Rij [namely (xi,yj), see Figure 10.3], then the expression for the double integral looks simpler:
∬Rf(x,y)dA=limm,n→∞∑i=1m∑j=1nf(xi,yj)ΔA(6)
By comparing Eq. (4) and Definition 5, we see that a volume can be written as a double integral:
If f(x,y)≥0, then the volume V of the solid that lies above the rectangle R and below the surface z=f(x,y) is
V=∬Rf(x,y)dA
The sum in Definition 5,
∑i=1m∑j=1nf(xij∗,yij∗)ΔA
is called a double Riemann sum and is used as an approximation to the value of the double integral. [Notice how similar it is to the Riemann sum in (1) for a function of a single variable.]. If f happens to be a positive function, then the double Riemann sum represents the sum of volumes of columns, as in Figure 10.5, and is an approximation to the volume under the graph of f.
Suppose that f is a function of two variables that is integrable on the rectangle R=[a,b]×[c,d].
We use the notation ∫cdf(x,y)dy to mean that x is held fixed and f(x,y) is integrated with respect to y from y=c to y=d. This procedure is called partial integration with respect to y. (Notice its similarity to partial differentiation.)
Now ∫cdf(x,y)dy is a number that depends on the value of x, so it defines a function of x:
A(x)=∫cdf(x,y)dy
If we now integrate the function A with respect to x from x=a to x=b, we get
∫abA(x)dx=∫ab[∫cdf(x,y)dy]dx(7)
The integral on the right side of Eq. (7) is called an iterated integral. Usually the brackets are omitted. Thus
∫ab∫cdf(x,y)dydx=∫ab[∫cdf(x,y)dy]dx(8)
means that we first integrate with respect to y from c to d and then with respect to x from a to b.
Similarly, the iterated integral:
∫cd∫abf(x,y)dxdy=∫cd[∫abf(x,y)dx]dy(9)
means that we first integrate with respect to x (holding y fixed) from x=a to x=b and then we integrate the resulting function of y with respect to y from y=c to y=d. Notice that in both Eq. (8) and (9) we work from the inside out.
The following theorem gives a practical method for evaluating a double integral by expressing it as an iterated integral (in either order).
Fubini's Theorem
If f is continuous on the rectangle R={(x,y)∣a≤x≤b,c≤y≤d}, then
∬Rf(x,y)dA=∫ab∫cdf(x,y)dydx=∫cd∫abf(x,y)dxdy
More generally, this is true if we assume that f is bounded on R, f is discontinuous only on a finite number of smooth curves, and the iterated integrals exist.
In the special case where f(x,y) can be factored as the product of a function of x only and a function of y only, the double integral of f can be written in a particularly simple form. To be specific, suppose that f(x,y)=g(x)h(y) and R=[a,b]×[c,d]. Then Fubini's Theorem gives
We know that the average value of a function f of one variable defined on an interval [a,b] is:
fave=b−a1∫abf(x)dx
Similarly, we define the average value of a function f of two variables defined on a rectangle R to be:
fave=A(R)1∬Rf(x,y)dA
where A(R) is the area of R. If f(x,y)≥0, the equation:
A(R)×fave=∬Rf(x,y)dA
says that the box with base R and height fave has the same volume as the solid that lies under the graph of f. If z=f(x,y) describes a mountainous region and you chop off the tops of the mountains at height fave, then you can use them to fill in the valleys so that the region becomes completely flat. See Figure 10.7.
For single integrals, the region over which we integrate is always an interval. But for double integrals, we want to be able to integrate a function f not just over rectangles but also over regions D of more general shape, such as the one illustrated in Figure 10.8.
Figure 10.8: Regions D
We suppose that D is a bounded region, which means that D can be enclosed in a rectangular region R as in Figure 10.9.
Figure 10.9: Regions D enclosed in a rectangular region R
Then we define a new function F with domain R by:
F(x,y)={f(x,y)0if (x,y) is in Dif (x,y) is in R but not in D…(12)
If F is integrable over R, then we define the double integral of f over D by:
∬Df(x,y)dA=∬RF(x,y)dA…(13)
Where F is given by Eq. (12). Definition in Eq. (13) makes sense because R is a rectangle and so ∬RF(x,y)dA has been previously defined. The procedure that we have used is reasonable because the values of F(x,y) are 0 when (x,y) lies outside D and so they contribute nothing to the integral.
This means that it does not matter what rectangle R we use as long as it contains D. In the case where f(x,y)≥0, we can still interpret ∬Df(x,y)dA as the volume of the solid that lies above D and under the surface z=f(x,y) (the graph of f).
You can see that this is reasonable by comparing the graphs of f and F in Figures 10.10 and remembering that ∬RF(x,y)dA is the volume under the graph of F.
Figure 10.10: Comparison between graphs of f and F
Figure 10.10 also shows that F is likely to have discontinuities at the boundary points of D. Nonetheless, if f is continuous on D and the boundary curve of D is "well behaved", then it can be shown that ∬RF(x,y)dA exists and therefore ∬Df(x,y)dA exists. In particular, this is the case for type I and type II regions.
A plane region D is said to be of type I if it lies between the graphs of two continuous functions of x, that is,
D={(x,y)∣a≤x≤b,g1(x)≤y≤g2(x)}
where g1 and g2 are continuous on [a,b].
Some examples of type I regions are shown in Figure 10.11.
Figure 10.11: Examples of type I regions
In order to evaluate ∬Df(x,y)dA when D is a region of type I, we choose a rectangle R=[a,b]×[c,d] that contains D, as in Figure 10.12, and we let F be the function given by Eq. (12); that is, F agrees with f on D and F is 0 outside D.
Figure 10.12: Examples of type I regions
Then, by Fubini's Theorem,
∬Df(x,y)dA=∬RF(x,y)dA=∫ab∫cdF(x,y)dydx
Observe that F(x,y)=0 if y<g1(x) or y>g2(x) because (x,y) then lies outside D. Therefore,
because F(x,y)=f(x,y) when g1(x)≤y≤g2(x). Thus we have the following formula that enables us to evaluate the double integral as an iterated integral.
If f is continuous on a type I region D such that
D={(x,y)∣a≤x≤b,g1(x)≤y≤g2(x)}
then
∬Df(x,y)dA=∫ab∫g1(x)g2(x)f(x,y)dydx…(14)
The integral on the right side of Eq. (14) is an iterated integral, except that in the inner integral we regard x as being constant not only in f(x,y) but also in the limits of integration, g1(x) and g2(x).
We also consider plane regions of type II, which can be expressed as:
D={(x,y)∣c≤y≤d,h1(y)≤x≤h2(y)}…(15)
where h1 and h2 are continuous. Two such regions are illustrated in Figure 10.13.
Figure 10.13: Examples of type II regions
Using the same methods that were used in establishing Eq. (14), we can show that:
We assume that all the following integrals exist. For rectangular regions D, the first three properties can be proved in the same manner. And then for general regions the properties follow from definition in Eq. (13).
∬D[f(x,y)+g(x,y)]dA=∬Df(x,y)dA+∬Dg(x,y)dA…(17)
∬Dcf(x,y)dA=c∬Df(x,y)dA…(18)
where c is a constant. If f(x,y)≥g(x,y) for all (x,y) in D, then:
∬Df(x,y)dA≥∬Dg(x,y)dA…(19)
The next property of double integrals is similar to the property of single integrals given by the equation:
∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx.
If D=D1∪D2, where D1 and D2 do not overlap except perhaps on their boundaries (see Figure 10.15), then
∬Df(x,y)dA=∬D1f(x,y)dA+∬D2f(x,y)dA…(20)
Figure 10.15: Region D = D1 U D2
Property in Eq. (20) can be used to evaluate double integrals over regions D that are neither type I nor type II but can be expressed as a union of regions of type I or type II. Figure 10.16 illustrates this procedure.
Figure 10.16
The next property of integrals says that if we integrate the constant function f(x,y)=1 over a region D, we get the area of D:
We have defined single integrals for functions of one variable and double integrals for functions of two variables, so we can define triple integrals for functions of three variables. Let's first deal with the simplest case where f is defined on a rectangular box:
B={(x,y,z)∣a≤x≤b,c≤y≤d,r≤z≤s}…(21)
The first step is to divide B into sub-boxes. We do this by dividing the interval [a,b] into l subintervals [xi−1,xi] of equal width Δx, dividing [c,d] into m subintervals of width Δy, and dividing [r,s] into n subintervals of width Δz.
The planes through the endpoints of these subintervals parallel to the coordinate planes divide the box B into lmn sub-boxes
Bijk=[xi−1,xi]×[yj−1,yj]×[zk−1,zk]
which are shown in Figure 10.24. Each sub-box has volume ΔV=ΔxΔyΔz.
Figure 10.24: Rectangular box
Then we form the triple Riemann sum:
∑i=1l∑j=1m∑k=1nf(xijk∗,yijk∗,zijk∗)ΔV…(22)
where the sample point (xijk∗,yijk∗,zijk∗) is in Bijk. By analogy with the definition of a double integral, we define the triple integral as the limit of the triple Riemann sums in Eq. (22).
Again, the triple integral always exists if f is continuous. We can choose the sample point to be any point in the sub-box, but if we choose it to be the point (xi,yj,zk) we get a simpler-looking expression:
Just as for double integrals, the practical method for evaluating triple integrals is to express them as iterated integrals as follows:
Fubini's Theorem for Triple Integrals
If f is continuous on the rectangular box B=[a,b]×[c,d]×[r,s], then
∭Bf(x,y,z)dV=∫rs∫cd∫abf(x,y,z)dxdydz
The iterated integral on the right side of Fubini's Theorem means that we integrate first with respect to x (keeping y and z fixed), then we integrate with respect to y (keeping z fixed), and finally we integrate with respect to z. There are five other possible orders in which we can integrate, all of which give the same value. For instance, if we integrate with respect to y, then z, and then x, we have
10.3.1 Triple Integrals Over a General Bounded Region E
Now we define the triple integral over a general bounded region E in three-dimensional space (a solid) by much the same procedure that we used for double integrals. We enclose E in a box B of the type given by Eq. (21). Then we define F so that it agrees with f on E but is 0 for points in B that are outside E. By definition:
∭Ef(x,y,z)dV=∭EF(x,y,z)dV
This integral exists if f is continuous and the boundary of E is "reasonably smooth". The triple integral has essentially the same properties as the double integral. We restrict our attention to continuous functions f and to certain simple types of regions.
A solid region E is said to be of type 1 if it lies between the graphs of two continuous functions of x and y that is:
E={(x,y,z)∣(x,y)∈D,u1(x,y)≤z≤u2(x,y)}…(25)
where D is the projection of E onto the xy-plane as shown in Figure 10.25.
Figure 10.25: A type I solid region
Notice that the upper boundary of the solid E is the surface with equation z=u2(x,y), while the lower boundary is the surface z=u1(x,y). By the same sort of argument, it can be shown that if E is a type 1 region given by Eq. (25), then
The meaning of the inner integral on the right side of Eq. (26) is that x and y are held fixed, and therefore u1(x,y) and u2(x,y) are regarded as constants, while f(x,y,z) is integrated with respect to z.
In particular, if the projection D of E onto the xy-plane is a type I plane region (as in Figure 10.26).
Figure 10.26: A type I solid region where the projection D is a type I plane region
In each of Eq. (29) and (30) there may be two possible expressions for the integral depending on whether D is a type I or type II plane region (and corresponding to Eq. (27) and (28)).
where the region U (Figure 10.30) is bounded by the surfaces z=xy, y=x, x=0, x=1, z=0.
Figure 10.30
Solution
The projection of the solid region U onto the xy-plane looks as shown in Figure 10.31. Taking this into account, we find the corresponding iterated integral:
Triple or volume integral has important real-world application which can be applied in various scientific and engineering matters. In this section, we will discuss some of the application examples.
The most obvious usage of triple integral is to find the volume of a space confined within 3 dimensional boundary.
Here, we will explore on how to find the mass, center of mass and moments of inertia using double integrals for a lamina (flat plate) and triple integrals for a three dimensional object with variable density. The density is generally considered to be a constant number when the lamina or the object is homogeneous; that is, the object has uniform density.
Refer to moments and centers of mass for the definitions and the methods of single integration to find the center of mass of a one dimensional object (for example, a thin rod). We are going to use a similar idea here except that the object is a two-dimensional lamina and thus, we use a double integral.
For a constant density function, then xˉ=mMy and yˉ=mMx give the centroid of the lamina.
Suppose that the lamina occupies a region R in the xy-plane and let ρ(x,y) be its density (in units of mass per unit area) at any point (x,y). Hence:
ρ(x,y)=limΔA→0ΔAΔm
where Δm and ΔA are the mass and area of a small rectangle containing the point (x,y) and the limit is taken as the dimensions of the rectangle go to 0 (see Figure 10.33)
Figure 10.33: The density of a lamina at a point is the limit of its mass per area in a small rectangle about the point as the area goes to zero (0).
We divide the region R into tiny rectangles Rij with area ΔA and choose (xij∗,yij∗) as sample points. Then the mass mij of each Rij is equal to ρ(xij∗,yij∗)ΔA (Figure 10.34). Let a and b be the number of subintervals in x and y respectively. Note that the shape might not always be rectangular.
Figure 10.34: Subdividing the lamina into small rectangle Rij each containing a sample point
On the other hand, for a mass of a matter bounded by V with density of ρ(x,y,z) at point (x,y,z) can be calculated as m=∭ρ(x,y,z)dzdydx (or ∫Vρ(x,y,z)dV (with appropriate limits)).
A water reservoir shown above has the width of x=100 m, length of y=400 m, and the depth of the reservoir is given by z=40−y/10 m.
The density of the water can be approximated by ρ(z)=a−b×z where a=998 kg m⁻³ and b=0.05 kg m⁻⁴ i.e. at the surface (z=0) the water has density 998 kg m⁻³ (corresponding to a temperature of 20 °C while 40 m down i.e. z=−40, the water has a density of 1000 kg m⁻³ (corresponding to the lower temperature of 4 °C. Find the total mass of water in the reservoir.
Solution
The mass of water in the reservoir is given by the integral of the function ρ(z)=a−b×z. For each value of x and y, the limits on z will be from y/10−40 (bottom) to 0 (top). Limits on y will be 0 to 400 m while the limits of x will be 0 to 100 m. The mass of water is therefore given by the integral:
Now that we have the expression for mass, we can find moments and centers of mass in two dimensions. The moment Mx about the x-axis for R is the limit of the sums of moments of the regions Rij about the x-axis. Hence:
The moment of inertia I of a small particle of mass m is defined as
I=Mass×Distance2 or I=md2
where d is the perpendicular distance from the particle to the axis.
This concept is extended to a lamina with density function ρ(x,y) and occupying a region D by proceeding as we did for ordinary moments. We divide D into small rectangles, approximate the moment of inertia of each subrectangle about the x-axis, and take the limit of the sum as the number of subrectangles becomes large. The result is the moment of inertia of the lamina about the x-axis:
To find the Moment of Inertia of a larger object, it is required to do a volume integration over all such particles. This will be covered in the following week.