# Converting Polar to Rectangular

Hello

If you have $r = 2\sin(2\theta)$, how would you convert it to rectangular form? I tried doing this:

$\sin(2\theta) = 2\sin\theta\cos\theta$ which means $r = 4\sin\theta\cos\theta$. Then I know that $r^{2} = x^{2} + y^{2}$. We know that $x = r\cos\theta, y = r\sin\theta$. But then I have a circular argument, where I end up with $y^{2} = y^{2}$. This means that I have to use another conversion factor. Should I use $\sin\theta = \frac{y}{r}$?

Thanks

shaner-baner
hi, you're trying to write $r = 4\sin\theta\cos\theta$
in terms of x and y now that you have $\sin\theta = \frac{y}{r}$
and $\cos\theta = \frac{x}{r}$ just make the substitutions and you should have no problem getting the answer

bcddd214
Thank you kindly for your response.
I 'think' I get the mechanics of it but me and the old voyage 200 are at differences about the answer when doing sample problems.

Example:
let's uses (-2,8),(3,5) as an example.

This what I get for AxB when done manually.

(3,5),(-2,8)
3^2+5^2=r^2
9+25=r^2
√34=r
5.8301=r
then:
toa: tan^(-1)⁡(3/5)=30.964^o
do the same to coordinate #2
-2^2+8^2=r^2
4+16=r^2
√20=r
4.47214=r
then:
toa: tan^(-1)⁡((-2)/8)=-14.036^o
we have:
(5.8301,30.964^o ),(4.47214,-14.036^o )
note: To cross product we need the sin of the angle between the two point. AKA, absolute value
30.964^o+14.036^o=44.73^o
For cross product A ⃗xB ⃗:
5.8301*4.47214 sin⁡44.73 n
18.3493 which is different from the calculator
**********
Voyage 200

crossP([3,5],[-2,8]) = [0. 0. 34.]

Whom is incorrect, me or the calculator?
Why are the answers so different?

Homework Helper
Thank you kindly for your response.
I 'think' I get the mechanics of it but me and the old voyage 200 are at differences about the answer when doing sample problems.

Example:
let's uses (-2,8),(3,5) as an example.

This what I get for AxB when done manually.

(3,5),(-2,8)
3^2+5^2=r^2
9+25=r^2
√34=r
5.8301=r
then:
toa: tan^(-1)⁡(3/5)=30.964^o
do the same to coordinate #2
-2^2+8^2=r^2
4+16=r^2
√20=r
4.47214=r
then:
toa: tan^(-1)⁡((-2)/8)=-14.036^o
we have:
(5.8301,30.964^o ),(4.47214,-14.036^o )
note: To cross product we need the sin of the angle between the two point. AKA, absolute value
30.964^o+14.036^o=44.73^o
For cross product A ⃗xB ⃗:
5.8301*4.47214 sin⁡44.73 n
18.3493 which is different from the calculator
**********
Voyage 200

crossP([3,5],[-2,8]) = [0. 0. 34.]

Whom is incorrect, me or the calculator?
Why are the answers so different?

I high lighted one line in your answer. Should that be 3/5 or 5/3 ?

Homework Helper
Both the scalar product and the cross product can be calculated from the components directly. Check your notes.
If vector a is (ax, ay) and vector b is (bx,by) the magnitude of the cross product axb is axby-aybx, and it is parallel to the z axis.

You also can calculate it on that complicated way you tried. There is a mistake when calculating the magnitude of b:
-2^2+8^2=r^2
4+16=r^2
the square of 8 is 64. :tongue2:

ehild

bcddd214
I high lighted one line in your answer. Should that be 3/5 or 5/3 ?

bcddd214
Both the scalar product and the cross product can be calculated from the components directly. Check your notes.
If vector a is (ax, ay) and vector b is (bx,by) the magnitude of the cross product axb is axby-aybx, and it is parallel to the z axis.

You also can calculate it on that complicated way you tried. There is a mistake when calculating the magnitude of b:
the square of 8 is 64. :tongue2:

ehild

I do it the REALLY long way first to understand the mechanics and then jump to formulas.
But, you single handedly answered both my question and my next question which would have been the express route.

Now I understand both.

Thank you kindly!

stallionx
Hello

If you have $r = 2\sin(2\theta)$, how would you convert it to rectangular form? I tried doing this:

$\sin(2\theta) = 2\sin\theta\cos\theta$ which means $r = 4\sin\theta\cos\theta$. Then I know that $r^{2} = x^{2} + y^{2}$. We know that $x = r\cos\theta, y = r\sin\theta$. But then I have a circular argument, where I end up with $y^{2} = y^{2}$. This means that I have to use another conversion factor. Should I use $\sin\theta = \frac{y}{r}$?

Thanks

in

r=4*sin(theta)*cos(theta)

multiply 2 sides by r**2
to get

r**3=4*x*y

r=sqrt(x**2+y**2)
r**3=(x**2+y**2)**(3/2)