01 / 20

Iterated
Integrals

Learn to set up and evaluate double integrals by integrating one variable at a time: the foundational technique of multivariable calculus.

Multivariable Calculus

What Is an Iterated Integral?

An iterated integral breaks a double integral over a region \( R \) into two successive single-variable integrations. Instead of integrating over a two-dimensional region all at once, you integrate with respect to one variable, then integrate the result with respect to the other variable.

Visualizing the Region of Integration

x y R
\(x^*\)
\(a\)
\(b\)
\(c\)
\(d\)
inner integral outer integral

Reading the Notation

An iterated integral over a rectangle \( R = [a,b] \times [c,d] \) is written:

Inner integral
Integrate \( f(x,y) \) with respect to \( y \) from \( c \) to \( d \), treating \( x \) as a constant.
Outer integral
Integrate the result with respect to \( x \) from \( a \) to \( b \).

Fubini's Theorem: The Core Rule

Fubini's Theorem guarantees that, for a continuous function \( f \) on a rectangle \( R = [a,b] \times [c,d] \):

The double integral equals either iterated integral: you may integrate in either order and get the same answer.

Why Does Order Matter?

On rectangles, both orders always give the same answer. But for non-rectangular regions, the limits of integration change with order, and one order may be far easier to evaluate than the other.

\(dy\,dx\) order
Outer limits are \( x \)-bounds (constants). Inner limits are \( y \)-bounds (functions of \( x \)).
\(dx\,dy\) order
Outer limits are \( y \)-bounds (constants). Inner limits are \( x \)-bounds (functions of \( y \)).

Rectangular vs General Regions

Rectangular Region General Region
Limits All constant: \( [a,b] \times [c,d] \) Inner limits are functions of the outer variable
Order swap Just swap limits directly Must re-derive limits by sketching the region
Difficulty Both orders equally easy One order often much simpler
Example \( \int_0^2\!\int_0^3 f\,dy\,dx \) \( \int_0^1\!\int_0^{x^2} f\,dy\,dx \)

How to Evaluate: Step by Step

1
Identify the region \( R \) and decide the order of integration (\( dy\,dx \) or \( dx\,dy \)).
2
Write the limits. Outer limits are constants. Inner limits may be functions of the outer variable.
3
Evaluate the inner integral first: treat the outer variable as a constant and integrate.
4
Substitute the inner limits to get a single-variable expression in the outer variable.
5
Evaluate the outer integral to obtain the final numerical answer.

Example 1: Rectangular Region

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

1
Inner integral (with respect to \( y \)): \( \displaystyle\int_0^3 x^2 y\, dy = x^2 \cdot \frac{y^2}{2}\Big|_0^3 = x^2 \cdot \frac{9}{2} = \frac{9x^2}{2} \)
2
Outer integral (with respect to \( x \)): \( \displaystyle\int_0^2 \frac{9x^2}{2}\, dx = \frac{9}{2}\cdot\frac{x^3}{3}\Big|_0^2 = \frac{9}{2}\cdot\frac{8}{3} = 12 \)

Example 2: General Region

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

x y
\(y=x^2\)
\(y=0\)
\(1\)
\(0\)
R

Example 2: Solution

1
Inner integral (w.r.t. \( y \), from \( 0 \) to \( x^2 \)): \( \displaystyle\int_0^{x^2}(x+y)\,dy = xy + \frac{y^2}{2}\Big|_0^{x^2} = x^3 + \frac{x^4}{2} \)
2
Outer integral (w.r.t. \( x \), from \( 0 \) to \( 1 \)): \( \displaystyle\int_0^1 \!\left(x^3 + \frac{x^4}{2}\right)dx = \frac{x^4}{4} + \frac{x^5}{10}\Big|_0^1 = \frac{1}{4} + \frac{1}{10} = \frac{7}{20} \)

Example 3: Switching the Order

Sometimes the integral is impossible or very hard in one order but simple in the other. Consider:

Solution: Sketch the region. The original limits describe: \( 0 \leq y \leq 1 \) and \( y \leq x \leq 1 \). Equivalently: \( 0 \leq x \leq 1 \) and \( 0 \leq y \leq x \).

Example 3: Completed

After switching order:

1
Inner integral: \( \displaystyle\int_0^x e^{x^2}\,dy = x\,e^{x^2} \)
2
Outer integral: \( \displaystyle\int_0^1 x\,e^{x^2}\,dx = \frac{1}{2}e^{x^2}\Big|_0^1 = \frac{e-1}{2} \)

Common Mistakes

✕ Wrong variable treated as constant
When evaluating the inner integral, you must hold the outer variable constant. Treating the wrong variable as constant gives an entirely wrong antiderivative.
✕ Swapping limits without re-deriving
For non-rectangular regions, you cannot simply swap the limits. You must sketch the region and find new bounds from the geometry.
✕ Forgetting to substitute inner limits
After integrating the inner variable, you must evaluate at the inner bounds. Leaving the inner variable in the expression produces nonsense.

Summary of Key Ideas

Concept Key Point
Iterated integral Nest two single integrals to compute a double integral
Fubini's Theorem For continuous \( f \), both orders give the same result
Rectangular region All limits are constants: straightforward in either order
General region Inner limits depend on the outer variable
Order switching Sketch the region, re-derive limits, can simplify evaluation

Question 1 of 5

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

Question 2 of 5

In the iterated integral \( \displaystyle\int_1^3\!\int_0^{x} f(x,y)\,dy\,dx \), the inner limits of integration are:

Question 3 of 5

Which theorem allows you to switch the order of integration for a continuous function on a rectangle?

Question 4 of 5

Evaluate \( \displaystyle\int_0^2\!\int_0^{x} 2y\, dy\, dx \).

Question 5 of 5

The integral \( \displaystyle\int_0^1\!\int_y^1 e^{x^2}\,dx\,dy \) is difficult in this order. After switching the order of integration, the equivalent integral is: