Obtaining spherical coordinates by rotations

Click For Summary
SUMMARY

This discussion focuses on the transformation of spherical coordinates to Cartesian coordinates through rotation matrices. A point on a unit sphere defined by spherical coordinates $(r=1, \theta, \phi)$ can be obtained by rotating the Cartesian coordinates $(x,y,z)=(1,0,0)$ around the $y$-axis by an angle of $\pi/2 - \theta$ and around the $z$-axis by an angle of $\phi$. The rotation matrices used for these transformations are explicitly defined, confirming that the spherical coordinates can be derived from the Cartesian coordinates through these rotations. The transformation from spherical to Cartesian coordinates is established as $(r,\theta,\varphi) \rightarrow (r\sin\theta\cos\varphi, r\sin\theta\sin\varphi, r\cos\theta)$.

PREREQUISITES
  • Understanding of spherical coordinates and their representation.
  • Familiarity with rotation matrices in three-dimensional space.
  • Knowledge of Cartesian coordinates and their relation to spherical coordinates.
  • Basic trigonometric functions and their properties.
NEXT STEPS
  • Study the derivation of rotation matrices in 3D space.
  • Learn about the applications of spherical coordinates in physics and engineering.
  • Explore the inverse transformations from Cartesian to spherical coordinates.
  • Investigate the implications of coordinate transformations in computer graphics.
USEFUL FOR

Mathematicians, physicists, computer graphics developers, and anyone interested in geometric transformations and coordinate systems.

Niles
Messages
1,834
Reaction score
0
Hi

Say I have a point on a unit sphere, given by the spherical coordinate $(r=1, \theta, \phi)$. Is this point equivalent to the point that one can obtain by $(x,y,z)=(1,0,0)$ around the $y$-axis by an angle $\pi/2-\theta$ and around the $z$-axis by the angle $\phi$?

I'm not sure this is the case, since the spherical coordinate $\phi$ is merely a projection, but I would like to hear your opinion.
 
Mathematics news on Phys.org
Rotation about the y-axis through an angle \pi/2- \theta can be calculated by multiplying the position vector of the point by the matrix
\begin{bmatrix}cos(\pi/2- \theta) & 0 & -sin(\pi/2- \theta) \\ 0 & 1 & 0 \\ sin(\pi/2- \theta & 0 & cos(\pi/2- \theta)\end{bmatrix}
Of course, cos(\pi/2- \theta)= sin(\theta) and sin(\pi/2- \theta)= cos(\theta) so that is
\begin{bmatrix}sin(\theta) & 0 & -cos(\theta) \\ 0 & 1 & 0 \\ cos(\theta) & 0 & sin(\theta) \end{bmatrix}

and rotation through angle \phi about the z axis is given by
\begin{bmatrix}cos(\phi) & -sin(\phi) & 0 \\ sin(\phi) & cos(\phi) & 0 \\ 0 & 0 & 1\end{bmatrix}

So starting from (1, 0, 0) and rotating as you say, you have
\begin{bmatrix}cos(\phi) & -sin(\phi) & 0 \\ sin(\phi) & cos(\phi) & 0 \\ 0 & 0 & 1\end{bmatrix}\begin{bmatrix}sin(\theta) & 0 & -cos(\theta) \\ 0 & 1 & 0 \\ cos(\theta) & 0 & sin(\theta) \end{bmatrix}\begin{bmatrix}1 \\ 0 \\ 0 \end{bmatrix}
\begin{bmatrix}cos(\phi) & - sin(\phi) & 0 \\ sin(\phi) & cos(\phi) & 0 \\ 0 & 0 & 1\end{bmatrix}\begin{bmatrix}sin(\theta) \\ 0 \\ cos(\theta) \end{bmatrix}

Of course, in polar coordinates, x= cos(\phi)sin(\theta), y= sin(\phi)sin(\theta), z= cos(\theta) is just the usual coordinates with x and y reversed. That is, your two rotations swap the x and y axes.
 
Niles said:
Hi

Say I have a point on a unit sphere, given by the spherical coordinate $(r=1, \theta, \phi)$. Is this point equivalent to the point that one can obtain by $(x,y,z)=(1,0,0)$ around the $y$-axis by an angle $\pi/2-\theta$ and around the $z$-axis by the angle $\phi$?

I'm not sure this is the case, since the spherical coordinate $\phi$ is merely a projection, but I would like to hear your opinion.
The coordinate transformation from spherical coordinates to Cartesian coordinates is given by ##(r,\theta,\varphi)\rightarrow(r\sin\theta\cos\varphi,r\sin\theta\sin \varphi,r\cos\theta)##.
 
Thanks for your help, yeah, I guess I should just have rotated the coordinate myself to see that indeed that is how a spherical point is obtained. Thanks again.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
26
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K