# Solving a double integration $\int_{0}^1\int_0^{\sqrt{2y-y^2}}\ dxdy$ using polar coordinates

Using polar coordinates find the value of the double integral: $$\int_{0}^1\int_0^{\sqrt{2y-y^2}}\ dxdy.$$

My attempt was as follows :

For the limits, $$\theta$$ will vary from $$0$$ to $$\pi/2$$ and $$r$$ will vary from $$0$$ to $$2\sin(\theta)$$. The integrand will be $$r\ drd\theta$$. The answer of this double integration will give me the area of right half of the circle, then multiplying this result by $$1/2$$ will give me the area of the right quarter of the circle as needed.

So this attempt is correct? My answer is $$\pi/4$$.

Yes that's correct indeed the equation

$$x=\sqrt{2y-y^2}\implies x^2 +(y-1)^2 = 1$$

represents a circle centered at $$(0,1)$$ with radius equal to $$1$$ and the given integral corresponds to the area of a quarter that is ineed equal to $$\frac{\pi}4$$

We are constrained by:

$$x = \sqrt {2y - y^2},x = 0, y=1$$

In polar coordinates we need to break this in two. one region bound by:

$$r = 2\sin\theta\\ \theta \in [0, \frac \pi{4})$$

$$\int_0^{\frac {\pi}{4}}\int_0^{2\sin\theta} r\ dr\ d\theta\\ t - \sin\theta\cos\theta|_0^{\frac {\pi}{4}}\\ \frac \pi 4 - \frac 12$$

one bound by: $$r = \csc \theta\\ r \in [\frac {\pi}4, \frac {\pi}{2}]$$

$$+\int_{\frac {\pi}{4}}^{\frac {\pi}{2}}\int_0^{\csc\theta} r \ dr\ d\theta\\ -\frac 12 \cot\theta |_{\frac {\pi}{4}}^{\frac {\pi}{2}}\\ \frac 12$$

or we could translate our polar coordinates.

$$x = r\cos \theta\\ y = r\sin\theta + 1$$

$$\int_{-\frac {\pi}{2}}^{0}\int_0^{1} r\ dr\ d\theta\\ \frac {\pi}{4}$$

• Note that y varies from $0$ to $1$. We shoud divide the integral in two parts or as an alternative set the origin at $(0,1)$. – user Nov 5 '18 at 22:28

Your answer is correct but you actually did not solve the required integral.

What you have done with your limits of integration is smart but wrong, because you changed your limits to find twice the area which makes your integration simple.

Note that they require the integral which represent the quarter circle not the semi circle.

You have to do two integrals one for $$0\le \theta \le \pi /4$$ and one for $$\pi /4\le \theta \le \pi /2$$ and your $$r$$ has different limits due the straight line $$y=1$$ for the second part.

• His way is correct, indeed he has evaluated twice the integral and then divided it by $2$. It is a good way to proceed once we know what the domain is. Your suggestion is of course valid for an evaluation but it is not needed in that case. – user Nov 5 '18 at 22:31
• Yes, the answer is correct and his method is smart. He avoided the actual integral with a smart trick. This works if the integrand is symmetrical such as in this case but in general one has to be careful. – Mohammad Riazi-Kermani Nov 5 '18 at 22:35
• Yes I think indeed that it is a smart way. Your suggestion still remains useful of course! – user Nov 5 '18 at 22:37