01 / 21

Changing the
Order of Integration

Master the technique of reversing integration limits in double integrals by sketching regions, rewriting bounds, and simplifying difficult integrals.

Calculus 3

What Is a Double Integral?

A double integral computes a quantity (area, volume, mass) over a two-dimensional region \( R \) in the \( xy \)-plane. We write it as:

To evaluate, we express \( dA \) as either \( dy\,dx \) or \( dx\,dy \), producing an iterated integral with specific limits of integration.

Iterated Integrals: Two Orders

\( dy\,dx \) Order
Integrate with respect to \( y \) first (inner), then \( x \) (outer). The \( y \)-limits are functions of \( x \).
\( dx\,dy \) Order
Integrate with respect to \( x \) first (inner), then \( y \) (outer). The \( x \)-limits are functions of \( y \).

Why Change the Order?

Sometimes one order produces an integral that is impossible or extremely hard to evaluate in closed form, while the reversed order is straightforward.

1
Antiderivative doesn't exist: e.g., \( \int e^{x^2}\,dx \) has no elementary form, but \( \int e^{x^2}\,dy \) is trivial.
2
Simpler bounds: one order may give constant limits instead of complicated functions.
3
Computational efficiency: switching can turn a multi-step integration into a single easy step.

Fubini's Theorem

Fubini's Theorem guarantees both orders give the same value, provided \( f \) is continuous on \( R \). The challenge is finding the new limits \( c, d, h_1(y), h_2(y) \) when you reverse the order.

The Region \( R \) Matters Most

x y 2 4 2
\( y = 2x \)
dy dx R

Type I vs Type II Regions

Type I (vertical slices)
\( a \leq x \leq b \), with \( y \) between curves \( g_1(x) \) and \( g_2(x) \). Integrates \( dy\,dx \).
Type II (horizontal slices)
\( c \leq y \leq d \), with \( x \) between curves \( h_1(y) \) and \( h_2(y) \). Integrates \( dx\,dy \).

How to Change the Order

1
Read the current limits: identify the outer variable's constant bounds and the inner variable's function bounds.
2
Sketch the region \( R \): plot the boundary curves and shade the region they enclose.
3
Find the new outer bounds: determine the constant range for the other variable from the sketch.
4
Solve boundary curves for the new inner variable: express the curves as functions of the new outer variable.
5
Write the reversed integral and evaluate.

Example 1: Reversing Limits

x y
\( y = x \)
0 1 1 R dy dx

Example 1: Solution

1
Original: outer \( x \) from 0 to 1, inner \( y \) from 0 to \( x \).
2
Region: triangle below \( y = x \), above \( y = 0 \), with \( 0 \leq x \leq 1 \).
3
New outer: \( y \) ranges from 0 to 1.
4
New inner: for a fixed \( y \), \( x \) goes from \( y \) to 1 (to the right of \( x = y \)).

Example 2: A Harder Region

The inner integral \( \int e^{x^3}\,dx \) has no elementary antiderivative. We must reverse the order to make \( x \) the outer variable.

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

Example 2: Reversed and Solved

Original limits: outer \( y \in [0,1] \), inner \( x \in [\sqrt{y},\,1] \). The boundary curve is \( x = \sqrt{y} \), or equivalently \( y = x^2 \).

1
New outer: \( x \) from 0 to 1.
2
New inner: for fixed \( x \), \( y \) from 0 to \( x^2 \).
3
Evaluate: \( \displaystyle\int_0^1\!\int_0^{x^2} e^{x^3}\,dy\,dx = \int_0^1 x^2 e^{x^3}\,dx \).
4
Substitute: let \( u = x^3 \), \( du = 3x^2\,dx \). Result: \( \dfrac{e-1}{3} \).

Example 3: Non-Triangular Region

x y 0 4 2 1
\( y = \sqrt{x} \)
R

Example 3: Solution

Boundary: \( y = \sqrt{x} \) can be rewritten as \( x = y^2 \). The region \( R \) is bounded by \( x = y^2 \) on the left, \( x = 4 \) on the right, \( y = 0 \) below, and \( y = 2 \) above.

1
New outer: \( y \) from 0 to 2.
2
New inner: for fixed \( y \), \( x \) from \( y^2 \) to 4.

Common Mistakes

✕ Swapping Limits Only
Simply exchanging all \( x \)'s and \( y \)'s in the limits without re-deriving them from the region sketch. The new limits must be found from the geometry of \( R \).
✕ Forgetting to Solve for the Other Variable
If the boundary is \( y = \sqrt{x} \), the reversed inner bound needs \( x = y^2 \). Failing to invert the curve equation produces wrong limits.
✕ Skipping the Sketch
Attempting to reverse limits algebraically without drawing the region. This leads to incorrect outer bounds and missed boundary curves.
✕ Splitting Regions Incorrectly
Some regions require two separate integrals after reversal. Missing the need to split means integrating over the wrong area.

Summary Table

\( dy\,dx \) (Type I) \( dx\,dy \) (Type II)
Outer variable \( x \): constant bounds \( y \): constant bounds
Inner variable \( y \): functions of \( x \) \( x \): functions of \( y \)
Slice direction Vertical strips Horizontal strips
When to prefer Bounds simpler in \( x \) Bounds simpler in \( y \)
Key step to switch Sketch \( R \), invert boundary curves, find new constant bounds

Question 1 of 5

Which theorem guarantees that changing the order of integration gives the same value?

Question 2 of 5

Given \( \displaystyle\int_0^2\!\int_0^{x} f(x,y)\,dy\,dx \), what are the reversed limits?

Question 3 of 5

To evaluate \( \displaystyle\int_0^1\!\int_{\sqrt{y}}^{1} e^{x^3}\,dx\,dy \), what should you do first?

Question 4 of 5

Given \( \displaystyle\int_0^4\!\int_0^{\sqrt{x}} f(x,y)\,dy\,dx \), the reversed integral is \( \displaystyle\int_0^2\!\int_{y^2}^{4} f(x,y)\,dx\,dy \). Why does \( y \) go from 0 to 2 (not 0 to 4)?

Question 5 of 5

Which is a common mistake when reversing the order of integration?