# n维球的体积

n维球的体积，是欧几里得n维空间中距中心固定距离以内的点集的n维测度；对半径为R的球，它由闭式公式给出

\[ V_n(R) = \frac{\pi^{n/2}}{\Gamma(n/2 + 1)}\, R^n, \]

其中Γ为伽马函数，即阶乘在非整数自变量上的推广（对非负整数z，有Γ(z+1) = z!）<sup>[1](https://math.hmc.edu/funfacts/volume-of-a-ball-in-n-dimensions/)</sup><sup> • </sup><sup>[2](https://www.physics.uoguelph.ca/chapter-2-gamma-function)</sup>。该公式重现了人们熟悉的低维结果，而在高维却表现出反直觉的行为：单位球的体积一直增长到第5维，随后便趋近于零<sup>[3](https://www.ph.unito.it/~giampier/MMII.pdf)</sup>。

| 关键事实 | 细节 |
|---|---|
| 一般公式 | \( V_n(R) = \pi^{n/2} R^n / \Gamma(n/2 + 1) \)<sup>[2](https://www.physics.uoguelph.ca/chapter-2-gamma-function)</sup> |
| 最初几例 | \( V_1(R) = 2R \)，\( V_2(R) = \pi R^2 \)，\( V_3(R) = \frac{4\pi}{3} R^3 \)<sup>[4](https://universalcurriculum.org/learn?content=2009&path=all&unit=2009)</sup> |
| 缩放 | 体积按 \( R^n \) 缩放，因此唯一的问题是单位球常数 \( C_n \)<sup>[4](https://universalcurriculum.org/learn?content=2009&path=all&unit=2009)</sup> |
| 递推 | 对单位球体积 \( \omega_n \)，有 \( \omega_n = \frac{2\pi}{n}\,\omega_{n-2} \)<sup>[5](https://www.math.ncu.edu.tw/~cchsiao/eBooks/Vector_Analysis/files/basic-html/page92.html)</sup> |
| 最大值 | 单位球在维数n = 5时体积最大，在维数n = 7时表面积最大<sup>[3](https://www.ph.unito.it/~giampier/MMII.pdf)</sup> |
| 高维极限 | 当 \( n \to \infty \) 时 \( V_n \to 0 \)；对偶数n = 2k，\( V_n = \pi^k / k! \)，而k!增长得比π^k快<sup>[1](https://math.hmc.edu/funfacts/volume-of-a-ball-in-n-dimensions/)</sup> |
| 边界关系 | \( S_{n-1}(R) = dV_n(R)/dR \)，即圆与球在每一维都成立的同一体积—表面积关系<sup>[4](https://universalcurriculum.org/learn?content=2009&path=all&unit=2009)</sup> |

## 公式及其最初几例

由于当每个坐标都按R缩放时，n维体积按 \( R^n \) 缩放，半径为R的球的体积具有 \( V_n(R) = C_n R^n \) 的形式，整个问题就在于确定单位球常数 \( C_n \)<sup>[4](https://universalcurriculum.org/learn?content=2009&path=all&unit=2009)</sup>。伽马函数表达式直接给出了这个常数<sup>[2](https://www.physics.uoguelph.ca/chapter-2-gamma-function)</sup>：

\[ C_n = \frac{2\pi^{n/2}}{n\,\Gamma(n/2)} = \frac{\pi^{n/2}}{\Gamma(n/2 + 1)}, \]

这里用到了递推式 \( \Gamma(n/2 + 1) = (n/2)\,\Gamma(n/2) \)<sup>[2](https://www.physics.uoguelph.ca/chapter-2-gamma-function)</sup>。一种等价写法把分母写成 \( \frac{d}{2}\Gamma(d/2) \)<sup>[6](https://www.math.utah.edu/~bwang/mathds/Lecture9.pdf)</sup>，另一种则写成 \( V_n = 2\sqrt{\pi^n} / (n\,\Gamma(n/2)) \)<sup>[7](https://mo.mathematik.uni-stuttgart.de/inhalt/aussage/aussage672/index_s.html)</sup>。

最初几例与普通几何相符：区间[−R, R]的长度为2R，圆盘的面积为πR²，通常的球体积为 \( \frac{4\pi}{3}R^3 \)<sup>[4](https://universalcurriculum.org/learn?content=2009&path=all&unit=2009)</sup>。在偶数维中，伽马函数化为阶乘：取n = 2k，单位球体积为 \( \pi^k / k! \)<sup>[1](https://math.hmc.edu/funfacts/volume-of-a-ball-in-n-dimensions/)</sup>。

## 切片推导

一种标准的推导用单个坐标对球切片。在坐标x处，其余n − 1个坐标填满一个半径为 \( \sqrt{R^2 - x^2} \) 的(n − 1)维球，于是

\[ V_n(R) = \int_{-R}^{R} V_{n-1}\left(\sqrt{R^2 - x^2}\right)\,dx, \]

这把n维的几何转化为一个涉及n − 1维的积分<sup>[4](https://universalcurriculum.org/learn?content=2009&path=all&unit=2009)</sup>。写成三角形式，递推式为 \( V_n = 2V_{n-1}\int_0^{\pi/2}\cos^n\theta\,d\theta \)，这正是数学家戴维·辛格马斯特（David Singmaster）1964年文章《论方孔中的圆桩与圆孔中的方桩》的出发点；他因在趣味数学谜题方面的工作而知名。俄亥俄卫斯理大学（Ohio Wesleyan University）的数学家杰弗里·努内马赫（Jeffrey Nunemacher）在《任意欧几里得空间中最大的单位球》一文中发展了其推论<sup>[3](https://www.ph.unito.it/~giampier/MMII.pdf)</sup>。用贝塔函数改写该递推并逐层展开，便得到伽马函数的闭式<sup>[3](https://www.ph.unito.it/~giampier/MMII.pdf)</sup>。

由同样的切片还可得到一个相关的两步递推：\( \omega_n = \frac{2\pi}{n}\,\omega_{n-2} \)，即每增加两维，单位球体积便乘以 \( 2\pi/n \)<sup>[5](https://www.math.ncu.edu.tw/~cchsiao/eBooks/Vector_Analysis/files/basic-html/page92.html)</sup>。

另一条途径使用高斯积分。写出 \( I_n = \int_0^{\infty} r^n e^{-r^2}\,dr \) 一类的积分，注意到 \( I_2 = \pi \) 迫使 \( I_1 = \sqrt{\pi} \)，便得到 \( I_n = \pi^{n/2} \)；将其与球的径向积分结合，即得 \( C_n = \pi^{n/2}/\Gamma(n/2+1) \)<sup>[2](https://www.physics.uoguelph.ca/chapter-2-gamma-function)</sup>。

## 表面积

将体积对半径求导，便得到边界的表面积测度 \( S_{n-1}(R) = dV_n(R)/dR \)；圆与球所满足的“累积体积对边界面积”的关系，在每一维都继续成立<sup>[4](https://universalcurriculum.org/learn?content=2009&path=all&unit=2009)</sup>。用单位量表示，单位球面的表面积满足 \( s_{n-1} = n\,b_n \)，其中 \( s_{n-1} = 2\pi^{n/2}/\Gamma(n/2) \)<sup>[8](https://rim.math.snu.ac.kr/data/file/Rim_LectureNotes/0f4265f3cb3b7b8d16f15702948b40ae_VbU63dgQ_0fa0a3941ec962c71cfbf24a35ac0836c3e0cd8a.pdf)</sup>。

## 高维中的行为

单位球体积并不随维数增长。由于对n = 2k有 \( V_n = \pi^k/k! \)，而k!最终增长得比 \( \pi^k \) 快，所以当n趋于无穷时体积趋于0<sup>[1](https://math.hmc.edu/funfacts/volume-of-a-ball-in-n-dimensions/)</sup>。努内马赫的文章将此列为一个出人意料的结果，同时确定了单位球在维数n = 5时体积最大、在维数n = 7时表面积最大<sup>[3](https://www.ph.unito.it/~giampier/MMII.pdf)</sup>。

斯特林公式 \( \Gamma(n) \sim \sqrt{2\pi/n}\,(n/e)^n \) 给出了这种衰减的渐近大小<sup>[6](https://www.math.utah.edu/~bwang/mathds/Lecture9.pdf)</sup>：

\[ \mathrm{Vol}(B^d) \approx \frac{1}{\sqrt{d\pi}}\left(\frac{2\pi e}{d}\right)^{d/2}. \]

这种收缩是维数灾难的一面：尽管 \( \mathbb{R}^n \) 中的单位球包含所有低维单位球，但随着n增大，能装进其中的n维体积却越来越少<sup>[1](https://math.hmc.edu/funfacts/volume-of-a-ball-in-n-dimensions/)</sup>。这类体积论证在高维概率论与算法设计中还控制着覆盖数，即覆盖一个集合所需的小球数目<sup>[9](https://elliotpaquette.github.io/high-dimensional-probability/lectures/01-curse-of-dimensionality.html)</sup>。

## 分数维

由于伽马函数对非整数自变量有定义，表达式 \( \pi^{n/2}/\Gamma(n/2+1) \) 对任意实数n ≥ 0都定义了一个类体积量，而不限于整数维。Isabelle/HOL证明库正是这样形式化单位球体积的：对实数n，取 \( \pi^{n/2}/\Gamma(n/2+1) \)，并指出分数维是允许的，尽管其现有结果中并未用到<sup>[10](https://www.isabelle.in.tum.de/website-Isabelle2021/dist/library/HOL/HOL-Analysis/Ball_Volume.html)</sup>。最近一篇arXiv预印本把同一表达式视为在连续维中由径向积分得到的质量<sup>[11](https://arxiv.org/abs/2605.04351)</sup>。

## References

1. [Volume of a Ball in N Dimensions, Harvey Mudd College Math Fun Facts](https://math.hmc.edu/funfacts/volume-of-a-ball-in-n-dimensions/)
2. [Chapter 2: Gamma Function, Department of Physics, University of Guelph](https://www.physics.uoguelph.ca/chapter-2-gamma-function)
3. [On the Gamma Function and Its Applications (discussing Singmaster 1964 and Nunemacher, "The Largest Unit Ball in Any Euclidean Space"), Università di Torino](https://www.ph.unito.it/~giampier/MMII.pdf)
4. [Volume of an n-dimensional ball, Universal Curriculum](https://universalcurriculum.org/learn?content=2009&path=all&unit=2009)
5. [Vector Analysis, page 92, National Central University](https://www.math.ncu.edu.tw/~cchsiao/eBooks/Vector_Analysis/files/basic-html/page92.html)
6. [Lecture 9: Curses, Blessings, and Surprises in High Dimensions, University of Utah](https://www.math.utah.edu/~bwang/mathds/Lecture9.pdf)
7. [Volumen der n-dimensionalen Kugel, Mathematik-Online-Lexikon, Universität Stuttgart](https://mo.mathematik.uni-stuttgart.de/inhalt/aussage/aussage672/index_s.html)
8. [Lecture Notes in Mathematics: Gamma function and unit ball volumes, Seoul National University](https://rim.math.snu.ac.kr/data/file/Rim_LectureNotes/0f4265f3cb3b7b8d16f15702948b40ae_VbU63dgQ_0fa0a3941ec962c71cfbf24a35ac0836c3e0cd8a.pdf)
9. [Lecture 1: The Curse of Dimensionality, High-Dimensional Probability, Elliot Paquette, McGill University](https://elliotpaquette.github.io/high-dimensional-probability/lectures/01-curse-of-dimensionality.html)
10. [Theory Ball_Volume, Isabelle/HOL Analysis library, Manuel Eberl, TU München](https://www.isabelle.in.tum.de/website-Isabelle2021/dist/library/HOL/HOL-Analysis/Ball_Volume.html)
11. [Radial Integration in Continuous Dimension: A Mellin-Gamma Classification of Euclidean Ball Volume, arXiv](https://arxiv.org/abs/2605.04351)

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

Topic: 物质世界与数学 › 测量与时间 › 计量学、仪器仪表与应用测量 › Measurement theory and uncertainty › Mensuration and geometric measurement

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/volume-of-an-n-ball

English original: https://www.edgepedia.org/volume-of-an-n-ball
