Fubini’s Theorem
Fubini’s Theorem and Iterated Integrals
Double integrals as volume
Let f(x,y) be a continuous, real-valued function on a rectangle
where a≤x≤b and c≤y≤d. The double integral
represents the function’s signed volume over the rectangular region. Where f is positive, it contributes positive volume; where f is negative, it contributes negative volume.
The differential dA indicates that the integral is taken over a two-dimensional area. It may be written as dxdy or dydx when the order of integration is specified.
The Riemann-sum definition
To define a double integral using Riemann sums:
Divide the rectangle into small subrectangles by partitioning both coordinate intervals.
Choose a sample point in each subrectangle and use the function’s value there as the height of a small prism.
Multiply each height by the area of its subrectangle, then add all the resulting volumes.
As the subrectangles become smaller, the sum approaches the double integral. This approach defines integration over a two-dimensional region, but it can be cumbersome to use directly for calculations.
Iterated integrals and Fubini’s theorem
Instead of subdividing the rectangle in both directions, a calculation can treat the region as a collection of thin slices.
For example, divide the x-interval into short pieces of width Δx. At a representative value xi∗, the cross-section parallel to the yz-plane has area
A thin slice has approximate volume g(xi∗)Δx. Adding these slice volumes produces a one-dimensional Riemann sum for g, which leads to
This calculation is called an iterated integral: one single-variable integral is evaluated inside another. It is conceptually different from the original double-integral definition. Fubini’s theorem establishes conditions under which the iterated integral equals the double integral.
If f is continuous on the rectangle R=[a,b]×[c,d], then either order of iterated integration computes its double integral:
∬Rf(x,y)dA=∫ab(∫cdf(x,y)dy)dx=∫cd(∫abf(x,y)dx)dy.
The order of integration determines which variable is integrated first:
In ∫ab(∫cdf(x,y)dy)dx, the inside integral is with respect to y, from c to d. The result is then integrated with respect to x, from a to b.
In ∫cd(∫abf(x,y)dx)dy, the inside integral is with respect to x, from a to b. The result is then integrated with respect to y, from c to d.
For a continuous function on a rectangle, either order is valid. However, one order may be easier to evaluate than the other.
Evaluating iterated integrals
Each stage of an iterated integral is an ordinary single-variable integral. While integrating with respect to one variable, all other variables are treated as constants. After completing the inside integral, the variable integrated out no longer appears; the resulting expression is used in the outside integral.
Example: Integrating with respect to x first
Evaluate
The inside integral is with respect to x, so y is treated as constant:
Now integrate the result with respect to y:
Thus the double integral is 8.
Example: Integrating x+y over a rectangle
Evaluate
Since the inside integral is with respect to y, treat x as constant:
Then
Example: Using substitution within an iterated integral
Consider
The inside integral is with respect to x. Split it into two integrals:
For the first integral, use u=x2, so du=2xdx. The bounds change from x=1,2 to u=1,4:
For the second integral, y is constant with respect to x:
Therefore, the inside integral is 21(e4−e)+y, and the full integral becomes
This example illustrates that standard single-variable techniques—such as substitution and splitting an integral over a sum—can be applied at each stage of an iterated integral.
Choosing the order of integration
Fubini’s theorem allows the order of integration to be reversed when its conditions are met. This can simplify a calculation if one order leads to an integral that is difficult or impossible to evaluate directly.
When the region is a rectangle, reversing the order changes which variable is integrated first and which bounds belong to each integral. It does not change the region or the value of the double integral.
Example: Using odd symmetry
Consider the integrand
over the rectangle
Integrating first with respect to y may be difficult. Instead, integrate first with respect to x. For each fixed y, each term is an odd function of x:
x3ey2 is odd in x because x3 is odd and ey2 is constant with respect to x.
sin(y)sin(x) is odd in x because sin(y) is constant with respect to x and sin(x) is odd.
xtan(y2) is odd in x because the square-root factor is constant with respect to x and x is odd.
An odd function integrated over a symmetric interval has integral zero:
Consequently, the inner integral is zero for every allowed y, and the double integral is 0. Recognizing symmetry can therefore eliminate the need for complicated antiderivatives.
A note on checking the calculation
For an example with integrand 3xy+ey and bounds −1≤x≤2 and −1≤y≤2, integrating first with respect to x gives
Then
The coefficient 3 in the integrand is necessary for this result. If the integrand were instead xy+ey, its y-term after the inner integration would be 23y, not 29y.
Key ideas
A double integral can be defined by approximating the volume with prisms over subrectangles.
Fubini’s theorem allows a double integral of a continuous function over a rectangle to be computed as either order of iterated integration.
In an iterated integral, evaluate the inside integral first, treating other variables as constants; then integrate the result with respect to the remaining variable.
Familiar single-variable techniques apply to each integral in turn.
Reversing the order can simplify a problem, particularly when one order reveals symmetry or makes the antiderivative easier to find.

Ask anything
We've read this whole study set, so questions about it get the best answers.