# Converting to polar double integrals

• cos(e)
In summary, the student is trying to find the area of a circle using polar coordinates. However, they are having trouble integrating the equation.

## Homework Statement

we are given the intgral from 0 to 2( the integral from 0 to sqrt(1-(x-1)^2) of ((x+y)/(x^2+y^2))dydx, so convert to polar integral and solve

## The Attempt at a Solution

i got integral from 0 to pi/2(integral 0 to 2cos(theta) of (x+y)/r dr d(theta), and not sure if I am right and don't know how to procede. i let x=1+cos(theta) and y=sin(theta) and r^2=x^2+y^2. sorry bout the ugly format but i don't know how to write it out in maths form.

Last edited:
Strictly speaking, you have shifted the coordinate system so the origin is at the old (1, 0). That perfectly valid but might violate instruction to just change to polar coordinates.

If $x= 1+ cos(\theta)$ and $y= sin(\theta)$ then $\sqrt{1- (x-1)^2}= \sqrt{1- r^2cos^2(\theta)}= sin(\theta)$ so your equation becomes $y= r sin(\theta)= sin(\theta)$ and $r= 1$, a circle about the origin with radius 1 (the graph in the original coordinates is, of course, a circle about (1, 0) with radius 1).

But the fact that y is equal to the positive square root means you are only getting the upper half of the circle. The integral is from $\theta= 0$ to $\pi$, not $2\pi$. And, in polar coordinates, the "differential of area", dxdy, becomes $rdrd\theta$.

Your integrand is $(x+y)/(x^2+ y^2)=$
[tex]\int_{r=0}^1\int_{\theta= 0}^\pi (r cos(\theta)+ r sin(\theta))/r^2= (1/r)(cos(\theta)+ sin(\theta)) r dr\theta[/itex]

Last edited by a moderator:
ok i see, i thought about moving the orgin but i thought that would change my values of (x+y)/(x^2+ y^2) when integrating and screw up my integral? So in general, can i move the origin and the function in the double integral (in this case (x+y)/(x^2+ y^2) ) will always fix itself?

okay i did your double integral of sin(theta) + cos(theta) drd(theta) and i got 2 yet the answers in the book have pi/2+1.

i tried letting x=1+rcos(theta) and y=rsin(theta), r^2=x^2+y^2, and i get the double integral of 1/r+cos(theta)+sin(theta), but when i antiderive with respect to r i get log|r|+... and when i sub in the terminals for r(0 and 1) i get log|0| which is undefined.