Substitute to polar coordinates and change order of integral
$$\int_{0}^{1} \int_{0}^{x^2} f(x,y) dy dx$$
I could substitute to polar coordinates, but failed to change the order of integral
$x=r\cos\theta$, $y=r\sin\theta$.
$$\int_{0}^{1} \int_{0}^{x^2} f(x,y) dy dx = \int_{0}^{\frac{\pi}{4}}d\theta \int_{\frac{\sin\theta}{{\cos^2\theta}}}^{\frac{1}{\cos\theta}} r f(r\cos\theta,r\sin\theta) dr$$.
ADDED
$r=\frac{1}{cos\theta}$, $\theta = \arccos\frac{1}{r}$
$r=\frac{\sin\theta}{{\cos^2\theta}}$, $\sin\theta= r(1-sin^2\theta)$, $sin\theta = \frac{-1\pm \sqrt{1+4r^2}}{2r}$, $\theta = \arcsin \frac{-1\pm \sqrt{1+4r^2}}{2r}$
when $\theta = 0$, $r=0$ to $r=1$, when $\theta = \frac{\pi}{4}$, $r=\sqrt{2}$
My problem is, that when $r \rightarrow 0$, I am not able to see what is happening. I need $r$, $\theta$ dependency graph.
