Converting Polar to Rectangular

  • Thread starter Thread starter courtrigrad
  • Start date Start date
  • Tags Tags
    Polar Rectangular
AI Thread Summary
The discussion focuses on converting the polar equation r = 2sin(2θ) into rectangular form. The initial approach involves using the identity sin(2θ) = 2sin(θ)cos(θ) to express r in terms of x and y. A participant encounters a circular argument and seeks clarification on using the relationships x = rcos(θ) and y = rsin(θ). The conversation then shifts to calculating the cross product of two vectors, where discrepancies arise between manual calculations and results from a calculator. Ultimately, the participants clarify the correct approach to both polar-to-rectangular conversion and vector calculations, resolving the confusion.
courtrigrad
Messages
1,236
Reaction score
2
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 :smile:
 
Physics news on Phys.org
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
 
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?
 
bcddd214 said:
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 ?
 
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. :-p

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

Well, 5 = x or your adjacent, no?
 
ehild said:
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. :-p

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!
 
courtrigrad said:
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 :smile:


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)
 
Back
Top