Why Reverse the Order?
In a double integral over a rectangle, one iterated integral accumulates in one coordinate first and the other coordinate second. Reversing the order changes that sequence of calculations. It does not change the rectangle, the function being integrated, or the value of the integral, provided the function satisfies the required conditions.
The practical task is to keep track of which limits belong to which coordinate. If \(x\) ranges from \(a\) to \(b\), and \(y\) ranges from \(c\) to \(d\), then reversing the order means that \(x\) is integrated first over \([a,b]\), while \(y\) is integrated afterward over \([c,d]\). The limits do not switch coordinates just because the differentials switch positions.
Rectangular Bounds and the Reversal Rule
Let \(a\le b\) and \(c\le d\). The rectangle is the set of points \((x,y)\) for which \(a\le x\le b\) and \(c\le y\le d\). In an iterated integral, the inner integral is evaluated first. Thus, in \(\int_a^b\int_c^d f(x,y)\,dy\,dx\), the inner limits \(c\) and \(d\) bound \(y\), and the outer limits \(a\) and \(b\) bound \(x\).
To reverse the order, integrate with respect to \(x\) first, using its original limits, and then with respect to \(y\), using its original limits. The integrand remains \(f(x,y)\).
Continuity on the rectangle is a sufficient condition for this equality. The theorem is the rectangular case of Fubini’s theorem, covered in the earlier material on iterated integrals. The important point here is how the bounds correspond: the \(x\)-limits remain \(a\) and \(b\), and the \(y\)-limits remain \(c\) and \(d\).
Why the Reversal Rule Works
Both iterated integrals describe accumulation over the same set of points. The first expression visits the rectangle using vertical slices: for each fixed \(x\), it integrates through all \(y\)-values from \(c\) to \(d\), then accumulates those results as \(x\) runs from \(a\) to \(b\). The reversed expression uses horizontal slices: for each fixed \(y\), it integrates through all \(x\)-values from \(a\) to \(b\), then accumulates as \(y\) runs from \(c\) to \(d\). Every point of the same rectangle is included in either description.
The bounds specify all points satisfying \(a\le x\le b\) and \(c\le y\le d\).
For the original order, \(y\) is integrated first. For the reversed order, \(x\) is integrated first.
Since \(f\) is continuous on the rectangle, either order gives the same double integral.
This also justifies the rule fully: the rectangle is unchanged, and the continuity hypothesis allows Fubini’s theorem to equate the two iterated integrals over it. The reversal is valid because it changes only the order of accumulation, not the region of accumulation.
Worked Example: A Linear Function on a Rectangle
Worked Example: A Linear Function on a Rectangle
Reverse the order and evaluate \(\int_0^2\int_1^3 (x+2y)\,dy\,dx\).
The limits \(0\) and \(2\) belong to \(x\); the limits \(1\) and \(3\) belong to \(y\). Reversing the order gives
First evaluate the original order. Integrating with respect to \(y\), while treating \(x\) as constant, gives
Now integrate with respect to \(x\):
Check by evaluating the reversed order. Integrating with respect to \(x\) first gives
Then
Both orders give \(20\), as required.
Worked Example: A Function with a Negative Coordinate Range
Worked Example: A Function with a Negative Coordinate Range
Reverse the order and evaluate \(\int_{-1}^1\int_0^2 (x^2+y)\,dy\,dx\).
Here \(x\) ranges from \(-1\) to \(1\), and \(y\) ranges from \(0\) to \(2\). Therefore the reversed integral is
In the original order, integrate with respect to \(y\):
Then integrate with respect to \(x\):
For the reversed order, integrate with respect to \(x\) first:
Now integrate with respect to \(y\):
The reversed calculation agrees with the original value.
Worked Example: A Mixed Term
Worked Example: A Mixed Term
Reverse the order and evaluate \(\int_1^3\int_{-1}^2 (xy+1)\,dy\,dx\).
The \(x\)-limits are \(1\) and \(3\), and the \(y\)-limits are \(-1\) and \(2\). Reversing the order gives
In the original order, integrate with respect to \(y\), holding \(x\) fixed:
Then integrate with respect to \(x\):
For the reversed order, integrate with respect to \(x\) first:
Finally, integrate with respect to \(y\):
The two evaluations match, confirming the reversed integral’s value.
A Common Mistake: Assigning Bounds to the Wrong Coordinate
When reversing the order, it is tempting to move the limits along with their positions in the written expression. That is incorrect: each pair of limits belongs to a coordinate, not merely to an inner or outer position.
For example, the integral \(\int_0^2\int_1^3(x+2y)\,dy\,dx\) has \(x\) between \(0\) and \(2\), and \(y\) between \(1\) and \(3\). A mistaken reversal might be written as \(\int_0^2\int_1^3(x+2y)\,dx\,dy\). In this expression, the inner limits \(1\) to \(3\) now apply to \(x\), and the outer limits \(0\) to \(2\) now apply to \(y\). That describes a different rectangle.
The incorrect integral evaluates to
rather than the correct value \(20\). The correct reversed form keeps the \(x\)-range \(0\) to \(2\) and the \(y\)-range \(1\) to \(3\): \(\int_1^3\int_0^2(x+2y)\,dx\,dy\).
When This Rule Applies
The rectangular reversal rule applies as stated when the same fixed bounds describe a rectangle and the integrand is continuous there. It is not a rule for changing the region. In particular, it does not mean that arbitrary bounds can be swapped while leaving the limits untouched: the limits must still describe the same coordinate ranges.
Reversing order can be useful when one order produces simpler antiderivatives than the other. On a rectangle, however, the bounds remain constant in either order. The main decisions are which variable to integrate first and whether the resulting inner integral is easier to compute.
Check Your Understanding
For each question, identify the coordinate ranges before doing any integration.
- Write the order-reversed form of \(\int_2^5\int_{-1}^1 f(x,y)\,dy\,dx\).
- What condition in the rectangular reversal theorem ensures that the two iterated integrals agree?
- In \(\int_{-2}^0\int_3^4 f(x,y)\,dy\,dx\), which coordinate has range \([3,4]\)?
- Explain why changing only the differentials without tracking which limits belong to each coordinate can describe a different rectangle.
- If both orders are evaluated correctly for a continuous function on the same rectangle, what relationship must hold between their values?