Spherical coordinates


Spherical coordinates are three-dimensional set of coordinates where each point in space is determined by the distance rr from the origin, the angle θ\theta from a reference direction and the angle ϕ\phi from another, perpendicular reference direction, where θ[0,2π[\theta\in[0,2\pi[ and ϕ[0,π[\phi\in[0,\pi[.

50%

Relation to Cartesian coordinates

Spherical coordinates (r,θ,ϕ)(r,\theta,\phi) can be converted to Cartesian coordinates (x,y,z)(x,y,z) through the Coordinate transformation

x=rcosθsinϕ,y=rsinθsinϕ,z=rcosϕx=r\cos\theta\sin\phi, \quad y=r\sin\theta\sin\phi, \quad z=r\cos\phi

and viceversa

r=x2+y2+z2,y=arctan(x2+y2z),z=arctan(yx)r=\sqrt{ x^{2}+y^{2}+z^{2} },\quad y=\arctan\left( \frac{\sqrt{x^{2}+y^{2} }}{z} \right),\quad z=\arctan\left( \frac{y}{x} \right)

To convert an integral from Cartesian to spherical, we find the determinant of the Jacobian of the conversion diffeomorphism σ(x,y,z)=(rcosθsinϕ,rsinθsinϕ,rcosϕ)\sigma(x,y,z)=(r\cos\theta\sin\phi,r\sin\theta\sin\phi,r\cos\phi), which is detJσ=r2sinϕ\det J\sigma=r^{2}\sin \phi. As such

dxdydz=r2sinϕ drdθdϕ\iiint dxdydz=\iiint r^{2}\sin \phi\ drd\theta d\phi

Motion

A unit vector in the unit sphere is R=(cosθsinϕ,sinθsinϕ,cosϕ)\mathbf{R}=(\cos\theta\sin\phi,\sin\theta\sin\phi,\cos\phi). A perpendicular vector is P=(sinθ,cosθ,0)\mathbf{P}=(-\sin\theta,\cos\theta,0). Another perpendicular vector is just obtained by the cross product Q=R×P=(cosθcosϕ,sinθcosϕ,sinϕ)\mathbf{Q}=\mathbf{R}\times\mathbf{P}=(-\cos\theta\cos\phi,-\sin\theta\cos\phi,\sin\phi), which completes the Basis. The Moving frame is

{r(t);R(t),P(t),Q(t)}\{\mathbf{r}(t);\mathbf{R}(t),\mathbf{P}(t),\mathbf{Q}(t)\}

The position of a point is

r=rR\mathbf{r}=r\mathbf{R}

The velocity is

v=r˙=(rθ˙sinϕ)P+(rϕ˙)Q+r˙R\mathbf{v}=\dot{\mathbf{r}}=(r\dot{\theta}\sin\phi)\mathbf{P}+(-r\dot{\phi})\mathbf{Q}+\dot{r}\mathbf{R}

and the acceleration

a=v˙=[(rθ¨+2r˙θ˙)sinϕ+2rθ˙ϕ˙cosϕ]P+[r(θ˙2sinϕcosϕϕ¨)2r˙ϕ˙]Q+ \mathbf{a}=\dot{\mathbf{v}}=[(r\ddot{\theta}+2\dot{r}\dot{\theta})\sin\phi+2r\dot{\theta}\dot{\phi}\cos\phi]\mathbf{P}+[r(\dot{\theta}^{2}\sin\phi\cos\phi-\ddot{\phi})-2\dot{r}\dot{\phi}]\mathbf{Q}+\ + [r¨r(ϕ˙2+θ˙2sin2ϕ)]R+\ [\ddot{r}-r(\dot{\phi}^{2}+\dot{\theta}^{2}\sin^{2}\phi) ]\mathbf{R}

The antisymmetric derivative matrix is

(P˙Q˙R˙)=(0θ˙cosϕθ˙sinϕθ˙cosθ0ϕ˙θ˙sinϕϕ˙0)(PQR)\begin{pmatrix}\dot{\mathbf{P}} \\ \dot{\mathbf{Q}} \\ \dot{\mathbf{R}}\end{pmatrix}=\begin{pmatrix}0 & \dot{\theta}\cos\phi & -\dot{\theta}\sin\phi \\ -\dot{\theta}\cos\theta & 0 & \dot{\phi} \\ \dot{\theta}\sin\phi & -\dot{\phi} & 0\end{pmatrix}\begin{pmatrix}\mathbf{P} \\ \mathbf{Q} \\ \mathbf{R}\end{pmatrix}