Sketch the region of integration and then compute the following double integral: $$\int_0^1 \int_y^{\sqrt{2-y^2}}(x+y)dxdy$$
https://www.desmos.com/calculator/k5uz2mr2ml
Then I characterized the region as: $$R=\{(r,\theta) \,\,\, | \,\,\, 0 \leq r \leq ?? \,\,\,\, \& \frac{\pi}{4} \leq \theta \frac{\pi}{2} \}$$
I thought that the upper bound for r should be $sec(\theta)$ because if $y=x$, we get $$x^2+y^2=2 \implies 2x^2=2 \implies r^2cos^2\theta = 1 \implies r=sec(\theta)$$
But if that is the case, the following integral diverges as $sec(\frac{\pi}{2} )$is not defined.
$$\int_{\pi/4}^{\pi/2} \int_0^{sec(\theta)} r^2(cos(\theta)+sin(\theta)) drd\theta$$
$$=\frac{1}{3}\int_{\pi/4}^{\pi/2} (sec^2(\theta) + \frac{sin(\theta)}{cos^2(\theta)} ) d\theta \implies \frac{1}{3} \left ( tan(\theta) + \frac{1}{2cos^2(\theta)} \right )_{\frac{\pi}{4}}^{\frac{\pi}{2}}= ???? $$
Where did I mess up? How would you approach this problem?
Thank you in advance for your time.