Integrating functions of one variable did not require special setup or techniques because every integration region is just an interval or a finite sum of intervals. Intervals are the one-dimensional analogue to rectangles, so the ease their computation makes sense. Integration of two-dimensional regions takes more care, though, since we can easily have non-rectangular regions over which we would like to integrate. We integrate a function $f(x,y)$ over a bounded general region $D$ by assuming that it may be contained in a rectangle $R$ (this is what makes it bounded) and define a new function $F(x,y)$ in the rectangle so that
$$
\def\ihat{\mathbf{\hat{\mmlToken{mi}[mathvariant="bold"]{ı}}}}
\def\jhat{\mathbf{\hat{\mmlToken{mi}[mathvariant="bold"]{ȷ}}}}
\def\khat{\mathbf{\hat{k}}}
\newcommand{\pzi}[2][]{\dfrac{\partial #1}{\partial #2}}
F(x,y) = \left\{ \begin{array}{ccl} f(x,y) & \quad & (x,y)\in D \\ 0 & \quad & (x,y)\in R\setminus D \end{array}\right.
$$
where $(x,y)\in R\setminus D$ means that $(x,y)$ is in $R$ but not in $D$.
If the function $F$ is integrable over the region $R$, we define the following:
Definition ¶
The double integral of $f$ over $D$ is
$$ \iint_D f(x,y)\,dA = \iint_R F(x,y)\,dA $$
where
$$ F(x,y) = \left\{ \begin{array}{ccl} f(x,y) & \quad & (x,y)\in D \\ 0 & \quad & (x,y)\in R\setminus D \end{array}\right. $$
By setting things up like this, we get to use the previous definition of integrating over rectangle that we had from last section. This means that our integral $\iint_R F(x,y)\,dA$ is meaningfully defined and $\iint_D f(x,y)\,dA$ can be interpreted to be the volume of a solid which is bounded above by the surface $z = f(x,y)$ and below by $D$.
It is possible to find the volume between $D$ and this surface $z = f(x,y)$ so long as the curve bounding $D$ is"nice." Defining this precisely and proving the condition we choose valid is (way) beyond the scope of this class, but suppose at minimum the boundary is piecewise smooth , that is, the boundary may be written as a finite collection of smooth (differentiable) curves.
We commonly separate the planar regions we wish to integrate into types, so that we may set up iterated integrals to evaluate them. We call these regions type I and type II . A type I region is one whose boundaries may be expressed in terms of a function of $x$ and a type II region is one whose boundaries may be expressed as a function of $y$.
Definition ¶
- A type I planar region is given by
$$ D = \left\{ (x,y) : x\in [a,b], g_1(x) \leq y \leq g_2(x) \right\} $$ where $g_1$ and $g_2$ are continuous functions on $[a,b]$.
- A type II planar region is given by
$$ D = \left\{ (x,y) : y\in [c,d], h_1(y) \leq x \leq h_2(y) \right\} $$ where $h_1$ and $h_2$ are continuous functions on $[c,d]$.
The regions depicted here are
type I
, so they are contained within an interval $[a,b]$ in the $x$-direction and by two functions of $x$, $g_1(x)$ and $g_2(x)$ in the $y$-direction. For these types of regions, we compute the double integral of $f$ over $D$ by writing it as an iterated integral
$$ \iint_D f(x,y)\,dA = \int_a^b \int_{g_1(x)}^{g_2(x)} f(x,y)\,dy\,dx $$
Note that here we integrate with respect to $y$ first. When we evaluate the integral with respect to $y$, we will use the functions $g_1$ and $g_2$ as our limits and then evaluate the second integral with respect to $x$, yielding the numerical value for definite integral.
For type II regions, we see that the lower and upper limits are given by an interval of $y$-values $[c,d]$ and the left and right boundaries are defined by function of $x$, $h_1(x)$ and $h_2(x)$. Therefore, the iterated integrals for these regions have the form
$$ \iint_D f(x,y)\,dA = \int_c^d \int_{h_1(y)}^{h_2(y)} f(x,y)\,dx\,dy $$
where we integrate with respect to $x$ first.
Evaluate the double integral
$$ \iint_D \dfrac{y}{x^2 + 1}\,dA $$
where $D = \left\{(x,y) : x\in [0,4],0\leq y \leq \sqrt{x}\right\}$.
The first step for this problem is the sketch the region to make sure that we have a clear understanding of the integration domain.
The arrowed line in the middle indicates the direction of the interior integral with respect to $y$. We compute this first, then "slide" that line from left to right over $[0,4]$ as we integrate with respect to $x$. Therefore, the iterated integral has the form
$$ \iint_D \dfrac{y}{x^2 + 1}\,dA = \int_0^4 \int_{y\,=\,0}^{y\,=\,\sqrt{x}} \dfrac{y}{x^2 + 1}\,dy\,dx $$
We now evaluate
$$ \begin{align*}
\int_0^4 \int_{y\,=\,0}^{y\,=\,\sqrt{x}} \dfrac{y}{x^2 + 1}\,dy\,dx &= \int_0^4 \left[ \int_{y\,=\,0}^{y\,=\,\sqrt{x}} \dfrac{y}{x^2 + 1}\,dy\right]\,dx \\
\\
&= \int_0^4 \left[ \left.\dfrac{y^2}{2(x^2+1)}\right|_{\, y\,=\,0}^{\, y\,=\,\sqrt{x}}\right]\,dx \\
\\
&= \int_0^4 \left[ \dfrac{\left(\sqrt{x}\right)^2}{2(x^2+1)} - \dfrac{(0)^2}{2(x^2+1)} \right]\,dx \\
\\
&= \int_0^4 \dfrac{x}{2(x^2+1)}\, dx \\
\\
&= \left|\begin{array}{cl} u = x^2+1 & 4\rightarrow (4)^2 + 1 = 17 \\ du = 2x\,dx & 0 \rightarrow (0)^2+1 = 1 \end{array}\right| \\
\\
&= \dfrac{1}{4} \int_1^{17} \dfrac{du}{u} \\
\\
&= \left.\left(\dfrac{1}{4}\ln |u|\right)\right|_1^{17} \\
\\
&= \dfrac{1}{4}\ln 17
\end{align*} $$
Evaluate the iterated integral
$$ \int_0^\frac{\pi}{2} \int_0^x x\sin y\,dy\,dx $$
Evaluate the iterated integral
$$ \int_0^1 \int_0^{e^y} \sqrt{1 + e^y}\,dx\,dy $$
Since our problem is already presented as an iterated integral, we do not need to sketch the region prior to beginning, but it is generally good practice to do so.
Evaluating the integral:
$$ \begin{align*}
\int_0^1 \int_0^{e^y} \sqrt{1 + e^y}\,dx\,dy &= \int_0^1 \left[\int_0^{e^y} \sqrt{1 + e^y}\,dx\right]\,dy \\
\\
&= \int_0^1 \left[ \left. x\sqrt{1 + e^y}\right|_{\,x\,=\,0}^{\,x\,=\,e^y} \right]\,dy \\
\\
&= \int_0^1 e^y\sqrt{1 + e^y}\,dy \\
\\
&= \left| \begin{array}{cl} u = 1 + e^y & 1\rightarrow 1 + e^1 = 1 + e \\ du = e^y\,dy & 0\rightarrow 1 + e^0 = 2 \end{array} \right| \\
\\
&= \int_2^{1+e} \sqrt{u}\,du \\
\\
&= \left.\dfrac{2}{3}u^\frac{3}{2}\right|_{\,2}^{\,1+e} \\
\\
&= \dfrac{2}{3}\left((1+e)^\frac{3}{2} - 2^\frac{3}{2}\right) \\
\\
&= \dfrac{2}{3}\left((1+e)^\frac{3}{2} - 2\sqrt{2}\right)
\end{align*} $$
Evaluate the double integral
$$ \iint_D y^2\,dA $$
where $D$ is the triangular region with vertices $(0,1)$, $(1,2)$, and $(4,1)$.
At the beginning of the section, we were careful to relate integrating over a general region to integration over rectangular regions. One of the things we gain from this is the ability to use Fubini's theorem. This means that we may integrate a general region with respect to $x$ and $y$ in either order. It is often the case that an integral is easier to compute in one direction than it is in the other. This is why we have been practicing making sketches for the region, so that we can use the sketches to change the integration order when it is convenient.
Evaluate the iterated integral
$$ \int_0^4 \int_{y\,=\,\frac{1}{2}x}^{y\,=\,2} \cos\left(y^2\right)\,dy\,dx $$
Following the integration order as written here leaves with the unpleasant task of attempting to integrate $\cos\left(y^2\right)$. However, if we sketch the region we will see that this region is both type I and type II, so it is possible to use Fubini's theorem to change the order of integration.
After sketching the region as given, we see that it is bounded in the $y$ direction by $[0,2]$ and in the $x$ direction by the curves $x = 0$ and $x = 2y$. This allows us to rewrite the iterated integral with a new order of integration
$$ \int_0^2 \int_{x\,=\,0}^{x\,=\,2y} \cos\left(y^2\right)\,dx\,dy $$
We now evaluate by integrating with respect to $x$ first and hoping that it will provide us with some help resolving the integral of $\cos\left(y^2\right)$.
$$ \begin{align*}
\int_0^2 \int_{x\,=\,0}^{x\,=\,2y} \cos\left(y^2\right)\,dx\,dy &= \int_0^2 \left[ \int_{x\,=\,0}^{x\,=\,2y} \cos\left(y^2\right)\,dx\right]\,dy \\
\\
&= \int_0^2 \left[ \left. x\cos\left(y^2\right)\right|_{\,x\,=\,0}^{\,x\,=\,2y}\right]\,dy \\
\\
&= \int_0^2 2y\cos\left(y^2\right)\,dy
\end{align*} $$
We see that yes, integrating with respect to $x$ first gives us a factor of $2y$ that will allow us to integrate the much easier $2y\cos\left(y^2\right)$ by substitution.
$$ \begin{align*}
\int_0^2 2y\cos\left(y^2\right)\,dy &= \left|\begin{array}{cl} u = y^2 & 2\rightarrow (2)^2 = 4 \\ du = 2y\,dy & 0\rightarrow (0)^2 = 0 \end{array}\right| \\
\\
&= \int_0^4 \cos u\,du \\
\\
&= \cos(4) - 1
\end{align*} $$
Evaluate the double integral
$$ \iint_D y^2 e^{xy}\,dA $$
where the region $D$ is bounded by the curves $y = x$, $y = 4$, and $x = 0$.
Creative Commons Attribution-NonCommercial-ShareAlike 4.0
Attribution
You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Noncommercial
You may not use the material for commercial purposes.
Share Alike
You are free to share, copy and redistribute the material in any medium or format. If you adapt, remix, transform, or build upon the material, you must distribute your contributions under the
same license
as the original.