01 / 20
\(\iint\)

Double Integrals
Rectangular & General Regions

Learn to compute double integrals over rectangles and bounded regions using iterated integrals and Fubini's Theorem.

Calculus 3

What Is a Double Integral?

A double integral extends single-variable integration to functions of two variables. Instead of finding the area under a curve, we compute the volume beneath a surface \( z = f(x,y) \) over a region \( R \) in the \( xy \)-plane:

Think of it as summing the volumes of infinitely many infinitesimally thin rectangular columns. Each column has a base area \( dA = dx\,dy \) and a height \( f(x,y) \), so its volume is \( f(x,y)\,dA \). We sum these volumes across the region \( R \).

Visualizing the Volume Under a Surface

\( z = f(x,y) \)
Region R in the xy-plane Key Idea Each thin column has
volume = \( f(x,y) \cdot dA \)
\( dA = dx \cdot dy \)
Sum all columns over R
\( = \iint f(x,y)\, dA \)
x y z

Why Double Integrals Matter

Volume
Compute the volume under surfaces, essential for physics and engineering applications.
Area
When \( f(x,y) = 1 \), the double integral gives the area of region \( R \).
Mass & Density
If \( f(x,y) \) is a density function, \( \iint_R f\,dA \) gives the total mass of a lamina.

Rectangular Regions

A rectangular region has the form \( R = [a, b] \times [c, d] \), meaning \( a \le x \le b \) and \( c \le y \le d \). Both bounds are constants.

x y a b c d R
\( R = [a, b] \times [c, d] \)

Fubini's Theorem

Fubini's Theorem lets us evaluate a double integral as two successive single integrals (an iterated integral):

1
Inner integral: Integrate with respect to one variable while treating the other as a constant.
2
Outer integral: Integrate the result with respect to the remaining variable.
3
Order doesn't matter: For rectangular regions, both orders yield the same answer.

General (Non-Rectangular) Regions

When the region \( D \) is not a rectangle, the limits of the inner integral become functions of the outer variable. There are two types:

Type I (vertical slices)
\( a \le x \le b \), \( g_1(x) \le y \le g_2(x) \). Inner integral in \( y \), outer in \( x \).
Type II (horizontal slices)
\( c \le y \le d \), \( h_1(y) \le x \le h_2(y) \). Inner integral in \( x \), outer in \( y \).

Type I vs Type II Regions

Type I x y dy
\(g_2(x)\)
\(g_1(x)\)
a b Type II x y dx
\(h_1(y)\)
\(h_2(y)\)
d c

Rectangular vs General Regions

Rectangular General
Region shape \( [a,b] \times [c,d] \) Bounded by curves
Inner limits Constants Functions of outer variable
Order of integration Freely interchangeable Must re-derive limits if switched
Fubini's Theorem Direct application Still applies (if \( f \) continuous)
Difficulty Straightforward Requires sketching the region

How to Evaluate a Double Integral

1
Sketch the region \( R \). Identify whether it is rectangular or general, and determine whether Type I or Type II is simpler.
2
Set up the limits. Outer limits are constants. Inner limits are constants (rectangular) or functions of the outer variable (general).
3
Evaluate the inner integral. Treat the outer variable as a constant. Apply the Fundamental Theorem of Calculus.
4
Evaluate the outer integral. The inner result is now a single-variable function. Integrate normally.
5
Simplify. The final answer is a number (for definite integrals over bounded regions).

Example 1: Rectangular Region

1
Inner integral (integrate w.r.t. \( y \), treat \( x \) as constant): $$ \int_1^3 x^2 y\,dy = x^2 \cdot \frac{y^2}{2}\Big|_1^3 = x^2 \cdot \left(\frac{9}{2} - \frac{1}{2}\right) = 4x^2 $$
2
Outer integral (integrate w.r.t. \( x \)): $$ \int_0^2 4x^2\,dx = 4 \cdot \frac{x^3}{3}\Big|_0^2 = 4 \cdot \frac{8}{3} = \frac{32}{3} $$

Example 2: Type I Region

x y
\(y = x\)
\(y = x^2\)
(0,0) (1,1) dy
1
Limits: Intersections at \( x=0 \) and \( x=1 \). Type I: \( 0 \le x \le 1 \), \( x^2 \le y \le x \).
2
Inner: \( \displaystyle\int_{x^2}^{x} 2x\,dy = 2x(x - x^2) = 2x^2 - 2x^3 \)
3
Outer: \( \displaystyle\int_0^1 (2x^2 - 2x^3)\,dx = \left[\frac{2x^3}{3} - \frac{x^4}{2}\right]_0^1 = \frac{2}{3} - \frac{1}{2} = \frac{1}{6} \)

Example 3: Switching the Order

1
Sketch the region: Originally \( 0 \le x \le 1 \), \( x \le y \le 1 \). This is the triangle bounded by the lines \( y = x \), \( y = 1 \), and \( x = 0 \).
2
Switch to Type II: \( 0 \le y \le 1 \), \( 0 \le x \le y \). New integral: $$ \int_0^1 \!\int_0^y e^{y^2}\,dx\,dy $$
3
Inner integral: \( \displaystyle\int_0^y e^{y^2}\,dx = y\,e^{y^2} \)
4
Outer integral: \( \displaystyle\int_0^1 y\,e^{y^2}\,dy = \frac{1}{2}e^{y^2}\Big|_0^1 = \frac{e - 1}{2} \)

When to Switch the Order

Switching the order of integration can transform an impossible integral into a simple one. Look for these signs:

Inner has no antiderivative
Functions like \( e^{y^2} \), \( \sin(x^2) \), or \( \frac{\sin y}{y} \) often simplify after switching.
Region favors the other type
A region that is awkward as Type I (needing to split) may be a single expression as Type II.

Common Mistakes

✕ Wrong Variable in Limits
Writing \( \int_0^y \) for the outer integral. Outer limits must be constants, never functions of the inner variable.
✕ Treating Both Variables
When evaluating the inner integral, the outer variable must be treated as a constant. A common mistake is to integrate with respect to both variables at once.
✕ Swapping Limits Incorrectly
When switching order, simply swapping limits without re-sketching the region. You must re-derive limits from the region's geometry.

Question 1 of 5

Evaluate \( \displaystyle\int_0^1 \!\int_0^2 (3x + y)\,dx\,dy \).

Question 2 of 5

For the region bounded by \( y = 0 \), \( y = x \), and \( x = 2 \), which setup is correct as a Type I integral?

Question 3 of 5

What does Fubini's Theorem guarantee for a continuous function on a rectangle?

Question 4 of 5

Evaluate \( \displaystyle\int_0^1 \!\int_0^{x} 6xy\,dy\,dx \).

Question 5 of 5

To evaluate \( \displaystyle\int_0^1\!\int_x^1 \sin(y^2)\,dy\,dx \), you should: