Type a command or search the notes. Tab cycles completions. Up and down recall history when blank. Escape dismisses, then leaves the prompt.
MATH
[1251]

Fubini and iterated integrals

Compute double integrals by adding cross-sections in either order.

This page turns a double integral over a rectangle into two one-variable integrals. The Riemann-sum definition says what the integral means but is not a practical way to evaluate it. Instead, fix one coordinate, integrate across the resulting slice and then add the slices with a second integral.

When slice endpoints depend on the outer variable, regions bounded by curves extend the method. A change of variables reshapes slices that remain awkward.

[DEFINITION]

Double integral over a rectangle

Let ff be bounded on R=[a,b]×[c,d]R=[a,b]\times[c,d]. If there is a number II such that, for every ε>0\varepsilon>0, some δ>0\delta>0 makes every tagged partition with ∥P∥<δ\lVert P\rVert<\delta satisfy

∣∑i=1m∑j=1nf(xij∗,yij∗) ΔAij−I∣<ε,\left| \sum_{i=1}^{m}\sum_{j=1}^{n} f(x_{ij}^*,y_{ij}^*)\,\Delta A_{ij}-I \right|<\varepsilon,

then ff is Riemann integrable over RR and

∬Rf(x,y) dA=lim⁡∑i=1m∑j=1nf(xij∗,yij∗) ΔAij.\iint_R f(x,y)\,dA = \lim \sum_{i=1}^{m}\sum_{j=1}^{n} f(x_{ij}^*,y_{ij}^*)\,\Delta A_{ij}.

Add the slices

Let

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

Fixing x=x0x=x_0 leaves a slice in the yy-direction. Its signed cross-sectional area is the one-variable integral

Cvert(x0)=∫cdf(x0,y) dy,C_{\mathrm{vert}}(x_0)=\int_c^d f(x_0,y)\,dy,

provided this integral exists. Adding these areas as xx varies gives the double integral. Fixing y=y0y=y_0 instead gives slices in the other direction.

[DEFINITION]

Cross-section integral

For a function ff on R=[a,b]×[c,d]R=[a,b]\times[c,d], when the one-variable integrals exist, the vertical and horizontal cross-section integrals are

Cvert(x)=∫cdf(x,y) dy,Choriz(y)=∫abf(x,y) dx.C_{\mathrm{vert}}(x)=\int_c^d f(x,y)\,dy, \qquad C_{\mathrm{horiz}}(y)=\int_a^b f(x,y)\,dx.

They measure the signed areas of slices obtained by fixing xx or yy.

When f≥0f\ge0, these are ordinary cross-sectional areas. When ff takes both signs, negative parts are subtracted.

[THEOREM]

Fubini's theorem on a rectangle

If ff is continuous on

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

then

∬Rf(x,y) dA=∫ab(∫cdf(x,y) dy)dx=∫cd(∫abf(x,y) dx)dy.\begin{aligned} \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. \end{aligned}

The inner integral computes one cross-section and the outer integral adds the cross-sections. In

∫ab∫cdf(x,y) dy dx,\int_a^b\int_c^d f(x,y)\,dy\,dx,

the dydy says that yy is integrated first and the dxdx says that xx is integrated second. Limits must belong to the variable whose differential they accompany.

The iterated formula remains valid for a bounded piecewise-continuous ff whose discontinuities lie on finitely many piecewise-smooth curves. This includes zero extensions whose only discontinuities lie on the region boundary.

Unbounded or improper integrals need stronger safeguards. If ff is measurable and ∬R∣f∣ dA<∞\iint_R|f|\,dA<\infty, Fubini's theorem gives the two iterated integrals and permits their order to be exchanged. If f≥0f\ge0 is measurable, Tonelli's theorem gives the same equality with values in [0,∞][0,\infty], even when the integral is infinite. Similarly, if nonnegative functions increase pointwise to a limit, monotone convergence justifies passing the limit through the integral, as in the Basel sum.

An improper calculation should therefore first use bounded truncations (or a nonnegative convergence theorem). It must not subtract two separately divergent integrals.

[METHOD]

Choose an order of integration

To compute a double integral over a rectangle:

  1. inspect the integrand for a direct antiderivative in xx or yy;
  2. write the corresponding inner integral first;
  3. evaluate the inner integral while treating the other variable as constant;
  4. evaluate the remaining one-variable integral;
  5. use the other order as a check when it is comparably simple.

Under Fubini's hypotheses the two orders give the same value, but they need not be equally convenient.

[EXAMPLE]

Computing in both orders

Let

R=[0,1]×[0,2],f(x,y)=xy2.R=[0,1]\times[0,2], \qquad f(x,y)=xy^2.

Integrating with respect to xx first gives

∬Rxy2 dA=∫02∫01xy2 dx dy=∫02[x2y22]01dy=∫02y22 dy=43.\begin{aligned} \iint_R xy^2\,dA &=\int_0^2\int_0^1xy^2\,dx\,dy\\ &=\int_0^2\left[\frac{x^2y^2}{2}\right]_{0}^{1}dy\\ &=\int_0^2\frac{y^2}{2}\,dy =\frac43. \end{aligned}

Integrating with respect to yy first gives

∬Rxy2 dA=∫01∫02xy2 dy dx=∫01[xy33]02dx=∫018x3 dx=43.\begin{aligned} \iint_R xy^2\,dA &=\int_0^1\int_0^2xy^2\,dy\,dx\\ &=\int_0^1\left[\frac{xy^3}{3}\right]_{0}^{2}dx\\ &=\int_0^1\frac{8x}{3}\,dx =\frac43. \end{aligned}
[EXAMPLE]

Choosing the useful order

Consider

∬Rxexy dA,R=[2,4]×[1,3].\iint_R xe^{xy}\,dA, \qquad R=[2,4]\times[1,3].

Integrating in yy first uses the factor xx already present:

∬Rxexy dA=∫24∫13xexy dy dx=∫24[exy]13dx=∫24(e3x−ex) dx=[e3x3−ex]24=e123−e4−e63+e2.\begin{aligned} \iint_R xe^{xy}\,dA &=\int_2^4\int_1^3xe^{xy}\,dy\,dx\\ &=\int_2^4\left[e^{xy}\right]_{1}^{3}dx\\ &=\int_2^4(e^{3x}-e^x)\,dx\\ &=\left[\frac{e^{3x}}3-e^x\right]_2^4\\ &=\frac{e^{12}}3-e^4-\frac{e^6}{3}+e^2. \end{aligned}

The reverse order leaves xexyxe^{xy} as the inner integrand in xx, which needs integration by parts.

Products separate over rectangles

When the integrand is a function of xx times a function of yy, the double integral over a rectangle is the product of two single integrals.

[PROPOSITION]

Product separation

If gg is integrable on [a,b][a,b] and hh is integrable on [c,d][c,d], then f(x,y)=g(x)h(y)f(x,y)=g(x)h(y) is integrable on R=[a,b]×[c,d]R=[a,b]\times[c,d] and

∬Rg(x)h(y) dA=(∫abg(x) dx)(∫cdh(y) dy).\iint_R g(x)h(y)\,dA = \left(\int_a^b g(x)\,dx\right) \left(\int_c^d h(y)\,dy\right).

The factor that does not involve the inner variable pulls out of the inner integral.

[EXAMPLE]

A separated product

For R=[−1,1]×[0,π/4]R=[-1,1]\times[0,\pi/4],

∬Rx2sin⁡y dA=(∫−11x2 dx)(∫0π/4sin⁡y dy)=23(1−12).\begin{aligned} \iint_R x^2\sin y\,dA &=\left(\int_{-1}^{1}x^2\,dx\right) \left(\int_0^{\pi/4}\sin y\,dy\right)\\ &=\frac23\left(1-\frac1{\sqrt2}\right). \end{aligned}

[routine]

  1. [1]:Product separation

Why the hypotheses matter

Fubini's theorem is about a genuine double integral. It does not say that two improper iterated integrals must agree.

[EXAMPLE]

Different improper iterated integrals

Define on [0,1]2[0,1]^2

f(x,y)={1x2,0<y≤x≤1,−1y2,0<x<y≤1,0,x=0 or y=0.f(x,y)= \begin{cases} \dfrac1{x^2},&0<y\le x\le1,\\[6pt] -\dfrac1{y^2},&0<x<y\le1,\\[6pt] 0,&x=0\text{ or }y=0. \end{cases}

The values on the axes remove the undefined endpoint without changing any integral. For fixed x>0x>0, split the improper yy-integral at y=xy=x:

∫01f(x,y) dy=∫0x1x2 dy  +∫x1−1y2 dy=1x+(1−1x)=1.\begin{aligned} \int_0^1 f(x,y)\,dy &=\int_0^x\frac1{x^2}\,dy \;+\int_x^1-\frac1{y^2}\,dy\\ &=\frac1x+\left(1-\frac1x\right) =1. \end{aligned}

Thus one iterated integral gives

∫01∫01f(x,y) dy dx=1.\int_0^1\int_0^1f(x,y)\,dy\,dx=1.

For fixed y>0y>0, split the improper xx-integral at x=yx=y:

∫01f(x,y) dx=∫0y−1y2 dx  +∫y11x2 dx=−1y+(1y−1)=−1.\begin{aligned} \int_0^1f(x,y)\,dx &=\int_0^y-\frac1{y^2}\,dx \;+\int_y^1\frac1{x^2}\,dx\\ &=-\frac1y+\left(\frac1y-1\right) =-1. \end{aligned}

The other order gives

∫01∫01f(x,y) dx dy=−1.\int_0^1\int_0^1f(x,y)\,dx\,dy=-1.

There is no contradiction. The positive and negative parts each have infinite integral near the origin, so ff is not integrable over the square in the sense Fubini requires. The two calculations are different improper cancellations, not two values of one double integral.

On this page