Objectives
In this section you will...
practice setting up bounds and regions for double integrals.
compute basic double integrals.
understand how and why to switch the order of integration.
In this section you will...
practice setting up bounds and regions for double integrals.
compute basic double integrals.
understand how and why to switch the order of integration.
Before we introduce integration, let's practice using inequalities to describe regions in the plane. In first semester calculus, we often use the inequalities \(a\leq x\leq b\) and \(g(x)\leq y\leq f(x)\) to describe the region above \(g\) below \(f\) for \(x\) between \(a\) and \(b\text{.}\) We trapped \(x\) between two constants, and \(y\) between two functions. Sometimes we wrote \(c\leq y\leq d\) where \(g(y)\leq x\leq f(y)\) to describe the region to the right of \(g\) and left of \(f\) for \(y\) between \(c\) and \(d\text{.}\) We need to practice writing inequalities in this form, as these inequalities provide us the bounds of integration for double integrals.
Consider the region \(R\) in the \(xy\)-plane that is below the line \(y=x+2\text{,}\) above the line \(y=2\text{,}\) and left of the line \(x=5\text{.}\) We can describe this region by saying for each \(x\) with \(0\leq x\leq 5\text{,}\) we want \(y\) to satisfy \(2\leq y\leq x+2\text{.}\) In set builder notation, we would write
\begin{equation*} R=\{(x,y)\ | \ 0\leq x\leq 5, 2\leq y\leq x+2\}. \end{equation*}The symbols \(\{\) and \(\}\) are used to enclose sets, and the symbol \(|\) stands for “such that”. We read the above line as “\(R\) equals the set of \((x,y)\) such that zero is less than or equal to \(x\) which is less than or equal to 5, and 2 is less than or equal to \(y\) which is less than or equal to \(x+2\text{.}\)”
Describe the region \(R\) by saying for each \(y\) with \(c\leq y\leq d\text{,}\) we want \(x\) to satisfy \(a(y)\leq x\leq b(y)\text{.}\) In other words, find constants \(c\) and \(d\text{,}\) and functions \(a(y)\) and \(b(y)\text{,}\) so that for each \(y\) between \(c\) and \(d\text{,}\) the \(x\) values must be between the functions \(a(y)\) and \(b(y)\text{.}\)
If your struggling, then draw the 4 curves given by \(0=x\text{,}\) \(x= 5\text{,}\) \(2=y\) and \(y= x+2\text{.}\) Then shade either above, below, left, or right of the line (as appropriate).
Write your last answer in the set builder notation
\begin{equation*} R=\{(x,y)\ | \ c\leq y\leq d, a(y)\leq x\leq b(y)\}. \end{equation*}For each region \(R\) below, draw the region and give a set of inequalities of the form \(a\leq x\leq b, c(x)\leq y\leq d(x)\) or in the form \(c\leq y\leq d, a(y)\leq x\leq b(y)\text{.}\) In class, we'll give whichever one you did not.
The region \(R\) is above the line \(x+y=1\) and inside the circle \(x^2+y^2=1\text{.}\)
The region \(R\) is below the line \(y=8\text{,}\) above the curve \(y=x^2\text{,}\) and to the right of the \(y\)-axis.
The region \(R\) is bounded by \(2x+y=3\text{,}\) \(y=x\text{,}\) and \(x=0\text{.}\)
We're now ready to discuss double integrals. Just as single integrals gave us the area under a function over an interval, double integrals will give us the volume under a function, above a region in the plane. We'll introduce double integrals by looking at cross sections of a solid. You did this in first semester calculus, but you always used geometric shapes, for which we know the area, to create the cross sections. Let's start with a review of this idea, and then jump into double integrals.
Consider the parabola \(z=9-x^2\) for \(0\leq x\leq 3\text{.}\) Revolve this parabola half way around the \(z\)-axis, and compute the volume of the solid that is inside the paraboloid and above the \(xy\)-plane. Do so by considering horizontal semicircular cross sections.
The area of each cross section is the area of a semicircle, which is \(A=\frac{1}{2}\pi r^2 = \frac12 \pi x^2\) as the radius is \(x\text{.}\) We thicken each cross section up by multiplying by \(dz\text{,}\) the height of each circular disc. Since the height has a \(dz\text{,}\) we replace \(x\) with \(x=\sqrt{9-z}\) in the area formula to get a little bit of volume as \(dV = \frac{1}{2}\pi (\sqrt{9-z})^2 dz\text{.}\) The \(z\) values range from \(0\) to \(9\text{,}\) which means the volume of the solid is the integral
\begin{equation*} V =\int_0^9 \frac{1}{2}\pi (\sqrt{9-z})^2 dz =\frac{\pi}{2}\int_0^9 9-z dz =\frac{\pi}{2} \left(9z-\frac{z^2}{2}\right)\bigg|_0^9 =\frac{81\pi}{4} \end{equation*}Let's now consider the exact same solid, but instead of cutting horizontally, let's cut the object vertically. The first exercise has you cut the solid up using slices that are parallel to the \(x\)-axis (so keeping \(y\) constant). The next has you repeat the exercise, but this time using vertical slices that are parallel to the \(y\)-axis (so keeping \(x\) constant). The idea is exactly the same. Just find the area of a slice, thicken it up (using \(dx\) or \(dy\)), and then integrate.
Please click on this Sage link. In this picture, you'll see the solid \(D\) drawn. You'll also see several cross sections of the surface (half parabolas), each one obtained by letting \(y\) equal a constant (\(y=-2, -1,0,1,2\)). When \(y_i=0\text{,}\) the half parabola has area \(\int_0^3 9-x^2dx\text{.}\) When \(y_i=2\text{,}\) the half parabola has area \(\int_0^? 5-x^2dx\text{.}\)
When \(y=y_i\text{,}\) explain why the area of each of the cross sections from the first part is
\begin{equation*} A_{y=y_i}=\ds \int_0^{\sqrt{9-y_i^2}} (9-x^2-y_i^2) dx. \end{equation*}In the first Sage picture above, we cut the solid into 6 pieces. We could cut the solid into more pieces. Click on this Sage link to see what happens if we cut the solid into 12 pieces, and then fatten up each cross section by \(dy=1/2\) units, obtaining 12 tiny bits of volume \(dV\text{.}\)
Explain why the total volume of the solid \(D\) equals
\begin{equation*} \ds\int_{-3}^{3} \left(\int_0^{\sqrt{9-y^2}}(9-x^2-y^2) dx\right) dy. \end{equation*}The integral above is called an iterated integral because you first compute the inside integral and then you compute the outside integral (you iteratively integrate). Often the parentheses are not written because we know that the inside integral should be performed first without writing the parenthesis. We could also explicitly emphasize which variables go with each bound by writing
\begin{equation*} \ds\int_{y=-3}^{y=3} \left(\int_{x=0}^{x=\sqrt{9-y^2}}9-x^2-y^2 dx\right) dy. \end{equation*}This latter approach is not commonly used, but can save a beginner from making simple errors.
The bounds of the integral
\begin{equation*} \ds\int_{-3}^{3} \left(\int_0^{\sqrt{9-y^2}}(9-x^2-y^2) dx\right) dy \end{equation*}describe a region \(R\) in the plane, namely
\begin{equation*} -3\leq y\leq 3 \text{ and } 0\leq x\leq \sqrt{9-y^2}. \end{equation*}Click on this Sage link to see a picture of how you could obtain this answer by considering cross sections.
Draw this region \(R\) in the \(xy\)-plane.
Then give bounds to describe the region alternately by first stating constants which trap \(x\) (so \(a\leq x\leq b\)) and then functions which trap \(y\) (so \(c(x)\leq y \leq d(x)\)).
Use these new bounds to write an iterated integral
\begin{equation*} \ds\int_{x=a}^{x=b} \left(\int_{y=c(x)}^{y=d(x)}9-x^2-y^2 dy\right) dx \end{equation*}that gives the exact same volume of the solid \(D\) from the previous problem.
Consider the solid domain \(D\) in space that is beneath the surface \(f(x,y)=9-x^2-y^2\) and above the \(xy\)-plane, where the \(x\) values satisfy \(x\geq 0\text{.}\) The region is half of a parabolic solid. Our goal in this exercise is to find the volume of the solid \(D\text{.}\) This is the same solid referred to in the previous two exercises.
See Sage.
Draw the solid \(D\text{.}\)
The plane \(x=0\) intersects the solid in a parabola \(z=9-y^2\text{.}\) Sketch this parabola in your 3D drawing. The area under this parabola is \(A_{x=0} = \int_{-3}^3 9-(0)^2-(y)^2 \ dy\text{.}\)
Similarly, the plane \(x=1\) intersects the solid in half a parabola \(z=9-1^2-y^2\text{.}\)
Sketch this parabola in your 3D drawing.
Find a values \(c\) and \(d\) so that the area under this parabola is given by the formula \(A_x(1)=\int_c^{d} 9-(1)^2-(y)^2 \ dy\text{.}\)
The plane \(x=2\) intersects the solid in half a parabola (draw this parabola). Find the values \(c\) and \(d\) so that the area under this parabola is \(A_x(2)=\int_c^d 9-(2)^2-(y)^2 \ dx\text{.}\)
For which \(x\)-values \(x_0\) does the plane \(x=x_0\) intersect the paraboloid.
You should obtain an inequality \(a\leq x\leq b\) where \(a\) and \(b\) are constants. For \(c\leq y\leq d\text{,}\) you should have functions of \(x\) for both \(c\) and \(d\text{.}\) If both involve square roots, you're on the right track.
For each of these values, what should \(c\) and \(d\) equal so that \(A_x(x_0) = \int_c^d 9-x_0^2-y^2 dy\) gives the area under the half parabola obtained when the plane \(x=x_0\) intersects the surface.
Imagine now that you cut the surface into 6 pieces, using the plane \(x=x_0\) for each \(x_0\) in \(\{0,0.5,1,1.5,2, 2.5,3\}\text{.}\) Let \(x_0=0\text{,}\) \(x_1=0.5\text{,}\) \(\ldots\text{,}\) \(x_{6}=3\text{.}\) The change in \(x\) between each point is \(dx=0.5\text{.}\) In the plane \(x=x_i\text{,}\) we know the area under the surface is \(A_x(x_i) = \int_{c_i}^{d_i} 9-(x_i)^2-y^2 dy\) (where you found \(c_i\) and \(d_i\) in the last part). If we multiply this area by the thickness \(dx=0.5\text{,}\) we obtain the volume of a solid (think \(dV=(A_x)dx\)).
Draw this solid in your picture for \(x_i = 1\text{.}\)
Explain why the volume of \(D\) equals \(\ds\int_{0}^{3} \left(\int_{-\sqrt{9-x^2}}^{\sqrt{9-x^2}}9-x^2-y^2 dy\right) dx\text{.}\)
Use a computer to first compute the inside integral (you should have \(x\) values left after you integrate the inside), and then compute the outside integral (which should leave you with a single number). This number is the volume of \(D\text{.}\)
The first two exercises show that the volume of \(D\) can be given by
\begin{equation*} V=\ds\int_{-3}^{3} \left(\int_0^{\sqrt{9-y^2}}9-x^2-y^2 dx\right) dy = \ds\int_{0}^{3} \left(\int_{-\sqrt{9-x^2}}^{\sqrt{9-x^2}}9-x^2-y^2 dy\right) dx. \end{equation*}We have two completely different iterated integrals that result in the exact same volume. In both integrals, the bounds on \(x\) and \(y\) describe a semicircular region \(R\) in the \(xy\) plane. The region \(R\) is fully described by using the inequalities \(-3\leq y\leq 3\) and \(0\leq x\leq \sqrt{9-y^2}\) from the first integral, or using the inequalities \(0\leq x\leq 3\) and \(-\sqrt{9-x^2}\leq y\leq \sqrt{9-x^2}\) from the second integral.
In the previous exercises, we computed the volume of solid by considering cross sections of the solid. We could also cut the solid up in both the \(x\) and \(y\) dimensions. This would result in tiny rectangles in the \(xy\) plane with area \(dA=dxdy=dydx\text{,}\) and the solid would have height \(f(x,y)\) above these rectangles. This means we would have a little bit of volume written as
\begin{equation*} dV=fdA=fdxdy=fdydx. \end{equation*}Adding up these little bits of volume gives us the double integral
\begin{equation*} V = \iint_R fdA=\iint_R fdydx=\iint_R fdxdy. \end{equation*}We can either set up the bounds with \(x\) on the inside, or \(y\) on the inside. We'll get the same answer. When we set up the integral with bounds, we call it an iterated integral, and write.
\begin{equation*} \ds \int_a^b \int_{c(x)}^{d(x)}f(x,y)dydx \text{ or } \ds \int_c^d \int_{a(y)}^{b(y)}f(x,y)dxdy. \end{equation*}A double integral is written \(\ds \iint_R f(x,y)dA\text{.}\) We just have to state what the region \(R\) is to talk about a double integral. The formal definition of a double integrals involves slicing the region \(R\) up into tiny rectangles of area \(dxdy\text{,}\) multiplying each rectangle by a height \(f\text{,}\) and then summing over all rectangles. This process is repeated as the length and width of the rectangles shrinks to zero at similar rates, with the double integral being the limit of this process.
An iterated integral is a double integral where we have actually set up the bounds as either
\begin{equation*} \ds \int_a^b \int_{c(x)}^{d(x)}f(x,y)dydx \text{ or } \ds \int_c^d \int_{a(y)}^{b(y)}f(x,y)dxdxy. \end{equation*}We'll focus mostly on setting up iterated integrals in this course.
Consider the region \(R\) in the plane that is bounded by the line \(y=x+2\) and the parabola \(y=x^2-4\text{.}\) Distances are measured in \(cm\text{.}\)
As you work through this problem, check your work with the link in the margin or the Sage-Cell below. You can use this Sage link to check any double integral. If you think you have the bounds right, use this Sage link to draw the region your bounds describe. If it doesn't the draw the region you thought, then your bounds are off. Trial and error is a powerful tool here. You've got to try, and fail, and then make adjustments. This is the key to mastering double integrals.
Check your work with this Double Integral Checker written in Sage.
Draw the region \(R\text{,}\) and give bounds of the form \(a\leq x\leq b\text{,}\) \(c(x)\leq y\leq d(x)\) to describe the region.
Suppose a metal plate occupies the region \(R\text{.}\) The metal plate was constructed to have a density of \(\delta (x,y)=(y+4)\) g/\(cm^2\text{.}\)
Explain why the mass of the plate is the double integral \(\ds\iint_R \delta dA\text{.}\)
Set up an iterated integral (use the bounds from part 1) to compute the double integral \(\ds\iint_R (y+4) dA\text{.}\)
Now compute the integral starting with the inside integral, followed by the outside integral.
Consider the iterated integral \(\ds \int_0^3\int_x^3 e^{y^2}dydx\text{.}\) This integral as written cannot (easily) be computed by hand. However, with a little math magic, we can...
Write the bounds as two inequalities (\(0\leq x\leq 3\) and \(?\leq y\leq ?\)). Then draw and shade the region \(R\) described by these two inequalities.
We want to swap the order of integration from \(dydx\) to \(dxdy\text{.}\) This requires you to describe new bounds for the integrals. The new bounds will define \(x\) as a function of \(y\text{.}\) This is the key to swapping the order of integration.
Write new bounds to describe the region using two inequalities of the form \(c\leq y\leq d\) and \(a(y)\leq x\leq b(y)\text{.}\)
Use your new bounds to compute the integral by hand (you'll need a \(u\)-substitution \(u=y^2\) on the outer integral).
Now use Sage to check your work.
Then also use Sage to compute the original the original integral \(\ds \int_0^3\int_x^3 e^{y^2}dydx\text{,}\) and tell us what the inner integral equals (if you see \(i\text{,}\) \(\sqrt{\pi}\text{,}\) and erf, then you did this correctly).
The process above of swapping integrals is formalized in "Fubini's Theorem" which I'll provide in-class if I don't replace this text. Just ask me!
Consider the region \(R\) in the plane that is trapped between the curves \(x=2y\) and \(x=y^2\text{.}\) We would like to compute \(\iint_R (-y) dA\) over this region \(R\text{.}\) Set up both iterated integrals (i.e. with both \(dxdy\) and \(dydx\)). Then compute one of them. Explain why your answer is negative.
These are provided to help you achieve better skills in basic computational answers.