# 概率分布的卷积

概率分布的卷积是这样一种运算：它给出独立随机变量之和的分布。若 X 与 Y 独立，分布分别为 α 与 β，则 X + Y 的分布就是卷积 α ∗ β。<sup>[1](https://math.nyu.edu/~varadhan/course/PROB.ch3.pdf)</sup> 用测度论的话说，两个概率测度 µ 与 ν 的卷积 µ ∗ ν 定义为：取独立随机变量 X 与 Y，使其分布分别为 µ 与 ν，则 X + Y 的分布即为该卷积。<sup>[2](https://www.statslab.cam.ac.uk/~james/Lectures/pm.pdf)</sup> 这一运算在概率论中居于核心地位，因为它把关于随机量之和的问题，转化为对其各自分布律的明确定义的计算。

| 关键事实 | 细节 |
|---|---|
| 定义性质 | 独立随机变量之和 S_n = X_1 + ... + X_n 的分布，是其各自分布的卷积 µ_n = α_1 ∗ α_2 ∗ ... ∗ α_n，按 µ_{j+1} = µ_j ∗ α_{j+1} 递推计算。<sup>[1](https://math.nyu.edu/~varadhan/course/PROB.ch3.pdf)</sup> |
| 离散公式 | 对取整数值的独立变量，m_3(j) = Σ_k m_1(k) · m_2(j − k)。<sup>[3](https://stats.libretexts.org/Bookshelves/Probability_Theory/Introductory_Probability_%28Grinstead_and_Snell%29/07%253A_Sums_of_Random_Variables/7.01%253A_Sums_of_Discrete_Random_Variables)</sup> |
| 连续公式 | 对具有密度 g 与 h 的独立变量，(g ∗ h)(z) = ∫ g(x) h(z − x) dx。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup> |
| 特征函数 | 独立变量之和的特征函数，是各变量特征函数之积：ψ_n(t) = φ_1(t) φ_2(t) ... φ_n(t)。<sup>[1](https://math.nyu.edu/~varadhan/course/PROB.ch3.pdf)</sup> |
| 矩 | 对独立求和项，E(S_n) 为各期望之和，且 Var(S_n) = Var(X_1) + ... + Var(X_n)。<sup>[1](https://math.nyu.edu/~varadhan/course/PROB.ch3.pdf)</sup> |
| 代数结构 | 卷积满足交换律与结合律，故 f ∗ g ∗ h 无歧义。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup> |
| 数值实践 | 当求积节点数量很大时，基于快速傅里叶变换的卷积更快，但比直接卷积对舍入误差更敏感。<sup>[5](https://link.springer.com/article/10.1007/s11222-024-10514-5)</sup> |

## 求和的公式

**离散情形。** 设 X 与 Y 是取整数值的独立随机变量，概率质量函数分别为 m_1 与 m_2。为求 Z = X + Y 的分布，可对 X 的取值作条件化：若 X = k，则 Z = z 当且仅当 Y = z − k。对这些互不相容的情形求和，得 P(Z = z) = Σ_k P(X = k) · P(Y = z − k)，此即定义了卷积 m_3 = m_1 ∗ m_2，其中 m_3(j) = Σ_k m_1(k) · m_2(j − k)。<sup>[3](https://stats.libretexts.org/Bookshelves/Probability_Theory/Introductory_Probability_%28Grinstead_and_Snell%29/07%253A_Sums_of_Random_Variables/7.01%253A_Sums_of_Discrete_Random_Variables)</sup> 同样的划分论证借助联合分布也适用于相依变量，但只有在独立条件下它才简化为卷积。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup>

**连续情形。** 若 X 与 Y 独立，密度分别为 g 与 h，则 Z = X + Y 的密度为卷积

\[ (g * h)(z) = \int_{D_z} g(x)\, h(z - x)\, dx, \]

其中 D_z 是使 x 与 z − x 同时落在支撑集内的那些 x 构成的集合。当两个变量均非负时，D_z = [0, z]，积分从 0 到 z。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup> 确定集合 D_z 往往是应用该公式时最困难的一步。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup>

**特征函数。** 特征函数 φ_X(t) = E[e^{itX}] 是变量分布的傅里叶变换。对独立的 X 与 Y，φ_{X+Y}(t) = E[e^{it(X+Y)}] = E[e^{itX}] E[e^{itY}] = φ_X(t) φ_Y(t)，其中因子分解用到了独立性。<sup>[6](https://ocw.mit.edu/courses/12-864-inference-from-data-and-models-spring-2005/21b7909d277ff71c41fd0c557b97c243_statis_regr_2_3.pdf)</sup> 由卷积定理，函数之积的傅里叶变换等于其各自傅里叶变换的卷积，因此特征函数相乘恰好对应分布的卷积。<sup>[6](https://ocw.mit.edu/courses/12-864-inference-from-data-and-models-spring-2005/21b7909d277ff71c41fd0c557b97c243_statis_regr_2_3.pdf)</sup> 这提供了计算独立随机变量之和的分布的一条直接途径。<sup>[1](https://math.nyu.edu/~varadhan/course/PROB.ch3.pdf)</sup>

## 代数性质

概率密度函数的卷积，无论离散还是连续，都满足交换律与结合律：f ∗ g = g ∗ f，且 (f ∗ g) ∗ h = f ∗ (g ∗ h)。这些性质都有简短的概率证明：交换律来自 X + Y = Y + X，结合律来自独立变量下的 (X + Y) + Z = X + (Y + Z)。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup> 常数 0 的分布，即点质量 δ，充当单位元：f ∗ δ = f。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup>

对一列具有公共密度 f 的独立同分布变量，和 Y_n = X_1 + ... + X_n 的密度为 f^{*n}，即 f 的 n 重卷积幂，并约定 f^{*0} = δ。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup> 当适当缩放并中心化后，Y_n 的分布随 n 增大而收敛到标准正态分布；这就是中心极限定理。<sup>[4](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)</sup>

## 和的矩

卷积对前两阶矩的作用很简单。期望对任意变量都可加，E(X + Y) = E(X) + E(Y)，而方差仅在协方差为零时可加：Var(X + Y) = Var(X) + Var(Y)。<sup>[1](https://math.nyu.edu/~varadhan/course/PROB.ch3.pdf)</sup><sup> • </sup><sup>[17](https://pages.stat.wisc.edu/~kdlevin/teaching/Fall2022/STAT340/lecs/L05_IndepCondBayes.html)</sup> 对 n 个独立求和项，交叉项 E[X_i − E(X_i)][X_j − E(X_j)] 因独立性而消失，于是 Var(S_n) = Var(X_1) + ... + Var(X_n)。<sup>[1](https://math.nyu.edu/~varadhan/course/PROB.ch3.pdf)</sup> 在高斯情形下，这种封闭性是彻底的：独立高斯变量的特征函数相乘，得到一个新的高斯变量，其均值为各均值之和，方差为各方差之和。<sup>[6](https://ocw.mit.edu/courses/12-864-inference-from-data-and-models-spring-2005/21b7909d277ff71c41fd0c557b97c243_statis_regr_2_3.pdf)</sup> 这一性质是计量学中不确定度传播的基础——在那里，独立高斯输入之和被当作高斯量处理。<sup>[7](https://nvlpubs.nist.gov/nistpubs/technicalnotes/nist.tn.1900.pdf)</sup>

## 例题

两个标准例子展示了可能结果的跨度。设 X 与 Y 是独立指数变量，公共速率为 λ。卷积积分给出 f_S(s) = ∫_0^s λe^{−λx} λe^{−λ(s−x)} dx = λ² s e^{−λs}，即参数为 (2, λ) 的伽马分布密度。<sup>[8](https://data140.org/fa18/textbook/chapters/Chapter_19/01_Convolution_Formula)</sup> 再设 U_1 与 U_2 是 (0, 1) 上的独立均匀变量。联合密度曲面是平的，故和的密度从 0 到 1 线性上升、从 1 到 2 线性下降：一个高度为 1 的三角分布。<sup>[8](https://data140.org/fa18/textbook/chapters/Chapter_19/01_Convolution_Formula)</sup> 均匀分布的反复卷积在历史上颇为重要：拉普拉斯的《概率的分析理论》考虑有放回地抽取编号球，并求 i 次抽取后和的分布，即离散均匀分布的卷积——这个问题最早由蒙莫尔（Montmort）与棣莫弗（De Moivre）提出并解答。<sup>[9](https://www.maths.tcd.ie/EMIS/journals/JEHPS/decembre2012/Zabell.pdf)</sup>

## 历史

和的分布的卷积公式出现在拉普拉斯（Laplace）18 世纪 80 年代初的著作中。统计学史家安德斯·哈尔德（Anders Hald）将“拉普拉斯关于和的分布的卷积公式，1781 年”列为本领域的里程碑之一。<sup>[10](https://www.york.ac.uk/depts/maths/histstat/haldcontents.htm)</sup> 据电气电子工程师学会关于卷积运算历史的记述，哈尔德的叙述指出，拉普拉斯在 1778 年撰写、1781 年发表于《巴黎皇家科学院院刊》（Mémoires de l'Académie Royale des Sciences de Paris）的一篇论文中使用了卷积运算，以求均值的分布。<sup>[11](https://www.embs.org/pulse/articles/history-convolution-operation/)</sup> 后来用于分析变量之和的工具链条，从系数提取（棣莫弗）到生成函数（欧拉、拉普拉斯），再到特征函数（傅里叶、莱维），一路延伸。<sup>[12](https://pure.au.dk/portal/en/publications/from-coefficients-to-distributions-demoivre-and-the-operational-v/)</sup>

## 数值计算

精确卷积往往不便于手工完成，因此数值方法十分重要。离散傅里叶变换及其逆变换为有限个独立一元变量的卷积提供了快速计算，已有发表的工作给出了所得累积分布函数的数学误差界。<sup>[13](https://ideas.repec.org/a/spr/metcap/v22y2020i3d10.1007_s11009-019-09739-z.html)</sup>

**精度与速度。** 2024 年一项研究比较了直接卷积与基于快速傅里叶变换的卷积在计算和的左尾概率上的表现，发现基于快速傅里叶变换的卷积对舍入误差敏感得多，其近似误差与所用浮点精度的机器 epsilon 成正比；机器 epsilon 在 32 位浮点数下约为 1.19 × 10^{−7}，64 位下约为 2.22 × 10^{−16}，128 位下约为 1.93 × 10^{−34}，256 位下约为 1.81 × 10^{−71}。<sup>[5](https://link.springer.com/article/10.1007/s11222-024-10514-5)</sup> 只有当概率远大于机器 epsilon 时，基于快速傅里叶变换的卷积才能很好地近似稀有事件概率。<sup>[5](https://link.springer.com/article/10.1007/s11222-024-10514-5)</sup> 这种权衡体现在计算量上：基于快速傅里叶变换的卷积具有更低的渐近开销，当求积节点数 N 足够大时，其运行时间最终会优于直接卷积。<sup>[5](https://link.springer.com/article/10.1007/s11222-024-10514-5)</sup> aFFT-C 方法等改进在保持快速傅里叶变换速度的同时，利用对舍入误差传播的严格分析，来检测并规避傅里叶变换固有的误差累积。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S0167947316300536)</sup>

## 应用与扩展

**精算学。** 聚合损失模型处理总索赔 S_N = X_1 + ... + X_N，其中索赔次数 N 本身也是随机的。S_N 的复合分布由索赔额分布的卷积导出：F_{S_N}(s) = p_0 + Σ_{n=1}^{∞} p_n F_X^{*n}(s)，其中 p_n = P(N = n)，F_X^{*n} 是索赔额分布的 n 重卷积。<sup>[15](https://openacttexts.github.io/LDAVer2/ChapAggLossModels.html)</sup> 当 N 服从泊松分布、索赔额服从伽马分布时，结果为特威迪分布，它在零点有点质量、另有连续的正值部分，广泛用于保险索赔建模。<sup>[15](https://openacttexts.github.io/LDAVer2/ChapAggLossModels.html)</sup>

**自由概率。** 对于非交换随机变量，存在一套平行理论。对分布为 µ 与 ν、自由独立的自伴变量 x 与 y，x + y 的分布由一种称为自由卷积的运算描述，其定义是类比于经典独立变量之和所对应的概率测度经典卷积而给出的。<sup>[16](https://www.cambridge.org/core/books/abs/lectures-on-the-combinatorics-of-free-probability/sums-of-free-random-variables/7D53E21A44EB43CAB93F8A4D10B36FF1)</sup>

## References

1. [S. R. S. Varadhan, Probability course notes, Chapter 3: Independent Sums, Courant Institute, NYU](https://math.nyu.edu/~varadhan/course/PROB.ch3.pdf)
2. [Probability and Measure lecture notes, University of Cambridge StatsLab](https://www.statslab.cam.ac.uk/~james/Lectures/pm.pdf)
3. [7.1: Sums of Discrete Random Variables, Grinstead and Snell, Statistics LibreTexts](https://stats.libretexts.org/Bookshelves/Probability_Theory/Introductory_Probability_%28Grinstead_and_Snell%29/07%253A_Sums_of_Random_Variables/7.01%253A_Sums_of_Discrete_Random_Variables)
4. [3.7: Transformations of Random Variables, Siegrist, Statistics LibreTexts](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_%28Siegrist%29/03%3A_Distributions/3.07%3A_Transformations_of_Random_Variables)
5. [A fast and accurate numerical method for the left tail of sums of independent random variables, Statistics and Computing (2024)](https://link.springer.com/article/10.1007/s11222-024-10514-5)
6. [Inference from Data and Models, MIT OpenCourseWare, 12.864, Spring 2005](https://ocw.mit.edu/courses/12-864-inference-from-data-and-models-spring-2005/21b7909d277ff71c41fd0c557b97c243_statis_regr_2_3.pdf)
7. [NIST Technical Note 1900](https://nvlpubs.nist.gov/nistpubs/technicalnotes/nist.tn.1900.pdf)
8. [The Convolution Formula, Prob 140 Textbook, UC Berkeley](https://data140.org/fa18/textbook/chapters/Chapter_19/01_Convolution_Formula)
9. [S. L. Zabell, De Morgan and Laplace, Electronic Journal for History of Probability and Statistics, Vol. 8 (2012)](https://www.maths.tcd.ie/EMIS/journals/JEHPS/decembre2012/Zabell.pdf)
10. [Contents, Anders Hald, A History of Mathematical Statistics from 1750 to 1930](https://www.york.ac.uk/depts/maths/histstat/haldcontents.htm)
11. [A History of the Convolution Operation, IEEE Pulse](https://www.embs.org/pulse/articles/history-convolution-operation/)
12. [From Coefficients to Distributions: De Moivre and the Operational View of Probability, Aarhus University](https://pure.au.dk/portal/en/publications/from-coefficients-to-distributions-demoivre-and-the-operational-v/)
13. [Error Bounds for Cumulative Distribution Functions of Convolutions via the Discrete Fourier Transform, Methodology and Computing in Applied Probability (2020)](https://ideas.repec.org/a/spr/metcap/v22y2020i3d10.1007_s11009-019-09739-z.html)
14. [Accurate pairwise convolutions of non-negative vectors via FFT, ScienceDirect](https://www.sciencedirect.com/science/article/abs/pii/S0167947316300536)
15. [Chapter 7: Aggregate Loss Models, Loss Data Analytics, Second Edition](https://openacttexts.github.io/LDAVer2/ChapAggLossModels.html)
16. [Sums of free random variables, Lectures on the Combinatorics of Free Probability, Cambridge University Press](https://www.cambridge.org/core/books/abs/lectures-on-the-combinatorics-of-free-probability/sums-of-free-random-variables/7D53E21A44EB43CAB93F8A4D10B36FF1)
17. [STAT340 Lecture 05: Independence, Conditional Probability and Bayes’ Rule](https://pages.stat.wisc.edu/~kdlevin/teaching/Fall2022/STAT340/lecs/L05_IndepCondBayes.html)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Probability distributions › Compound, infinitely divisible, and convolved distributions › Convolutions of distributions

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/convolution-of-probability-distributions

English original: https://www.edgepedia.org/convolution-of-probability-distributions
