Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

10.2: Iterated integrals and Fubini theorem

( \newcommand{\kernel}{\mathrm{null}\,}\)

Iterated integrals and Fubini theorem

The Riemann integral in several variables is hard to compute from the definition. For one-dimensional Riemann integral we have the fundamental theorem of calculus (FIXME) and we can compute many integrals without having to appeal to the definition of the integral. We will rewrite a a Riemann integral in several variables into several one dimensional Riemann integrals by iterating. However, if f:[0,1]2R is a Riemann integrable function, it is not immediately clear if the three expressions [0,1]2f,1010f(x,y)dxdy,and1010f(x,y)dydx are equal, or if the last two are even well-defined.

Define f(x,y):={1 if x=\nicefrac12 and yQ,0 otherwise. Then f is Riemann integrable on R:=[0,1]2 and Rf=0. Furthermore, 1010f(x,y)dxdy=0. However 10f(\nicefrac12,y)dy does not exist, so we cannot even write 1010f(x,y)dydx.

Proof: Let us start with integrability of f. We simply take the partition of [0,1]2 where the partition in the x direction is {0,\nicefrac12ϵ,\nicefrac12+ϵ,1} and in the y direction {0,1}. The subrectangles of the partition are R1:=[0,\nicefrac12ϵ]×[0,1],R2:=[\nicefrac12ϵ,\nicefrac12+ϵ]×[0,1],R3:=[\nicefrac12+ϵ,1]×[0,1]. We have m1=M1=0, m2=0, M2=1, and m3=M3=0. Therefore, L(P,f)=m1(\nicefrac12ϵ)1+m2(2ϵ)1+m3(\nicefrac12ϵ)1=0, and U(P,f)=M1(\nicefrac12ϵ)1+M2(2ϵ)1+M3(\nicefrac12ϵ)1=2ϵ. The upper and lower sum are arbitrarily close and the lower sum is always zero, so the function is integrable and Rf=0.

For any y, the function that takes x to f(x,y) is zero except perhaps at a single point x=\nicefrac12. We know that such a function is integrable and 10f(x,y)dx=0. Therefore, 1010f(x,y)dxdy=0.

However if x=\nicefrac12, the function that takes y to f(\nicefrac12,y) is the nonintegrable function that is 1 on the rationals and 0 on the irrationals. See .

We will solve this problem of undefined inside integrals by using the upper and lower integrals, which are always defined.

We split Rn+m into two parts. That is, we write the coordinates on Rn+m=Rn×Rm as (x,y) where xRn and yRm. For a function f(x,y) we write fx(y):=f(x,y) when x is fixed and we wish to speak of the function in terms of y. We write fy(x):=f(x,y) when y is fixed and we wish to speak of the function in terms of x.

[mv:fubinivA] Let R×SRn×Rm be a closed rectangle and f:R×SR be integrable. The functions g:RR and h:RR defined by g(x):=S_fxandh(x):=¯Sfx are integrable over R and Rg=Rh=R×Sf.

In other words R×Sf=R(S_f(x,y)dy)dx=R(¯Sf(x,y)dy)dx. If it turns out that fx is integrable for all x, for example when f is continuous, then we obtain the more familiar R×Sf=RSf(x,y)dydx.

Let P be a partition of R and P be a partition of S. Let R1,R2,,RN be the subrectangles of P and R1,R2,,RK be the subrectangles of P. Then P×P is the partition whose subrectangles are Rj×Rk for all 1jN and all 1kK.

Let mj,k:=inf(x,y)Rj×Rkf(x,y). We notice that V(Rj×Rk)=V(Rj)V(Rk) and hence L(P×P,f)=Nj=1Kk=1mj,kV(Rj×Rk)=Nj=1(Kk=1mj,kV(Rk))V(Rj). If we let mk(x):=infyRkf(x,y)=infyRkfx(y), then of course if xRj then mj,kmk(x). Therefore Kk=1mj,kV(Rk)Kk=1mk(x)V(Rk)=L(P,fx)S_fx=g(x). As we have the inequality for all xRj we have Kk=1mj,kV(Rk)infxRjg(x). We thus obtain L(P×P,f)Nj=1(infxRjg(x))V(Rj)=L(P,g).

Similarly U(P×P,f)U(P,h), and the proof of this inequality is left as an exercise.

Putting this together we have L(P×P,f)L(P,g)U(P,g)U(P,h)U(P×P,f). And since f is integrable, it must be that g is integrable as U(P,g)L(P,g)U(P×P,f)L(P×P,f), and we can make the right hand side arbitrarily small. Furthermore as L(P×P,f)L(P,g)U(P×P,f) we must have that Rg=R×Sf.

Similarly we have L(P×P,f)L(P,g)L(P,h)U(P,h)U(P×P,f), and hence U(P,h)L(P,h)U(P×P,f)L(P×P,f). So if f is integrable so is h, and as L(P×P,f)L(P,h)U(P×P,f) we must have that Rh=R×Sf.

We can also do the iterated integration in opposite order. The proof of this version is almost identical to version A, and we leave it as an exercise to the reader.

[mv:fubinivB] Let R×SRn×Rm be a closed rectangle and f:R×SR be integrable. The functions g:SR and h:SR defined by g(x):=S_fyandh(x):=¯Sfx are integrable over S and Sg=Sh=R×Sf.

That is we also have R×Sf=S(R_f(x,y)dx)dy=S(¯Rf(x,y)dx)dy.

Next suppose that fx and fy are integrable for simplicity. For example, suppose that f is continuous. Then by putting the two versions together we obtain the familiar R×Sf=RSf(x,y)dydx=SRf(x,y)dxdy.

Often the Fubini theorem is stated in two dimensions for a continuous function f:RR on a rectangle R=[a,b]×[c,d]. Then the Fubini theorem states that Rf=badcf(x,y)dydxdcbaf(x,y)dxdy. And the Fubini theorem is commonly thought of as the theorem that allows us to swap the order of iterated integrals.

We can also obtain the Repeatedly applying Fubini theorem gets us the following corollary: Let R:=[a1,b1]×[a2,b2]××[an,bn]Rn be a closed rectangle and let f:RR be continuous. Then Rf=b1a1b2a2bnanf(x1,x2,,xn)dxndxn1dx1.

Clearly we can also switch the order of integration to any order we please. We can also relax the continuity requirement by making sure that all the intermediate functions are integrable, or by using upper or lower integrals.

Exercises

Prove the assertion U(P×P,f)U(P,h) from the proof of .

Prove .

FIXME


10.2: Iterated integrals and Fubini theorem is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

Support Center

How can we help?