Tutorials › Calculus III › Choosing Efficient Methods for Rectangular Double Integrals

Double Integrals on Rectangles · Tutorial 525 of 999

Choosing Efficient Methods for Rectangular Double Integrals

Choose a practical strategy for a rectangular double integral, justify when it applies, and verify the calculation.

Beginner 9 min read

What You'll Learn

  • Decide when direct iterated integration is the clearest approach
  • Factor a separable integrand into one-variable integrals
  • Use symmetry to show an integral is zero
  • Split a rectangle to handle a piecewise integrand
  • Use minimum and maximum values to bound an integral
  • Recognize when a shortcut does not apply

Choosing a Method Before Calculating

A double integral over a rectangle can often be evaluated in more than one valid way. The most efficient approach depends on the form of the integrand and on what the problem asks for: an exact value, a useful estimate, or an explanation of why the value has a particular property.

For a rectangle \(R=[a,b]\times[c,d]\) and a continuous function \(f\), Fubini’s theorem allows the double integral to be evaluated as either iterated integral:

$$ \iint_R f(x,y)\,dA = \int_a^b\left(\int_c^d f(x,y)\,dy\right)dx = \int_c^d\left(\int_a^b f(x,y)\,dx\right)dy. $$

That equality makes either order available, but it does not mean both orders are equally convenient. Before integrating, inspect the function, the rectangle, and the requested result. A product of a function of \(x\) and a function of \(y\) may factor. An odd function on a symmetric interval may cancel. A piecewise formula may call for splitting the rectangle. If only a range for the answer is needed, bounds may avoid finding an antiderivative entirely.

Strategy: Use the simplest method that answers the question, and check that its conditions hold on the entire rectangle.

Direct Iteration: Follow the Integrand

Direct iteration is a reliable choice when the inner integral is manageable and the resulting outer integral is also straightforward. For a continuous integrand on a rectangle, either order is valid. The practical choice is the order that gives the simpler inner antiderivative or a simpler expression for the outer integral.

Worked Example: Evaluating by Either Order

Evaluate \(\iint_R (x^2y+y)\,dA\), where \(R=[0,2]\times[0,1]\). The terms are easy to integrate in either coordinate, so direct iteration is sufficient.

Integrate with respect to \(y\) first:

$$ \begin{aligned} \iint_R (x^2y+y)\,dA &=\int_0^2\left(\int_0^1(x^2y+y)\,dy\right)dx\\ &=\int_0^2\left(\left[\frac{x^2y^2}{2}+\frac{y^2}{2}\right]_0^1\right)dx\\ &=\int_0^2\left(\frac{x^2}{2}+\frac12\right)dx\\ &=\left[\frac{x^3}{6}+\frac{x}{2}\right]_0^2 =\frac{8}{6}+1 =\frac73. \end{aligned} $$

Check the other order. First, \(\int_0^2 x^2y\,dx= \frac83y\) and \(\int_0^2 y\,dx=2y\). Therefore,

$$ \int_0^1\left(\int_0^2(x^2y+y)\,dx\right)dy =\int_0^1\left(\frac83y+2y\right)dy =\left[\frac73y^2\right]_0^1 =\frac73. $$

The two orders agree, as Fubini’s theorem requires here. In this example, either is uncomplicated; in a more involved problem, comparing the inner integrals can help identify the easier order.

Factorization: Separate the Variables

If the integrand has the form \(f(x,y)=g(x)h(y)\) throughout the rectangle, the two variables separate. This can turn a double integral into a product of ordinary integrals. Both one-variable functions must be integrable on their respective intervals; continuity is a sufficient condition in the setting used here.

Factorization rule: If \(f(x,y)=g(x)h(y)\) on \(R=[a,b]\times[c,d]\), and \(g\) and \(h\) are continuous on their intervals, then $$ \iint_R g(x)h(y)\,dA = \left(\int_a^b g(x)\,dx\right) \left(\int_c^d h(y)\,dy\right). $$

Why does the rule work? Integrating in \(y\) first, the factor \(g(x)\) is constant with respect to \(y\). Thus the inner integral is \(g(x)\int_c^d h(y)\,dy\). The latter one-variable integral is a constant with respect to \(x\), so it can be taken outside the outer integral. The remaining expression is the product stated in the rule.

Worked Example: Factoring an Exponential Product

Evaluate \(\iint_R (x+1)e^y\,dA\) on \(R=[0,2]\times[0,\ln 2]\). The integrand is a product: \(g(x)=x+1\) and \(h(y)=e^y\).

$$ \begin{aligned} \iint_R (x+1)e^y\,dA &=\left(\int_0^2(x+1)\,dx\right) \left(\int_0^{\ln 2}e^y\,dy\right)\\ &=\left[\frac{x^2}{2}+x\right]_0^2 \left[e^y\right]_0^{\ln 2}\\ &=(2+2-0)(2-1)\\ &=4. \end{aligned} $$

As a check, iterating directly gives \(\int_0^2 (x+1)[e^y]_0^{\ln 2}\,dx=\int_0^2(x+1)\,dx=4\). This confirms the factored result.

Symmetry: Look for Cancellation

Symmetry is useful when the rectangle is symmetric about an axis and the integrand changes sign under reflection across that axis. For example, if the \(x\)-interval is \([-a,a]\) and \(f(-x,y)=-f(x,y)\) for every \(x,y\) in the rectangle, then the integral is zero. The condition must hold for each relevant pair of reflected points; a symmetric rectangle alone is not enough.

The cancellation follows by pairing the contributions at \(x\) and \(-x\). For fixed \(y\), the integral over the symmetric \(x\)-interval is zero: the part from \([-a,0]\) cancels the part from \([0,a]\), since reflection changes the sign of the integrand. Integrating these zero inner integrals over \(y\) still gives zero. Continuity on the rectangle ensures the iterated integrals are valid.

Worked Example: An Odd Integrand on a Symmetric Rectangle

Evaluate \(\iint_R (x^3+xy^2)\,dA\) on \(R=[-1,1]\times[0,2]\). Replacing \(x\) by \(-x\) gives \((-x)^3+(-x)y^2=-(x^3+xy^2)\). Thus the integrand is odd in \(x\), and the \(x\)-interval is symmetric.

$$ \begin{aligned} \iint_R (x^3+xy^2)\,dA &=\int_0^2\left(\int_{-1}^1(x^3+xy^2)\,dx\right)dy\\ &=\int_0^2\left( \left[\frac{x^4}{4}+\frac{y^2x^2}{2}\right]_{-1}^1 \right)dy\\ &=\int_0^2\left( \left(\frac14+\frac{y^2}{2}\right) -\left(\frac14+\frac{y^2}{2}\right) \right)dy\\ &=\int_0^2 0\,dy =0. \end{aligned} $$

Each pair of endpoint values cancels, and the inner integral is zero for every \(y\). No approximation is involved.

Subdivision: Respect the Formula’s Breaks

If a formula changes across a line that divides a rectangle into smaller rectangles, integrate each piece on its own subrectangle and add the results. This uses the additivity of the integral: when a region is partitioned into non-overlapping pieces, its integral is the sum of the integrals over those pieces. For a piecewise continuous function, splitting along the stated boundary also makes sure each formula is used on the region where it applies.

Worked Example: Splitting a Piecewise Integrand

Let \(R=[0,2]\times[0,1]\), and define \(f(x,y)=1\) for \(0\le x\le1\) and \(f(x,y)=3\) for \(1<x\le2\). The change occurs at \(x=1\), so divide \(R\) into two rectangles.

$$ \begin{aligned} \iint_R f(x,y)\,dA &=\int_0^1\int_0^1 1\,dy\,dx +\int_1^2\int_0^1 3\,dy\,dx\\ &=\int_0^1 [y]_0^1\,dx +\int_1^2 [3y]_0^1\,dx\\ &=\int_0^1 1\,dx+\int_1^2 3\,dx\\ &=[x]_0^1+[3x]_1^2\\ &=1+(6-3)\\ &=4. \end{aligned} $$

Check by noting that each subrectangle has area \(1\): the first contributes \(1\cdot1=1\), and the second contributes \(3\cdot1=3\). Their sum is \(4\), matching the iterated calculation.

Bounds: Estimate Without Finding an Exact Integral

Sometimes an exact value is unnecessary or difficult to obtain. If \(m\le f(x,y)\le M\) everywhere on a rectangle \(R\), then the integral is bounded by the constant functions \(m\) and \(M\):

$$ m\,\operatorname{Area}(R) \le \iint_R f(x,y)\,dA \le M\,\operatorname{Area}(R). $$

This requires the inequalities to hold throughout the rectangle and the function to be integrable there. For a continuous function on a closed rectangle, a minimum and maximum exist, so they can be used for \(m\) and \(M\). A bound is an estimate, not generally the exact value; it is most useful when the problem asks for a guaranteed range or when a quick check on a computed answer is needed.

Worked Example: Bounding an Integral from Its Range

Bound \(\iint_R ((x-1)^2+(y-1)^2)\,dA\) on \(R=[0,2]\times[0,2]\). Each squared term lies between \(0\) and \(1\) on its interval. Therefore \(0\le f(x,y)\le2\). The rectangle has area \((2-0)(2-0)=4\), so

$$ 0\cdot4 \le \iint_R \big((x-1)^2+(y-1)^2\big)\,dA \le 2\cdot4, \qquad\text{or}\qquad 0\le \iint_R f\,dA\le8. $$

For a check on the scale of this bound, direct integration gives \(\int_0^2\int_0^2((x-1)^2+(y-1)^2)\,dy\,dx=2\int_0^2(x-1)^2\,dx=2(2/3)=4/3\), plus the equal contribution \(4/3\) from the \(y\)-term, for a total of \(8/3\). Indeed, \(0\le8/3\le8\). The bound is valid but not exact, as expected.

A Practical Decision Process

These methods are not competing formulas that can be applied without inspection. Each one relies on a feature of the integrand or the question. A useful order of checks is:

1
Check what is requested.
If a guaranteed range is enough, seek upper and lower bounds before trying to evaluate exactly.
2
Look for a product.
If the integrand is \(g(x)h(y)\), factor the integral into two one-variable integrals.
3
Check symmetry.
Confirm that the interval is symmetric and the integrand has the required evenness or oddness before using symmetry.
4
Locate formula changes.
Split the rectangle where a piecewise definition changes, then integrate and add each piece.
5
Choose a direct order if needed.
When no shortcut applies, compare the inner integrals and use a valid iterated integral that is straightforward to compute.

A Common Mistake: Factoring a Sum

A frequent error is to apply the product rule for integrals when the integrand is not a product of a function of \(x\) and a function of \(y\). For example, on \([0,1]\times[0,1]\), the incorrect calculation

$$ \iint_{[0,1]\times[0,1]}(x+y)\,dA \mathrel{\color{red}{\ne}} \left(\int_0^1 x\,dx\right)\left(\int_0^1 y\,dy\right) =\frac12\cdot\frac12=\frac14 $$

treats the sum \(x+y\) as though it were the product \(x\,y\). The correct calculation uses linearity:

$$ \begin{aligned} \iint_{[0,1]\times[0,1]}(x+y)\,dA &=\int_0^1\int_0^1(x+y)\,dy\,dx\\ &=\int_0^1\left(x+\frac12\right)dx\\ &=\left[\frac{x^2}{2}+\frac{x}{2}\right]_0^1 =1. \end{aligned} $$

The correction follows the actual structure of the integrand: integrate the sum, or use linearity to integrate its terms. Factorization is justified only when the entire integrand separates as \(g(x)h(y)\).

Why Method Choice Matters

Choosing a method is part of solving the integral, not a cosmetic step before the calculation. Symmetry can replace many antiderivative steps with a cancellation argument. Factorization can reduce a two-variable calculation to two one-variable calculations. Subdivision prevents a piecewise formula from being applied outside its proper interval. Bounds can answer an estimation question with little computation.

Each shortcut also has a condition that must be checked. A symmetric rectangle does not force a zero integral unless the integrand changes sign appropriately. A sum of separate terms is not automatically a separable product. Subdivision must follow the actual change in the formula. Bounds must hold everywhere on the rectangle. When none of these features applies, direct iteration remains the dependable method: write the limits from the rectangle, evaluate the inner integral, and then evaluate the outer one.

Check Your Understanding

For each question, identify the method that is appropriate and state the condition that justifies it.

  1. What feature of \(f(x,y)\) allows \(\iint_R f\,dA\) to be written as a product of two one-variable integrals?
  2. What two conditions make an oddness argument give a zero integral in the \(x\)-direction?
  3. On \(R=[0,3]\times[0,2]\), a piecewise formula changes at \(x=1\). How should the integral be organized?
  4. If \(2\le f(x,y)\le5\) throughout a rectangle of area \(6\), what bounds follow for its integral?
  5. Why is it incorrect to factor the integral of \(x+y\) as the product of the integrals of \(x\) and \(y\)?