Converting Cartesian to Cylindrical/Spherical Unit Vectors

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
10 replies · 3K views
queenstudy
Messages
101
Reaction score
0
can i get some help in how i can convert from cartesian to cylindrical and spherical unit vectors and vice versa ? thank you
 
Physics news on Phys.org
i mean with proofs because i already read that website page
 
queenstudy said:
i mean with proofs because i already read that website page

Hmm, well, you can basically read them directly off the drawing of the coordinates.

Is there anyone in particular for which you would like an explanation?
 
yes
in the definition of unit vectors how did we get the cartesian coordinates in terms of cylinderical coordinates
 
queenstudy said:
yes
in the definition of unit vectors how did we get the cartesian coordinates in terms of cylinderical coordinates

Do you mean:
[tex] \begin{matrix}<br /> \mathbf{\hat x} & = & \cos\phi\boldsymbol{\hat \rho}-\sin\phi\boldsymbol{\hat\phi} \\<br /> \mathbf{\hat y} & = & \sin\phi\boldsymbol{\hat \rho}+\cos\phi\boldsymbol{\hat\phi} \\<br /> \mathbf{\hat z} & = & \mathbf{\hat z}<br /> \end{matrix}[/tex]
?
 
yes please because we know how the opposite happens
 
queenstudy said:
yes please because we know how the opposite happens

The only interesting ones are [itex]\mathbf{\hat x}[/itex] and [itex]\mathbf{\hat y}[/itex].
So we're actually talking about 2-dimensional polar coordinates.


Here's one way to derive the unit vectors.

[itex]\boldsymbol{\hat \rho}[/itex] corresponds in this case with the vector from the origin to a point on the unit circle at angle [itex]\phi[/itex].

The vector [itex]\boldsymbol{\hat \rho}[/itex] can be seen as the result of a rotation of [itex]\mathbf{\hat x}[/itex] over an angle of [itex]\phi[/itex].

Or in reverse, the vector [itex]\mathbf{\hat x}[/itex] is the result of a rotation of [itex]\boldsymbol{\hat \rho}[/itex] over an angle of [itex]-\phi[/itex].
Similarly the vector [itex]\mathbf{\hat y}[/itex] is the result of a rotation of [itex]\boldsymbol{\hat \phi}[/itex] over an angle of [itex]-\phi[/itex].

We need the rotation matrix for an angle [itex]\phi[/itex] is to get what we want:
[tex]R = \begin{pmatrix}\cos \phi & -\sin \phi \\ \sin \phi & \cos \phi \end{pmatrix}[/tex]

Multiply [itex]R[/itex] with [itex]\boldsymbol{\hat \rho}[/itex] and [itex]\boldsymbol{\hat \phi}[/itex] and the result rolls out:
[tex] \begin{matrix}<br /> \mathbf{\hat x} & = & \cos\phi\boldsymbol{\hat \rho}-\sin\phi\boldsymbol{\hat\phi} \\<br /> \mathbf{\hat y} & = & \sin\phi\boldsymbol{\hat \rho}+\cos\phi\boldsymbol{\hat\phi} <br /> \end{matrix}[/tex]
 
i know how raw and phy are in terms of x hat and y hat how did you change that to the last line I am still not getting the idea??
 
queenstudy said:
i know how raw and phy are in terms of x hat and y hat how did you change that to the last line I am still not getting the idea??

How about this:

Apparently you already know:
[tex] \begin{matrix}<br /> \boldsymbol{\hat \rho} & = & \cos\phi\mathbf{\hat x}+\sin\phi \mathbf{\hat y}\\<br /> \boldsymbol{\hat\phi} & = & -\sin\phi\mathbf{\hat x}+\cos\phi \mathbf{\hat y} <br /> \end{matrix}[/tex]

Which is:
[tex]\begin{pmatrix} \boldsymbol{\hat \rho} \\ \boldsymbol{\hat\phi} \end{pmatrix} = \begin{pmatrix}<br /> \cos \phi & \sin \phi \\ <br /> -\sin \phi & \cos \phi \end{pmatrix} <br /> \begin{pmatrix} \mathbf{\hat x} \\ \mathbf{\hat y} \end{pmatrix}[/tex]

The inverse is:

[tex]\begin{pmatrix} \mathbf{\hat x} \\ \mathbf{\hat y} \end{pmatrix} = \begin{pmatrix}<br /> \cos \phi & -\sin \phi \\ <br /> \sin \phi & \cos \phi \end{pmatrix} <br /> \begin{pmatrix} \boldsymbol{\hat \rho} \\ \boldsymbol{\hat\phi} \end{pmatrix}[/tex]
 
ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh now i get it okay okay thank you alotttttttttttttttttttt