Skip to content

Changing the order of integration

Read the region from the limits of an iterated integral, redraw it with strips cut the other way, rewrite the limits, and use the swap to evaluate integrals whose inner integral cannot be done, or to avoid splitting a region.

It opens on

Try the inner integral of ey² with respect to y in ∫₀¹ ∫_x1 ey² dy dx. There is no formula for it. Yet the whole double integral has a neat value; how can we reach it?

Why it matters

Some iterated integrals have an inner integral with no usable antiderivative in one order and an easy one in the other, and a region that needs two integrals one way may need one the other way; seeing the region is what makes the swap safe.

Good to know first

  • Double integrals over general regions: a region between curves is cut by strips, the inner limits are curves and the outer limits are numbers

Step by step

  1. Reading and redrawing the region

    Read the region from the limits of an iterated integral and rewrite the limits for the opposite order.

    A common mix-up

    Swap the integral signs and dy with dx.

    In fact: The limits belong to the region: ∫_x1 ∫₀¹ f dx dy leaves x in the outer limits, while ∫₀¹ ∫₀y f dx dy has numbers outside.

  2. Evaluating after the swap

    Evaluate an integral that cannot be done in its given order by reversing it and using a substitution, in both directions of swap.

    On the triangle's horizontal strip, in ∫₀¹ ∫₀y ey² dx dy, the factor ey² has no x in it, so ∫₀y ey² dx = y ey².

    A common mix-up

    Using 0 to 1 once the order is swapped.

    In fact: The triangle is not the square: at height y the strip runs only from x = 0 to y, so the answer is 0.859, not the square's 1.463.

  3. Choosing the order

    Choose the order of integration that keeps the region in one piece and the inner integral easy, and see that both orders agree.

    Horizontal strips run from x = y² to x = y + 2, so the area is ∫_{−1}2 (y + 2 − y²) dy = 9/2.

    A common mix-up

    Changing the order changes the value.

    In fact: Both orders measure the same region, and the areas 9/2 agree.

Try it

Rewrite ∫₀² ∫_{x/2}1 f dy dx with dx first.Answer

∫₀¹ ∫₀2y f dx dy

Hint: The region is the triangle with corners (0, 0), (0, 1), (2, 1)

Evaluate ∫₀¹ ∫_x1 sin(y²) dy dx.Answer

(1 − cos 1)/2 ≈ 0.230

Hint: Reverse to ∫₀¹ ∫₀y sin(y²) dx dy, then u = y²

Evaluate ∫₀¹ ∫_{√y}1 sin(x³) dx dy.Answer

(1 − cos 1)/3 ≈ 0.153

Hint: The region is 0 ≤ y ≤ x², so integrate y first

Can you integrate ey² with respect to y with a formula?Answer

No, no antiderivative made of familiar functions exists.

Is 0.859 plausible, with the triangle's area 1/2 and ey² between 1 and e?Answer

Yes, between 0.5 and 1.36.

Changing the order of integration

30 minutes every month. No card.