How this calculation works
Nested bounds describe which coordinates are still free at each integration stage. This page integrates supported polynomial expressions exactly, substitutes the inner bounds and carries the resulting polynomial into the next stage. Double mode integrates y then x; triple mode integrates z then y then x. Rational coefficients remain fractions throughout the calculation. The result is the entered oriented iterated integral, with no automatic interpretation of reversed bounds as an unsigned geometric region.
Double: ∫[a,b]∫[l(x),u(x)] f(x,y) dy dx. Triple: ∫[a,b]∫[l(x),u(x)]∫[p(x,y),q(x,y)] f(x,y,z) dz dy dx.A worked example
For f=x*y, x from zero to one and y from zero to x, the inner antiderivative is x*y²/2. Substitution gives x³/2, and the outer integral is 1/8. In triple mode, choosing f=1, x from zero to one, y from zero to 1−x and z from zero to 1−x−y gives the unit simplex volume 1/6. These use different bound fields, rather than changing the requested integration order behind the scenes.
Good to know
Input expressions expand to at most 100 monomials, total degree twelve and individual variable powers eight. Intermediate exact expansions are limited to 500 terms and degree thirty, with rational coefficient-growth safeguards. Numeric literals have at most six decimal places; fractions are exact. The outer endpoints must be rational constants. y bounds use x only and z bounds use x,y only. Curved-coordinate Jacobians, automatic region splitting, improper integrals and nonpolynomial functions are unsupported.
Reference: OpenStax — double integrals over general regions (opens in a new tab) ↗
An inner integration removes one variable before its bounds are substituted
While integrating with respect to y, x is held constant. The coefficient x in the default integrand therefore remains outside the y antiderivative, and the bound y=x is substituted only afterward. Substituting that bound into the original integrand first would turn x*y into x² and lose the integration across the whole vertical slice. The intermediate-expression table makes this order visible and provides a useful place to check a hand calculation.
Triple mode applies the same rule once more. Over the unit simplex, integrating density one in z first produces 1−x−y. Integration from y=0 to y=1−x then gives (1−x)²/2, whose integral from zero to one is 1/6. For density x*y*z on the same region the result is 1/720. That weighted example checks all three variables and cannot be reproduced merely by multiplying a volume by one arbitrary sampled density.
The Scalar surface integral calculator for a parametrized surface instead includes a cross-product area element for a mapped surface.
Oriented iterated integrals and nonnegative region measures are different promises
If y is integrated from x down to zero over x in [0,1], density one gives −1/2. The calculator preserves that sign. It does not reorder the bounds and return the positive triangle area. If the upper and lower polynomials cross inside the outer interval, the expression can similarly combine oppositely oriented slices. A geometric-region calculation may need splitting at those crossings; determining and proving that split is not part of this form.
Exact arithmetic concerns the entered polynomial and bounds, not the physical interpretation of a model. An input decimal 0.333333 is an exact finite decimal here and differs from 1/3. In cylindrical or spherical coordinates, an appropriate Jacobian must be present in the integrand and the coordinate symbols must be interpreted consistently; the tool does not infer it from a familiar-looking bound. For a supported Cartesian problem, the displayed successive expressions let you verify where each dependency disappears and whether the final answer is truly constant.
A few questions, answered
Can I integrate in a different order?
Rewrite the region and rename coordinates consistently before entering it. The form fixes y→x or z→y→x; it does not automatically derive equivalent bounds for another order.
Why can my y bound not contain y or z?
At the y stage, y is being integrated and z has either never existed in double mode or has already been removed in triple mode. Only the outer variable x remains available to define that bound.