Converting Cartesian to Cylindrical/Spherical Unit Vectors

Click For Summary
The discussion focuses on converting Cartesian unit vectors to cylindrical and spherical coordinates, with an emphasis on understanding the mathematical proofs behind these conversions. Participants explore the relationships between the unit vectors, specifically how Cartesian coordinates can be expressed in terms of cylindrical coordinates using rotation matrices. Key equations are derived, illustrating the transformation of unit vectors through rotation. The conversation highlights the importance of visualizing these conversions geometrically to grasp the underlying concepts. Overall, the thread provides clarity on the mathematical foundations of coordinate transformations.
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:
<br /> \begin{matrix}<br /> \mathbf{\hat x} &amp; = &amp; \cos\phi\boldsymbol{\hat \rho}-\sin\phi\boldsymbol{\hat\phi} \\<br /> \mathbf{\hat y} &amp; = &amp; \sin\phi\boldsymbol{\hat \rho}+\cos\phi\boldsymbol{\hat\phi} \\<br /> \mathbf{\hat z} &amp; = &amp; \mathbf{\hat z}<br /> \end{matrix}<br />
?
 
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 \mathbf{\hat x} and \mathbf{\hat y}.
So we're actually talking about 2-dimensional polar coordinates.


Here's one way to derive the unit vectors.

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

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

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

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

Multiply R with \boldsymbol{\hat \rho} and \boldsymbol{\hat \phi} and the result rolls out:
<br /> \begin{matrix}<br /> \mathbf{\hat x} &amp; = &amp; \cos\phi\boldsymbol{\hat \rho}-\sin\phi\boldsymbol{\hat\phi} \\<br /> \mathbf{\hat y} &amp; = &amp; \sin\phi\boldsymbol{\hat \rho}+\cos\phi\boldsymbol{\hat\phi} <br /> \end{matrix}<br />
 
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??
 
  • #10
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:
<br /> \begin{matrix}<br /> \boldsymbol{\hat \rho} &amp; = &amp; \cos\phi\mathbf{\hat x}+\sin\phi \mathbf{\hat y}\\<br /> \boldsymbol{\hat\phi} &amp; = &amp; -\sin\phi\mathbf{\hat x}+\cos\phi \mathbf{\hat y} <br /> \end{matrix}<br />

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

The inverse is:

\begin{pmatrix} \mathbf{\hat x} \\ \mathbf{\hat y} \end{pmatrix} = \begin{pmatrix}<br /> \cos \phi &amp; -\sin \phi \\ <br /> \sin \phi &amp; \cos \phi \end{pmatrix} <br /> \begin{pmatrix} \boldsymbol{\hat \rho} \\ \boldsymbol{\hat\phi} \end{pmatrix}<br />
 
  • #11
ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh now i get it okay okay thank you alotttttttttttttttttttt
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K