### Learning Objectives

- 5.2.1. Recognize when a function of two variables is integrable over a general region.
- 5.2.2. Evaluate a double integral by computing an iterated integral over a region bounded by two vertical lines and two functions of $x,$ or two horizontal lines and two functions of $y.$
- 5.2.3. Simplify the calculation of an iterated integral by changing the order of integration.
- 5.2.4. Use double integrals to calculate the volume of a region between two surfaces or the area of a plane region.
- 5.2.5. Solve problems involving double improper integrals.

In Double Integrals over Rectangular Regions, we studied the concept of double integrals and examined the tools needed to compute them. We learned techniques and properties to integrate functions of two variables over rectangular regions. We also discussed several applications, such as finding the volume bounded above by a function over a rectangular region, finding area by integration, and calculating the average value of a function of two variables.

In this section we consider double integrals of functions defined over a general bounded region $D$ on the plane. Most of the previous results hold in this situation as well, but some techniques need to be extended to cover this more general case.

### General Regions of Integration

An example of a general bounded region $D$ on a plane is shown in Figure 5.12. Since $D$ is bounded on the plane, there must exist a rectangular region $R$ on the same plane that encloses the region $D,$ that is, a rectangular region $R$ exists such that $D$ is a subset of $R\left(D\subseteq R\right).$

Suppose $z=f\left(x,y\right)$ is defined on a general planar bounded region $D$ as in Figure 5.12. In order to develop double integrals of $f$ over $D,$ we extend the definition of the function to include all points on the rectangular region $R$ and then use the concepts and tools from the preceding section. But how do we extend the definition of $f$ to include all the points on $R?$ We do this by defining a new function $g\left(x,y\right)$ on $R$ as follows:

Note that we might have some technical difficulties if the boundary of $D$ is complicated. So we assume the boundary to be a piecewise smooth and continuous simple closed curve. Also, since all the results developed in Double Integrals over Rectangular Regions used an integrable function $f\left(x,y\right),$ we must be careful about $g\left(x,y\right)$ and verify that $g\left(x,y\right)$ is an integrable function over the rectangular region $R.$ This happens as long as the region $D$ is bounded by simple closed curves. For now we will concentrate on the descriptions of the regions rather than the function and extend our theory appropriately for integration.

We consider two types of planar bounded regions.

### Definition

A region $D$ in the $\left(x,y\right)$-plane is of Type I if it lies between two vertical lines and the graphs of two continuous functions ${g}_{1}\left(x\right)$ and ${g}_{2}\left(x\right).$ That is (Figure 5.13),

A region $D$ in the $xy$ plane is of Type II if it lies between two horizontal lines and the graphs of two continuous functions ${h}_{1}\left(y\right)\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{h}_{2}\left(y\right).$ That is (Figure 5.14),

### Example 5.11

#### Describing a Region as Type I and Also as Type II

Consider the region in the first quadrant between the functions $y=\sqrt{x}$ and $y={x}^{3}$ (Figure 5.15). Describe the region first as Type I and then as Type II.

Consider the region in the first quadrant between the functions $y=2x$ and $y={x}^{2}.$ Describe the region first as Type I and then as Type II.

### Double Integrals over Nonrectangular Regions

To develop the concept and tools for evaluation of a double integral over a general, nonrectangular region, we need to first understand the region and be able to express it as Type I or Type II or a combination of both. Without understanding the regions, we will not be able to decide the limits of integrations in double integrals. As a first step, let us look at the following theorem.

#### Double Integrals over Nonrectangular Regions

Suppose $g\left(x,y\right)$ is the extension to the rectangle $R$ of the function $f\left(x,y\right)$ defined on the regions $D$ and $R$ as shown in Figure 5.12 inside $R.$ Then $g\left(x,y\right)$ is integrable and we define the double integral of $f\left(x,y\right)$ over $D$ by

The right-hand side of this equation is what we have seen before, so this theorem is reasonable because $R$ is a rectangle and $\underset{R}{\iint}g\left(x,y\right)}dA$ has been discussed in the preceding section. Also, the equality works because the values of $g\left(x,y\right)$ are $0$ for any point $\left(x,y\right)$ that lies outside $D,$ and hence these points do not add anything to the integral. However, it is important that the rectangle $R$ contains the region $D.$

As a matter of fact, if the region $D$ is bounded by smooth curves on a plane and we are able to describe it as Type I or Type II or a mix of both, then we can use the following theorem and not have to find a rectangle $R$ containing the region.

#### Fubini’s Theorem (Strong Form)

For a function $f\left(x,y\right)$ that is continuous on a region $D$ of Type I, we have

Similarly, for a function $f\left(x,y\right)$ that is continuous on a region $D$ of Type II, we have

The integral in each of these expressions is an iterated integral, similar to those we have seen before. Notice that, in the inner integral in the first expression, we integrate $f\left(x,y\right)$ with $x$ being held constant and the limits of integration being ${g}_{1}\left(x\right)\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{g}_{2}\left(x\right).$ In the inner integral in the second expression, we integrate $f\left(x,y\right)$ with $y$ being held constant and the limits of integration are ${h}_{1}\left(x\right)\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{h}_{2}\left(x\right).$

### Example 5.12

#### Evaluating an Iterated Integral over a Type I Region

Evaluate the integral $\underset{D}{\iint}{x}^{2}{e}^{xy}dA$ where $D$ is shown in Figure 5.16.

In Example 5.12, we could have looked at the region in another way, such as $D=\left\{\left(x,y\right)|0\le y\le 1,0\le x\le 2y\right\}$ (Figure 5.17).

This is a Type II region and the integral would then look like

However, if we integrate first with respect to $x,$ this integral is lengthy to compute because we have to use integration by parts twice.

### Example 5.13

#### Evaluating an Iterated Integral over a Type II Region

Evaluate the integral $\underset{D}{\iint}\left(3{x}^{2}+{y}^{2}\right)dA$ where $=\left\{\left(x,y\right)|-2\le y\le 3,{y}^{2}-3\le x\le y+3\right\}.$

Sketch the region $D$ and evaluate the iterated integral $\underset{D}{\iint}xy\phantom{\rule{0.2em}{0ex}}dy\phantom{\rule{0.2em}{0ex}}dx$ where $D$ is the region bounded by the curves $y=\text{cos}\phantom{\rule{0.2em}{0ex}}x$ and $y=\text{sin}\phantom{\rule{0.2em}{0ex}}x$ in the interval $\left[\mathrm{-3}\pi \text{/}4,\pi \text{/}4\right].$

Recall from Double Integrals over Rectangular Regions the properties of double integrals. As we have seen from the examples here, all these properties are also valid for a function defined on a nonrectangular bounded region on a plane. In particular, property $3$ states:

If $R=S\cup T$ and $S\cap T=\varnothing $ except at their boundaries, then

Similarly, we have the following property of double integrals over a nonrectangular bounded region on a plane.

#### Decomposing Regions into Smaller Regions

Suppose the region $D$ can be expressed as $D={D}_{1}\cup {D}_{2}$ where ${D}_{1}$ and ${D}_{2}$ do not overlap except at their boundaries. Then

This theorem is particularly useful for nonrectangular regions because it allows us to split a region into a union of regions of Type I and Type II. Then we can compute the double integral on each piece in a convenient way, as in the next example.

### Example 5.14

#### Decomposing Regions

Express the region $D$ shown in Figure 5.19 as a union of regions of Type I or Type II, and evaluate the integral

Consider the region bounded by the curves $y=\text{ln}\phantom{\rule{0.2em}{0ex}}x$ and $y={e}^{x}$ in the interval $\left[1,2\right].$ Decompose the region into smaller regions of Type II.

Redo Example 5.14 using a union of two Type II regions.

### Changing the Order of Integration

As we have already seen when we evaluate an iterated integral, sometimes one order of integration leads to a computation that is significantly simpler than the other order of integration. Sometimes the order of integration does not matter, but it is important to learn to recognize when a change in order will simplify our work.

### Example 5.15

#### Changing the Order of Integration

Reverse the order of integration in the iterated integral $\underset{x=0}{\overset{x=\sqrt{2}}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{y=0}{\overset{y=2-{x}^{2}}{\int}}x{e}^{{x}^{2}}dy\phantom{\rule{0.2em}{0ex}}dx}}.$ Then evaluate the new iterated integral.

### Example 5.16

#### Evaluating an Iterated Integral by Reversing the Order of Integration

Consider the iterated integral $\underset{R}{\iint}f\left(x,y\right)}dx\phantom{\rule{0.2em}{0ex}}dy$ where $z=f\left(x,y\right)=x-2y$ over a triangular region $R$ that has sides on $x=0,y=0,$ and the line $x+y=1.$ Sketch the region, and then evaluate the iterated integral by

- integrating first with respect to $y$ and then
- integrating first with respect to $x.$

Evaluate the iterated integral $\underset{D}{\iint}\left({x}^{2}+{y}^{2}\right)}dA$ over the region $D$ in the first quadrant between the functions $y=2x$ and $y={x}^{2}.$ Evaluate the iterated integral by integrating first with respect to $y$ and then integrating first with resect to $x.$

### Calculating Volumes, Areas, and Average Values

We can use double integrals over general regions to compute volumes, areas, and average values. The methods are the same as those in Double Integrals over Rectangular Regions, but without the restriction to a rectangular region, we can now solve a wider variety of problems.

### Example 5.17

#### Finding the Volume of a Tetrahedron

Find the volume of the solid bounded by the planes $x=0,y=0,z=0,$ and $2x+3y+z=6.$

Find the volume of the solid bounded above by $f\left(x,y\right)=10-2x+y$ over the region enclosed by the curves $y=0$ and $y={e}^{x},$ where $x$ is in the interval $\left[0,1\right].$

Finding the area of a rectangular region is easy, but finding the area of a nonrectangular region is not so easy. As we have seen, we can use double integrals to find a rectangular area. As a matter of fact, this comes in very handy for finding the area of a general nonrectangular region, as stated in the next definition.

### Definition

The area of a plane-bounded region $D$ is defined as the double integral $\underset{D}{\iint}1dA}.$

We have already seen how to find areas in terms of single integration. Here we are seeing another way of finding areas by using double integrals, which can be very useful, as we will see in the later sections of this chapter.

### Example 5.18

#### Finding the Area of a Region

Find the area of the region bounded below by the curve $y={x}^{2}$ and above by the line $y=2x$ in the first quadrant (Figure 5.24).

Find the area of a region bounded above by the curve $y={x}^{3}$ and below by $y=0$ over the interval $\left[0,3\right].$

We can also use a double integral to find the average value of a function over a general region. The definition is a direct extension of the earlier formula.

### Definition

If $f\left(x,y\right)$ is integrable over a plane-bounded region $D$ with positive area $A\left(D\right),$ then the average value of the function is

Note that the area is $A\left(D\right)={\displaystyle \underset{D}{\iint}1dA}.$

### Example 5.19

#### Finding an Average Value

Find the average value of the function $f\left(x,y\right)=7x{y}^{2}$ on the region bounded by the line $x=y$ and the curve $x=\sqrt{y}$ (Figure 5.25).

Find the average value of the function $f\left(x,y\right)=xy$ over the triangle with vertices $\left(0,0\right),\left(1,0\right)\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(1,3\right).$

### Improper Double Integrals

An improper double integral is an integral $\underset{D}{\iint}f\phantom{\rule{0.2em}{0ex}}dA$ where either $D$ is an unbounded region or $f$ is an unbounded function. For example, $D=\left\{\left(x,y\right)|\left|x-y\right|\ge 2\right\}$ is an unbounded region, and the function $f\left(x,y\right)=1\text{/}\left(1-{x}^{2}-2{y}^{2}\right)$ over the ellipse ${x}^{2}+3{y}^{2}\le 1$ is an unbounded function. Hence, both of the following integrals are improper integrals:

- $\underset{D}{\iint}xy\phantom{\rule{0.2em}{0ex}}dA$ where $D=\left\{\left(x,y\right)|\left|x-y\right|\ge 2\right\};$
- $\underset{D}{\iint}\frac{1}{1-{x}^{2}-2{y}^{2}}dA$ where $D=\left\{\left(x,y\right)|{x}^{2}+3{y}^{2}\le 1\right\}.$

In this section we would like to deal with improper integrals of functions over rectangles or simple regions such that $f$ has only finitely many discontinuities. Not all such improper integrals can be evaluated; however, a form of Fubini’s theorem does apply for some types of improper integrals.

#### Fubini’s Theorem for Improper Integrals

If $D$ is a bounded rectangle or simple region in the plane defined by $\{(x,y)\text{:}\phantom{\rule{0.2em}{0ex}}a\le x\le b,g(x)\le y\le h(x)\}$ and also by $\{(x,y)\text{:}\phantom{\rule{0.2em}{0ex}}c\le y\le d,j(y)\le x\le k(y)\}$ and $f$ is a nonnegative function on $D$ with finitely many discontinuities in the interior of $D,$ then

It is very important to note that we required that the function be nonnegative on $D$ for the theorem to work. We consider only the case where the function has finitely many discontinuities inside $D.$

### Example 5.20

#### Evaluating a Double Improper Integral

Consider the function $f\left(x,y\right)=\frac{{e}^{y}}{y}$ over the region $D=\{(x,y)\text{:}\phantom{\rule{0.2em}{0ex}}0\le x\le 1,x\le y\le \sqrt{x}\}.$

Notice that the function is nonnegative and continuous at all points on $D$ except $\left(0,0\right).$ Use Fubini’s theorem to evaluate the improper integral.

As mentioned before, we also have an improper integral if the region of integration is unbounded. Suppose now that the function $f$ is continuous in an unbounded rectangle $R.$

#### Improper Integrals on an Unbounded Region

If $R$ is an unbounded rectangle such as $R=\{(x,y)\text{:}\phantom{\rule{0.2em}{0ex}}a\le x\le \infty ,c\le y\le \infty \},$ then when the limit exists, we have $\underset{R}{\iint}f\left(x,y\right)}dA=\underset{\left(b,d\right)\to \left(\infty ,\infty \right)}{\text{lim}}{\displaystyle \underset{a}{\overset{b}{\int}}\left({\displaystyle \underset{c}{\overset{d}{\int}}f\left(x,y\right)dy}\right)dx=}\underset{\left(b,d\right)\to \left(\infty ,\infty \right)}{\text{lim}}{\displaystyle \underset{c}{\overset{d}{\int}}\left({\displaystyle \underset{a}{\overset{b}{\int}}f\left(x,y\right)dy}\right)dy.$

The following example shows how this theorem can be used in certain cases of improper integrals.

### Example 5.21

#### Evaluating a Double Improper Integral

Evaluate the integral $\underset{R}{\iint}xy{e}^{\text{\u2212}{x}^{2}-{y}^{2}}}dA$ where $R$ is the first quadrant of the plane.

Evaluate the improper integral $\underset{D}{\iint}\frac{y}{\sqrt{1-{x}^{2}-{y}^{2}}}dA$ where $D=\{(x,y)x\ge 0,y\ge 0,{x}^{2}+{y}^{2}\le 1\}.$

In some situations in probability theory, we can gain insight into a problem when we are able to use double integrals over general regions. Before we go over an example with a double integral, we need to set a few definitions and become familiar with some important properties.

### Definition

Consider a pair of continuous random variables $X$ and $Y,$ such as the birthdays of two people or the number of sunny and rainy days in a month. The joint density function $f$ of $X$ and $Y$ satisfies the probability that $\left(X,Y\right)$ lies in a certain region $D\text{:}$

Since the probabilities can never be negative and must lie between $0$ and $1,$ the joint density function satisfies the following inequality and equation:

### Definition

The variables $X$ and $Y$ are said to be independent random variables if their joint density function is the product of their individual density functions:

### Example 5.22

#### Application to Probability

At Sydney’s Restaurant, customers must wait an average of $15$ minutes for a table. From the time they are seated until they have finished their meal requires an additional $40$ minutes, on average. What is the probability that a customer spends less than an hour and a half at the diner, assuming that waiting for a table and completing the meal are independent events?

Another important application in probability that can involve improper double integrals is the calculation of expected values. First we define this concept and then show an example of a calculation.

### Definition

In probability theory, we denote the expected values $E\left(X\right)$ and $E\left(Y\right),$ respectively, as the most likely outcomes of the events. The expected values $E\left(X\right)$ and $E\left(Y\right)$ are given by

where $S$ is the sample space of the random variables $X$ and $Y.$

### Example 5.23

#### Finding Expected Value

Find the expected time for the events ‘waiting for a table’ and ‘completing the meal’ in Example 5.22.

The joint density function for two random variables $X$ and $Y$ is given by

Find the probability that $X$ is at most $10$ and $Y$ is at least $5.$

### Section 5.2 Exercises

In the following exercises, specify whether the region is of Type I or Type II.

The region $D$ bounded by $y={x}^{3},$ $y={x}^{3}+1,$ $x=0,$ and $x=1$ as given in the following figure.

Find the average value of the function $f\left(x,y\right)=3xy$ on the region graphed in the previous exercise.

Find the area of the region $D$ given in the previous exercise.

The region $D$ bounded by $y=\text{sin}\phantom{\rule{0.2em}{0ex}}x,y=1+\text{sin}\phantom{\rule{0.2em}{0ex}}x,x=0,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=\frac{\pi}{2}$ as given in the following figure.

Find the average value of the function $f\left(x,y\right)=\text{cos}\phantom{\rule{0.2em}{0ex}}x$ on the region graphed in the previous exercise.

The region $D$ bounded by $x={y}^{2}-1$ and $x=\sqrt{1-{y}^{2}}$ as given in the following figure.

Find the volume of the solid under the graph of the function $f\left(x,y\right)=xy+1$ and above the region in the figure in the previous exercise.

The region $D$ bounded by $y=0,x=\mathrm{-10}+y,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=10-y$ as given in the following figure.

Find the volume of the solid under the graph of the function $f\left(x,y\right)=x+y$ and above the region in the figure from the previous exercise.

The region $D$ bounded by $y=0,x=y-1,$ $x=\frac{\pi}{2}$ as given in the following figure.

Let $D$ be the region bounded by the curves of equations $y=x,y=\text{\u2212}x,$ and $y=2-{x}^{2}.$ Explain why $D$ is neither of Type I nor II.

Let $D$ be the region bounded by the curves of equations $y=\text{cos}\phantom{\rule{0.2em}{0ex}}x$ and $y=4-{x}^{2}$ and the $x$-axis. Explain why $D$ is neither of Type I nor II.

In the following exercises, evaluate the double integral $\underset{D}{\iint}f\left(x,y\right)}dA$ over the region $D.$

$f\left(x,y\right)=2x+5y$ and $D=\left\{\left(x,y\right)|0\le x\le 1,{x}^{3}\le y\le {x}^{3}+1\right\}$

$f\left(x,y\right)=1$ and $D=\left\{\left(x,y\right)|0\le x\le \frac{\pi}{2},\text{sin}\phantom{\rule{0.2em}{0ex}}x\le y\le 1+\text{sin}\phantom{\rule{0.2em}{0ex}}x\right\}$

$f\left(x,y\right)=2$ and $D=\left\{\left(x,y\right)|0\le y\le 1,y-1\le x\le \text{arccos}\phantom{\rule{0.2em}{0ex}}y\right\}$

$f\left(x,y\right)=xy$ and $D=\left\{\left(x,y\right)|-1\le y\le 1,{y}^{2}-1\le x\le \sqrt{1-{y}^{2}}\right\}$

$f\left(x,y\right)=\text{sin}\phantom{\rule{0.2em}{0ex}}y$ and $D$ is the triangular region with vertices $\left(0,0\right),\left(0,3\right),\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(3,0\right)$

$f\left(x,y\right)=\text{\u2212}x+1$ and $D$ is the triangular region with vertices $\left(0,0\right),\left(0,2\right),\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(2,2\right)$

Evaluate the iterated integrals.

$\underset{0}{\overset{1}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{2x}{\overset{3x}{\int}}\left(x+{y}^{2}\right)}}dy\phantom{\rule{0.2em}{0ex}}dx$

$\underset{0}{\overset{1}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{2\sqrt{x}}{\overset{2\sqrt{x}+1}{\int}}\left(xy+1\right)}}dy\phantom{\rule{0.2em}{0ex}}dx$

$\underset{e}{\overset{{e}^{2}}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{ln}\phantom{\rule{0.2em}{0ex}}u}{\overset{2}{\int}}\left(v+\text{ln}\phantom{\rule{0.2em}{0ex}}u\right)}}dv\phantom{\rule{0.2em}{0ex}}du$

$\underset{1}{\overset{2}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{\u2212}{u}^{2}-1}{\overset{\text{\u2212}u}{\int}}\left(8uv\right)}}dv\phantom{\rule{0.2em}{0ex}}du$

$\underset{0}{\overset{1}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{\u2212}\sqrt{1-{y}^{2}}}{\overset{\sqrt{1-{y}^{2}}}{\int}}\left(2x+4{x}^{3}\right)}}dx\phantom{\rule{0.2em}{0ex}}dy$

$\underset{0}{\overset{1\text{/}2}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{\u2212}\sqrt{1-4{y}^{2}}}{\overset{\sqrt{1-4{y}^{2}}}{\int}}4}}dx\phantom{\rule{0.2em}{0ex}}dy$

Let $D$ be the region bounded by $y=1-{x}^{2},y=4-{x}^{2},$ and the $x$- and $y$-axes.

- Show that $\underset{D}{\iint}x\phantom{\rule{0.2em}{0ex}}dA={\displaystyle \underset{0}{\overset{1}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{1-{x}^{2}}{\overset{4-{x}^{2}}{\int}}x\phantom{\rule{0.2em}{0ex}}dy\phantom{\rule{0.2em}{0ex}}dx}}}+{\displaystyle \underset{1}{\overset{2}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{0}{\overset{4-{x}^{2}}{\int}}x\phantom{\rule{0.2em}{0ex}}dy\phantom{\rule{0.2em}{0ex}}dx}$ by dividing the region $D$ into two regions of Type I.
- Evaluate the integral $\underset{D}{\iint}x\phantom{\rule{0.2em}{0ex}}dA}.$

Let $D$ be the region bounded by $y=1,$ $y=x,$ $y=\text{ln}\phantom{\rule{0.2em}{0ex}}x,$ and the $x$-axis.

- Show that $\underset{D}{\iint}}y\phantom{\rule{0.2em}{0ex}}dA={\displaystyle \underset{0}{\overset{1}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{0}{\overset{x}{\int}}y\phantom{\rule{0.2em}{0ex}}dy\phantom{\rule{0.2em}{0ex}}dx}}+{\displaystyle \underset{1}{\overset{e}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{ln}\phantom{\rule{0.2em}{0ex}}x}{\overset{1}{\int}}y\phantom{\rule{0.2em}{0ex}}dy\phantom{\rule{0.2em}{0ex}}dx}$ by dividing $D$ into two regions of Type I.
- Evaluate the integral $\underset{D}{\iint}y\phantom{\rule{0.2em}{0ex}}dA}.$

- Show that $\underset{D}{\iint}}{y}^{2}dA={\displaystyle \underset{\mathrm{-1}}{\overset{0}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{\u2212}x}{\overset{2-{x}^{2}}{\int}}{y}^{2}dy\phantom{\rule{0.2em}{0ex}}dx}}+{\displaystyle \underset{0}{\overset{1}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{x}{\overset{2-{x}^{2}}{\int}}{y}^{2}dy\phantom{\rule{0.2em}{0ex}}dx}$ by dividing the region $D$ into two regions of Type I, where $D=\left\{(x,y)|y\ge x,y\ge -x,y\le 2-{x}^{2}\right\}.$
- Evaluate the integral $\underset{D}{\iint}{y}^{2}}dA.$

Let $D$ be the region bounded by $y={x}^{2},y=x+2,$ and $y=\text{\u2212}x.$

- Show that $\underset{D}{\iint}}x\phantom{\rule{0.2em}{0ex}}dA={\displaystyle \underset{0}{\overset{1}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{\u2212}y}{\overset{\sqrt{y}}{\int}}x\phantom{\rule{0.2em}{0ex}}dx\phantom{\rule{0.2em}{0ex}}dy}}+{\displaystyle \underset{1}{\overset{4}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{y-2}{\overset{\sqrt{y}}{\int}}x\phantom{\rule{0.2em}{0ex}}dx\phantom{\rule{0.2em}{0ex}}dy}$ by dividing the region $D$ into two regions of Type II, where $D=\left\{(x,y)|y\ge {x}^{2},y\ge -x,y\le x+2\right\}.$
- Evaluate the integral $\underset{D}{\iint}x}\phantom{\rule{0.2em}{0ex}}dA.$

The region $D$ bounded by $x=0,y={x}^{5}+1,$ and $y=3-{x}^{2}$ is shown in the following figure. Find the area $A\left(D\right)$ of the region $D.$

The region $D$ bounded by $y=\text{cos}\phantom{\rule{0.2em}{0ex}}x,y=4\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}x,$ and $x=\pm \frac{\pi}{3}$ is shown in the following figure. Find the area $A\left(D\right)$ of the region $D.$

Find the area $A(D)$ of the region $D=\left\{(x,y)|y\ge 1-{x}^{2},y\le 4-{x}^{2},y\ge 0,x\ge 0\right\}.$

Let $D$ be the region bounded by $y=1,y=x,y=\text{ln}\phantom{\rule{0.2em}{0ex}}x,$ and the $x$-axis. Find the area $A\left(D\right)$ of the region $D.$

Find the average value of the function $f\left(x,y\right)=\text{sin}\phantom{\rule{0.2em}{0ex}}y$ on the triangular region with vertices $\left(0,0\right),\left(0,3\right),$ and $\left(3,0\right).$

Find the average value of the function $f\left(x,y\right)=\text{\u2212}x+1$ on the triangular region with vertices $\left(0,0\right),\left(0,2\right),$ and $\left(2,2\right).$

In the following exercises, change the order of integration and evaluate the integral.

$\underset{\mathrm{-1}}{\overset{\pi \text{/}2}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{0}{\overset{x+1}{\int}}\text{sin}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}dy\phantom{\rule{0.2em}{0ex}}dx}$

$\underset{0}{\overset{1}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{x-1}{\overset{1-x}{\int}}x\phantom{\rule{0.2em}{0ex}}dy\phantom{\rule{0.2em}{0ex}}dx}$

$\underset{\mathrm{-1}}{\overset{0}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{\u2212}\sqrt{y+1}}{\overset{\sqrt{y+1}}{\int}}{y}^{2}dx\phantom{\rule{0.2em}{0ex}}dy}$

$\underset{\text{\u2212}1\text{/}2}{\overset{1\text{/}2}{\int}}\phantom{\rule{0.2em}{0ex}}{\displaystyle \underset{\text{\u2212}\sqrt{{y}^{2}+1}}{\overset{\sqrt{{y}^{2}+1}}{\int}}y\phantom{\rule{0.2em}{0ex}}dx\phantom{\rule{0.2em}{0ex}}dy}$

The region $D$ is shown in the following figure. Evaluate the double integral $\underset{D}{\iint}\left({x}^{2}+y\right)dA$ by using the easier order of integration.

The region $D$ is given in the following figure. Evaluate the double integral $\underset{D}{\iint}\left({x}^{2}-{y}^{2}\right)dA$ by using the easier order of integration.

Find the volume of the solid under the surface $z=2x+{y}^{2}$ and above the region bounded by $y={x}^{5}$ and $y=x.$

Find the volume of the solid under the plane $z=3x+y$ and above the region determined by $y={x}^{7}$ and $y=x.$

Find the volume of the solid under the plane $z=x-y$ and above the region bounded by $x=\text{tan}\phantom{\rule{0.2em}{0ex}}y,x=\text{\u2212}\text{tan}\phantom{\rule{0.2em}{0ex}}y,$ and $x=1.$

Find the volume of the solid under the surface $z={x}^{3}$ and above the plane region bounded by $x=\text{sin}\phantom{\rule{0.2em}{0ex}}y,x=\text{\u2212}\text{sin}\phantom{\rule{0.2em}{0ex}}y,$ and $x=1$ for values of $y$ between $y=\frac{\u2013\pi}{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\frac{\pi}{2}$

Let $g$ be a positive, increasing, and differentiable function on the interval $\left[a,b\right].$ Show that the volume of the solid under the surface $z=g\prime \left(x\right)$ and above the region bounded by $y=0,$ $y=g\left(x\right),$ $x=a,$ and $x=b$ is given by $\frac{1}{2}\left({g}^{2}\left(b\right)-{g}^{2}\left(a\right)\right).$

Let $g$ be a positive, increasing, and differentiable function on the interval $\left[a,b\right],$ and let $k$ be a positive real number. Show that the volume of the solid under the surface $z=g\prime \left(x\right)$ and above the region bounded by $y=g\left(x\right),y=g\left(x\right)+k,x=a,$ and $x=b$ is given by $k\left(g\left(b\right)-g\left(a\right)\right).$

Find the volume of the solid situated in the first octant and determined by the planes $z=2,$ $z=0,x+y=1,x=0,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=0.$

Find the volume of the solid situated in the first octant and bounded by the planes $x+2y=1,$ $x=0,y=0,z=4,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}z=0.$

Find the volume of the solid bounded by the planes $x+y=1,x-y=1,x=0,z=0,$ and $z=10.$

Find the volume of the solid bounded by the planes $x+y=1,x-y=1,x+y=\mathrm{-1},$ $x-y=\mathrm{-1},z=1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}z=0.$

Let ${S}_{1}$ and ${S}_{2}$ be the solids situated in the first octant under the planes $x+y+z=1$ and $x+y+2z=1,$ respectively, and let $S$ be the solid situated between ${S}_{1},{S}_{2},x=0,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=0.$

- Find the volume of the solid ${S}_{1}.$
- Find the volume of the solid ${S}_{2}.$
- Find the volume of the solid $S$ by subtracting the volumes of the solids ${S}_{1}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{S}_{2}.$

Let ${S}_{1}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{S}_{2}$ be the solids situated in the first octant under the planes $2x+2y+z=2$ and $x+y+z=1,$ respectively, and let $S$ be the solid situated between ${S}_{1},{S}_{2},x=0,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=0.$

- Find the volume of the solid ${S}_{1}.$
- Find the volume of the solid ${S}_{2}.$
- Find the volume of the solid $S$ by subtracting the volumes of the solids ${S}_{1}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{S}_{2}.$

Let ${S}_{1}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{S}_{2}$ be the solids situated in the first octant under the plane $x+y+z=2$ and under the sphere ${x}^{2}+{y}^{2}+{z}^{2}=4,$ respectively. If the volume of the solid ${S}_{2}$ is $\frac{4\pi}{3},$ determine the volume of the solid $S$ situated between ${S}_{1}$ and ${S}_{2}$ by subtracting the volumes of these solids.

Let ${S}_{1}$ and ${S}_{2}$ be the solids situated in the first octant under the plane $x+y+z=2$ and bounded by the cylinder ${x}^{2}+{y}^{2}=4,$ respectively.

- Find the volume of the solid ${S}_{1}.$
- Find the volume of the solid ${S}_{2}.$
- Find the volume of the solid $S$ situated between ${S}_{1}$ and ${S}_{2}$ by subtracting the volumes of the solids ${S}_{1}$ and ${S}_{2}.$

**[T]** The following figure shows the region $D$ bounded by the curves $y=\text{sin}\phantom{\rule{0.2em}{0ex}}x,$ $x=0,$ and $y={x}^{4}.$ Use a graphing calculator or CAS to find the $x$-coordinates of the intersection points of the curves and to determine the area of the region $D.$ Round your answers to six decimal places.

**[T]** The region $D$ bounded by the curves $y=\text{cos}\phantom{\rule{0.2em}{0ex}}x,x=0,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{3}$ is shown in the following figure. Use a graphing calculator or CAS to find the *x*-coordinates of the intersection points of the curves and to determine the area of the region $D.$ Round your answers to six decimal places.

Suppose that $\left(X,Y\right)$ is the outcome of an experiment that must occur in a particular region $S$ in the $xy$-plane. In this context, the region $S$ is called the sample space of the experiment and $X\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}Y$ are random variables. If $D$ is a region included in $S,$ then the probability of $\left(X,Y\right)$ being in $D$ is defined as $P[\left(X,Y\right)\in D]={\displaystyle \underset{D}{\iint}p(x,y)dx\phantom{\rule{0.2em}{0ex}}dy},$ where $p(x,y)$ is the joint probability density of the experiment. Here, $p(x,y)$ is a nonnegative function for which $\underset{S}{\iint}p(x,y)dx\phantom{\rule{0.2em}{0ex}}dy=1}.$ Assume that a point $\left(X,Y\right)$ is chosen arbitrarily in the square $[0,3]\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}[0,3]$ with the probability density

$p(x,y)=\{\begin{array}{cc}\frac{1}{9}\hfill & (x,y)\in [0,3]\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}[0,3],\hfill \\ 0\hfill & \text{otherwise}\text{.}\hfill \end{array}$

Find the probability that the point $\left(X,Y\right)$ is inside the unit square and interpret the result.

Consider $X\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}Y$ two random variables of probability densities ${p}_{1}(x)$ and ${p}_{2}(x),$ respectively. The random variables $X\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}Y$ are said to be independent if their joint density function is given by $p(x,y)={p}_{1}(x){p}_{2}(y).$ At a drive-thru restaurant, customers spend, on average, $3$ minutes placing their orders and an additional $5$ minutes paying for and picking up their meals. Assume that placing the order and paying for/picking up the meal are two independent events $X$ and $Y.$ If the waiting times are modeled by the exponential probability densities

$\begin{array}{ccccccc}{p}_{1}(x)=\{\begin{array}{cc}\frac{1}{3}{e}^{\text{\u2212}x\text{/}3}\hfill & x\ge 0,\hfill \\ 0\hfill & \text{otherwise,}\hfill \end{array}\hfill & & & \text{and}\hfill & & & {p}_{2}(y)=\{\begin{array}{cc}\frac{1}{5}{e}^{\text{\u2212}y\text{/}5}\hfill & y\ge 0,\hfill \\ 0\hfill & \text{otherwise,}\hfill \end{array}\hfill \end{array}$

respectively, the probability that a customer will spend less than 6 minutes in the drive-thru line is given by $P\left[X+Y\le 6\right]={\displaystyle \underset{D}{\iint}p(x,y)dx\phantom{\rule{0.2em}{0ex}}dy},$ where $D=\left\{(x,y)\left\}\right|x\ge 0,y\ge 0,x+y\le 6\right\}.$ Find $P\left[X+Y\le 6\right]$ and interpret the result.

**[T]** The Reuleaux triangle consists of an equilateral triangle and three regions, each of them bounded by a side of the triangle and an arc of a circle of radius *s* centered at the opposite vertex of the triangle. Show that the area of the Reuleaux triangle in the following figure of side length $s$ is $\frac{{s}^{2}}{2}\left(\pi -\sqrt{3}\right).$

**[T]** Show that the area of the lunes of Alhazen, the two blue lunes in the following figure, is the same as the area of the right triangle *ABC*. The outer boundaries of the lunes are semicircles of diameters $AB\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}AC,$ respectively, and the inner boundaries are formed by the circumcircle of the triangle $ABC.$