# 高斯函数

高斯函数是形如 \( f(x) = a \cdot \exp\!\left(-\frac{(x-b)^2}{c}\right) \) 的函数，其图像是一条以 \( b \) 为中心、对称的钟形曲线，随着 \( |x| \) 增大而迅速衰减。当将其归一化，使它对所有 \( x \) 的积分等于 1 时，它就成为正态（高斯）分布的概率密度；该函数以卡尔·弗里德里希·高斯（Carl Friedrich Gauss）命名，尽管它在概率论中的首次出现早于高斯。<sup>[1](https://www.nature.com/articles/132713a0)</sup><sup> • </sup><sup>[2](https://www.itl.nist.gov/div898/handbook/pmc/section5/pmc51.htm)</sup>

| 关键事实 | 详情 |
|---|---|
| 标准形式 | \( f(x) = a \cdot \exp\!\left(-\frac{(x-b)^2}{c}\right) \)；均值为 \( \mu \)、标准差为 \( \sigma \) 的归一化形式为 \( \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(x-\mu)^2}{2\sigma^2}} \)<sup>[3](https://warwick.ac.uk/fac/sci/mathsys/courses/msc/ma934/resources/notes9.pdf)</sup> |
| 高斯积分 | \( \int_{-\infty}^{\infty} \exp\!\left(-\frac{z^2}{2}\right) dz = (2\pi)^{1/2} \)，这是正态分布背后的归一化依据<sup>[4](https://www.damtp.cam.ac.uk/user/gio10/nst_notes.pdf)</sup> |
| 傅里叶变换 | 高斯函数的傅里叶变换仍是高斯函数；宽度为 \( \sigma_x \) 的函数变换为宽度为 \( \sigma_k \) 的函数，且 \( \sigma_x \sigma_k = 1 \)<sup>[4](https://www.damtp.cam.ac.uk/user/gio10/nst_notes.pdf)</sup> |
| 在概率论中的首次使用 | 亚伯拉罕·棣莫弗（Abraham De Moivre，1667–1754）约于 1721 年发明了正态曲线和正态概率积分，首次发表于一份日期为 1733 年 11 月 12 日的补编中<sup>[1](https://www.nature.com/articles/132713a0)</sup> |
| 高斯的贡献 | 高斯对正态分布的推导和最小二乘法可追溯至 1809 年<sup>[5](https://www.york.ac.uk/depts/maths/histstat/haldcontents.htm)</sup> |
| 热核 | 热方程的基本解 \( K(x,t) = (4\pi\alpha t)^{-n/2} \exp\!\left(-\frac{\|x\|^2}{4\alpha t}\right) \) 是一个高斯函数，其标准差为 \( \sigma(t) = \sqrt{2\alpha t} \)<sup>[6](https://unseel.com/mathematics/heat-equation)</sup> |
| 尾部类型 | 高斯分布是经典的中尾分布，介于短尾的均匀分布与长尾的柯西分布之间<sup>[7](https://www.itl.nist.gov/div898/handbook/eda/section3/eda33a3.htm)</sup> |

## 形式与归一化

高斯函数由二次指数定义。在统计学中，归一化形式为

\[ f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\!\left(-\frac{(x-\mu)^2}{2\sigma^2}\right), \]

其中 \( \mu \) 确定峰值位置，\( \sigma \) 确定其宽度。因子 \( 1/\sqrt{2\pi\sigma^2} \) 使曲线下的总面积等于 1，这正是概率密度所要求的。归一化依赖于标准高斯积分 \( \int_{-\infty}^{\infty} \exp(-z^2/2)\,dz = (2\pi)^{1/2} \)；更一般地，\( \int_{-\infty}^{\infty} \exp(-ax^2)\,dx = \sqrt{\pi/a} \)，因此函数 \( \sqrt{a/\pi}\,\exp(-ax^2) \) 是归一化的。<sup>[4](https://www.damtp.cam.ac.uk/user/gio10/nst_notes.pdf)</sup><sup> • </sup><sup>[8](https://mysite.du.edu/~etuttle/optics/ywave.htm)</sup>

该曲线关于 \( \mu \) 对称，其尾部衰减比任何多项式乘以指数函数都快。在探索性数据分析所用的尾部长度分类中，高斯分布是经典的中尾分布：均匀分布是短尾的，柯西分布是长尾的。这对估计很重要。对于正态数据，样本均值是可获得的最精确的位置估计量；但对于均匀数据，样本中程更好；而对于柯西数据，样本均值是糟糕的选择，应改用样本中位数。<sup>[7](https://www.itl.nist.gov/div898/handbook/eda/section3/eda33a3.htm)</sup>

## 傅里叶变换性质

高斯函数在傅里叶变换下具有一个显著性质：其变换仍是高斯函数。对于特殊选择 \( g(x) = e^{-\pi x^2} \)，变换恰好是同一个函数，\( \widehat{g}(\xi) = e^{-\pi \xi^2} \)；计算通过在指数中配方并平移积分围道来完成，这一步由复变函数中的基本论证所保证。<sup>[9](https://www.math.utoronto.ca/colliand/notes/2011-08-16_Fourier_Transform.html)</sup><sup> • </sup><sup>[8](https://mysite.du.edu/~etuttle/optics/ywave.htm)</sup>

对于标准差为 \( \sigma \) 的一般归一化高斯函数，其变换是宽度不同的高斯函数，用同样的配方技巧计算：<sup>[3](https://warwick.ac.uk/fac/sci/mathsys/courses/msc/ma934/resources/notes9.pdf)</sup>

\[ H(f) = \frac{1}{\sqrt{2\pi\sigma^2}} \int_{-\infty}^{\infty} e^{-\frac{t^2}{2\sigma^2}} e^{2\pi i f t}\,dt = e^{-2\pi^2\sigma^2 f^2}. \]

宽度被倒置：时域或空域中的窄高斯函数在频域中变为宽高斯函数，反之亦然。对于在 \( x \) 中宽度为 \( \sigma_x \) 的高斯函数，变换后的高斯函数宽度为 \( \sigma_k \)，满足 \( \sigma_x \sigma_k = 1 \)。<sup>[4](https://www.damtp.cam.ac.uk/user/gio10/nst_notes.pdf)</sup> 这种宽度倒数的行为是量子力学中不确定性原理的根本原因，其中位置域和速度域扮演两个角色。<sup>[3](https://warwick.ac.uk/fac/sci/mathsys/courses/msc/ma934/resources/notes9.pdf)</sup> 有一点限定：以零为中心的高斯函数的变换是实的，但在时间上平移高斯函数会通过平移性质 \( G(f) = e^{-2\pi i \tau f} H(f) \) 使变换变为复的。<sup>[3](https://warwick.ac.uk/fac/sci/mathsys/courses/msc/ma934/resources/notes9.pdf)</sup>

## 热核与扩散

高斯函数是热方程的基本解。在具有扩散率 \( \alpha \) 的 \( n \) 个空间维度中，对时间零时原点处单位质量脉冲的响应是热核<sup>[6](https://unseel.com/mathematics/heat-equation)</sup>

\[ K(x,t) = (4\pi\alpha t)^{-n/2} \exp\!\left(-\frac{\|x\|^2}{4\alpha t}\right), \qquad t > 0. \]

这是一个以 \( x = 0 \) 为中心的高斯函数，其标准差按 \( \sigma(t) = \sqrt{2\alpha t} \) 增长，即普适的扩散标度。它对全空间的积分对每个 \( t > 0 \) 都等于 1，因此热量扩散时既不产生也不消失，且任意时刻的形状都是另一时刻形状的缩放副本。当 \( t = 0 \) 时，核退化为狄拉克δ函数，即原点处的点质量。<sup>[6](https://unseel.com/mathematics/heat-equation)</sup>

由线性性，任意初始温度分布 \( u_0 \) 的解是卷积 \( u(x,t) = \int K(x-y,t)\,u_0(y)\,dy \)：无限空间上的每个热扩散问题都是高斯卷积。将热核应用于图像就是高斯模糊。<sup>[6](https://unseel.com/mathematics/heat-equation)</sup> 相同的卷积结构出现在一维解 \( u(x,t) = u(x,0) * \frac{e^{-x^2/4\alpha t}}{\sqrt{4\pi\alpha t}} \) 中，其中热核是对应于集中在单点的单位能量的解。<sup>[10](https://archive.math.arizona.edu/pwaters/IPSA%20math%202013/FTHeatEq.html)</sup>

## 历史

高斯的名字通常与正态曲线联系在一起，也不罕见地发现它被归功于拉普拉斯，但卡尔·皮尔逊（Karl Pearson）1924 年的历史札记提出了证据，表明亚伯拉罕·棣莫弗（1667–1754）约于 1721 年发明了正态曲线和正态概率积分，比高斯和拉普拉斯都早了许多年。<sup>[1](https://www.nature.com/articles/132713a0)</sup> 棣莫弗于 1730 年出版了《分析杂录》（*Miscellanea Analytica*）；只有少数几本带有第二补编，日期为 1733 年 11 月 12 日，题为《二项式 (a + b)^n 展开级数各项之和的近似》（*Approximatio ad Summam Terminorum Binomii (a + b)^n in Seriem expansi*），其中不仅首次使用了正态曲线，还首次使用了大阶乘近似——通常被称为斯特林公式，但这一名称并不恰当——并首次正确使用了通常归功于雅克·伯努利的大数定律。<sup>[1](https://www.nature.com/articles/132713a0)</sup> EBSCO 的一份研究摘要将正态分布的首次数学推导归功于棣莫弗在这部 1733 年著作中的工作，并指出拉普拉斯于 1778 年提出了中心极限定理，这一结果有时被称为棣莫弗–拉普拉斯定理。<sup>[11](https://www.ebsco.com/research-starters/history/normal-distribution)</sup> 高斯本人对正态分布的推导连同最小二乘法，在哈尔德的数理统计学史中定年为 1809 年。<sup>[5](https://www.york.ac.uk/depts/maths/histstat/haldcontents.htm)</sup>

## 应用

**平滑与滤波。** 在核密度估计中，一组 \( n \) 个点通过平均以数据为中心的核函数来平滑，\( f_n(x) = \frac{\sum_{j=1}^{n} K\{\frac{(x - X_j)}{h}\}}{nh} \)，其中 \( h \) 是窗宽；NIST 的 Dataplot 软件包使用高斯核，它随着点与 \( x \) 距离的增加而平滑地降低权重。<sup>[12](https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/kernplot.htm)</sup> 在表面计量学中，高斯滤波器是表面轮廓的移动平均，其高斯权重函数为 \( S(x) = \exp\!\left(-\pi (x/\alpha\lambda_c)^2\right) \)，其中 \( \lambda_c \) 是标称截止波长，\( \alpha = \sqrt{\ln 2/\pi} = 0.4697 \)；在 \( \lambda_c \) 处的传输特性为 50%，因此单个高斯滤波器可同时用于粗糙度和波纹度。<sup>[13](https://physics.nist.gov/VSC/Help/Filters/Gaussian.jsp)</sup>

**机器学习。** 高斯形核出现在监督学习的各个角落。在支持向量分类中，高斯核是常用的非线性核函数之一，与多项式核、径向基函数核和 S 形核并列，它将数据变换到可能存在分离超平面的更高维空间。<sup>[14](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=932165)</sup>

**光谱学与衍射中的峰拟合。** 测量峰通常被建模为高斯、洛伦兹或两者的组合。在 X 射线光电子能谱中，由高斯/洛伦兹卷积构建的合成谱已用乘积、求和与卷积模型函数进行拟合；在这些测试中，求和函数优于乘积函数，尤其是对于低噪声谱。<sup>[15](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/sia.2527)</sup> 在里特维尔（Rietveld）粉末衍射精修中，包括高斯、洛伦兹、伪 Voigt 和 Pearson VII 在内的六种解析轮廓函数已在七个样品上进行了相互比较；高斯函数始终表现最差，而伪 Voigt 和 Pearson VII 表现最好，伪 Voigt 被认定为六者中的首选函数。<sup>[16](https://journals.iucr.org/paper?buy=yes&cnor=a21811)</sup> Voigt 轮廓是高斯与洛伦兹形状的卷积，在实践中通常近似为两个函数的加权和。<sup>[17](https://opg.optica.org/josab/abstract.cfm?uri=josab-18-5-666)</sup>

## References

1. [W. Edwards Deming (1933). De Moivre's "Miscellanea Analytica", and the Origin of the Normal Curve. Nature 132, 713.](https://www.nature.com/articles/132713a0)
2. [NIST/SEMATECH e-Handbook: 6.5.1. What do we mean by "Normal" data?](https://www.itl.nist.gov/div898/handbook/pmc/section5/pmc51.htm)
3. [MA934 Numerical Methods, Notes 9: Fourier transforms, University of Warwick](https://warwick.ac.uk/fac/sci/mathsys/courses/msc/ma934/resources/notes9.pdf)
4. [Cambridge DAMTP notes: 4.4 Basic properties of the Fourier transform](https://www.damtp.cam.ac.uk/user/gio10/nst_notes.pdf)
5. [Anders Hald, A History of Mathematical Statistics from 1750 to 1930, table of contents, University of York](https://www.york.ac.uk/depts/maths/histstat/haldcontents.htm)
6. [Heat Equation: The fundamental solution, Gaussian heat kernel](https://unseel.com/mathematics/heat-equation)
7. [NIST/SEMATECH e-Handbook: 1.3.3.10.3. Histogram Interpretation: Symmetric, Non-Normal, Long Tailed](https://www.itl.nist.gov/div898/handbook/eda/section3/eda33a3.htm)
8. [Interference and Diffraction in Optics, University of Denver](https://mysite.du.edu/~etuttle/optics/ywave.htm)
9. [Fourier Transform notes, University of Toronto](https://www.math.utoronto.ca/colliand/notes/2011-08-16_Fourier_Transform.html)
10. [Solution to heat equation by convolution, University of Arizona](https://archive.math.arizona.edu/pwaters/IPSA%20math%202013/FTHeatEq.html)
11. [Normal Distribution: History, EBSCO Research Starters](https://www.ebsco.com/research-starters/history/normal-distribution)
12. [Kernel Density Plot, NIST Dataplot Reference Manual](https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/kernplot.htm)
13. [Gaussian Filter, NIST Virtual Surface Metrology Laboratory](https://physics.nist.gov/VSC/Help/Filters/Gaussian.jsp)
14. [NIST publication on support vector regression kernels](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=932165)
15. [R. Hesse, P. Streubel, R. Szargan (2007). Product or sum: comparative tests of Voigt, and product or sum of Gaussian and Lorentzian functions. Surface and Interface Analysis 39, 381–391.](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/sia.2527)
16. [Profile shape functions in Rietveld refinements, IUCr](https://journals.iucr.org/paper?buy=yes&cnor=a21811)
17. [Simple empirical analytical approximation to the Voigt profile, JOSA B 18(5), 666](https://opg.optica.org/josab/abstract.cfm?uri=josab-18-5-666)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Probability distributions › Distribution families and classification › Continuous univariate distribution families

Copyright 2026 Edgepedia

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

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

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