What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

Iterated Integral Calculator

Evaluate a two-variable integral in the stated inner-to-outer order.

Define the function and interval

Iterated Integral inputs

Enter the expression, point, or bounds that define this calculus question.

Calculated valueEnter the known values

The method, result, and an independent check will appear here.

Method for this result

  1. Complete the inputs and calculate.

Independent numerical check

  1. The check will use a different relationship or reverse operation where possible.

The rate, accumulation, or approximation being computed

∫ₐᵇ ∫_{g₁(x)}^{g₂(x)} f dy dx = ∫_c^d ∫_{h₁(y)}^{h₂(y)} f dx dy over the same region

Independent variables, bounds, and conditions

Symbols and inputs for Iterated Integral Calculator
SymbolQuantityMeaning
dy dxIntegration orderThe differential closest to f is done first. dy dx means y first.
g₁(x), g₂(x)Inner limitsThe bottom and top of a vertical slice. They may contain x.
a, bOuter limitsThe left and right edges of the whole region. Always constants.
regionThe shared regionBoth orders must describe the identical set of points, or the answers will not match.

Follow one changing quantity from setup to result

  1. An integral that stalls: ∫₀¹ ∫_y¹ sin(x²) dx dy
  2. Try the inner integral: ∫ sin(x²) dx has no elementary antiderivative, so this order is a dead end
  3. Describe the region from the limits: 0 ≤ y ≤ 1 and y ≤ x ≤ 1, the triangle with corners (0,0), (1,0) and (1,1)
  4. Describe the same triangle x-first: 0 ≤ x ≤ 1 and 0 ≤ y ≤ x
  5. Rewrite in the new order: ∫₀¹ ∫₀ˣ sin(x²) dy dx
  6. Inner integral in y is now trivial: sin(x²) · x, because sin(x²) is constant with respect to y
  7. Outer integral: ∫₀¹ x sin(x²) dx = −cos(x²)/2 from 0 to 1 = (1 − cos 1)/2 ≈ 0.2298

Where behavior and calculation can separate

Swapping dy dx to dx dy and leaving the limits as they were

That describes a different region, usually a rectangle where the original was a triangle.

Repair: Sketch the region, then read the new limits off the sketch: ∫₀¹ ∫_y¹ f dx dy becomes ∫₀¹ ∫₀ˣ f dy dx.

An inner limit that contains its own variable, like ∫₀ˣ f dx

The variable of integration disappears when the limits are substituted, so it cannot also appear in them.

Repair: Use the other variable: ∫₀ˣ f dy is fine, ∫₀ˣ f dx is not.

Giving up because ∫ sin(x²) dx has no antiderivative

The order was the problem, not the integral.

Repair: Reverse it, and the x that appears from the inner integration makes x sin(x²) integrable.

Change the interval or condition

  1. A different case: check that both orders agree: ∬ 6x²y dA over the rectangle 0 ≤ x ≤ 2, 1 ≤ y ≤ 3
  2. Order 1, inner in y: 6x² · y²/2 from 1 to 3 = 3x²(9 − 1) = 24x²
  3. Finish in x: ∫₀² 24x² dx = 8x³ from 0 to 2 = 64
  4. Order 2, inner in x: 6y · x³/3 from 0 to 2 = 2y(8) = 16y
  5. Finish in y: ∫₁³ 16y dy = 8y² from 1 to 3 = 72 − 8 = 64
  6. Compare: 64 = 64, exactly as Fubini's theorem promises for constant limits

Whether swapping the order is free, and what it costs when it is not

Whether swapping the order is free, and what it costs when it is not
RegionGiven orderReversed orderDo the limits change?
Rectangle 0 ≤ x ≤ 2, 1 ≤ y ≤ 3∫₀² ∫₁³ f dy dx∫₁³ ∫₀² f dx dyno, only the order of the same constants
Triangle y ≤ x ≤ 1, 0 ≤ y ≤ 1∫₀¹ ∫_y¹ f dx dy∫₀¹ ∫₀ˣ f dy dxyes, the variable moves from an outer to an inner limit
Under y = x², 0 ≤ x ≤ 2∫₀² ∫₀^{x²} f dy dx∫₀⁴ ∫_{√y}² f dx dyyes, and the outer range becomes 0 to 4
Above y = x², 0 ≤ x ≤ 1, y ≤ 1∫₀¹ ∫_{x²}¹ f dy dx∫₀¹ ∫₀^{√y} f dx dyyes, the square root appears from inverting y = x²

Questions about interpreting the result

When is reversing the order actually necessary?

When the inner antiderivative does not exist in elementary form. sin(x²), e^{x²} and (sin x)/x are the classic three. Reversing often supplies exactly the extra factor of x needed to make a substitution work, as it does above.

Do I always have to sketch the region?

Almost always, yes. The limits alone are easy to misread, and a picture of the triangle makes it obvious that y ≤ x ≤ 1 with 0 ≤ y ≤ 1 is the same set of points as 0 ≤ y ≤ x with 0 ≤ x ≤ 1.

What is Fubini's theorem in plain words?

If the function is continuous on the region, you can slice it in either direction and get the same total. It is why the rectangle example gives 64 both ways, and it is what licenses the whole reversing trick.

Can an iterated integral have three or more layers?

Yes, and the rule does not change: work from the innermost differential outward, and only the outermost limits are constants. Three layers is a triple integral over a solid, and the same reordering logic applies.

Understand the result from Iterated Integral Calculator

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.

Calculators related to Iterated Integral Calculator

See all calculators →

Calculus calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

Taylor polynomial calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

Graphing calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

Understand calculus behind this calculator

A calculator can check the arithmetic; use the calculus subject guide to rebuild the method, calculus practice questions to test selection, and the math formula library to confirm conditions and notation.