Calculate $\int_{0}^{2}\left (\int_{0}^{\sqrt{2x-x^2}} \sqrt{x^2+y^2}dy\right )dx$
My work: I tried polar coordinates x=$\rho*\cos(\theta)$;y=$\rho*\sin(\theta)$
I know that $\theta\in[0,\frac{\pi}{2}]$ but how can i find $\rho$?
My guess is $\rho\in[0,\frac{1}{\cos(\theta)}]$ ? Am i wrong? And if soo can somebody explain it to me.
The bound you are interested in is $y=\sqrt{2x-x^2}$, how does that translate over the polar.
If we square we have $y^2=2x-x^2$ or $x^2+y^2=2x$. Then if we translate to polar this gives, $r^2=2r\cos (\theta)$ which means $r=2\cos(\theta)$ is the bound. So then, remembering the Jacobian, we have,
$$\int_{0}^{\frac{\pi}{2}} \int_{0}^{2\cos(\theta)} r^2 dr d\theta$$