# 球坐标系

球坐标系是一种三维坐标系，它通过某点到一固定原点的距离以及两个角度来确定该点的位置：一个角度给出该点相对于极轴的方向，另一个角度给出该点绕该轴的旋转。在笛卡尔坐标之后，球坐标系与柱坐标系是三维空间中最常用的两种坐标系，而对于具有球对称性的问题，球坐标系是自然的选择。<sup>[3](https://web.ma.utexas.edu/users/m408m/Display15-10-8.shtml)</sup>

| 关键事实 | 详情 |
|---|---|
| 坐标 | 到原点的距离、相对极轴的极角、绕轴的方位角；在物理学约定中范围为 0 ≤ θ ≤ π 和 0 ≤ φ ≤ 2π<sup>[4](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)</sup> |
| 到笛卡尔坐标的转换 | x = r sin θ cos φ，y = r sin θ sin φ，z = r cos θ<sup>[4](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)</sup> |
| 体积元 | dx dy dz = r² sin θ dr dθ dφ<sup>[4](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)</sup> |
| 标度因子 | h_r = 1，h_θ = r，h_φ = r sin θ<sup>[5](https://www.physics.uoguelph.ca/chapter-1-curvilinear-coordinates)</sup> |
| 等坐标面 | 球面（半径恒定）、半平面（方位角恒定）和半锥面（极角恒定）<sup>[1](https://openstax.org/books/calculus-volume-3/pages/2-7-cylindrical-and-spherical-coordinates)</sup> |
| 坐标奇点 | 原点和极轴（θ = 0 与 π），在这些地方坐标不再唯一<sup>[7](https://ntrs.nasa.gov/api/citations/19890014449/downloads/19890014449.pdf)</sup> |
| 主要用途 | 电磁学、量子力学（氢原子）、大地测量学和广义相对论 |

## 定义与约定

在物理学约定中——大多数电磁学和工程学教材采用这一约定——一个点由有序三元组 (r, θ, φ) 确定：r 是从原点量起的距离，θ 是从 +z 轴朝 z = 0 平面量起的角度，φ 是在某个 z 为常数的平面内量起的角度，与柱坐标系中的方位角相同。<sup>[2](https://phys.libretexts.org/Bookshelves/Electricity_and_Magnetism/Electromagnetics_I_%28Ellingson%29/04%3A_Vector_Analysis/4.04%3A_Spherical_Coordinates)</sup> 与笛卡尔坐标的关系为<sup>[4](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)</sup>

\[ x = r \sin\theta \cos\varphi, \qquad y = r \sin\theta \sin\varphi, \qquad z = r \cos\theta, \]

其中 0 ≤ θ ≤ π，0 ≤ φ ≤ 2π。逆变换为 r = √(x² + y² + z²)，θ = arccos(z/r)，φ = arctan(y, x)，其中 arctan 是四象限反正切。<sup>[2](https://phys.libretexts.org/Bookshelves/Electricity_and_Magnetism/Electromagnetics_I_%28Ellingson%29/04%3A_Vector_Analysis/4.04%3A_Spherical_Coordinates)</sup>

**记号因领域而异。** 微积分教材常将坐标记作 (ρ, θ, φ)，以 ρ 表示到原点的距离，θ 表示与柱坐标中相同的方位角，φ 表示从正 z 轴量起的角度，0 ≤ φ ≤ π。<sup>[1](https://openstax.org/books/calculus-volume-3/pages/2-7-cylindrical-and-spherical-coordinates)</sup> 在这一约定中，两个角度符号的角色相对于物理学约定恰好互换，因此从一个领域照搬到另一领域的公式必须对其符号作相应转换。大地测量学又采用另一种安排：地球上的位置以纬度、经度和高程表示，通过投影到参考椭球体上来确定；而一种相关的球面描述则将三个坐标列为径向距离、纬度和余纬，余纬是从极点而非从赤道量起的角度。<sup>[8](https://repository.library.noaa.gov/view/noaa/2827/noaa_2827_DS1.pdf)</sup>

固定一个坐标所得到的曲面直接显示了其几何结构。半径恒定的曲面是以原点为中心的球面；方位角恒定的曲面是以极轴为边缘的半平面；极角恒定的曲面是从原点张开的半锥面。<sup>[1](https://openstax.org/books/calculus-volume-3/pages/2-7-cylindrical-and-spherical-coordinates)</sup> 一个与原点同心的球面，在笛卡尔坐标中需要 x、y、z 三个量来描述，而在这里只需一个条件 r = 常数。<sup>[2](https://phys.libretexts.org/Bookshelves/Electricity_and_Magnetism/Electromagnetics_I_%28Ellingson%29/04%3A_Vector_Analysis/4.04%3A_Spherical_Coordinates)</sup>

## 基矢量与标度因子

与固定的笛卡尔单位矢量不同，球坐标基矢量 \\( \hat{r} \\)、\\( \hat{\theta} \\) 和 \\( \hat{\varphi} \\) 分别指向 r、θ、φ 增大的方向，并且逐点改变方向。<sup>[4](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)</sup> 用笛卡尔单位矢量表示，它们为<sup>[4](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)</sup>

\[ \hat{r} = \sin\theta\cos\varphi\,\hat{\imath} + \sin\theta\sin\varphi\,\hat{\jmath} + \cos\theta\,\hat{k}, \]
\[ \hat{\theta} = \cos\theta\cos\varphi\,\hat{\imath} + \cos\theta\sin\varphi\,\hat{\jmath} - \sin\theta\,\hat{k}, \]
\[ \hat{\varphi} = -\sin\varphi\,\hat{\imath} + \cos\varphi\,\hat{\jmath}. \]

三个基矢量两两正交，相同矢量的点积为一，不同矢量的点积为零，叉积按 \\( \hat{r} \times \hat{\theta} = \hat{\varphi} \\)、\\( \hat{\theta} \times \hat{\varphi} = \hat{r} \\)、\\( \hat{\varphi} \times \hat{r} = \hat{\theta} \\) 循环。<sup>[2](https://phys.libretexts.org/Bookshelves/Electricity_and_Magnetism/Electromagnetics_I_%28Ellingson%29/04%3A_Vector_Analysis/4.04%3A_Spherical_Coordinates)</sup> 由于基方向依赖于位置，在确定绝对位置和相对位置时，球坐标系往往不如笛卡尔坐标系方便：\\( \hat{r} \\) 沿 x 轴时等于 \\( \hat{x} \\)，但沿 y 轴时等于 \\( \hat{y} \\)，沿 z 轴时等于 \\( \hat{z} \\)。<sup>[2](https://phys.libretexts.org/Bookshelves/Electricity_and_Magnetism/Electromagnetics_I_%28Ellingson%29/04%3A_Vector_Analysis/4.04%3A_Spherical_Coordinates)</sup>

坐标的一个单位变化并不产生单位位移，标度因子将坐标增量转换为距离。在球坐标中，它们为 \\( h_r = 1 \\)、\\( h_\theta = r \\)、\\( h_\varphi = r\sin\theta \\)。<sup>[5](https://www.physics.uoguelph.ca/chapter-1-curvilinear-coordinates)</sup> 沿 θ 方向 dθ 的位移对应弧长 r dθ，而在 φ 方向上距离为 r sin θ dφ，由于等 θ 圆向两极收缩，该距离在赤道平面之外要乘以因子 sin θ 而减小。<sup>[2](https://phys.libretexts.org/Bookshelves/Electricity_and_Magnetism/Electromagnetics_I_%28Ellingson%29/04%3A_Vector_Analysis/4.04%3A_Spherical_Coordinates)</sup> 格里菲斯（Griffiths）的教材在其曲线坐标记号中记录了相同的因子：f = 1，g = r，h = r sin θ，而在笛卡尔坐标中 f = g = h = 1。<sup>[6](https://nucleares.unam.mx/~martinel/griffiths_4ed.pdf)</sup>

## 积分与雅可比行列式

在多重积分中作变量代换需要雅可比行列式，即变换的偏导数矩阵的行列式，它将旧坐标的体积元用新坐标表示：\\( dV = \left| \frac{\partial(x,y,z)}{\partial(u,v,w)} \right| du\,dv\,dw \\)。<sup>[3](https://web.ma.utexas.edu/users/m408m/Display15-10-8.shtml)</sup> 对于球坐标变换，该行列式的值为 \\( r^2 \sin\theta \\)，从而给出体积元<sup>[4](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)</sup>

\[ dx\,dy\,dz = r^2 \sin\theta \, dr\,d\theta\,d\varphi. \]

因子 r² 反映了体积随离原点距离的增长，sin θ 则反映了纬线圈向两极的收缩。对于正交坐标系，同样的结果也可由标度因子之积得到，因为由三对等坐标面围成的小体积元的体积为 \\( h_1 h_2 h_3 \, dw_1 dw_2 dw_3 \\)。<sup>[9](https://math.mit.edu/~djk/18_022/chapter11/section04.html)</sup> 这一体积元是球面、球体和锥体上三重积分的基础，而微分长度元 \\( d\mathbf{l} = \hat{r}\,dr + \hat{\theta}\,r\,d\theta + \hat{\varphi}\,r\sin\theta\,d\varphi \\) 则用于相应的线积分和面积分。<sup>[2](https://phys.libretexts.org/Bookshelves/Electricity_and_Magnetism/Electromagnetics_I_%28Ellingson%29/04%3A_Vector_Analysis/4.04%3A_Spherical_Coordinates)</sup>

## 球坐标系中的矢量微积分

梯度、散度和旋度在球坐标系中采取包含标度因子的形式，从而使场在弯曲几何中得到正确的描述。对单位矢量求导会产生笛卡尔坐标中所没有的附加项；例如 \\( \partial\hat{r}/\partial\theta = \hat{\theta} \\) 和 \\( \partial\hat{\varphi}/\partial\varphi = -\sin\theta\,\hat{r} - \cos\theta\,\hat{\theta} \\)。<sup>[4](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)</sup> 正是这些导数使得拉普拉斯算子及其他算子在球坐标形式中获得其特征性的、依赖于 r 和 θ 的系数。

## 应用

许多物理问题具有天然的球对称性，从点电荷的电场到行星的引力场，而在笛卡尔网格中描述它们会掩盖这种对称性。该坐标系用于在边值问题中分离变量，例如静电学中的拉普拉斯方程，<sup>[10](https://ocw.mit.edu/courses/res-6-001-electromagnetic-fields-and-energy-spring-2008/pages/chapter-5/)</sup> 并且在量子力学中不可或缺——氢原子就是在球坐标中求解的——在广义相对论中也是如此。在大地测量学和导航中，纬度和经度是相对于地球椭球模型的球面角坐标，而几何三维坐标参考框架内的定位则借助卫星导航技术实现。<sup>[11](https://www.nauticalcharts.noaa.gov/learn/ellipsoidally-referenced-surveys.html)</sup>

**坐标奇点。** 该坐标系在原点处失效，因为角度在那里没有定义；在极轴上（θ = 0 与 π）也失效，因为方位角 φ 在那里没有定义。这些是坐标奇点而非物理奇点。<sup>[7](https://ntrs.nasa.gov/api/citations/19890014449/downloads/19890014449.pdf)</sup> 在数值计算中，这些奇点可能破坏模拟，但已有方法对它们作解析处理，例如在数值相对论代码中通过参考度规表述和张量量的重标度来实现。<sup>[12](https://arxiv.org/abs/1802.09625)</sup>

## References

1. [Cylindrical and Spherical Coordinates, Calculus Volume 3, OpenStax](https://openstax.org/books/calculus-volume-3/pages/2-7-cylindrical-and-spherical-coordinates)
2. [4.4: Spherical Coordinates, Electromagnetics I (Ellingson), Physics LibreTexts](https://phys.libretexts.org/Bookshelves/Electricity_and_Magnetism/Electromagnetics_I_%28Ellingson%29/04%3A_Vector_Analysis/4.04%3A_Spherical_Coordinates)
3. [Cylindrical and spherical coordinates, M408M, University of Texas at Austin](https://web.ma.utexas.edu/users/m408m/Display15-10-8.shtml)
4. [Vector Calculus for Engineers, Jeffrey Chasnov, HKUST](https://www.math.hkust.edu.hk/~machas/vector-calculus-for-engineers.pdf)
5. [Chapter 1: Curvilinear Coordinates, Department of Physics, University of Guelph](https://www.physics.uoguelph.ca/chapter-1-curvilinear-coordinates)
6. [Introduction to Electrodynamics, 4th ed., D. J. Griffiths (chapter PDF)](https://nucleares.unam.mx/~martinel/griffiths_4ed.pdf)
7. [Coordinate singularities in spherical polar coordinates, NASA Technical Reports Server](https://ntrs.nasa.gov/api/citations/19890014449/downloads/19890014449.pdf)
8. [Geodetic Glossary, National Geodetic Survey, NOAA](https://repository.library.noaa.gov/view/noaa/2827/noaa_2827_DS1.pdf)
9. [11.4 Computing the Volume Element: the Jacobian, MIT 18.022](https://math.mit.edu/~djk/18_022/chapter11/section04.html)
10. [Electromagnetic Fields and Energy, Chapter 5, MIT OpenCourseWare](https://ocw.mit.edu/courses/res-6-001-electromagnetic-fields-and-energy-spring-2008/pages/chapter-5/)
11. [Ellipsoidally Referenced Surveys, U.S. Office of Coast Survey, NOAA](https://www.nauticalcharts.noaa.gov/learn/ellipsoidally-referenced-surveys.html)
12. [Numerical relativity in spherical coordinates with the Einstein Toolkit, arXiv:1802.09625](https://arxiv.org/abs/1802.09625)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 几何学与拓扑学 › Analytic and coordinate geometry

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/spherical-coordinate-system

English original: https://www.edgepedia.org/spherical-coordinate-system
