Change of Order of Integration Calculator

Type the limits of a double integral, innermost first, to reverse their order.

The limits of a region as they are now, innermost first: y between two curves in x, then x between two numbers.

Try

Result

You enteredy:0 to x; x:0 to 4y: 0\ \text{to}\ \sqrt{x};\ x: 0\ \text{to}\ 4

x:y2 to 4; y:0 to 2\displaystyle x: y^{2}\ \text{to}\ 4;\ y: 0\ \text{to}\ 2
Show the work
  1. The region as it is given

    The limits describe the region 0≤x≤40 \le x \le 4, 0≤y≤x0 \le y \le \sqrt{x}: for each xx the variable yy runs between two curves.

    y:0 to x; x:0 to 4y: 0\ \text{to}\ \sqrt{x};\ x: 0\ \text{to}\ 4
  2. Boundary curves solved for the other variable

    To reverse the order, solve each boundary curve for xx in terms of yy.

    y=0 (lower curve, no x in it),  y=x  ⇔  x=y2y = 0\ \text{(lower curve, no x in it)},\ \ y = \sqrt{x} \;\Leftrightarrow\; x = y^{2}
  3. Limits of the outer variable

    yy now runs over the whole height of the region, from its lowest point to its highest.

    0≤y≤20 \le y \le 2
  4. Limits of the inner variable

    For each yy, xx runs from the larger of the left-hand boundaries to the smaller of the right-hand ones, and one pair applies for the whole height.

    y2≤x≤4y^{2} \le x \le 4
  5. Check by area

    The area of the region is the same in both orders (5.333333), so the limits describe the same region.

    ∫ ⁣ ⁣∫1 dA=5.333333\int\!\!\int 1\,dA = 5.333333
  6. Result

    The limits with the order reversed, innermost first.

    x:y2 to 4; y:0 to 2x: y^{2}\ \text{to}\ 4;\ y: 0\ \text{to}\ 2

Worked examples