Deriving the Spherical Unit Vectors

AI Thread Summary
The discussion focuses on deriving spherical unit vectors in Cartesian coordinates, emphasizing the importance of direction over length. The conversion from rectangular to spherical coordinates is outlined, with the position vector expressed in both coordinate systems. The unit vectors \(\hat{r}\), \(\hat{\theta}\), and \(\hat{\phi}\) are derived using partial derivatives of the position vector with respect to their respective coordinates, and it is noted that they need to be normalized to become true unit vectors. Additionally, a similar approach can be applied to derive unit vectors for cylindrical coordinates. The conversation concludes with an offer to publish a more detailed article on the topic in the future.
Shock
Messages
14
Reaction score
0
Does anyone know how to derive the spherical unit vectors in the cartesian basis? Or a good link that might show how its done?

I would also like to see it done for the cylindrical coordinates. I have tried to do it, especially for the spherical case, but i can only get r-hat.

It would be a great help!
 
Last edited:
Mathematics news on Phys.org
Well, I have written an article about it (its not typed though). If you could wait for a week or so, I can type it, put it on PlanetMath, publish it and then give you the link (I can't do it now because my Final exams are approaching soon).

Anyways, the basic idea is as follows:

You know that the conversion from rectangular to spherical coordinates goes like this:
x = r\sin(\theta)\cos(\phi), \qquad y = r\sin(\theta)\sin(\phi), \qquad z = r\cos(\theta)

Now we can represent any point in space in terms of the position vector \vec{R} = x\ha{i} + y\hat{j} + z\hat{k} or in spherical coordinates as:
\vec{R} = r\sin(\theta)\cos(\phi)\hat{i} + r\sin(\theta)\sin(\phi)\hat{j} + r\cos(\theta)\hat{k}.

So far so good! Now, what does it mean for something to be a unit vector?? Take for example the vector \hat{r}. What's special about it? Its not really its length because all unit vectors have the length of 1. That's BORING! BUT its DIRECTION is special, because that is what separates one unit vector from another. Our unit vector \hat{r}, for example, points in the direction where the coordinate r increases while the rest of the coordinates are held constant.

Well, this is the same thing as taking the PARTAL derivative of the position vector \vec{R} with respect to r while holding \theta and \phi constant (think about it, it'll make sense).

So therefore:
\hat{r} = \frac{\partial \vec{R}}{\partial r} \qquad \hat{\theta} = \frac{\partial\vec{R}}{\partial\theta} \qquad \hat{\phi} = \frac{\partial\vec{R}}{\partial\phi}

Warning: What I have given you are not exactly unit vectors. You still have to divide them by their respective lengths but they do have the right direction which is the more important thing.

edit: Here's is the more accurate forumulation:

\mathbf{ \hat{r} = \frac{\frac{\partial \vec{R}}{\partial r}}{\Big| \frac{\partial \vec{R}}{\partial r} \Big|} \qquad \hat{\theta} = \frac{\frac{\partial\vec{R}}{\partial\theta}}{\Big| \frac{\partial\vec{R}}{\partial\theta} \Big|} \qquad \hat{\phi} = \frac{\frac{\partial\vec{R}}{\partial\phi}}{\Big| \frac{\partial\vec{R}}{\partial\phi} \Big|} }

You can derive the unit vectors for cylindrical coordinates in a similar way by changing the position vecotor \vec{R} accordingly.

Hope this helps. :smile:
 
Last edited:
  • Like
Likes M Saad, ZeroDegrees, Gopal Mailpalli and 1 other person
Swapnil said:
\mathbf{ \hat{r} = \frac{\frac{\partial \vec{R}}{\partial r}}{\Big| \frac{\partial \vec{R}}{\partial r} \Big|} \qquad \hat{\theta} = \frac{\frac{\partial\vec{R}}{\partial\theta}}{\Big| \frac{\partial\vec{R}}{\partial\theta} \Big|} \qquad \hat{\phi} = \frac{\frac{\partial\vec{R}}{\partial\phi}}{\Big| \frac{\partial\vec{R}}{\partial\phi} \Big|} }
BTW, we can write the above expression more concisely as:

\hat{r} = \frac{\frac{\partial \vec{R}}{\partial r}}{h_r} \qquad \hat{\theta} = \frac{\frac{\partial\vec{R}}{\partial\theta}}{h_{\theta}} \qquad \hat{\phi} = \frac{\frac{\partial\vec{R}}{\partial\phi}}{h_{\phi}}

where

h_r = \Big| \frac{\partial \vec{R}}{\partial r} \Big|, \quad h_{\theta} = \Big| \frac{\partial\vec{R}}{\partial\theta} \Big|, \quad h_{\phi} = \Big| \frac{\partial\vec{R}}{\partial\phi} \Big|

and h_r, h_{\theta}, h_{\phi} are collectively know as scale factors or metric coefficients of the spherical coordinate system. They are also denoted as h_1, h_2, h_3 or simply as h_i sometimes (especially in General relativity) when working with any arbitrary curvilinear coordinate system.
 
Last edited:
Thank you sooooooo much for this.
Simple but the idea of direction made it so easy!
 
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top