# 柯西–施瓦茨不等式

柯西–施瓦茨不等式是数学中的一个定理，它表明在任何内积空间中，两个向量内积的绝对值永远不会超过它们范数的乘积，即 \( |\langle f, g \rangle| \leq \|f\| \, \|g\| \)，等号成立当且仅当这两个向量线性相关。<sup>[1](https://www2.math.upenn.edu/~gressman/analysis/10-hilbertspaces.html)</sup> 该不等式在每一个内积空间中都成立，无论实空间还是复空间，有限维还是无限维；它构成了范数三角不等式的基础，也是概率论与统计学中各种界以及整个分析学中估计的基石。<sup>[1](https://www2.math.upenn.edu/~gressman/analysis/10-hilbertspaces.html)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1810.04315)</sup>

| 关键事实 | 详情 |
|---|---|
| 陈述 | 对任意内积 \(\langle \cdot, \cdot \rangle\)，有 \( |\langle f, g \rangle| \leq \sqrt{\langle f,f\rangle \langle g,g\rangle} \)<sup>[1](https://www2.math.upenn.edu/~gressman/analysis/10-hilbertspaces.html)</sup> |
| 等号成立情形 | 当且仅当 \(f\) 与 \(g\) 线性相关（成比例）<sup>[1](https://www2.math.upenn.edu/~gressman/analysis/10-hilbertspaces.html)</sup> |
| 有限和形式 | \( \left(\sum_{k=1}^n a_k b_k\right)^2 \leq \sum_{k=1}^n a_k^2 \sum_{k=1}^n b_k^2 \)，由柯西于1821年证明<sup>[3](https://encyclopediaofmath.org/index.php?title=Cauchy_inequality)</sup> |
| 积分形式 | 由维克托·布尼亚科夫斯基发表于1859年；在俄罗斯，积分版本被称为布尼亚科夫斯基不等式<sup>[4](https://mathshistory.st-andrews.ac.uk/Biographies/Bunyakovsky/)</sup><sup> • </sup><sup>[5](https://mathshistory.st-andrews.ac.uk//Miller/mathword/c/)</sup> |
| 一般证明 | 由赫尔曼·阿曼杜斯·施瓦茨于1888年给出<sup>[6](https://mathshistory.st-andrews.ac.uk/Strick/schwarz.pdf)</sup> |
| 统计形式 | \( [E(XY)]^2 \leq E(X^2) \cdot E(Y^2) \)<sup>[6](https://mathshistory.st-andrews.ac.uk/Strick/schwarz.pdf)</sup> |
| 在不等式中的地位 | 赫尔德不等式在 \( p = q = 2 \) 时的特例<sup>[7](https://tducvu.github.io/assets/lecturenotes/analysis12.pdf)</sup> |

## 陈述与意义

对于带有标准内积的向量 \(x, y \in \mathbb{C}^N\)，该不等式写作 \( |\langle x, y \rangle| \leq \|x\| \cdot \|y\| \)，等号成立当且仅当存在某个标量 \(c\) 使得 \(x = c\,y\)。<sup>[8](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Cauchy_Schwarz_Inequality.html)</sup> 在欧几里得几何中，这意味着两个向量的点积——它度量的是它们的投影——不能超过它们长度的乘积；等价地说，两个非零向量之间夹角的余弦值介于 −1 与 1 之间。<sup>[9](https://math.libretexts.org/Courses/Coastline_College/Math_C285%3A_Linear_Algebra_and_Diffrential_Equations_%28Tran%29/04%3A_R/4.07%3A_The_Dot_Product)</sup>

该定理比有限维情形更为一般。它对向量空间上任意正半双线性形式都成立；当该形式是正定的、从而该空间是希尔伯特空间时，等号成立当且仅当两个向量成比例。<sup>[10](https://people.math.osu.edu/penneys.2/UQSL/PartI/UQSLPartIChapter1.pdf)</sup> 它对半内积也成立，正因如此，泛函分析教材在归属该定理时，或归于柯西，或归于施瓦茨，或归于布尼亚科夫斯基，或兼提三者。<sup>[11](https://web.pdx.edu/~erdman/CFA/functional_analysis_pdf.pdf)</sup>

## 证明思路

标准证明通过最小化一个二次式来完成。对于实参数 \(t\)，内积的非负性给出：对所有 \(t\)，有 \( \langle f + t g, f + t g \rangle \geq 0 \)。该表达式是 \(t\) 的二次多项式 \( p(t) = \|f\|^2 + 2t\langle f, g \rangle + t^2 \|g\|^2 \)，且处处非负。若 \(\|g\| \neq 0\)，最小值在 \( t_0 = \langle f, g \rangle / \|g\|^2 \) 处取得，代入 \(p(t_0) \geq 0\) 整理即得 \( |\langle f, g \rangle| \leq \|f\| \, \|g\| \)。等号成立当且仅当 \(p(t_0) = 0\)，在正定空间中这等价于 \(f = t_0\, g\)，即线性相关。<sup>[1](https://www2.math.upenn.edu/~gressman/analysis/10-hilbertspaces.html)</sup><sup> • </sup><sup>[10](https://people.math.osu.edu/penneys.2/UQSL/PartI/UQSLPartIChapter1.pdf)</sup> 若其中一个向量为零，则不等式两边均为零，结论立得。<sup>[8](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Cauchy_Schwarz_Inequality.html)</sup>

一条等价的路径是在 \(\|u - v\|^2 \geq 0\) 的展开式中用 \( \frac{\langle u,v\rangle}{\langle v,v\rangle} v \) 替换 \(v\)；所得不等式即化为柯西–施瓦茨不等式，而将步骤逆转则表明等号成立迫使 \(u\) 是 \(v\) 的标量倍。<sup>[2](https://arxiv.org/abs/1810.04315)</sup>

## 推论

**三角不等式。** 定义 \(\|f\| = \sqrt{\langle f, f \rangle}\)，则范数满足 \( \|f + g\| \leq \|f\| + \|g\| \)。证明时展开 \(\|f+g\|^2\) 并用柯西–施瓦茨不等式估计交叉项；当 \(f\) 与 \(g\) 是某个公共向量的非负标量倍时等号成立。<sup>[1](https://www2.math.upenn.edu/~gressman/analysis/10-hilbertspaces.html)</sup> 在 \(\mathbb{R}^n\) 中，这给出了距离三角不等式的另一证明。<sup>[9](https://math.libretexts.org/Courses/Coastline_College/Math_C285%3A_Linear_Algebra_and_Diffrential_Equations_%28Tran%29/04%3A_R/4.07%3A_The_Dot_Product)</sup>

**赫尔德不等式。** 在 \(L^p\) 不等式谱系中，赫尔德不等式在 \(p = q = 2\) 的情形恰好就是柯西–施瓦茨不等式。<sup>[7](https://tducvu.github.io/assets/lecturenotes/analysis12.pdf)</sup>

**概率论与统计学。** 取随机变量 \(X\) 与 \(Y\) 的内积为 \(E(XY)\)，便得到 \( [E(XY)]^2 \leq E(X^2) \, E(Y^2) \)。<sup>[6](https://mathshistory.st-andrews.ac.uk/Strick/schwarz.pdf)</sup> 应用于中心化数据 \(x - \bar{x}\) 与 \(y - \bar{y}\)，该不等式表明样本协方差不超过样本标准差之积，这正是相关系数取值范围的来源。<sup>[12](https://arxiv.org/abs/2403.13964)</sup>

**分析学。** 该不等式为傅里叶分析提供了大量估计。将其与分部积分及帕塞瓦尔恒等式结合，可得海森堡型界 \( \left( \int |f|^2 \right)^2 \leq 16\pi^2 \int |x f(x)|^2 \, dx \int |\xi \hat{f}(\xi)|^2 \, d\xi \)；高斯函数达到等号，因为此时 \(xf\) 与 \(f'\) 互为常数倍，故柯西–施瓦茨这一步本身取等号。<sup>[13](https://www2.math.upenn.edu/~gressman/analysis/14-plancherel.html)</sup> 类似的应用可产生加权积分的哈代不等式以及傅里叶级数的收敛估计。<sup>[14](https://www.math.stonybrook.edu/alumni/2017-Gao-Chen.pdf)</sup><sup> • </sup><sup>[15](https://math.umd.edu/~tadmor/lecture-notes/hyperbolic/node14.html)</sup>

## 历史与命名

奥古斯丁-路易·柯西于1821年对实数的有限和证明了该不等式。<sup>[3](https://encyclopediaofmath.org/index.php?title=Cauchy_inequality)</sup><sup> • </sup><sup>[6](https://mathshistory.st-andrews.ac.uk/Strick/schwarz.pdf)</sup> 维克托·雅科夫列维奇·布尼亚科夫斯基（Viktor Yakovlevich Bunyakovsky，1804–1889）是圣彼得堡的一位数学家，他于1825年在巴黎师从柯西获得博士学位，在1859年一部关于积分间不等式的专著中发表了积分形式的对应结果，比施瓦茨的工作早了二十九年，并给出了关于该不等式泛函形式的一些结果。<sup>[4](https://mathshistory.st-andrews.ac.uk/Biographies/Bunyakovsky/)</sup> 赫尔曼·阿曼杜斯·施瓦茨（Hermann Amandus Schwarz，1843–1921）是柏林大学的一位德国数学家，于1888年在其关于极小曲面的工作中给出了通用证明。<sup>[6](https://mathshistory.st-andrews.ac.uk/Strick/schwarz.pdf)</sup><sup> • </sup><sup>[16](https://unseel.com/mathematics/cauchy-schwarz-inequality)</sup>

命名并不均匀地反映这一先后顺序。“施瓦茨不等式”一语出现在庞加莱1896年发表于《数学学报》（*Acta Mathematica*）的论文中；而英文的“柯西–施瓦茨不等式”则由哈代与李特尔伍德在1920年发表于《哥廷根科学院通讯》（*Nachrichten von der Gesellschaft der Wissenschaften zu Göttingen*）的论文中使用。哈代、李特尔伍德与波利亚的《不等式》（*Inequalities*，1934）将和形式的不等式归功于柯西、积分形式归功于施瓦茨，“尽管它似乎最早是由布尼亚科夫斯基”于1859年陈述的；在俄罗斯，积分版本被称为布尼亚科夫斯基不等式，在一些国家该定理以三人共同命名。<sup>[5](https://mathshistory.st-andrews.ac.uk//Miller/mathword/c/)</sup><sup> • </sup><sup>[4](https://mathshistory.st-andrews.ac.uk/Biographies/Bunyakovsky/)</sup> 该名称常被误印为“Cauchy-Schwartz”，暗示着与另一位数学家之间并不存在的关联。<sup>[5](https://mathshistory.st-andrews.ac.uk//Miller/mathword/c/)</sup>

## 推广

该不等式可推广到经典内积空间之外。在复赋范向量空间中，已有一种仅依赖于范数、不依赖于内积线性性的证明对其进行了表述与证明。<sup>[17](https://arxiv.org/abs/1701.06031)</sup> 在 \(C^*\) 代数上的半内积模中，柯西–施瓦茨不等式的各种版本生成嵌套的不等式序列，并带有算子论方面的推论，包括应用于正元素时收敛到伪逆。<sup>[18](https://arxiv.org/abs/0905.3509)</sup> 加强形式通过添加涉及均值与方差的项来精化经典界，可应用于协方差估计以及同时针对中心化与非中心化数据定义的相关系数。<sup>[12](https://arxiv.org/abs/2403.13964)</sup>

该定理也已被机械化：在 ACL2(r) 定理证明器中，已完成了对任意有限维实向量空间的柯西–施瓦茨不等式的形式化证明，涵盖平方形式与范数形式以及等号成立条件；该不等式也出现在“形式化100个定理”项目中。<sup>[2](https://arxiv.org/abs/1810.04315)</sup>

## References

1. [Cauchy–Schwarz Inequality theorem and proof, Advanced Analysis (University of Pennsylvania)](https://www2.math.upenn.edu/~gressman/analysis/10-hilbertspaces.html)
2. [Real Vector Spaces and the Cauchy-Schwarz Inequality in ACL2(r), arXiv:1810.04315](https://arxiv.org/abs/1810.04315)
3. [Cauchy Schwarz inequality, Encyclopedia of Mathematics](https://encyclopediaofmath.org/index.php?title=Cauchy_inequality)
4. [Viktor Yakovlevich Bunyakovsky (1804–1889), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies/Bunyakovsky/)
5. [Earliest Known Uses of Some of the Words of Mathematics (C), MacTutor](https://mathshistory.st-andrews.ac.uk//Miller/mathword/c/)
6. [Hermann Amandus Schwarz, Heinz Klaus Strick biography (MacTutor)](https://mathshistory.st-andrews.ac.uk/Strick/schwarz.pdf)
7. [Hölder & Minkowski Inequalities, Math 131ABH Honors Real Analysis lecture notes](https://tducvu.github.io/assets/lecturenotes/analysis12.pdf)
8. [Cauchy-Schwarz Inequality, Czech Technical University lecture notes (J. Smith)](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Cauchy_Schwarz_Inequality.html)
9. [The Dot Product, Mathematics LibreTexts](https://math.libretexts.org/Courses/Coastline_College/Math_C285%3A_Linear_Algebra_and_Diffrential_Equations_%28Tran%29/04%3A_R/4.07%3A_The_Dot_Product)
10. [Theorem 1.3.5 (Cauchy-Schwarz Inequality), UQSL Part I Chapter 1, Ohio State University](https://people.math.osu.edu/penneys.2/UQSL/PartI/UQSLPartIChapter1.pdf)
11. [Companion to Functional Analysis, Portland State University](https://web.pdx.edu/~erdman/CFA/functional_analysis_pdf.pdf)
12. [Enhanced Cauchy Schwarz inequality and some of its statistical applications, arXiv:2403.13964](https://arxiv.org/abs/2403.13964)
13. [The Plancherel Formula, Advanced Analysis (University of Pennsylvania)](https://www2.math.upenn.edu/~gressman/analysis/14-plancherel.html)
14. [From integral by parts and the Cauchy-Schwartz inequality, Stony Brook dissertation (C. Gao, 2016)](https://www.math.stonybrook.edu/alumni/2017-Gao-Chen.pdf)
15. [Spectral accuracy, lecture notes of E. Tadmor, University of Maryland](https://math.umd.edu/~tadmor/lecture-notes/hyperbolic/node14.html)
16. [Cauchy-Schwarz Inequality, Unseel mathematics reference](https://unseel.com/mathematics/cauchy-schwarz-inequality)
17. [The Cauchy-Schwarz Inequality in Complex Normed Spaces, arXiv:1701.06031](https://arxiv.org/abs/1701.06031)
18. [A treatment of the Cauchy–Schwarz inequality in C*-modules, arXiv:0905.3509](https://arxiv.org/abs/0905.3509)

---
*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: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Functional analysis

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/cauchy-schwarz-inequality

English original: https://www.edgepedia.org/cauchy-schwarz-inequality
