Fubini's theorem: Let (X,Σ,μ)(X,\Sigma,\mu) and (Y,T,ν)(Y,\mathcal T,\nu) be σ\sigma-finite measure spaces, and let f:X×YRf:X\times Y\to\mathbb R be (ΣT)(\Sigma\otimes\mathcal T)-measurable. If

X×Yfd(μ×ν)<,\int_{X\times Y} |f|\,d(\mu\times\nu)<\infty,

then for μ\mu-almost every xXx\in X the section yf(x,y)y\mapsto f(x,y) is ν\nu-integrable, and for ν\nu-almost every yYy\in Y the section xf(x,y)x\mapsto f(x,y) is μ\mu-integrable. Moreover, the iterated integrals exist as finite numbers and satisfy

X×Yfd(μ×ν)=X(Yf(x,y)dν(y))dμ(x)=Y(Xf(x,y)dμ(x))dν(y).\int_{X\times Y} f\,d(\mu\times\nu) = \int_X\Big(\int_Y f(x,y)\,d\nu(y)\Big)\,d\mu(x) = \int_Y\Big(\int_X f(x,y)\,d\mu(x)\Big)\,d\nu(y).

This theorem applies to on a space and justifies computing a by iterated integration. Compare , which gives the same conclusion for nonnegative functions without assuming f<\int|f|<\infty.