Q: Solve $\int_0^1 \int_{y}^{\sqrt y}\sqrt{x^2+y^2} \,dx \,dy$ using polar coordinates.
I'm starting to learn this. I tried the following:
By drawing the graphs, I thought that I can say: $\dfrac{\pi}{4} < \theta < \dfrac{\pi}{2}$. Then if i fix an angle $\theta$, the radius $r$ will varie from $0$ to the distance between the origin and the intersection of the line that goes from the origin with angle $\theta$ ($x = tan(\theta)*y) $ and the curve $\sqrt y = x$.
The intersection occurs when $x = tan(\theta)*y = \sqrt y$, that is, $y = \dfrac{1}{tan^2(\theta)}$, and $x = \dfrac{1}{tan(\theta)}$. So, the radius is:
$r = \sqrt{x^2+y^2} = \sqrt{ \dfrac{1}{tan^2(\theta)} + \dfrac{1}{tan(\theta)}} = \sqrt{ \dfrac{tan (\theta) + 1}{tan^2(\theta)}}$.
Ok, so $0 < r < \sqrt{ \dfrac{tan (\theta) + 1}{tan^2(\theta)}}$.
And then we have that: $$\int_0^1 \int_{y}^{\sqrt y}\sqrt{x^2+y^2} \,dx \,dy = \int_{\pi/4}^{\pi/2} \int_0^{\sqrt{ \dfrac{tan (\theta) + 1}{tan^2(\theta)}}} r^2 \, dr \, d\theta$$.
But i think that this is a wrong (or very difficult) way to solve this. Can you say what i missed, or other ways to solve this? Thanks!
You have an algebra error here:
It should be $$r = \sqrt{x^2+y^2} = \sqrt{ \dfrac{1}{\tan^2(\theta)} + \dfrac{1}{\tan^4(\theta)}} = \frac{\sqrt{ \tan^2\theta + 1}}{\tan^2\theta} = \frac{\cos\theta}{\sin^2\theta}$$ The integral isn't too hard to do from there.
Hint: