When changing the order of double integrals, I have always relied on sketching the region. I have recently come across this example on MSE by @FelixMartin which seems to avoid visual-based reasoning, and a comment below it says that it's "very nice and neat". But I have no idea what's going on with the $\Theta()$. Can someone please give me a hint?
\begin{eqnarray*} \int_{0}^{8}\int_{\sqrt[3]{\vphantom{\large a}y\,}}^{2}{\rm f}\left(x, y\right)\,{\rm d}x\,{\rm d}y & = & \int_{0}^{8}\left\lbrack\int_{0}^{2}\Theta\left(x - \sqrt[3]{\vphantom{\large a}y\,} \right) {\rm f}\left(x, y\right)\,{\rm d}x\right\rbrack{\rm d}y \\ & = & \int_{0}^{2}\left\lbrack\int_{0}^{8}\Theta\left(x^{3} - y\right) {\rm f}\left(x, y\right)\,{\rm d}y\right\rbrack{\rm d}x \\ & = & \int_{0}^{2}\left\lbrack\int_{0}^{x^{3}} {\rm f}\left(x, y\right)\,{\rm d}y\right\rbrack{\rm d}x \end{eqnarray*}
PS: sorry for the verbatim copying, I just reckoned it would save people some time.