1. Home
  2. Explore
  3. Mathematics
  4. Fubini’s Theorem

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Fubini’s Theorem

Fubini’s Theorem and Iterated Integrals

Double integrals as volume

Let f(x,y)f(x,y)f(x,y) be a continuous, real-valued function on a rectangle

R=[a,b]×[c,d],R=[a,b]\times[c,d],R=[a,b]×[c,d],

where a≤x≤ba\le x\le ba≤x≤b and c≤y≤dc\le y\le dc≤y≤d. The double integral

∬Rf(x,y) dA\iint_R f(x,y)\,dA∬R​f(x,y)dA

represents the function’s signed volume over the rectangular region. Where fff is positive, it contributes positive volume; where fff is negative, it contributes negative volume.

The differential dAdAdA indicates that the integral is taken over a two-dimensional area. It may be written as dx dydx\,dydxdy or dy dxdy\,dxdydx when the order of integration is specified.

The Riemann-sum definition

To define a double integral using Riemann sums:

  1. Divide the rectangle into small subrectangles by partitioning both coordinate intervals.

  2. Choose a sample point in each subrectangle and use the function’s value there as the height of a small prism.

  3. 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 xxx-interval into short pieces of width Δx\Delta xΔx. At a representative value xi∗x_i^*xi∗​, the cross-section parallel to the yzyzyz-plane has area

g(xi∗)=∫cdf(xi∗,y) dy.g(x_i^*)=\int_c^d f(x_i^*,y)\,dy.g(xi∗​)=∫cd​f(xi∗​,y)dy.

A thin slice has approximate volume g(xi∗)Δxg(x_i^*)\Delta xg(xi∗​)Δx. Adding these slice volumes produces a one-dimensional Riemann sum for ggg, which leads to

∫ab(∫cdf(x,y) dy)dx.\int_a^b\left(\int_c^d f(x,y)\,dy\right)dx.∫ab​(∫cd​f(x,y)dy)dx.

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 fff is continuous on the rectangle R=[a,b]×[c,d]R=[a,b]\times[c,d]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.\iint_R f(x,y)\,dA = \int_a^b\left(\int_c^d f(x,y)\,dy\right)dx = \int_c^d\left(\int_a^b f(x,y)\,dx\right)dy.∬R​f(x,y)dA=∫ab​(∫cd​f(x,y)dy)dx=∫cd​(∫ab​f(x,y)dx)dy.

The order of integration determines which variable is integrated first:

  • In ∫ab(∫cdf(x,y) dy)dx\int_a^b\left(\int_c^d f(x,y)\,dy\right)dx∫ab​(∫cd​f(x,y)dy)dx, the inside integral is with respect to yyy, from ccc to ddd. The result is then integrated with respect to xxx, from aaa to bbb.

  • In ∫cd(∫abf(x,y) dx)dy\int_c^d\left(\int_a^b f(x,y)\,dx\right)dy∫cd​(∫ab​f(x,y)dx)dy, the inside integral is with respect to xxx, from aaa to bbb. The result is then integrated with respect to yyy, from ccc to ddd.

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 xxx first

Evaluate

∫01∫02(3x2+cos⁡(πy)) dx dy.\int_0^1\int_0^2 \left(3x^2+\cos(\pi y)\right)\,dx\,dy.∫01​∫02​(3x2+cos(πy))dxdy.

The inside integral is with respect to xxx, so yyy is treated as constant:

∫02(3x2+cos⁡(πy)) dx=[x3+xcos⁡(πy)]02=8+2cos⁡(πy).\int_0^2 \left(3x^2+\cos(\pi y)\right)\,dx = \left[x^3+x\cos(\pi y)\right]_0^2 = 8+2\cos(\pi y).∫02​(3x2+cos(πy))dx=[x3+xcos(πy)]02​=8+2cos(πy).

Now integrate the result with respect to yyy:

∫01(8+2cos⁡(πy)) dy=[8y+2πsin⁡(πy)]01=8.\int_0^1 \left(8+2\cos(\pi y)\right)\,dy = \left[8y+\frac{2}{\pi}\sin(\pi y)\right]_0^1 = 8.∫01​(8+2cos(πy))dy=[8y+π2​sin(πy)]01​=8.

Thus the double integral is 888.

Example: Integrating x+yx+yx+y over a rectangle

Evaluate

∫01∫13(x+y) dy dx.\int_0^1\int_1^3 (x+y)\,dy\,dx.∫01​∫13​(x+y)dydx.

Since the inside integral is with respect to yyy, treat xxx as constant:

∫13(x+y) dy=[xy+12y2]13=3x+92−x−12=2x+4.\int_1^3 (x+y)\,dy = \left[xy+\frac{1}{2}y^2\right]_1^3 = 3x+\frac{9}{2}-x-\frac{1}{2} = 2x+4.∫13​(x+y)dy=[xy+21​y2]13​=3x+29​−x−21​=2x+4.

Then

∫01(2x+4) dx=[x2+4x]01=5.\int_0^1 (2x+4)\,dx = \left[x^2+4x\right]_0^1 = 5.∫01​(2x+4)dx=[x2+4x]01​=5.

Example: Using substitution within an iterated integral

Consider

∫13∫12(xex2+y) dx dy.\int_1^3\int_1^2 \left(xe^{x^2}+y\right)\,dx\,dy.∫13​∫12​(xex2+y)dxdy.

The inside integral is with respect to xxx. Split it into two integrals:

∫12xex2 dx+∫12y dx.\int_1^2 xe^{x^2}\,dx+\int_1^2 y\,dx.∫12​xex2dx+∫12​ydx.

For the first integral, use u=x2u=x^2u=x2, so du=2x dxdu=2x\,dxdu=2xdx. The bounds change from x=1,2x=1,2x=1,2 to u=1,4u=1,4u=1,4:

∫12xex2 dx=12∫14eu du=12(e4−e).\int_1^2 xe^{x^2}\,dx = \frac{1}{2}\int_1^4 e^u\,du = \frac{1}{2}(e^4-e).∫12​xex2dx=21​∫14​eudu=21​(e4−e).

For the second integral, yyy is constant with respect to xxx:

∫12y dx=y.\int_1^2 y\,dx=y.∫12​ydx=y.

Therefore, the inside integral is 12(e4−e)+y\frac{1}{2}(e^4-e)+y21​(e4−e)+y, and the full integral becomes

∫13(12(e4−e)+y) dy=e4−e+4.\int_1^3\left(\frac{1}{2}(e^4-e)+y\right)\,dy = e^4-e+4.∫13​(21​(e4−e)+y)dy=e4−e+4.

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

x3ey2+sin⁡(y)sin⁡(x)+xtan⁡(y2)x^3e^{y^2}+\sin(y)\sin(x)+x\sqrt{\tan(y^2)}x3ey2+sin(y)sin(x)+xtan(y2)​

over the rectangle

−1≤x≤1,−π3≤y≤π4.-1\le x\le 1, \qquad -\frac{\pi}{3}\le y\le\frac{\pi}{4}.−1≤x≤1,−3π​≤y≤4π​.

Integrating first with respect to yyy may be difficult. Instead, integrate first with respect to xxx. For each fixed yyy, each term is an odd function of xxx:

  • x3ey2x^3e^{y^2}x3ey2 is odd in xxx because x3x^3x3 is odd and ey2e^{y^2}ey2 is constant with respect to xxx.

  • sin⁡(y)sin⁡(x)\sin(y)\sin(x)sin(y)sin(x) is odd in xxx because sin⁡(y)\sin(y)sin(y) is constant with respect to xxx and sin⁡(x)\sin(x)sin(x) is odd.

  • xtan⁡(y2)x\sqrt{\tan(y^2)}xtan(y2)​ is odd in xxx because the square-root factor is constant with respect to xxx and xxx is odd.

An odd function integrated over a symmetric interval has integral zero:

∫−11h(x) dx=0when h(−x)=−h(x).\int_{-1}^{1} h(x)\,dx=0 \quad\text{when }h(-x)=-h(x).∫−11​h(x)dx=0when h(−x)=−h(x).

Consequently, the inner integral is zero for every allowed yyy, and the double integral is 000. Recognizing symmetry can therefore eliminate the need for complicated antiderivatives.


A note on checking the calculation

For an example with integrand 3xy+ey3xy+e^y3xy+ey and bounds −1≤x≤2-1\le x\le 2−1≤x≤2 and −1≤y≤2-1\le y\le 2−1≤y≤2, integrating first with respect to xxx gives

∫−12(3xy+ey) dx=[32x2y+xey]−12=92y+3ey.\int_{-1}^{2}(3xy+e^y)\,dx = \left[\frac{3}{2}x^2y+xe^y\right]_{-1}^{2} = \frac{9}{2}y+3e^y.∫−12​(3xy+ey)dx=[23​x2y+xey]−12​=29​y+3ey.

Then

∫−12(92y+3ey) dy=[94y2+3ey]−12=9+3e2−94−3e.\int_{-1}^{2}\left(\frac{9}{2}y+3e^y\right)\,dy = \left[\frac{9}{4}y^2+3e^y\right]_{-1}^{2} = 9+3e^2-\frac{9}{4}-\frac{3}{e}.∫−12​(29​y+3ey)dy=[49​y2+3ey]−12​=9+3e2−49​−e3​.

The coefficient 333 in the integrand is necessary for this result. If the integrand were instead xy+eyxy+e^yxy+ey, its yyy-term after the inner integration would be 32y\frac{3}{2}y23​y, not 92y\frac{9}{2}y29​y.


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.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent