Calculus 3Multiple Integrals

Reversing the Order of Integration

Redraw the region and describe it the other way.

Not started Jump to practice

Sometimes the inner integral is impossible as written: $\int e^{y^2}\,dy$ and $\int \sin(x^2)\,dx$ have no elementary antiderivative. But the region of integration can be sliced the other way. If you can describe a general region with vertical slices, you can usually describe it with horizontal ones, and the integral may become easy.

Key idea

To reverse the order: draw the region from the given limits, then describe the same region with slices in the other direction. The new outer limits are the full range of the new outer variable; the new inner limits are the boundary curves solved for the inner variable.

Why it works

The value of a double integral depends only on the function and the region, not on how you slice it: both orders add up $f\,dA$ over exactly the same points. So any correct description of the region gives the same number. Swapping the limits mechanically does not describe the same region, which is why the picture is essential.
The triangle ${}0 \le x \le 1$, $x \le y \le 1$. Vertical slices run from $y = x$ up to $y = 1$; switch to horizontal slices and they run from $x = 0$ to $x = y$, for ${}0 \le y \le 1$.

Worked examples

Worked example: An impossible inner integral

Evaluate $\displaystyle\int_0^1\int_x^1 e^{y^2}\,dy\,dx$.
  1. The region: ${}0 \le x \le 1$, $x \le y \le 1$, the triangle with vertices $(0, 0)$, $(0, 1)$, $(1, 1)$.
  2. Horizontally: ${}0 \le y \le 1$ and ${}0 \le x \le y$.
  3. $\int_0^1\int_0^y e^{y^2}\,dx\,dy = \int_0^1 ye^{y^2}\,dy$: the inner integral produced the factor $y$.
  4. With $u = y^2$: $\frac{1}{2}\left[e^{y^2}\right]_0^1 = \frac{e - 1}{2}$.

Answer: $\frac{e - 1}{2}$

Worked example: Just the limits

Reverse the order in $\displaystyle\int_0^4\int_{\sqrt{y}}^{2} f(x, y)\,dx\,dy$.
  1. Region: ${}0 \le y \le 4$, and $x$ from the curve $x = \sqrt{y}$ (that is, $y = x^2$) to the line $x = 2$.
  2. It is the region under the parabola $y = x^2$ for ${}0 \le x \le 2$.
  3. Vertically: ${}0 \le x \le 2$ and ${}0 \le y \le x^2$.

Answer: $\displaystyle\int_0^2\int_0^{x^2} f(x, y)\,dy\,dx$

Worked example: A root

Evaluate $\displaystyle\int_0^1\int_{\sqrt{y}}^1 \sqrt{x^3 + 1}\,dx\,dy$.
  1. Region: ${}0 \le x \le 1$, ${}0 \le y \le x^2$.
  2. $$\int_0^1\int_0^{x^2} \sqrt{x^3 + 1}\,dy\,dx = \int_0^1 x^2\sqrt{x^3 + 1}\,dx.$$
  3. With $u = x^3 + 1$: $\frac{1}{3}\int_1^2 \sqrt{u}\,du = \frac{2}{9}\left(2\sqrt{2} - 1\right)$.

Answer: $\frac{2}{9}\left(2\sqrt{2} - 1\right)$

Common mistake

Swapping the limits without redrawing the region. Turning $\int_0^1\int_x^1 \ldots\,dy\,dx$ into $\int_x^1\int_0^1 \ldots\,dx\,dy$ leaves an $x$ in the outer limits; turning it into $\int_0^1\int_x^1 \ldots\,dx\,dy$ describes a different region. Sketch first, read the extreme values of the new outer variable off the picture, then solve each boundary curve for the new inner variable. Check: both orders give the same area when you integrate ${}1$.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 3 XP.

Loading practice…

Builds on

Leads to

This is one of the top rungs of Calculus 3: Multivariable Calculus.

Sources and further reading

  • OpenStax Calculus Volume 3, 5.2 Double Integrals over General Regions
@teddyrookbook GitHub