Skip to main content
Logo image

APEX Calculus

Section 14.1 Iterated Integrals and Area

In Section 13.3 we found that it was useful to differentiate functions of several variables with respect to one variable, while treating all the other variables as constants or coefficients. We can integrate functions of several variables in a similar way. For instance, if we are told that fx(x,y)=2xy, we can treat y as staying constant and integrate to obtain f(x,y):
f(x,y)=fx(x,y)dx=2xydx=x2y+C.
Make a careful note about the constant of integration, C. This “constant” is something with a derivative of 0 with respect to x, so it could be any expression that contains only constants and functions of y. For instance, if f(x,y)=x2y+sin(y)+y3+17, then fx(x,y)=2xy. To signify that C is actually a function of y, we write:
f(x,y)=fx(x,y)dx=x2y+C(y).
Using this process we can even evaluate definite integrals.

Subsection 14.1.1 Iterated integrals

Example 14.1.1. Integrating functions of more than one variable.

Evaluate the integral 12y2xydx.
Solution.
We find the indefinite integral as before, then apply the Fundamental Theorem of Calculus to evaluate the definite integral:
12y2xydx=x2y|12y=(2y)2y(1)2y=4y3y.
We can also integrate with respect to y. In general,
h1(y)h2(y)fx(x,y)dx=f(x,y)|h1(y)h2(y)=f(h2(y),y)f(h1(y),y),
and
g1(x)g2(x)fy(x,y)dy=f(x,y)|g1(x)g2(x)=f(x,g2(x))f(x,g1(x)).
Note that when integrating with respect to x, the bounds are functions of y (of the form x=h1(y) and x=h2(y)) and the final result is also a function of y. When integrating with respect to y, the bounds are functions of x (of the form y=g1(x) and y=g2(x)) and the final result is a function of x. Another example will help us understand this.

Example 14.1.2. Integrating functions of more than one variable.

Evaluate 1x(5x3y3+6y2)dy.
Solution.
We consider x as staying constant and integrate with respect to y:
1x(5x3y3+6y2)dy=(5x3y22+6y33)|1x=(52x3x2+2x3)(52x3+2)=92x352x2.
Note how the bounds of the integral are from y=1 to y=x and that the final answer is a function of x.
In the previous example, we integrated a function with respect to y and ended up with a function of x. We can integrate this as well. This process is known as iterated integration, or multiple integration.

Example 14.1.3. Evaluating an integral.

Evaluate 12(1x(5x3y3+6y2)dy)dx.
Solution.
We follow a standard “order of operations” and perform the operations inside parentheses first (which is the integral evaluated in Example 14.1.2.)
12(1x(5x3y3+6y2)dy)dx=12([5x3y22+6y33]|1x)dx=12(92x352x2)dx=(98x454x22x)|12=898.
Note how the bounds of x were x=1 to x=2 and the final result was a number.
The previous example showed how we could perform something called an iterated integral; we do not yet know why we would be interested in doing so nor what the result, such as the number 89/8, means. Before we investigate these questions, we offer some definitions.

Definition 14.1.4. Iterated Integration.

Iterated integration is the process of repeatedly integrating the results of previous integrations. Evaulating one integral is denoted as follows.
Let a, b, c and d be numbers and let g1(x), g2(x), h1(y) and h2(y) be functions of x and y, respectively. Then:
  1. cdh1(y)h2(y)f(x,y)dxdy=cd(h1(y)h2(y)f(x,y)dx)dy.
  2. abg1(x)g2(x)f(x,y)dydx=ab(g1(x)g2(x)f(x,y)dy)dx.
Again make note of the bounds of these iterated integrals.
With cdh1(y)h2(y)f(x,y)dxdy, x varies from h1(y) to h2(y), whereas y varies from c to d. That is, the bounds of x are curves, the curves x=h1(y) and x=h2(y), whereas the bounds of y are constants, y=c and y=d. It is useful to remember that when setting up and evaluating such iterated integrals, we integrate “from curve to curve, then from point to point.”
We now begin to investigate why we are interested in iterated integrals and what they mean.

Subsection 14.1.2 Area of a plane region

Consider the plane region R bounded by axb and g1(x)yg2(x), shown in Figure 14.1.5. We learned in Section 7.1 that the area of R is given by
ab(g2(x)g1(x))dx.
A region in the first quadrant is bounded above and below by graphs, and left and right by vertical lines.
Two graphs are plotted in the first quadrant of the plane. The graph y=g1(x) lies entirely below the graph y=g2(x). There are also two vertical lines: x=a on the left, and x=b on the right. Together, the two graphs and two lines bound a region in the plane, labeled R.
Figure 14.1.5. Calculating the area of a plane region R with an iterated integral
We can view the expression (g2(x)g1(x)) as
(g2(x)g1(x))=g1(x)g2(x)1dy=g1(x)g2(x)dy,
meaning we can express the area of R as an iterated integral:
 area of R=ab(g2(x)g1(x))dx=ab(g1(x)g2(x)dy)dx=abg1(x)g2(x)dydx.
In short: a certain iterated integral can be viewed as giving the area of a plane region.
A region R could also be defined by cyd and h1(y)xh2(y), as shown in Figure 14.1.6. Using a process similar to that above, we have
 the area of R=cdh1(y)h2(y)dxdy.
A region in the first quadrant is bounded left and right by graphs, and above and below by horizontal lines.
Two curves are plotted in the first quadrant of the plane. Both curves are graphs, but with x as a function of y. The graph x=h1(y) lies entirely to the left of the graph x=h2(y). There are also two horizontal lines: y=c at the bottom, and y=d at the top. Together, the two graphs and two lines bound a region in the plane, labeled R.
Figure 14.1.6. Calculating the area of a plane region R with an iterated integral
We state this formally in a theorem.
The following examples should help us understand this theorem.

Example 14.1.8. Area of a rectangle.

Find the area A of the rectangle with corners (1,1) and (3,3), as shown in Figure 14.1.9.
A rectangle in the plane, spanning x values from -1 to 3, and y values from 1 to 3.
A rectangle, labeled R, is plotted in the xy plane. It is defined by the inequalities 1x3 and 1y3.
Figure 14.1.9. Calculating the area of a rectangle with an iterated integral in Example 14.1.8
Solution.
Multiple integration is obviously overkill in this situation, but we proceed to establish its use.
The region R is bounded by x=1, x=3, y=1 and y=3. Choosing to integrate with respect to y first, we have
A=13131dydx=13(y|13)dx=132dx=2x|13=8.
We could also integrate with respect to x first, giving:
A=13131dxdy=13(x|13)dy=134dy=4y|13=8.
Clearly there are simpler ways to find this area, but it is interesting to note that this method works.

Example 14.1.10. Area of a triangle.

Find the area A of the triangle with vertices at (1,1), (3,1) and (5,5), as shown in Figure 14.1.11.
An obtuse triangle in the plane. The base is horizontal, and the other sides are lines with positive slope.
The image shows a triangle in the first quadrant. It is an obtuse triangle, with a horizontal base. The base lies along the line y=1, for 1x3. The other two sides of triangle are lines with positive slope: the line y=x, from the point (1,1) to the point (5,5), and the line y=2x5, from the point (1,1) to the point (5,5).
Note that the upper vertex lies to the right of the right-most vertex at the bottom. This means that an attempt to integrate first with respect to y will require dividing the triangle into two regions.
Figure 14.1.11. Calculating the area of a triangle with iterated integrals in Example 14.1.10
Solution.
The triangle is bounded by the lines as shown in the figure. Choosing to integrate with respect to x first gives that x is bounded by x=y to x=y+52, while y is bounded by y=1 to y=5. (Recall that since x-values increase from left to right, the leftmost curve, x=y, is the lower bound and the rightmost curve, x=(y+5)/2, is the upper bound.) The area is
A=15yy+52dxdy=15(x|yy+52)dy=15(12y+52)dy=(14y2+52y)|15=4.
We can also find the area by integrating with respect to y first. In this situation, though, we have two functions that act as the lower bound for the region R, y=1 and y=2x5. This requires us to use two iterated integrals. Note how the x-bounds are different for each integral:
A=131x1dydx+352x5x1dydx=13(y)|1xdx+35(y)|2x5xdx=13(x1)dx+35(x+5)dx=2+2=4.
As expected, we get the same answer both ways.

Example 14.1.12. Area of a plane region.

Find the area of the region enclosed by y=2x and y=x2, as shown in Figure 14.1.13.
A region in the first quadrant of the plane, bounded by a line and a parabola.
A region R in the first quadrant of the plane is shown.
  • It is bounded by two curves.
  • The curve that lies above (or alternatively, to the left of) the region is the line y=2x.
  • The curve that lies below (or alternatively, to the right of) the region is the parabola y=x2.
Figure 14.1.13. Calculating the area of a plane region with iterated integrals in Example 14.1.12
Solution.
Once again we’ll find the area of the region using both orders of integration.
Using dydx:
02x22x1dydx=02(2xx2)dx=(x213x3)|02=43.
Using dxdy:
04y/2y1dxdy=04(yy/2)dy=(23y3/214y2)|04=43.

Subsection 14.1.3 Changing Order of Integration

In each of the previous examples, we have been given a region R and found the bounds needed to find the area of R using both orders of integration. We integrated using both orders of integration to demonstrate their equality.
We now approach the skill of describing a region using both orders of integration from a different perspective. Instead of starting with a region and creating iterated integrals, we will start with an iterated integral and rewrite it in the other integration order. To do so, we’ll need to understand the region over which we are integrating.
The simplest of all cases is when both integrals are bound by constants. The region described by these bounds is a rectangle (see Example 14.1.8), and so:
abcd1dydx=cdab1dxdy.
When the inner integral’s bounds are not constants, it is generally very useful to sketch the bounds to determine what the region we are integrating over looks like. From the sketch we can then rewrite the integral with the other order of integration.
Examples will help us develop this skill.

Example 14.1.14. Changing the order of integration.

Rewrite the iterated integral 060x/31dydx with the order of integration dxdy.
Solution.
We need to use the bounds of integration to determine the region we are integrating over.
The bounds tell us that y is bounded by 0 and x/3; x is bounded by 0 and 6. We plot these four curves: y=0, y=x/3, x=0 and x=6 to find the region described by the bounds. Figure 14.1.15 shows these curves, indicating that R is a triangle.
A triangular region in the plane, bounded by lines y=0, x=6, and y=x/3.
The region R in the plane is a right-angled triangle.
  • The base of the triangle is the x axis, from the origin to (6,0)
  • The vertical side of the triangle is the line x=6, from (6,0) to (6.2)
  • The hypotenuse of the triangle is the line y=x/3, from (0,0) to (6,2)
Figure 14.1.15. Sketching the region R described by the iterated integral in Example 14.1.14
To change the order of integration, we need to consider the curves that bound the x-values. We see that the lower bound is x=3y and the upper bound is x=6. The bounds on y are 0 to 2. Thus we can rewrite the integral as 023y61dxdy.

Example 14.1.16. Changing the order of integration.

Change the order of integration of 04y2/4(y+4)/21dxdy.
Solution.
We sketch the region described by the bounds to help us change the integration order. x is bounded below and above (i.e., to the left and right) by x=y2/4 and x=(y+4)/2 respectively, and y is bounded between 0 and 4. Graphing the previous curves, we find the region R to be that shown in Figure 14.1.17.
A sketch of the region of integration for this example.
A region R is plotted in the first quadrant of the plane. It is bounded by several curves.
  • The left boundary of the region is the parabola x=y2/4. This is a parabola with its vertex at the origin that opens to the right.
  • The right boundary of the region is the line x=(y+4)/2. This line intersects the parabola at the point (4,4), and intersects the x axis at the point (2,0).
  • There is also a bottom boundary, given by the portion of the x axis from (0,0) to (2,0).
Figure 14.1.17. Drawing the region determined by the bounds of integration in Example 14.1.16
To change the order of integration, we need to establish curves that bound y. The figure makes it clear that there are two lower bounds for y: y=0 on 0x2, and y=2x4 on 2x4. Thus we need two double integrals. The upper bound for each is y=2x. Thus we have
04y2/4(y+4)/21dxdy=0202x1dydx+242x42x1dydx.
This section has introduced a new concept, the iterated integral. We developed one application for iterated integration: area between curves. However, this is not new, for we already know how to find areas bounded by curves.
In the next section we apply iterated integration to solve problems we currently do not know how to handle. The “real” goal of this section was not to learn a new way of computing area. Rather, our goal was to learn how to define a region in the plane using the bounds of an iterated integral. That skill is very important in the following sections.

Exercises 14.1.4 Exercises

Terms and Concepts

1.
When integrating fx(x,y) with respect to x, the constant of integration C is really which: C(x) or C(y)? What does this mean?
2.
3.
4.

Problems

Exercise Group.
In the following exercises, evaluate the integral and subsequent iterated integral.
6.
(a)
0π(2xcos(y)+sin(x))dx
(b)
0π/20π(2xcos(y)+sin(x))dxdy
Exercise Group.
In the following exercises, a graph of a planar region R is given. Give the iterated integrals, with both orders of integration dydx and dxdy, that give the area of R. Evaluate one of the iterated integrals to find the area.
11.
The region R is a rectangle, with x from 1 to 4, and y from -2 to 1.
A sketch of the region R for this exercise. R is a rectangle, with bounds 1x4 and 2y11.
12.
The region R is a right triangle with vertices (1,1), (4,1), and (4,3)
A sketch of the region R for this exercise. The boundary of R is a right-angle triangle, with vertices at (1,1), (4,1), and (4,3).
13.
A triangular region R. The vertices are (2,5), (2,1), and (4,3).
The region R for this exercise is a triangle. The left side of the triangle is vertical, from (2,1) to (2,5). The other vertex is at (4,3)
14.
The region R is bounded to the left by a parabola opening along the x axis, and the line x=12.
The region R for this exercise is bounded by a parabola and a line.
  • The parabola is x=y2/3, which has vertex (0,0) and opens to the right.
  • The line is the vertical line x=12.
15.
A region in the first quadrant bounded by two curves that intersect at the points (0,0) and (1,1)
The region R is bounded by two intersecting curves.
  • The curve that lies below (and to the right) of the region is y=x4. This curve is increasing and concave up.
  • The curve that lies above (and to the left) of the region is y=x. This curve is increasing and concave down.
  • The two curves intersect at the origin, and again at the point (1,1).
16.
A region R bounded above by a line, and below by a cubic curve.
The region R lies in the first quadrant. It is bounded by two curves that intersect twice.
  • Above (and to the left of) the region is the line y=4x.
  • Below (and to the right of) the region is the curve y=x3.
  • The two curves meet at the origin. The curve y=x3 begins below the line y=4x, but bends upward to meet the line again at the point (2,8).
Exercise Group.
In the following exercises, iterated integrals are given that compute the area of a region R in the xy-plane. Sketch the region R, and give the iterated integral(s) that give the area of R with the opposite order of integration.
20.
339x29x2dydx
21.
01yydxdy+14y2ydxdy
22.
11(x1)/2(1x)/2dydx
You have attempted 1 of 8 activities on this page.