logo

デカルト座標系の単位ベクトルを球面座標系の単位ベクトルに表示する 📂数理物理学

デカルト座標系の単位ベクトルを球面座標系の単位ベクトルに表示する

公式

直交座標系の単位ベクトルを球座標系の単位ベクトルに表す式は下記の通りだ。 x^=cosϕsinθr^+cosϕcosθθ^sinϕϕ^y^=sinϕsinθr^+sinϕcosθθ^+cosϕϕ^z^=cosθr^sinθθ^ \begin{align*} \hat{ \mathbf{x} }&= \cos \phi \sin \theta \hat{ \mathbf{r} } + \cos \phi \cos \theta \hat{ \boldsymbol{\theta} } - \sin\phi\hat{ \boldsymbol{\phi} } \\ \hat{ \mathbf{y} } &= \sin\phi\sin\theta \hat{ \mathbf{r} } + \sin\phi\cos\theta\hat{ \boldsymbol{\theta} } + \cos\phi\hat{ \boldsymbol{\phi} } \\ \hat{ \mathbf{z} } &= \cos\theta\hat{ \mathbf{r} } - \sin\theta\hat{ \boldsymbol{\theta} } \end{align*}

球座標系の単位ベクトルを直交座標系の単位ベクトルに表すと以下のようになる。(球座標系と直交座標系の関係)

r^=cosϕsinθx^+sinϕsinθy^+cosθz^θ^=cosϕcosθx^+sinϕcosθy^sinθz^ϕ^=sinϕx^+cosϕy^ \begin{align*} \hat{ \mathbf{r} } &= \cos\phi \sin\theta \hat{ \mathbf{x} } + \sin\phi \sin\theta\hat{ \mathbf{y} } + \cos\theta\hat{ \mathbf{z} } \\ \hat{ \boldsymbol{\theta} } &= \cos\phi \cos\theta \hat{ \mathbf{x} } + \sin\phi \cos\theta\hat{ \mathbf{y} } - \sin\theta\hat{ \mathbf{z} } \\ \hat{ \boldsymbol{\phi} } &= -\sin\phi \hat{ \mathbf{x} } + \cos\phi \hat{ \mathbf{y} } \end{align*}

導出

単位ベクトル x^\hat{\mathbf{x}}

x^\hat{ \mathbf{x} }を求めるためには、r^, θ^, ϕ^\hat{ \mathbf{r} } ,\ \hat{ \boldsymbol{\theta} } ,\ \hat{ \boldsymbol{\phi} }に適当な数をかけた上で足すとy^, z^\hat{ \mathbf{y} } ,\ \hat{ \mathbf{z} }項が消えるようにする必要がある。よく見ると、r^\hat{ \mathbf{r} }sinθ\sin \thetaをかけて、θ^\hat{ \boldsymbol{\theta} }cosθ\cos \thetaをかけて足すと、z^\hat{ \mathbf{z} }項が消えることがわかる。

sinθr^+cosθθ^=(cosϕsin2θ+cosϕcos2θ)x^+(sinϕsin2θ+sinϕcos2θ)y^=cosϕx^+sinϕy^ \begin{align*} & \sin \theta \hat{ \mathbf{r} } + \cos \theta \hat{ \boldsymbol{\theta} } \\ &= (\cos \phi \sin^2 \theta + \cos \phi \cos^2\theta)\hat{ \mathbf{x} } + (\sin \phi \sin^2 \theta + \sin \phi \cos^2 \theta)\hat{ \mathbf{y} } \\ &= \cos \phi \hat{ \mathbf{x} } +\sin \phi \hat{ \mathbf{y} } \end{align*}

さらにこの結果にcosϕ\cos \phiをかけて、ϕ^\hat{ \boldsymbol{\phi} }sinϕ-\sin \phiをかけて足すと、綺麗にx^\hat{ \mathbf{x} }が求められる。

cosϕ(sinθr^+cosθθ^)sinϕϕ^=(cos2ϕx^+cosϕsinϕy^)+(sin2ϕx^sinϕcosϕy^)=x^ \begin{align*} & \cos \phi (\sin \theta \hat{ \mathbf{r} } + \cos \theta \hat{ \boldsymbol{\theta} })-\sin \phi \hat{ \boldsymbol{\phi} } \\ &= (\cos^2\phi \hat{ \mathbf{x} } + \cos \phi \sin \phi \hat{ \mathbf{y} } ) + (\sin^2\phi \hat{ \mathbf{x} } -\sin \phi \cos \phi \hat{ \mathbf{y} } ) \\ &= \hat{ \mathbf{x} } \end{align*}

したがって、整理すると以下の通りだ。

x^=cosϕsinθr^+cosϕcosθθ^sinϕϕ^ \hat{ \mathbf{x} } = \cos \phi \sin \theta \hat{ \mathbf{r} } + \cos \phi \cos \theta \hat{ \boldsymbol{\theta} } - \sin\phi\hat{ \boldsymbol{\phi} }

単位ベクトル y^\hat{\mathbf{y}}

方法はx^\hat{ \mathbf{x} }の場合と同じなので、説明抜きで数式だけを記す。z^\hat{ \mathbf{z} }項を排除する部分はx^\hat{ \mathbf{x} }の場合と同じだ。

sinθr^+cosθθ^=cosϕx^+sinϕy^    sinϕ(sinθr^+cosθθ^)=sinϕcosϕx^+sin2ϕy^ \begin{align*} &&\sin \theta \hat{ \mathbf{r} } + \cos \theta \hat{ \boldsymbol{\theta} } &= \cos \phi \hat{ \mathbf{x} } + \sin \phi \hat{ \mathbf{y} } \\ \implies&& \sin\phi (\sin\theta\hat{ \mathbf{r} }+\cos\theta \hat{ \boldsymbol{\theta} } ) &= \sin \phi \cos \phi \hat{ \mathbf{x} } + \sin^2\phi \hat{ \mathbf{y} } \end{align*}

そして

cosϕϕ^=sinϕcosϕx^+cos2ϕy^ \cos \phi \hat{ \boldsymbol{\phi} }=-\sin\phi\cos\phi\hat{ \mathbf{x} }+\cos^2\phi\hat{ \mathbf{y} }

従って、以下の通りだ。

sinϕ(sinθr^+cosθθ^)+cosϕϕ^=(cos2ϕ+sin2ϕ)y^=y^ \begin{align*} && \sin\phi (\sin\theta\hat{ \mathbf{r} }+\cos\theta \hat{ \boldsymbol{\theta} } )+\cos \phi \hat{ \boldsymbol{\phi} } &= (\cos^2\phi + \sin^2\phi )\hat{ \mathbf{y} } \\ && &= \hat{ \mathbf{y} } \end{align*}

y^=sinϕsinθr^+sinϕcosθθ^+cosϕϕ^ \therefore \hat{ \mathbf{y} } = \sin\phi\sin\theta \hat{ \mathbf{r} } + \sin\phi\cos\theta \hat{ \boldsymbol{\theta} } + \cos\phi \hat{ \boldsymbol{\phi} }

単位ベクトル z^\hat{\mathbf{z}}

z^\hat{ \mathbf{z} }項が残るように、r^\hat{ \mathbf{r} }cosθ\cos\thetaをかけて、θ^\hat{ \boldsymbol{\theta} }sinθ-\sin\thetaをかけて足すと、以下のようになる。

cosθr^sinθθ^=cosθ(cosϕsinθx^+sinϕsinθy^+cosθz^)sinθ(cosϕcosθx^+sinϕcosθy^sinθz^)=(sinθcosθcosϕx^+sinθcosθsinϕy^+cos2θz^)+(sinθcosθcosϕx^sinθcosθsinϕy^+sin2θz^)=(cos2θ+sin2θ)z^=z^ \begin{align*} \cos\theta\hat{ \mathbf{r} } -\sin\theta \hat{ \boldsymbol{\theta} } &=\cos\theta (\cos \phi \sin \theta \hat{\mathbf{x}}+\sin \phi \sin \theta \hat{\mathbf{y}}+\cos\theta\hat{\mathbf{z}}) \\ &\quad -\sin \theta (\cos \phi \cos \theta \hat{\mathbf{x}} + \sin \phi \cos \theta \hat{\mathbf{y}} -\sin \theta \hat{\mathbf{z}}) \\ &= (\sin\theta\cos\theta\cos\phi \hat{ \mathbf{x} } + \sin\theta\cos\theta\sin\phi \hat{ \mathbf{y} }+ \cos^2\theta \hat{ \mathbf{z} }) \\ &\quad +(-\sin\theta\cos\theta\cos\phi \hat{ \mathbf{x} }-\sin\theta\cos\theta\sin\phi \hat{ \mathbf{y} } + \sin^2{\theta} \hat{ \mathbf{z} }) \\ &= (\cos^2\theta + \sin ^2 \theta ) \hat{ \mathbf{z} } \\ &= \hat{ \mathbf{z} } \end{align*}

z^=cosθr^sinθθ^ \therefore \hat{ \mathbf{z} } = \cos\theta\hat{ \mathbf{r} } - \sin\theta \hat{ \boldsymbol{\theta} }