Changing the order of integration is a fundamental technique in multivariable calculus that transforms difficult or impossible integrals into solvable problems. Plus, when evaluating a double integral over a general region, the limits of integration are often functions of the variables rather than constants. The order in which you integrate—whether you integrate with respect to x first then y, or y first then x—dictates the complexity of the antiderivatives you must find. Mastering the skill of reversing this order allows you to bypass complicated integrands, handle non-elementary functions, and compute volumes and areas with significantly less algebraic friction.
Understanding the Geometry of the Region
Before manipulating integral signs, you must visualize the region of integration, typically denoted as R in the xy-plane. A double integral $\iint_R f(x,y) , dA$ represents the volume under the surface $z = f(x,y)$ above the region R. The original integral is usually presented in iterated form, such as:
$ \int_{y=c}^{d} \int_{x=h_1(y)}^{h_2(y)} f(x,y) , dx , dy $
Here, the outer limits $c$ and $d$ are constants defining the total span of y. Because of that, the inner limits $h_1(y)$ and $h_2(y)$ are curves bounding the region on the left and right for a specific y-value. To change the order to $dy , dx$, you must describe the same region R using x as the outer variable: constants $a$ and $b$ for the total x-span, and curves $g_1(x)$ and $g_2(x)$ for the lower and upper y-bounds Not complicated — just consistent. Took long enough..
The most common mistake students make is attempting to swap limits algebraically without sketching the region. Even so, **Always draw the region first. ** Plot the bounding curves $x = h_1(y)$, $x = h_2(y)$, $y = c$, and $y = d$. Shade the enclosed area. This visual reference is your roadmap for determining the new limits.
Step-by-Step Procedure for Reversing Order
Follow this systematic workflow to ensure accuracy every time you change the order of integration.
1. Identify the Bounding Curves from the Original Limits
Extract the equations defining the boundaries from the original integral $\int_c^d \int_{h_1(y)}^{h_2(y)} f(x,y) , dx , dy$.
- Bottom/Top horizontal bounds: $y = c$ and $y = d$.
- Left/Right vertical bounds: $x = h_1(y)$ and $x = h_2(y)$.
2. Sketch the Region R
Draw the coordinate axes. Plot the horizontal lines $y=c$ and $y=d$. Plot the curves $x = h_1(y)$ and $x = h_2(y)$. Since these are functions of y, it is often easier to find intercepts or rewrite them as $y = \dots$ to plot points. Shade the region trapped between them. Determine if the region is Type I (simple in x) or Type II (simple in y), or if it needs to be split into subregions Less friction, more output..
3. Find Points of Intersection
The corners of the region define the constant limits for the new outer integral. Solve the system of equations formed by the bounding curves to find intersection points $(x, y)$. Specifically, find where $h_1(y) = h_2(y)$, and where these curves meet the lines $y=c$ and $y=d$. The x-coordinates of these intersections become your new outer limits $a$ and $b$.
4. Determine New Inner Limits (Functions of x)
Imagine a vertical line $x = \text{constant}$ sweeping across the region from left ($x=a$) to right ($x=b$). For a generic x in this interval, the line enters the region at a lower curve $y = g_1(x)$ and exits at an upper curve $y = g_2(x)$ And it works..
- Crucial Check: Does the top or bottom boundary change formula within the interval $[a, b]$? If the region has a "kink" or a corner where the bounding curve switches (e.g., the bottom boundary is $y=c$ for some x but a curve $y=g(x)$ for others), you must split the integral into a sum of two or more integrals.
5. Write the New Iterated Integral
Construct the integral with the order $dy , dx$: $ \int_{x=a}^{b} \int_{y=g_1(x)}^{g_2(x)} f(x,y) , dy , dx $ If you split the region in Step 4, write the sum: $ \int_{x=a}^{x_0} \int_{y=g_1(x)}^{g_2(x)} f(x,y) , dy , dx + \int_{x=x_0}^{b} \int_{y=g_3(x)}^{g_4(x)} f(x,y) , dy , dx $
Worked Example: The Classic Non-Elementary Integral
Consider the integral $\int_{0}^{1} \int_{x}^{1} e^{y^2} , dy , dx$.
Step 1: Identify bounds. Outer: $y$ goes from $0$ to $1$. Inner: $x$ goes from $x=y$ (wait, the inner variable is $y$, limits are $x$ to $1$? No, the notation is $\int_0^1 \int_x^1 \dots dy , dx$). Let's re-read carefully: $\int_{x=0}^{1} \int_{y=x}^{1} e^{y^2} , dy , dx$.
- Outer variable: $x$, limits $0 \le x \le 1$.
- Inner variable: $y$, limits $x \le y \le 1$.
- Region R: Bounded by $y=x$, $y=1$, $x=0$.
Step 2: Sketch. Draw line $y=x$. Draw horizontal line $y=1$. Draw vertical line $x=0$ (y-axis). The region is a right triangle with vertices $(0,0)$, $(0,1)$, $(1,1)$ That's the part that actually makes a difference. Practical, not theoretical..
Step 3: Intersections. Vertices are $(0,0)$, $(0,1)$, $(1,1)$. The y-span is $0$ to $1$.
Step 4: New limits ($dx , dy$). Sweep horizontal lines ($y = \text{constant}$) from bottom ($y=0$) to top ($y=1$). For a fixed $y$, $x$ runs from the left boundary ($x=0$) to the right boundary ($x=y$). No splitting needed; the left boundary is always $x=0$, right is always $x=y$ That's the part that actually makes a difference. Worth knowing..
Step 5: New Integral. $ \int_{y=0}^{1} \int_{x=0}^{y} e^{y^2} , dx , dy $
Evaluation: Inner integral: $\int_0^y e^{y^2} , dx = x e^{y^2} \Big|_0^y = y e^{y^2}$. Outer integral: $\int_0^1 y e^{y^2} , dy$. Use $u$-substitution: $u = y^2, du = 2y , dy$. $ \frac{1}{2} \int_0^1 e^u , du = \frac{1}{2} (e - 1) $ The original order required integrating $e^{y^2}$ with
respect to $y$, which has no elementary antiderivative. By switching the order of integration, we transformed the problem into one that could be solved using basic techniques.
6. Verify the Result (Optional but Recommended)
Always double-check your work by:
- Confirming that the area or volume computed matches expectations.
- Ensuring that the transformed integral evaluates to a sensible result.
- Checking that the new bounds correctly describe the same region as the original bounds.
Key Takeaways
Changing the order of integration is a powerful technique for evaluating double integrals that appear difficult or impossible to solve in their original form. The process involves carefully analyzing the region of integration, sketching it, finding new intersection points, and determining the new limits for the reversed order. While it requires attention to detail—especially when the region requires splitting into multiple parts—the payoff can be substantial, turning an intractable integral into a manageable one. Remember, the core idea is geometric: you're simply describing the same region from a different perspective, which sometimes reveals a much simpler path to the solution It's one of those things that adds up..
When the Region Requires Splitting
In many practical problems the region of integration is not a simple triangle; it may be a union of several sub‑regions, a curved boundary, or a shape that changes its description depending on the direction of integration.
When this happens the “new limits” step often involves splitting the integral into two or more pieces Small thing, real impact..
Most guides skip this. Don't.
Here's one way to look at it: consider
[ \iint_R \sin(x^2+y^2),dA, \qquad R={(x,y)\mid 0\le x\le 2,;x^2\le y\le \sqrt{4-x^2}}. ]
The region is bounded by the parabola (y=x^{2}) and the quarter‑circle (y=\sqrt{4-x^{2}}).
If we try to integrate first with respect to (x) for a fixed (y), the left‑hand boundary switches from the (y)‑axis to the curve (x=\sqrt{y}) once (y) passes (\sqrt{2}). Consequently we must write
The official docs gloss over this. That's a mistake The details matter here. Surprisingly effective..
[ \int_{y=0}^{\sqrt{2}}\int_{x=0}^{\sqrt{y}} \sin(x^{2}+y^{2}),dx,dy ;+; \int_{y=\sqrt{2}}^{2}\int_{x=0}^{\sqrt{4-y^{2}}} \sin(x^{2}+y^{2}),dx,dy . ]
Notice how the splitting mirrors a change in the geometric description of the same region. By carefully sketching the curves and locating the intersection points (here at ((1,\sqrt{2})) and ((0,2))), we can write a correct, albeit longer, iterated integral that is now tractable.
Practical Tips for Changing Order
- Always start with a sketch. A quick hand‑drawn picture (or a quick computer plot) makes it far easier to see how the bounds will look when the integration order is reversed.
- Identify the extreme values. Determine the overall minimum and maximum of each variable over the region. These become the outer limits.
- Express the inner limits as functions. For a fixed outer variable, the inner variable will run between two curves (or between a constant and a curve). Write these as (x=g_{1}(y)) and (x=g_{2}(y)) (or the analogous (y)-functions).
- Check for multiple sub‑regions. If the description of the inner limits changes at some interior point, split the integral at that point.
- Verify consistency. After writing the new iterated integral, you can compare its value (numerically, if needed) with the original one. A quick Monte‑Carlo estimate or a computer algebra system can serve as a sanity check.
A Final Example: A “Bell‑Shaped” Region
Suppose we need to evaluate
[ \iint_R e^{-x^{2}},dx,dy, \qquad R={(x,y)\mid 0\le y\le 1,; y\le x\le 1}. ]
The region is a trapezoid bounded by the line (x=y), the vertical line (x=1), and the horizontal lines (y=0) and (y=1).
Reversing the order gives
[ \int_{x=0}^{1}\int_{y=0}^{x} e^{-x^{2}},dy,dx = \int_{0}^{1} x,e^{-x^{2}},dx = \frac12\bigl(1-e^{-1}\bigr). ]
Notice how the inner integral now simply contributes a factor (x), turning the problem into a one‑dimensional integral that is elementary The details matter here. Nothing fancy..
Conclusion
Changing the order of integration is more than a mechanical trick; it is a geometric reinterpretation of the same region. By viewing the domain from a different perspective, we can often replace an otherwise hopeless integral (for instance, (\int e^{y^{2}}dy)) with a straightforward calculation. The key is to understand the shape of the region, to express its boundaries correctly for the new order, and
to recognize when a single description is insufficient and a split is required. Consider this: mastering this technique transforms the evaluation of double integrals from a rigid procedural exercise into a flexible problem-solving tool, allowing the mathematician to choose the path of least resistance. Whether simplifying an integrand, converting an impossible antiderivative into an elementary one, or merely reducing computational complexity, the ability to re-slice a region—horizontal to vertical, rectangular to polar, or any other convenient coordinate system—remains one of the most powerful and elegant skills in multivariable calculus.