Find the double integral of $x$ over $S$ where $S$ is the area bounded by $x^2 + y^2 \leqslant 2$ and $x \geqslant 1$. Use the following subtitution: $x=r\cosθ ,y=r\sinθ$.
I have separated the original integral (let it be $I$) into $I=J-K-2L$, where $J$ is the double integral from $-π/2$ to $π/2$ and from $0$ to$\sqrt2$ of $r\cosθ$, $K$ is the double integral from $π/4$ to $π/2$ and from $0$ to $\sqrt2$ of $r\cosθ$, $L$ is the double integral from $0$ to $1$ and from $0$ to $x$ of $x$.
The result I got was: $(3\sqrt2 - 10)/6$ but I am not sure if it is correct because it is negative. Is my method correct? If not, which is?
Note that $x=1$ in polar coordinates is $r\cos \theta =1$ which is $ r=\sec \theta$
Thus the region of integration is simply $$ -\pi /4\le \theta \le \pi /4 \\ \sec \theta \le r \le \sqrt 2$$
You just need to integrate $r\cos \theta$ over that region.