Fubini theorem for Riemann integrals

For continuous functions on a rectangle, iterated integrals exist and agree with the double Riemann integral.
Fubini theorem for Riemann integrals

Fubini theorem (Riemann):

Let a<ba<b and c<dc<d, and let f:[a,b]×[c,d]Rf:[a,b]\times[c,d]\to\mathbb{R} be continuous. Then ff is , the two exist, and

ab(cdf(x,y)dy)dx=cd(abf(x,y)dx)dy= \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 =

[a,b]×[c,d]f(x,y)dA. \iint_{[a,b]\times[c,d]} f(x,y)\,dA.

This allows one to compute a by integrating one variable at a time, and it is a key tool for evaluating many in practice.