Skip to main content
Mathematics LibreTexts

11.3: Double Integrals over General Regions

  • Page ID
    107870
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Motivating Questions
    • How do we define a double integral over a non-rectangular region?
    • What general form does an iterated integral over a non-rectangular region have?

    Recall that we defined the double integral of a continuous function \(f = f(x,y)\) over a rectangle \(R = [a,b] \times [c,d]\) as

    \[ \iint_R f(x,y) \, dA = \lim_{m,n \to \infty} \sum_{j=1}^n \sum_{i=1}^m f(x_{ij}^*, y_{ij}^*) \cdot \Delta A, \nonumber \]

    where the notation is as described in Section 11.1. Furthermore, we have seen that we can evaluate a double integral \(\iint_R f(x,y) \, dA\) over \(R\) as an iterated integral of either of the forms

    \[ \int_a^b \int_c^d f(x,y) \, dy \, dx \ \ \ \ \ \text{ or } \ \ \ \ \ \int_c^d \int_a^b f(x,y) \, dx \, dy. \nonumber \]

    It is natural to wonder how we might define and evaluate a double integral over a non-rectangular region; we explore one such example in the following preview activity.

    Preview Activity \(\PageIndex{1}\)

    A tetrahedron is a three-dimensional figure with four faces, each of which is a triangle. A picture of the tetrahedron \(T\) with vertices \((0,0,0)\text{,}\) \((1,0,0)\text{,}\) \((0,1,0)\text{,}\) and \((0,0,1)\) is shown at left in Figure \(\PageIndex{1}\). If we place one vertex at the origin and let vectors \(\mathbf{a}\text{,}\) \(\mathbf{b}\text{,}\) and \(\mathbf{c}\) be determined by the edges of the tetrahedron that have one end at the origin, then a formula that tells us the volume \(V\) of the tetrahedron is

    \[ V = \frac{1}{6} \lvert \mathbf{a} \cdot (\mathbf{b} \times \mathbf{c}) \rvert.\label{eq_11_3_tetrahedron_volume}\tag{\(\PageIndex{1}\)} \]

    fig_11_3_tetrahedron.svg fig_11_3_tetra_project.svg

    Figure \(\PageIndex{1}\). Left: The tetrahedron \(T\text{.}\) Right: Projecting \(T\) onto the \(xy\)-plane.
    1. Use the formula (\(\PageIndex{1}\)) to find the volume of the tetrahedron \(T\text{.}\)
    2. Instead of memorizing or looking up the formula for the volume of a tetrahedron, we can use a double integral to calculate the volume of the tetrahedron \(T\text{.}\) To see how, notice that the top face of the tetrahedron \(T\) is the plane whose equation is
      \[ z = 1-(x+y). \nonumber \]

      Provided that we can use an iterated integral on a non-rectangular region, the volume of the tetrahedron will be given by an iterated integral of the form

      \[ \int_{x=?}^{x=?} \int_{y=?}^{y=?} 1-(x+y) \, dy \, dx. \nonumber \]

      The issue that is new here is how we find the limits on the integrals; note that the outer integral's limits are in \(x\text{,}\) while the inner ones are in \(y\text{,}\) since we have chosen \(dA = dy \, dx\text{.}\) To see the domain over which we need to integrate, think of standing way above the tetrahedron looking straight down on it, which means we are projecting the entire tetrahedron onto the \(xy\)-plane. The resulting domain is the triangular region shown at right in Figure \(\PageIndex{1}\). Explain why we can represent the triangular region with the inequalities

      \[ 0 \leq y \leq 1-x \ \ \ \text{ and } \ \ \ 0 \leq x \leq 1. \nonumber \]

      (Hint: Consider the cross sectional slice shown at right in Figure \(\PageIndex{1}\).)

    3. Explain why it makes sense to now write the volume integral in the form
      \[ \int_{x=?}^{x=?} \int_{y=?}^{y=?} 1-(x+y) \, dy \, dx = \int_{x=0}^{x=1} \int_{y=0}^{y=1-x} 1-(x+y) \, dy \, dx. \nonumber \]
    4. Use the Fundamental Theorem of Calculus to evaluate the iterated integral
      \[ \int_{x=0}^{x=1} \int_{y=0}^{y=1-x} 1-(x+y) \, dy \, dx \nonumber \]

      and compare to your result from part (a). (As with iterated integrals over rectangular regions, start with the inner integral.)

    Double Integrals over General Regions

    So far, we have learned that a double integral over a rectangular region may be interpreted in one of two ways:

    • \(\iint_R f(x,y) \, dA\) tells us the volume of the solids the graph of \(f\) bounds above the \(xy\)-plane over the rectangle \(R\) minus the volume of the solids the graph of \(f\) bounds below the \(xy\)-plane under the rectangle \(R\text{;}\)
    • \(\frac{1}{A(R)} \iint_R f(x,y) \, dA\text{,}\) where \(A(R)\) is the area of \(R\) tells us the average value of the function \(f\) on \(R\text{.}\) If \(f(x, y) \geq 0\) on \(R\text{,}\) we can interpret this average value of \(f\) on \(R\) as the height of the box with base \(R\) that has the same volume as the volume of the surface defined by \(f\) over \(R\text{.}\)

    As we saw in Preview Activity 11.1.1, a function \(f = f(x,y)\) may be considered over regions other than rectangular ones, and thus we want to understand how to set up and evaluate double integrals over non-rectangular regions. Note that if we can, then the two interpretations of the double integral noted above will naturally extend to solid regions with non-rectangular bases.

    So, suppose \(f\) is a continuous function on a closed, bounded domain \(D\text{.}\) For example, consider \(D\) as the circular domain shown at left in Figure \(\PageIndex{2}\).

    fig_11_3_circular.svgfig_11_3_circular_rect.svg 

    Figure \(\PageIndex{2}\). Left: A non-rectangular domain. Right: Enclosing this domain in a rectangle.

    We can enclose \(D\) in a rectangular domain \(R\) as shown at right in Figure \(\PageIndex{2}\) and extend the function \(f\) to be defined over \(R\) in order to be able to use the definition of the double integral over a rectangle. We extend \(f\) in such a way that its values at the points in \(R\) that are not in \(D\) contribute 0 to the value of the integral. In other words, define a function \(F = F(x, y)\) on \(R\) as

    \[ F(x,y) = \begin{cases}f(x,y), & \text{ if } (x,y) \in D, \\[4pt] 0, & \text{ if } (x,y) \not\in D \end{cases} . \nonumber \]

    We then say that the double integral of \(f\) over \(D\) is the same as the double integral of \(F\) over \(R\text{,}\) and thus

    \[ \iint_D f(x,y) \, dA = \iint_R F(x,y) \, dA. \nonumber \]

    In practice, we just ignore everything that is in \(R\) but not in \(D\text{,}\) since these regions contribute 0 to the value of the integral.

    Just as with double integrals over rectangles, a double integral over a domain \(D\) can be evaluated as an iterated integral. If the region \(D\) can be described by the inequalities \(g_1(x) \leq y \leq g_2(x)\) and \(a \leq x \leq b\text{,}\) where \(g_1=g_1(x)\) and \(g_2=g_2(x)\) are functions of only \(x\text{,}\) then

    \[ \iint_D f(x,y) \, dA = \int_{x=a}^{x=b} \int_{y=g_1(x)}^{y=g_2(x)} f(x,y) \, dy \, dx. \nonumber \]

    Alternatively, if the region \(D\) is described by the inequalities \(h_1(y) \leq x \leq h_2(y)\) and \(c \leq y \leq d\text{,}\) where \(h_1=h_1(y)\) and \(h_2=h_2(y)\) are functions of only \(y\text{,}\) we have

    \[ \iint_D f(x,y) \, dA = \int_{y=c}^{y=d} \int_{x=h_1(y)}^{x=h_2(y)} f(x,y) \, dx \, dy. \nonumber \]

    The structure of an iterated integral is of particular note:

    In an iterated double integral:

    • the limits on the outer integral must be constants;
    • the limits on the inner integral must be constants or in terms of only the remaining variable — that is, if the inner integral is with respect to \(y\text{,}\) then its limits may only involve \(x\) and constants, and vice versa.

    We next consider a detailed example.

    Example \(\PageIndex{3}\)

    Let \(f(x,y) = x^2y\) be defined on the triangle \(D\) with vertices \((0,0)\text{,}\) \((2,0)\text{,}\) and \((2,3)\) as shown at left in Figure \(\PageIndex{3}\).

    fig_11_3_triangular.svg fig_11_3_triangular_v.svgfig_11_3_triangular_h.svg 

    Figure \(\PageIndex{3}\). A triangular domain and slices in the \(y\) and \(x\) directions.

    To evaluate \(\iint_D f(x,y) \, dA\text{,}\) we must first describe the region \(D\) in terms of the variables \(x\) and \(y\text{.}\) We take two approaches.

    Approach 1: Integrate first with respect to \(y\text{.}\)

    In this case we choose to evaluate the double integral as an iterated integral in the form

    \[ \iint_D x^2y \, dA = \int_{x=a}^{x=b} \int_{y=g_1(x)}^{y=g_2(x)} x^2y \, dy \, dx, \nonumber \]

    and therefore we need to describe \(D\) in terms of inequalities

    \[ g_1(x) \leq y \leq g_2(x) \ \ \ \ \ \text{ and } \ \ \ \ \ a \leq x \leq b. \nonumber \]

    Since we are integrating with respect to \(y\) first, the iterated integral has the form

    \[ \iint_D x^2y \, dA =\int_{x=a}^{x=b} A(x) \, dx, \nonumber \]

    where \(A(x)\) is a cross sectional area in the \(y\) direction. So we are slicing the domain perpendicular to the \(x\)-axis and want to understand what a cross sectional area of the overall solid will look like. Several slices of the domain are shown in the middle image in Figure \(\PageIndex{4}\). On a slice with fixed \(x\) value, the \(y\) values are bounded below by 0 and above by the \(y\) coordinate on the hypotenuse of the right triangle. Thus, \(g_1(x) = 0\text{;}\) to find \(y = g_2(x)\text{,}\) we need to write the hypotenuse as a function of \(x\text{.}\) The hypotenuse connects the points (0,0) and (2,3) and hence has equation \(y = \frac{3}{2}x\text{.}\) This gives the upper bound on \(y\) as \(g_2(x) = \frac{3}{2}x\text{.}\) The leftmost vertical cross section is at \(x=0\) and the rightmost one is at \(x=2\text{,}\) so we have \(a=0\) and \(b=2\text{.}\) Therefore,

    \[ \iint_D x^2y \, dA = \int_{x=0}^{x=2} \int_{y=0}^{y = \frac32 x} x^2y \, dy \, dx. \nonumber \]

    We evaluate the iterated integral by applying the Fundamental Theorem of Calculus first to the inner integral, and then to the outer one, and find that

    \begin{align*} \int_{x=0}^{x=2} \int_{y=0}^{y=\frac32 x} x^2y \, dy \, dx & = \int_{x=0}^{x=2} \left[x^2 \cdot \frac{y^2}{2}\right]\biggm|_{y=0}^{y=\frac32 x} \, dx\\[4pt] & = \int_{x=0}^{x=2} \frac{9}{8}x^4\, dx\\[4pt] & = \frac{9}{8}\frac{x^5}{5}\biggm|_{x=0}^{x=2}\\[4pt] & = \left(\frac{9}{8}\right) \left(\frac{32}{5}\right)\\[4pt] & = \frac{36}{5}. \end{align*}
    Approach 2: Integrate first with respect to \(x\text{.}\)

    In this case, we choose to evaluate the double integral as an iterated integral in the form

    \[ \iint_D x^2y \, dA = \int_{y=c}^{y=d} \int_{x=h_1(y)}^{x=h_2(y)} x^2y \, dx \, dy \nonumber \]

    and thus need to describe \(D\) in terms of inequalities

    \[ h_1(y) \leq x \leq h_2(y) \ \ \ \ \ \text{ and } \ \ \ \ \ c \leq y \leq d. \nonumber \]

    Since we are integrating with respect to \(x\) first, the iterated integral has the form

    \[ \iint_D x^2y \, dA = \int_c^d A(y) \, dy, \nonumber \]

    where \(A(y)\) is a cross sectional area of the solid in the \(x\) direction. Several slices of the domain — perpendicular to the \(y\)-axis — are shown at right in Figure \(\PageIndex{3}\). On a slice with fixed \(y\) value, the \(x\) values are bounded below by the \(x\) coordinate on the hypotenuse of the right triangle and above by 2. So \(h_2(y) = 2\text{;}\) to find \(h_1(y)\text{,}\) we need to write the hypotenuse as a function of \(y\text{.}\) Solving the earlier equation we have for the hypotenuse (\(y = \frac32 x\)) for \(x\) gives us \(x = \frac{2}{3}y\text{.}\) This makes \(h_1(y) = \frac{2}{3}y\text{.}\) The lowest horizontal cross section is at \(y=0\) and the uppermost one is at \(y=3\text{,}\) so we have \(c=0\) and \(d=3\text{.}\) Therefore,

    \[ \iint_D x^2y \, dA = \int_{y=0}^{y=3} \int_{x=(2/3)y}^{x=2} x^2y \, dx \, dy. \nonumber \]

    We evaluate the resulting iterated integral as before by twice applying the Fundamental Theorem of Calculus, and find that

    \begin{align*} \int_{y=0}^{y=3} \int_{x=\frac{2}{3}y}^{2} x^2y \, dx \, dy & = \int_{y=0}^{y=3} \left[\frac{x^3}{3}\right]\biggm|_{x=\frac{2}{3}y}^{x=2}y \, dx\\[4pt] & = \int_{y=0}^{y=3} \left[\frac{8}{3}y - \frac{8}{81}y^4 \right] \, dy\\[4pt] & = \left[\frac{8}{3}\frac{y^2}{2} - \frac{8}{81}\frac{y^5}{5}\right]\biggm|_{y=0}^{y=3}\\[4pt] & = \left(\frac{8}{3}\right) \left(\frac{9}{2}\right) - \left(\frac{8}{81}\right) \left(\frac{243}{5}\right)\\[4pt] & = 12 - \frac{24}{5}\\[4pt] & = \frac{36}{5}. \end{align*}

    We see, of course, that in the situation where \(D\) can be described in two different ways, the order in which we choose to set up and evaluate the double integral doesn't matter, and the same value results in either case.

    The meaning of a double integral over a non-rectangular region, \(D\text{,}\) parallels the meaning over a rectangular region. In particular,

    • \(\iint_D f(x,y) \, dA\) tells us the volume of the solids the graph of \(f\) bounds above the \(xy\)-plane over the closed, bounded region \(D\) minus the volume of the solids the graph of \(f\) bounds below the \(xy\)-plane under the region \(D\text{;}\)
    • \(\frac{1}{A(D)} \iint_R f(x,y) \, dA\text{,}\) where \(A(D)\) is the area of \(D\) tells us the average value of the function \(f\) on \(D\text{.}\) If \(f(x, y) \geq 0\) on \(D\text{,}\) we can interpret this average value of \(f\) on \(D\) as the height of the solid with base \(D\) and constant cross-sectional area \(D\) that has the same volume as the volume of the surface defined by \(f\) over \(D\text{.}\)
    Activity \(\PageIndex{2}\)

    Consider the double integral \(\iint_D (4-x-2y) \, dA\text{,}\) where \(D\) is the triangular region with vertices (0,0), (4,0), and (0,2).

    1. Write the given integral as an iterated integral of the form \(\iint_D (4-x-2y) \, dy \, dx\text{.}\) Draw a labeled picture of \(D\) with relevant cross sections.
    2. Write the given integral as an iterated integral of the form \(\iint_D (4-x-2y) \, dx \, dy\text{.}\) Draw a labeled picture of \(D\) with relevant cross sections.
    3. Evaluate the two iterated integrals from (a) and (b), and verify that they produce the same value. Give at least one interpretation of the meaning of your result.
    Activity \(\PageIndex{3}\)

    Consider the iterated integral \(\int_{x=0}^{x=1} \int_{y=x}^{y=\sqrt{x}} (4x+10y) \, dy \, dx\text{.}\)

    1. Sketch the region of integration, \(D\text{,}\) for which
      \[ \iint_D (4x + 10y) \, dA = \int_{x=0}^{x=1} \int_{y=x}^{y=\sqrt{x}} (4x+10y) \, dy \, dx. \nonumber \]
    2. Determine the equivalent iterated integral that results from integrating in the opposite order (\(dx \, dy\text{,}\) instead of \(dy \, dx\)). That is, determine the limits of integration for which
      \[ \iint_D (4x + 10y) \, dA = \int_{y=?}^{y=?} \int_{x=?}^{x=?} (4x+10y) \, dx \, dy. \nonumber \]
    3. Evaluate one of the two iterated integrals above. Explain what the value you obtained tells you.
    4. Set up and evaluate a single definite integral to determine the exact area of \(D\text{,}\) \(A(D)\text{.}\)
    5. Determine the exact average value of \(f(x,y) = 4x + 10y\) over \(D\text{.}\)
    Activity \(\PageIndex{4}\)

    Consider the iterated integral \(\int_{x=0}^{x=4} \int_{y=x/2}^{y=2} e^{y^2} \, dy \, dx\text{.}\)

    1. Explain why we cannot find a simple antiderivative for \(e^{y^2}\) with respect to \(y\text{,}\) and thus are unable to evaluate \(\int_{x=0}^{x=4} \int_{y=x/2}^{y=2} e^{y^2} \, dy \, dx\) in the indicated order using the Fundamental Theorem of Calculus.
    2. Given that \(\iint_D e^{y^2} \, dA = \int_{x=0}^{x=4} \int_{y=x/2}^{y=2} e^{y^2} \, dy \, dx\text{,}\) sketch the region of integration, \(D\text{.}\)
    3. Rewrite the given iterated integral in the opposite order, using \(dA = dx \, dy\text{.}\) (Hint: You may need more than one integral.)
    4. Use the Fundamental Theorem of Calculus to evaluate the iterated integral you developed in (c). Write one sentence to explain the meaning of the value you found.
    5. What is the important lesson this activity offers regarding the order in which we set up an iterated integral?

    Summary

    • For a double integral \(\iint_D f(x,y) \, dA\) over a non-rectangular region \(D\text{,}\) we enclose \(D\) in a rectangle \(R\) and then extend integrand \(f\) to a function \(F\) so that \(F(x,y) = 0\) at all points in \(R\) outside of \(D\) and \(F(x,y) = f(x,y)\) for all points in \(D\text{.}\) We then define \(\iint_D f(x,y) \, dA\) to be equal to \(\iint_R F(x,y) \, dA\text{.}\)
    • In an iterated double integral, the limits on the outer integral must be constants while the limits on the inner integral must be constants or in terms of only the remaining variable. In other words, an iterated double integral has one of the following forms (which result in the same value):
      \[ \int_{x=a}^{x=b} \int_{y=g_1(x)}^{y=g_2(x)} f(x,y) \, dy \, dx, \nonumber \]

      where \(g_1=g_1(x)\) and \(g_2=g_2(x)\) are functions of \(x\) only and the region \(D\) is described by the inequalities \(g_1(x) \leq y \leq g_2(x)\) and \(a \leq x \leq b\) or

      \[ \int_{y=c}^{y=d} \int_{x=h_1(y)}^{x=h_2(y)} f(x,y) \, dx \, dy, \nonumber \]

      where \(h_1=h_1(y)\) and \(h_2=h_2(y)\) are functions of \(y\) only and the region \(D\) is described by the inequalities \(h_1(y) \leq x \leq h_2(y)\) and \(c \leq y \leq d\text{.}\)


    This page titled 11.3: Double Integrals over General Regions is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Matthew Boelkins, David Austin & Steven Schlicker (ScholarWorks @Grand Valley State University) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.