In computing a double integral, sometimes the antiderivative cannot be found in the given order (for instance ∫e−x2dx, ∫xsinxdx and ∫sinx2dx), or the computation is far too complicated. In that case you have to change the order of integration, turning a type I region into a type II region (or the other way round) in order to simplify the computation.
The General Steps for Changing the Order
Write the region D as inequalities derived from the original limits
Draw a sketch of the regionD
Write the region D in the other type (type I ⟷ type II)
Write the new iterated integral
The key is step 2 — drawing the diagram. Only by drawing the region of integration accurately can you convert the limits correctly. It is worth making it a habit: whenever you change the order, draw the diagram.
The Basic Problem Types
Type 1: Changing the Order Directly
Turn ∫abdx∫y1(x)y2(x)f(x,y)dy into a form in which you integrate with respect to y first.
Steps:
The original region (type I): a≤x≤b,y1(x)≤y≤y2(x)
After drawing the diagram, determine the range of y: c≤y≤d
For each y, determine the range of x: x1(y)≤x≤x2(y)
The new integral: ∫cddy∫x1(y)x2(y)f(x,y)dx
Type 2: The Region Has to Be Split
Sometimes the original integral is over a single region, but after changing the order the region has to be split into several (or the other way round).
When the right boundary (or the upper boundary) of the region is made up of different pieces of curve, changing the order may require splitting the region. Always check the boundary curves carefully.
Worked Examples
Example 1: A Basic Change of Order
Change the order of integration in ∫01dx∫x1f(x,y)dy.
changing the order of integrationtype I to type IIa triangular region
Approach:
First determine the region of integration, and then convert it into a type II region after drawing the diagram.
Steps:
The original limits (type I): 0≤x≤1,x≤y≤1
The region is bounded by y=x, y=1 and x=0; it is the triangle with vertices (0,0), (0,1) and (1,1)
Converting to type II: the range of y is 0≤y≤1
For a fixed y, x runs from 0 to y (because y≥x)
The new integral: ∫01dy∫0yf(x,y)dx
Answer: ∫01dy∫0yf(x,y)dx
Example 2: Changing the Order to Compute (a Non-Elementary Integrand)
Compute ∫01dx∫x1e−y2dy.
changing the order of integrationa non-elementary integranda Gaussian-type integrala triangular region
Approach:
The function e−y2 has no elementary antiderivative, so the order of integration has to be changed.
Steps:
The original region (type I): 0≤x≤1,x≤y≤1
Converting to type II: 0≤y≤1,0≤x≤y
After changing the order:
∫01dx∫x1e−y2dy=∫01dy∫0ye−y2dx
Integrating with respect to x first (the expression e−y2 does not depend on x):
∫0ye−y2dx=e−y2⋅[x]0y=ye−y2
Then integrating with respect to y:
∫01ye−y2dy=−21∫01e−y2d(−y2)=−21[e−y2]01=−21(e−1−1)=21(1−e−1)
Answer: 21(1−e1)
Example 3: A Region That Has to Be Split
Change the order of integration in ∫02dx∫x22xf(x,y)dy.
changing the order of integrationsplitting the regiona parabola and a straight line
Approach:
The original region is bounded by the parabola y=x2 and the line y=2x. After changing the order the region may have to be split, because the right boundary is given by different curves over different ranges of y.
Steps:
The original region (type I): 0≤x≤2,x2≤y≤2x
The intersection points: x2=2x⇒x=0 or x=2, giving (0,0) and (2,4)
The range of y: 0≤y≤4
For a fixed y:
the left boundary: from y=2x we get x=2y
the right boundary: from y=x2 (x≥0) we get x=y
Note: over 0≤y≤4 we have 2y≤y (check: at y=1, 0.5≤1; at y=4, 2≤2)
So no splitting is needed, and the type II representation is: 0≤y≤4,2y≤x≤y
The new integral: ∫04dy∫y/2yf(x,y)dx
Answer: ∫04dy∫y/2yf(x,y)dx
Example 4: From Polar Coordinates to Rectangular Coordinates
Convert the polar integral ∫0π/2dθ∫02cosθf(ρ,θ)ρdρ into an iterated integral in rectangular coordinates.
from polar to rectangular coordinateschanging the order of integrationan off-centre circle
Approach:
First determine the region in polar coordinates, and then convert it into a region in rectangular coordinates.
Steps:
The polar region: 0≤θ≤2π,0≤ρ≤2cosθ
ρ≤2cosθ⇒ρ2≤2ρcosθ⇒x2+y2≤2x, that is, (x−1)2+y2≤1
From 0≤θ≤2π we get x≥0,y≥0, that is, the part in the first quadrant
The region in rectangular coordinates (type I): 0≤x≤2,0≤y≤2x−x2
The iterated integral: ∫02dx∫02x−x2f(x,y)dy
Answer: ∫02dx∫02x−x2f(x,y)dy
Exercises
Exercise 1
Change the order of integration in ∫01dy∫yyf(x,y)dx.
changing the order of integrationtype II to type Ia parabola
Approach:
The original region (type II): 0≤y≤1,y≤x≤y. Note that y≤y holds for 0≤y≤1.
Steps:
The boundary curves: x=y (that is, y=x) and x=y (that is, y=x2)
The intersection points: (0,0) and (1,1)
Type I: 0≤x≤1, and for a fixed x, y runs from x2 to x (because x2≤x on [0,1])
The new integral: ∫01dx∫x2xf(x,y)dy
Answer: ∫01dx∫x2xf(x,y)dy
Exercise 2
Compute ∫01dx∫x1ysinydy.
changing the order of integrationa non-elementary integranda triangular region
Approach:
The function ysiny has no elementary antiderivative, so the order of integration has to be changed.