Converting rx in spherical coordinates to cartesian.

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 8K views
seang
Messages
184
Reaction score
0
I have no idea how to do this. I've tried a lot of things but I can never reduce it to solely cartesian coordinates. Is there any hard fast procedure to conversions like this? thanks.
 
Physics news on Phys.org
Is is a component of the vector I am working to convert to cartesian coordinates.
 
Do you know the formulas for conversion from Cartesian to spherical coordinates?

[tex]x= \rho cos(\theta)sin(\phi)[/tex]
[tex]y= \rho sin(\theta)sin(\phi)[/tex]
[tex]z= \rho cos(\phi)[/tex]

[tex]\rho= \sqrt{x^2+ y^2+ z^2}[/tex]
[tex]\theta= arctan(\frac{y}{z})[/tex]
[tex]\phi= arctan(\frac{z}{\sqrt{x^2+y^2}})[/tex]

The x-component of a vector is just the x coordinate of the corresponding point.
 
Yes I have these. Except where ever yours have rho, I have r. That's ok. So can I just say that (rx), or (px) with your equations, is equal to [tex]x\sqrt{x^2+ y^2+ z^2}[/tex]

? That seems too easy.
 
Let's say your vector in spherical coordinates is:
[tex]\vec S = (S_R, S_\theta, S_\phi)[/tex]

and cartesian,
[tex]\vec C = (C_x, C_y, C_z) [/itex]<br /> <br /> Now if you want the x-component of [itex]\vec C[/itex] you use the dot product, [itex]\vec C \cdot \hat x[/itex], where [itex]\hat x = (1,0,0)[/itex] (in cartesian coordinates).<br /> <br /> Now if you want the x-component of [itex]\vec S[/itex] you use the dot product, [itex]\vec S \cdot \hat x[/itex].<br /> <br /> You need to express the unit vectors in the different coordinate system though. You can do this with geometry.<br /> <br /> That makes it a little bit more difficult for you.[/tex]