在数学 中,极坐标系 (英語:polar coordinate system )是一个二维 坐标系统 。该坐标系统中任意位置可由一个夹角 和一段相对原点 —极点的距离 来表示。极坐标系的应用领域十分广泛,包括数学 、物理 、工程 、航海 、航空 、電腦 以及机器人领域。在两点间的关系用夹角和距离很容易表示时,极坐标系便显得尤为有用;而在平面直角坐标系中,这样的关系就只能使用三角函数 来表示。对于很多类型的曲线,极坐标方程是最简单的表达形式,甚至对于某些曲线来说,只有极坐标方程能够表示。
历史 希腊人 最早使用了角度和弧度的概念。天文学家喜帕恰斯 (190-120 BC)制成了一张求各角所对弦的弦长函数的表格。并且,曾有人引用了他的极坐标系来确定恒星位置。在螺线方面,阿基米德 描述了他的著名的螺线,一个半径随角度变化的方程。希腊人作出了贡献,尽管最终并没有建立整个坐标系统。
关于是谁首次将极坐标系应用为一个正式的坐标系统,流传着有多种观点。关于这一问题的较详尽历史,哈佛大学 教授朱利安·科利奇(Julian Coolidge )的《极坐标系起源》作了阐述。格雷瓜·德·聖-萬桑特(Grégoire de Saint-Vincent )和博納文圖拉·卡瓦列里,被认为在几乎同时、并独立地各自引入了极坐标系这一概念。聖-萬桑特在1625年的私人文稿中进行了论述并发表于1647年,而卡瓦列里在1635进行了发表,而后又于1653年进行了更正。卡瓦列里首次利用极坐标系来解决一个关于阿基米德螺线内的面积问题。布莱士·帕斯卡随后使用极坐标系来计算抛物线 的长度。
在1671年写成,1736年出版的《流数术和无穷级数》(Method of Fluxions )一书中,艾萨克·牛顿第一个将极坐标系应用于表示平面上的任何一点。牛顿在书中验证了极坐标和其他九种坐标系的變换关系。在1691年出版的《博學通報》(Acta eruditorum ,Acta eruditorum )一书中雅各布·伯努利正式使用定点和从定点引出的一条射线,定点称为极点,射线称为极轴。平面内任何一点的坐标都通过该点与定点的距离和与极轴的夹角来表示。伯努利通过极坐标系对曲线的曲率半径进行了研究。
实际上应用“极坐标”(polar coordinate system )這個术语的是由格雷古廖·豐塔納(Gregorio Fontana )开始的,并且被18世纪的意大利数学家所使用。该术语是由喬治·皮科克(George Peacock )在1816年翻译席維斯·拉克魯克斯(Sylvestre François Lacroix )的《微分學與積分學》(Traité du calcul différentiel et du calcul intégral ) 一书时,被翻译为英语的。
亚历克西斯·克莱罗和莱昂哈德·欧拉被认为是将平面极坐标系扩展到三维空间的数学家。
点的表示 正如所有的二维坐标系,极坐标系也有两个坐标轴:r {\displaystyle r} (半径坐标)和θ {\displaystyle \theta } (角坐标、极角或方位角 ,有时也表示为ϕ {\displaystyle \phi } 或t {\displaystyle t} )。r {\displaystyle r} 坐标表示与极点的距离,θ {\displaystyle \theta } 坐标表示按逆时针方向坐标距离0°射线 (有时也称作极轴)的角度,极轴就是在平面直角坐标系 中的x轴正方向。
比如,极坐标中的( 3 , 60 ∘ ) {\displaystyle (3,60^{\circ })} 表示了一个距离极点3个单位长度、和极轴夹角为60°的点。( − 3 , 240 ∘ ) {\displaystyle (-3,240^{\circ })} 和 ( 3 , 60 ∘ ) {\displaystyle (3,60^{\circ })} 表示了同一点,因为该点的半径为在夹角射线反向延长线上距离极点3个单位长度的地方(240° − 180° = 60°)。
极坐标系中一个重要的特性是,平面直角坐标中的任意一点,可以在极坐标系中有无限种表达形式。通常来说,点 ( r , θ ) {\displaystyle (r,\theta )} 可以任意表示为 ( r , θ ± n × 360 ∘ ) {\displaystyle (r,\theta \pm n\times 360^{\circ })} 或 ( − r , θ ± ( 2 n + 1 ) 180 ∘ ) {\displaystyle (-r,\theta \pm (2n+1)180^{\circ })} ,这里 n {\displaystyle n} 是任意整数。如果某一点的 r {\displaystyle r} 坐标为0,那么无论 θ {\displaystyle \theta } 取何值,该点的位置都落在了极点上。
使用弧度单位 极坐标系中的角度通常表示为角度或者弧度 ,使用公式 2 π rad = 360 ∘ {\displaystyle 2\pi \operatorname {rad} =360^{\circ }} 。具体使用哪一种方式,基本都是由使用场合而定。航海 方面经常使用角度来进行测量,而物理 学的某些领域大量使用到了半径和圆周的比来作运算,所以物理方面更倾向使用弧度。
极坐标系与平面直角坐标系之间的變换 從极坐标r {\displaystyle r} 和θ {\displaystyle \theta } 可以變換為直角坐标:
r = y 2 + x 2 {\displaystyle r={\sqrt {y^{2}+x^{2}}}\quad } (參閱畢氏定理) θ = atan2 ( y , x ) {\displaystyle \theta =\operatorname {atan2} (y,x)\quad } (atan2是已將象限 納入考量的反正切函數)或
θ = { arctan ( y x ) if x > 0 arctan ( y x ) + π if x < 0 and y ≥ 0 arctan ( y x ) − π if x < 0 and y < 0 π 2 if x = 0 and y > 0 − π 2 if x = 0 and y < 0 0 if x = 0 and y = 0 {\displaystyle \theta ={\begin{cases}\arctan({\frac {y}{x}})&{\text{if }}x>0\\\arctan({\frac {y}{x}})+\pi &{\text{if }}x<0{\text{ and }}y\geq 0\\\arctan({\frac {y}{x}})-\pi &{\text{if }}x<0{\text{ and }}y<0\\{\frac {\pi }{2}}&{\text{if }}x=0{\text{ and }}y>0\\-{\frac {\pi }{2}}&{\text{if }}x=0{\text{ and }}y<0\\0&{\text{if }}x=0{\text{ and }}y=0\end{cases}}} 从直角坐标x {\displaystyle x} 和y {\displaystyle y} 也可以變換為极坐标:
x = r cos θ {\displaystyle x=r\cos \theta } y = r sin θ {\displaystyle y=r\sin \theta } 這方程式給出θ {\displaystyle \theta } 在值域( − π , π ] {\displaystyle (-\pi ,\pi ]} 的弧度。改用角度單位,值域為( − 180 ∘ , 180 ∘ ] {\displaystyle (-180^{\circ },180^{\circ }]} 。這些方程式假定極點是直角坐標系的原點( 0 , 0 ) {\displaystyle (0,0)} ,極軸為x-坐標軸,而y-坐標軸方向的弧度為+ π 2 {\displaystyle +{\frac {\pi }{2}}} ,角度為+ 90 ∘ {\displaystyle +90^{\circ }} 。
大多數常用程式語言會特別設定一個函數,專門從x {\displaystyle x} 和y {\displaystyle y} 坐標計算出正確的角坐標θ {\displaystyle \theta } 。例如,在C語言裏,這函數標記為atan2(y,x),在Common Lisp裏,標記為(atan y x)。對於這兩種案例,計算結果是在值域( − π , π ] {\displaystyle (-\pi ,\pi ]} 內的弧度。這θ {\displaystyle \theta } 的數值是複函數輻角的主值(principal value),注意到當x {\displaystyle x} 和y {\displaystyle y} 都等於零時,輻角沒有定義值;對於這案例,為了方便起見,將輻角設定為零。
假若需要,將角坐標θ {\displaystyle \theta } 在值域( − π , π ] {\displaystyle (-\pi ,\pi ]} 的數值加上π {\displaystyle \pi } ,則可得到在值域[ 0 , 2 π ) {\displaystyle [0,2\pi )} 的數值。
极坐标系方程 函数:用极坐标系描述的曲线 方程称作极坐标方程 ,通常表示为 r {\displaystyle r} 为自变量 θ {\displaystyle \theta } 的函数 。 对称:极坐标方程经常会表现出不同的对称 形式,如果 r ( − θ ) = r ( θ ) {\displaystyle r(-\theta )=r(\theta )} ,则曲线关于极点(0°/180°)对称,如果 r ( π − θ ) = r ( θ ) {\displaystyle r(\pi -\theta )=r(\theta )} ,则曲线关于极点(90°/270°)对称,如果 r ( θ − α ) = r ( θ ) {\displaystyle r(\theta -\alpha )=r(\theta )} ,则曲线相当于从极点逆时针方向旋转 α ∘ {\displaystyle \alpha ^{\circ }} 。
圆 在极坐标系中,圆心在( r 0 , φ ) {\displaystyle (r_{0},\varphi )} 半径为 a {\displaystyle a} 的圆的一般方程为
r 2 − 2 r r 0 cos ( θ − φ ) + r 0 2 = a 2 {\displaystyle r^{2}-2rr_{0}\cos(\theta -\varphi )+r_{0}^{2}=a^{2}} 特定情况:比如方程
r ( θ ) = a {\displaystyle r(\theta )=a} 表示一个以极点为中心半径为 a {\displaystyle a} 的圆。
推导 设圆的半径为r {\displaystyle r} ,圆心的极坐标为( p 0 , α ) {\displaystyle (p_{0},\alpha )} ,并變換为直角坐标:( p 0 cos α , p 0 sin α ) {\displaystyle (p_{0}\cos \alpha ,p_{0}\sin \alpha )} 。则圆上的点的直角坐标系方程为:
( x − p 0 cos α ) 2 + ( y − p 0 sin α ) 2 = r 2 {\displaystyle (x-p_{0}\cos \alpha )^{2}+(y-p_{0}\sin \alpha )^{2}=r^{2}} 设圆上的点的极坐标为( p , β ) {\displaystyle (p,\beta )} ,则
x = p cos β , y = p sin β {\displaystyle x=p\cos \beta ,\qquad y=p\sin \beta } 因此,
p 2 − 2 p p 0 ( sin β sin α + cos β cos α ) + p 0 2 = r 2 {\displaystyle p^{2}-2pp_{0}(\sin \beta \sin \alpha +\cos \beta \cos \alpha )+p_{0}^{2}=r^{2}} ,化简为
p 2 + p 0 2 − 2 p p 0 cos ( β − α ) = r 2 {\displaystyle p^{2}+p_{0}^{2}-2pp_{0}\cos(\beta -\alpha )=r^{2}}
直线 过极点的射线方程:
θ = φ {\displaystyle \theta =\varphi } ,其中 ϕ {\displaystyle \phi } 为射线的倾斜角。若 m {\displaystyle m} 为直角坐标系 的射线的斜率 ,则有 ϕ = arctan m {\displaystyle \phi =\arctan m} 。任何不经过极点的直线都会与某条射线垂直 。这些在点 ( r 0 , ϕ ) {\displaystyle (r_{0},\phi )} 处的直线与射线 θ = ϕ {\displaystyle \theta =\phi } 垂直,其方程为
r ( θ ) = r 0 sec ( θ − φ ) {\displaystyle r(\theta )={r_{0}}\sec(\theta -\varphi )} .
玫瑰线 极坐标的玫瑰线(polar rose )是数学曲线中非常著名的曲线,看上去像花瓣,它只能用极坐标方程来描述,方程如下:
r ( θ ) = a cos k θ {\displaystyle r(\theta )=a\cos k\theta } 或者 r ( θ ) = a sin k θ {\displaystyle r(\theta )=a\sin k\theta } 如果 k {\displaystyle k} 是整数,当 k {\displaystyle k} 是奇数时那么曲线将会是k个花瓣,当 k {\displaystyle k} 是偶数时曲线将是 2 k {\displaystyle 2k} 个花瓣。如果 k {\displaystyle k} 为非整数,将产生圆盘 状图形,且花瓣数也为非整数。注意:该方程不可能产生4的倍数加2(如2,6,10......)个花瓣。变量 a {\displaystyle a} 代表玫瑰线花瓣的长度。
阿基米德螺线 阿基米德螺线在极坐标里使用以下方程表示:
r ( θ ) = a + b θ {\displaystyle r(\theta )=a+b\theta } 改变参数 a {\displaystyle a} 将改变螺线形状,b {\displaystyle b} 控制螺线间距离,通常其为常量。阿基米德螺线有两条螺线,一条 θ > 0 {\displaystyle \theta >0} ,另一条 θ < 0 {\displaystyle \theta <0} 。两条螺线在极点处平滑地连接。把其中一条翻转 90°/270°得到其镜像,就是另一条螺线。
圆锥曲线 圆锥曲线 方程如下:
r = ℓ ( 1 − e cos θ ) {\displaystyle r={\ell \over (1-e\cos \theta )}} 其中ℓ {\displaystyle \ell } 表示半正焦弦,e 表示离心率 。
如果 e < 1 {\displaystyle e<1} ,曲线为椭圆 ,如果 e = 1 {\displaystyle e=1} ,曲线为抛物线 ,如果 e > 1 {\displaystyle e>1} ,则表示双曲线 。
r = e p ( 1 − e cos θ ) {\displaystyle r={ep \over (1-e\cos \theta )}} 其中 e {\displaystyle e} 表示离心率 ,p {\displaystyle p} 表示焦点到准线的距离。
其他曲线 由于坐标系统是基于圆环的,所以许多有关曲线的方程,极坐标要比直角坐标系(笛卡尔形式)简单得多。比如伯努利雙紐線,帕斯卡蜗线,还有心臟線。
复数 复数的通常矩形 形式为 a + b i {\displaystyle a+bi} ,在极坐标中也可以表示为两种不同的方式:
r ( cos θ + i sin θ ) {\displaystyle r(\cos \theta +i\sin \theta )} ,簡寫為r cis θ {\displaystyle r\operatorname {cis} \theta } r e i θ {\displaystyle re^{i\theta }} 等同于欧拉公式。 复数在直角坐标系和极坐标系的變换通过以下公式实现:
a = r cos θ {\displaystyle a=r\cos \theta } b = r sin θ {\displaystyle b=r\sin \theta } 其中r = a 2 + b 2 {\displaystyle r={\sqrt {a^{2}+b^{2}}}} 复数的乘法 、除法 以及指数 以及开方运算,在极坐标中会比在直角坐标中容易得多,他们分别是:
乘法:( r cis θ ) ∗ ( R cis φ ) = r R cis ( θ + φ ) {\displaystyle (r\operatorname {cis} \theta )*(R\operatorname {cis} \varphi )=rR\operatorname {cis} (\theta +\varphi )} 除法:r cis θ R cis φ = r R cis ( θ − φ ) {\displaystyle {\frac {r\operatorname {cis} \theta }{R\operatorname {cis} \varphi }}={\frac {r}{R}}\operatorname {cis} (\theta -\varphi )} 指数(棣莫弗定理,De Moivre's formula): ( r cis θ ) n = r n cis ( n θ ) {\displaystyle (r\operatorname {cis} \theta )^{n}=r^{n}\operatorname {cis} (n\theta )}
微积分 微积分 可适用于极坐标系下表达的等式。
微分 利用x = r cos θ {\displaystyle x=r\cos \theta } 以及 y = r sin θ {\displaystyle y=r\sin \theta } ,我们可以得出极坐标下的微分和直角坐标下微分的关系。给定一函数 u ( x , y ) {\displaystyle u(x,y)} ,通过计算其全微分可得:
r ∂ u ∂ r = r ∂ u ∂ x ∂ x ∂ r + r ∂ u ∂ y ∂ y ∂ r , ∂ u ∂ θ = ∂ u ∂ x ∂ x ∂ θ + ∂ u ∂ y ∂ y ∂ θ , {\displaystyle {\begin{aligned}r{\frac {\partial u}{\partial r}}&=r{\frac {\partial u}{\partial x}}{\frac {\partial x}{\partial r}}+r{\frac {\partial u}{\partial y}}{\frac {\partial y}{\partial r}},\\[2pt]{\frac {\partial u}{\partial \theta }}&={\frac {\partial u}{\partial x}}{\frac {\partial x}{\partial \theta }}+{\frac {\partial u}{\partial y}}{\frac {\partial y}{\partial \theta }},\end{aligned}}} 或
r ∂ u ∂ r = r ∂ u ∂ x cos θ + r ∂ u ∂ y sin θ = x ∂ u ∂ x + y ∂ u ∂ y , ∂ u ∂ θ = − ∂ u ∂ x r sin θ + ∂ u ∂ y r cos θ = − y ∂ u ∂ x + x ∂ u ∂ y . {\displaystyle {\begin{aligned}r{\frac {\partial u}{\partial r}}&=r{\frac {\partial u}{\partial x}}\cos \theta +r{\frac {\partial u}{\partial y}}\sin \theta =x{\frac {\partial u}{\partial x}}+y{\frac {\partial u}{\partial y}},\\[2pt]{\frac {\partial u}{\partial \theta }}&=-{\frac {\partial u}{\partial x}}r\sin \theta +{\frac {\partial u}{\partial y}}r\cos \theta =-y{\frac {\partial u}{\partial x}}+x{\frac {\partial u}{\partial y}}.\end{aligned}}} 于是,我们可以得到下述关系:
r ∂ ∂ r = x ∂ ∂ x + y ∂ ∂ y ∂ ∂ θ = − y ∂ ∂ x + x ∂ ∂ y . {\displaystyle {\begin{aligned}r{\frac {\partial }{\partial r}}&=x{\frac {\partial }{\partial x}}+y{\frac {\partial }{\partial y}}\\[2pt]{\frac {\partial }{\partial \theta }}&=-y{\frac {\partial }{\partial x}}+x{\frac {\partial }{\partial y}}.\end{aligned}}} 利用坐标逆变换,可以得到类似的反向关系。给定一函数 u ( r , θ ) {\displaystyle u(r,\theta )} ,我们有
∂ u ∂ x = ∂ u ∂ r ∂ r ∂ x + ∂ u ∂ θ ∂ θ ∂ x , ∂ u ∂ y = ∂ u ∂ r ∂ r ∂ y + ∂ u ∂ θ ∂ θ ∂ y , {\displaystyle {\begin{aligned}{\frac {\partial u}{\partial x}}&={\frac {\partial u}{\partial r}}{\frac {\partial r}{\partial x}}+{\frac {\partial u}{\partial \theta }}{\frac {\partial \theta }{\partial x}},\\[2pt]{\frac {\partial u}{\partial y}}&={\frac {\partial u}{\partial r}}{\frac {\partial r}{\partial y}}+{\frac {\partial u}{\partial \theta }}{\frac {\partial \theta }{\partial y}},\end{aligned}}} 或
∂ u ∂ x = ∂ u ∂ r x x 2 + y 2 − ∂ u ∂ θ y x 2 + y 2 = cos θ ∂ u ∂ r − 1 r sin θ ∂ u ∂ θ , ∂ u ∂ y = ∂ u ∂ r y x 2 + y 2 + ∂ u ∂ θ x x 2 + y 2 = sin θ ∂ u ∂ r + 1 r cos θ ∂ u ∂ θ . {\displaystyle {\begin{aligned}{\frac {\partial u}{\partial x}}&={\frac {\partial u}{\partial r}}{\frac {x}{\sqrt {x^{2}+y^{2}}}}-{\frac {\partial u}{\partial \theta }}{\frac {y}{x^{2}+y^{2}}}\\[2pt]&=\cos \theta {\frac {\partial u}{\partial r}}-{\frac {1}{r}}\sin \theta {\frac {\partial u}{\partial \theta }},\\[2pt]{\frac {\partial u}{\partial y}}&={\frac {\partial u}{\partial r}}{\frac {y}{\sqrt {x^{2}+y^{2}}}}+{\frac {\partial u}{\partial \theta }}{\frac {x}{x^{2}+y^{2}}}\\[2pt]&=\sin \theta {\frac {\partial u}{\partial r}}+{\frac {1}{r}}\cos \theta {\frac {\partial u}{\partial \theta }}.\end{aligned}}} 于是,
∂ ∂ x = cos θ ∂ ∂ r − 1 r sin θ ∂ ∂ θ ∂ ∂ y = sin θ ∂ ∂ r + 1 r cos θ ∂ ∂ θ . {\displaystyle {\begin{aligned}{\frac {\partial }{\partial x}}&=\cos \theta {\frac {\partial }{\partial r}}-{\frac {1}{r}}\sin \theta {\frac {\partial }{\partial \theta }}\\[2pt]{\frac {\partial }{\partial y}}&=\sin \theta {\frac {\partial }{\partial r}}+{\frac {1}{r}}\cos \theta {\frac {\partial }{\partial \theta }}.\end{aligned}}} 对一条极坐标下曲线 r ( θ ) {\displaystyle r(\theta )} ,要得到其在直角坐标下的切线斜率,先用參數方程 表述该曲线:
x = r ( θ ) cos θ y = r ( θ ) sin θ {\displaystyle {\begin{aligned}x&=r(\theta )\cos \theta \\y&=r(\theta )\sin \theta \end{aligned}}} 把两个等式对 θ {\displaystyle \theta } 求导 ,得到
d x d θ = r ′ ( θ ) cos θ − r ( θ ) sin θ d y d θ = r ′ ( θ ) sin θ + r ( θ ) cos θ . {\displaystyle {\begin{aligned}{\frac {dx}{d\theta }}&=r'(\theta )\cos \theta -r(\theta )\sin \theta \\[2pt]{\frac {dy}{d\theta }}&=r'(\theta )\sin \theta +r(\theta )\cos \theta .\end{aligned}}} 用第一条等式除第二条,可得曲线在 ( r ( θ ) , θ ) {\displaystyle (r(\theta ),\theta )} 上切线的斜率。
d y d x = r ′ ( θ ) sin θ + r ( θ ) cos θ r ′ ( θ ) cos θ − r ( θ ) sin θ . {\displaystyle {\frac {dy}{dx}}={\frac {r'(\theta )\sin \theta +r(\theta )\cos \theta }{r'(\theta )\cos \theta -r(\theta )\sin \theta }}.}
向量微积分 向量微积分也可以应用到极坐标。对于平面运动,令r {\displaystyle \mathbf {r} } 为位置向量( r cos ( θ ) , r sin ( θ ) ) {\displaystyle (r\cos(\theta ),r\sin(\theta ))} ,由r 与随时间t 变化的θ {\displaystyle \theta } 表达,r ^ {\displaystyle {\hat {\mathbf {r} }}} 是r {\displaystyle \mathbf {r} } 方向上的单位向量,θ ^ {\displaystyle {\hat {\boldsymbol {\theta }}}} 是以r {\displaystyle \mathbf {r} } 为起始顺时针旋转的角度单位向量。第一和第二个位置的表达式是:
d r d t = r ˙ r ^ + r θ ˙ θ ^ , {\displaystyle {\frac {d\mathbf {r} }{dt}}={\dot {r}}{\hat {\mathbf {r} }}+r{\dot {\theta }}{\hat {\boldsymbol {\theta }}},} d 2 r d t 2 = ( r ¨ − r θ ˙ 2 ) r ^ + ( r θ ¨ + 2 r ˙ θ ˙ ) θ ^ . {\displaystyle {\frac {d^{2}\mathbf {r} }{dt^{2}}}=({\ddot {r}}-r{\dot {\theta }}^{2}){\hat {\mathbf {r} }}+(r{\ddot {\theta }}+2{\dot {r}}{\dot {\theta }}){\hat {\boldsymbol {\theta }}}.} 令A {\displaystyle \mathbf {A} } 为被一条连接焦点与曲线上一点的线所划分出的区域,则d A {\displaystyle d\mathbf {A} } 就是由r {\displaystyle \mathbf {r} } 和d r {\displaystyle d\mathbf {r} } 所构平行四边形 区域的一半。
d A = 1 2 | r × d r | {\displaystyle dA={\begin{matrix}{\frac {1}{2}}\end{matrix}}|\mathbf {r} \times d\mathbf {r} |} ,所以,整个区域就是d A {\displaystyle d\mathbf {A} } 关于时间的积分。
极坐标与球坐标和圆柱坐标的联系 极坐标系可被扩展到三维空间中,形成圆柱坐标系 和球坐标系两个不同的坐标系。
圆柱坐标系 与将直角坐标系 扩展为三维的方法相似,圆柱坐标系 是在二维极坐标系的基础上增添了第三条用于测量高于平面的点的高度的坐标所构成的。这第三条坐标通常也表示为 z {\displaystyle z} 。所以圆柱坐标表示为( ρ , ϕ , z ) {\displaystyle (\rho ,\phi ,z)} 。
通过以下公式,可以從直角坐标變換為圆柱坐标:
x = ρ cos φ {\displaystyle {x}={\rho }\,\cos \varphi } y = ρ sin φ {\displaystyle {y}={\rho }\,\sin \varphi } z = z {\displaystyle {z}={z}}
球坐标系 球坐标系也可以运用坐标( r , θ , ϕ ) {\displaystyle (r,\theta ,\phi )} 扩展为三维,其中 r {\displaystyle r} 是距离球心的距离,θ {\displaystyle \theta } 是距离 z {\displaystyle z} 轴的角度(称作余纬度或顶角,角度从0到180°),ϕ {\displaystyle \phi } 是距离x轴的角度(与极坐标中一样)。这个坐标系被称作球坐标系,与用于地球的经度 和纬度 相似,纬度就是余角θ,取决于 δ = 90 ∘ − θ {\displaystyle \delta =90^{\circ }-\theta } ,经度可通过 λ = ϕ − 180 ∘ {\displaystyle \lambda =\phi -180^{\circ }} 算得。
通过以下公式,可以從直角坐标變換為球坐标:
x = r sin θ cos φ {\displaystyle x=r\,\sin \theta \,\cos \varphi } y = r sin θ sin φ {\displaystyle y=r\,\sin \theta \,\sin \varphi } z = r cos θ {\displaystyle z=r\,\cos \theta }
应用
定位和导航 极坐标通常被用于导航 ,作为旅行的目的地或方向可以作为从所考虑的物体的距离和角度。例如,飞机 使用极坐标的一个略加修改的版本进行导航。这个系统中是一般的用于导航任何种类中的一个系统,在0°射线一般被称为航向360,并且角度是以顺时针方向 继续,而不是逆时针方向,如同在数学系统那样。航向360对应地磁北极,而航向90,180,和270分别对应于磁东,南,西。因此,一架飞机向正东方向上航行5海里 将是在航向90(空中交通管制读作090)上航行5个单位。
建模 有径向对称的系统提供了极坐标系的自然设置,中心点充当了极点。这种用法的一个典型例子是在适用于径向对称的水井时候的地下水流方程 。有径向力的系统也适合使用极坐标系。这些系统包括了服从平方反比定律 的引力场 ,以及有点源的系统,如无线电 天线 。
行星运动的开普勒定律 极坐标提供了一个表达在引力场 中开普勒行星运行定律的自然的方法。开普勒第一定律表明,环绕一颗恒星运行的行星轨道形成了一个椭圆 ,这个椭圆的一个焦点在质心 上。上面所给出的二次曲线部分的等式可用于表达这个椭圆。开普勒第二定律表明,连接行星和它所环绕的恒星的线在等时间间隔所划出的区域是面积相等的,即d A d t {\displaystyle d\mathbf {A} \over dt} 是常量。这些等式可由牛顿运动定律 推得。在开普勒行星运动定律 中有相关运用极坐标的详细推导。
相关内容