I have an integral
$$\int_0^1 \int_0^1\sqrt{x^2+y^2}\ dxdy $$
and its result is $\approx0.765...$
I convert it to polar coordinates and get
$$\int_a^b \int_c^dr\ drd\phi $$
But how can I compute $a,b,c,d$?
I have an integral
$$\int_0^1 \int_0^1\sqrt{x^2+y^2}\ dxdy $$
and its result is $\approx0.765...$
I convert it to polar coordinates and get
$$\int_a^b \int_c^dr\ drd\phi $$
But how can I compute $a,b,c,d$?
On
I do not believe that polar coordinates are the best approach, since they are not suitable for describing a square. Anyway, if you fix an angle $0 \leq \phi < 2\pi$, you must compute the length of the segment that joins the origin with the boundary of the square and with angular coefficient $\tan \phi$. This length depends on $\phi$, but I am unsure if the iterated integral becomes easy.
On
Your region in $x$-$y$ plane is a square in 1st quadrant. So, your $\theta$ limits (i.e your c and d) are $(0,\pi/2)$. However, you need to split up the integral at $\frac{\pi}{4}$. You can notice this by drawing arbitrary ray from starting from origin and see that it leaves out at $x=1$ (in region $0$ to $\frac{\pi}{4})$ and $y=1$ (in region $\frac{\pi}{4}$ to $\frac{\pi}{2})$). So, your limits for $r$ will be from $0$ to $\sec\theta$ and $0$ to $\csc\theta$ in first and second integrals respectively which can be found out by putting $x=r\cos\theta$ in $x=1$
Note $dxdy=rdrd\theta$ here. so we have, $$\int_0^1 \int_0^1\sqrt{x^2+y^2}\ dxdy = \int_0^\frac\pi4\int_0^\frac1{\cos \theta}r^2drd\theta+ \int_\frac\pi4^\frac\pi2\int_0^\frac1{\sin\theta}r^2drd\theta$$