Fubini's Theorem asserts that for a function \(f(x,y)\) the volume under the surface which is bounded by a region \([a,b] \times [c,d]\) can be found either by first integrating with respect to y, or with respect to x. In either case, the other variable is treated like a constant. This means that if we make the bounds of y between c and d, and the bounds of x between a and b, then the two following integrals are equivalent! \[\int_{c}^{d}\int_{a}^{b}{f(x,y)dxdy}\] \[\int_{a}^{b}\int_{c}^{d}{f(x,y)dydx} \] This really only works easily for continuous functions. The fact that we can integrate x and y (or any collection of independent variables) in any order is surprisingly fundamental to quantum chemistry. For the three-dimensional wavefunction for electronic orbitals for a molecule, to determine the electronic surface, each electron is given a volume integral over the whole space, for each spin. If we couldn't integrate freely in any direction, matter as we know it ...