# 高斯积分

**高斯积分**是一维高斯函数在整个实轴上的积分，写作 \( \int_{-\infty}^{+\infty} e^{-x^2}\,dx = \sqrt{\pi} \)。它也被称为概率积分，与误差函数密切相关<sup>[1](https://mathworld.wolfram.com/GaussianIntegral.html)</sup>。该积分遍及数学、物理、工程和概率论，其求值曾超出本科阶段处理积分的标准工具范围，吸引了许多数学家，包括棣莫弗（De Moivre）、拉普拉斯（Laplace）、泊松（Poisson）和刘维尔（Liouville）<sup>[2](https://link.springer.com/book/10.1007/978-3-031-38416-5)</sup>。

| 关键事实 | 具体内容 |
|---|---|
| 取值 | \( \int_{-\infty}^{+\infty} e^{-x^2}\,dx = \sqrt{\pi} \)<sup>[1](https://mathworld.wolfram.com/GaussianIntegral.html)</sup> |
| 缩放形式 | 对 \( a > 0 \)，\( \int_{-\infty}^{+\infty} e^{-a x^2}\,dx = \sqrt{\pi/a} \)<sup>[3](https://boulderschool.yale.edu/sites/default/files/files/scalettar_3.pdf)</sup> |
| 首次显式计算 | 拉普拉斯，在其1774年关于原因概率的论文中<sup>[4](https://kconrad.math.uconn.edu/blurbs/analysis/gaussianintegral.pdf)</sup> |
| 标准证明 | 将积分平方后化为极坐标，此法通常归于泊松<sup>[4](https://kconrad.math.uconn.edu/blurbs/analysis/gaussianintegral.pdf)</sup> |
| 与erf的关系 | \( \operatorname{erf}(z) = \frac{2}{\sqrt{\pi}} \int_0^z e^{-t^2}\,dt \)；标准正态累积分布函数为 \( \Phi(z) = \frac{1}{2}\left[1 + \operatorname{erf}\left(\frac{z}{\sqrt{2}}\right)\right] \)<sup>[5](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.erf.html)</sup> |
| 多维形式 | 对实对称 \( A \)，\( \int e^{-\vec{x}A\vec{x}^{T}}\,d^N x = \pi^{N/2}/\sqrt{\det A} \)<sup>[3](https://boulderschool.yale.edu/sites/default/files/files/scalettar_3.pdf)</sup> |
| 有限上下限 | 从 \( -\infty \) 到有限上限的积分没有简单的闭式公式，需数值计算<sup>[6](https://itl.nist.gov/div898/handbook/eda/section3/eda3661.htm)</sup> |

## 求值

最著名的求值方法是将积分平方，把两个一维积分的乘积转化为一个二维积分。将其中一个因子中的积分变量写作哑变量 \( y \)，

\[
\left( \int_{-\infty}^{+\infty} e^{-x^2}\,dx \right)^2 = \int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty} e^{-(x^2+y^2)}\,dx\,dy.
\]

在极坐标下，指数变为 \( -r^2 \)，面积元贡献一个因子 \( r \)，这使得径向积分成为初等积分：

\[
\int_0^{2\pi}\int_0^{\infty} e^{-r^2} r\,dr\,d\theta = 2\pi \left[ -\tfrac{1}{2} e^{-r^2} \right]_0^{\infty} = \pi,
\]

因此原积分（为正）等于 \( \sqrt{\pi} \)<sup>[1](https://mathworld.wolfram.com/GaussianIntegral.html)</sup>。康涅狄格大学（University of Connecticut）的数学家基思·康拉德（Keith Conrad）将这一极坐标证明归于泊松<sup>[4](https://kconrad.math.uconn.edu/blurbs/analysis/gaussianintegral.pdf)</sup>。尼古拉斯（Nicholas）和耶茨（Yates）于1950年给出了一个不需要变换到极坐标的证明<sup>[1](https://mathworld.wolfram.com/GaussianIntegral.html)</sup>，其他推导则使用由富比尼定理保证的变量替换，或积分号下求导<sup>[4](https://kconrad.math.uconn.edu/blurbs/analysis/gaussianintegral.pdf)</sup>。

对于一般的正缩放因子 \( a \)，代换 \( y = \sqrt{a}\,x \) 给出

\[
\int_{-\infty}^{+\infty} e^{-a x^2}\,dx = \sqrt{\frac{\pi}{a}},
\]

例如，耶鲁博尔德学校（Yale Boulder School）的行列式量子蒙特卡罗讲义中就使用了这一形式<sup>[3](https://boulderschool.yale.edu/sites/default/files/files/scalettar_3.pdf)</sup>。半直线上的积分为 \( \int_0^{\infty} e^{-a x^2}\,dx = \frac{1}{2}\sqrt{\pi/a} \)<sup>[7](https://archive.lib.msu.edu/crcmath/math/math/g/g090.htm)</sup>。

## 历史与归属

首次显式计算该积分的方法出现在拉普拉斯1774年的论文《论事件原因的概率》（*Mémoire sur la probabilité des causes par les événements*）中<sup>[8](https://www.york.ac.uk/depts/maths/histstat/normal_history.pdf)</sup>。拉普拉斯的出发点是欧拉（Euler）的一个公式，他想计算 \( \int_0^1 dx/\sqrt{-\log x} \)，该积分可化为高斯积分的两倍<sup>[4](https://kconrad.math.uconn.edu/blurbs/analysis/gaussianintegral.pdf)</sup>。

归属问题一直存在争议。基耶蒂-佩斯卡拉“G. 邓南遮”大学（Università "G. d'Annunzio" di Chieti-Pescara）的福斯托·迪·比亚塞（Fausto Di Biase）在2019年对史学记录的一则更正中指出，该求值通常被错误地归于泊松、高斯或拉普拉斯；高斯本人在1809年的著作中将结果归于拉普拉斯，而拉普拉斯的工作发表于1774年<sup>[9](https://www.researchgate.net/publication/336715800_A_correction_of_the_historiographical_record_on_the_probability_integral)</sup>。在苏黎世联邦理工学院（ETH Zürich）图书馆藏的一本高斯1809年著作印刷本中，与高斯同时代的天文学家巴尔纳巴·奥里亚尼（Barnaba Oriani）在第212页留下了一条手写拉丁文脚注，指出该求值实际上应归于欧拉，而非拉普拉斯<sup>[9](https://www.researchgate.net/publication/336715800_A_correction_of_the_historiographical_record_on_the_probability_integral)</sup>。

## 与误差函数的关系

由于高斯函数没有初等原函数，从0到有限上限 \( z \) 的积分定义了一个特殊函数，即误差函数：

\[
\operatorname{erf}(z) = \frac{2}{\sqrt{\pi}} \int_0^z e^{-t^2}\,dt.
\]

标准正态分布的累积分布函数通过它表示为 \( \Phi(z) = \frac{1}{2}\left[1 + \operatorname{erf}\left(z/\sqrt{2}\right)\right] \)<sup>[5](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.erf.html)</sup>。美国国家标准与技术研究院（NIST）《工程统计手册》指出，累积正态积分不存在简单的闭式公式，需数值计算<sup>[6](https://itl.nist.gov/div898/handbook/eda/section3/eda3661.htm)</sup>。对于从0到有限上限 \( a \) 的积分，可用连分式展开<sup>[7](https://archive.lib.msu.edu/crcmath/math/math/g/g090.htm)</sup>。

## 多维推广

一维结果可推广到 \( N \) 维。对于实向量 \( \vec{x} \) 和实对称 \( N \times N \) 矩阵 \( A \)，

\[
Z = \int_{-\infty}^{+\infty} \cdots \int_{-\infty}^{+\infty} dx_1 \cdots dx_N\, e^{-\vec{x}A\vec{x}^{T}} = \frac{\pi^{N/2}}{\sqrt{\det A}}.
\]

记号 \( Z \) 反映了统计力学的解读：该积分将是经典变量的配分函数，其作用量为二次型 \( \vec{x}A\vec{x}^{T} \)<sup>[3](https://boulderschool.yale.edu/sites/default/files/files/scalettar_3.pdf)</sup>。同样的结构出现在量子场论讲义中，其中要求矩阵 \( K \) 具有正定实部，带线性源项 \( J \) 的结果为

\[
\int_{\mathbb{R}^N} d^N\varphi\, \exp\left( -\tfrac{1}{2}\varphi_j K_{jk}\varphi_k + J_k\varphi_k \right) = \frac{(2\pi)^{N/2}}{\sqrt{\det K}} \exp\left( \tfrac{1}{2} J_j (K^{-1})_{jk} J_k \right).
\]

推导通过正交变换将 \( K \) 对角化，并利用行列式在基变换下的不变性，逐个计算每个一维积分<sup>[10](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)</sup>。

## 矩与威克定理

含变量多项式因子的积分也有闭式。两点矩为

\[
\langle x_i x_j \rangle = \frac{1}{2}\,[A^{-1}]_{ij},
\]

四点矩分解为三种配对，

\[
\langle x_i x_j x_k x_l \rangle = \frac{1}{4}\left( [A^{-1}]_{ij}[A^{-1}]_{kl} + [A^{-1}]_{ik}[A^{-1}]_{jl} + [A^{-1}]_{il}[A^{-1}]_{jk} \right).
\]

耶鲁讲义指出，更多的 \( x_i \) 因子会生成形式上类似于威克定理（Wick's theorem）的表达式，该定理将多个费米子算符乘积的缩并表示为每次取两个算符的缩并乘积之和<sup>[3](https://boulderschool.yale.edu/sites/default/files/files/scalettar_3.pdf)</sup>。耶拿（Jena）讲义给出了普遍关系：对于高斯概率权重，关联函数通过将所有可能的缩并相加来计算，每个缩并贡献一个两点函数或协方差矩阵项<sup>[10](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)</sup>。

指数项可微扰的程度是有限的。这些积分对被积函数中的任意多项式都可以计算，但当指数中出现四次项时，就无法以闭式完成<sup>[3](https://boulderschool.yale.edu/sites/default/files/files/scalettar_3.pdf)</sup>。

## 应用之处

该积分是正态分布归一化的基础，标准密度为 \( f(x) = e^{-x^2/2}/\sqrt{2\pi} \)；分母中的因子 \( \sqrt{2\pi} \) 正是高斯积分的变形<sup>[6](https://itl.nist.gov/div898/handbook/eda/section3/eda3661.htm)</sup>。在物理学中，它出现在配分函数的计算、量子力学的路径积分表述以及扩散问题中，其中热核是高斯函数，其归一化使用同一积分<sup>[10](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)</sup>。电气工程师保罗·J·纳欣（Paul J. Nahin）是施普林格出版社一本专论概率积分的著作的作者，他称该积分无处不在，遍及数学、物理、工程和概率论<sup>[2](https://link.springer.com/book/10.1007/978-3-031-38416-5)</sup>。

## References

1. [Weisstein, Eric W. "Gaussian Integral." Wolfram MathWorld](https://mathworld.wolfram.com/GaussianIntegral.html)
2. [Paul J. Nahin, *The Probability Integral: Its Origin, Its Importance, and Its Calculation*, Springer (2023)](https://link.springer.com/book/10.1007/978-3-031-38416-5)
3. [R. T. Scalettar, "Multidimensional Gaussian Integration," Boulder School notes, Yale University](https://boulderschool.yale.edu/sites/default/files/files/scalettar_3.pdf)
4. [Keith Conrad, "The Gaussian Integral," University of Connecticut](https://kconrad.math.uconn.edu/blurbs/analysis/gaussianintegral.pdf)
5. [scipy.special.erf, SciPy v1.18.0 Manual](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.erf.html)
6. [NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.1 Normal Distribution](https://itl.nist.gov/div898/handbook/eda/section3/eda3661.htm)
7. [Gaussian Integral, CRC Press concise encyclopedia entry (Michigan State University archive)](https://archive.lib.msu.edu/crcmath/math/math/g/g090.htm)
8. ["The Probability Integral," York University history of statistics notes](https://www.york.ac.uk/depts/maths/histstat/normal_history.pdf)
9. [Fausto Di Biase, "A correction of the historiographical record on the probability integral," arXiv:1910.08791 (2019)](https://www.researchgate.net/publication/336715800_A_correction_of_the_historiographical_record_on_the_probability_integral)
10. ["Quantum field theory 1, lecture 07," Floerchinger group, University of Jena](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)

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

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Integrals and integration theory

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/gaussian-integral

English original: https://www.edgepedia.org/gaussian-integral
