# 正交性

**正交性**（Orthogonality）是垂直性向抽象向量空间的推广：内积空间中的两个元素，当它们的内积为零时即为正交。<sup>[1](https://mathworld.wolfram.com/Orthogonal.html)</sup>在通常的欧几里得空间中，这与相交成直角是一回事，因为点积满足 \( \mathbf{v} \cdot \mathbf{w} = |\mathbf{v}|\,|\mathbf{w}|\cos\theta \)，而它恰好当 \( \theta = \pm\pi/2 \) 时为零。<sup>[2](https://theory.stanford.edu/~blynn/linear/ortho.html)</sup><sup> • </sup><sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup>代数定义 \( \langle x, y \rangle = 0 \) 随后把这一观念推广到函数空间，傅里叶级数、最小二乘逼近以及线性代数的数值算法都以它为基础。<sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | \( x \perp y \) 意即在内积空间中 \( \langle x, y \rangle = 0 \)；在 \( \mathbb{R}^n \) 中这等价于两向量成直角<sup>[1](https://mathworld.wolfram.com/Orthogonal.html)</sup><sup> • </sup><sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup> |
| 内积公理 | 对称性 \( \langle x, y \rangle = \langle y, x \rangle \)，对第一变元的线性性，以及正定性 \( \langle x, x \rangle \ge 0 \) 且等号仅在 \( x = 0 \) 时成立<sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup> |
| 诱导范数 | 每个内积都诱导一个范数 \( \|x\| = \sqrt{\langle x, x \rangle} \)<sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup> |
| 勾股定理 | 若 \( v \perp w \)，则 \( \|v\|^2 + \|w\|^2 = \|v - w\|^2 \)<sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup> |
| 线性无关 | 任何由非零向量构成的正交集都线性无关，且向量在标准正交基下的系数为 \( a_k = \mathbf{u}_k \cdot \mathbf{v} \)<sup>[2](https://theory.stanford.edu/~blynn/linear/ortho.html)</sup> |
| 词源 | "orthogonal" 于 1571 年出现在英语中（托马斯·迪格斯）；"orthogonal matrix"（正交矩阵）由夏尔·埃尔米特于 1854 年使用，正式定义由弗罗贝尼乌斯于 1878 年发表<sup>[4](https://mathshistory.st-andrews.ac.uk/Miller/mathword/o/)</sup> |
| 数值实践 | 在条件数从 10 到 \( 10^{11} \) 的范围内，豪斯霍尔德QR 把正交性保持在约 \( 1.8 \times 10^{-15} \)，而经典格拉姆-施密特随着条件数变差而丧失正交性<sup>[5](https://www.numerical-linear-algebra.com/essays/a-reflection-cannot-stop-being-one/)</sup> |

## 内积与代数定义

实向量空间 \( V \) 上的内积是一个函数 \( \langle \cdot, \cdot \rangle : V \times V \to \mathbb{R} \)，满足对称性、对第一变元的线性性以及正定性。装备了内积的向量空间称为内积空间，内积诱导出一个范数 \( \|x\| = \sqrt{\langle x, x \rangle} \)。<sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup>\( \mathbb{R}^n \) 上的点积 \( \langle x, y \rangle = x^T y = \sum_i x_i y_i \) 是标准例子；\( L^2[a,b] \) 上的积分 \( \langle f, g \rangle = \int_a^b f(x)g(x)\,dx \) 以及 \( \ell^2 \) 上的求和 \( \sum_{i=1}^{\infty} x_i y_i \) 则是另外的例子。<sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup>

一个向量空间可以承载许多不同的内积，也可以一个都没有；内积的存在并不是向量空间定义的一部分。<sup>[6](https://books.physics.oregonstate.edu/GMM/vsinner.html)</sup>一旦选定了一个内积，正交性便纯粹由代数方式定义：\( x \perp y \) 当且仅当 \( \langle x, y \rangle = 0 \)，即使这些说法不再具有通常的几何意义，向量仍可被称为正交或垂直。<sup>[6](https://books.physics.oregonstate.edu/GMM/vsinner.html)</sup>同样的定义可以推广到对称型与埃尔米特型，以及子空间：当两个子空间中每一个元素都与另一个子空间的每一个元素正交时，这两个子空间正交。<sup>[1](https://mathworld.wolfram.com/Orthogonal.html)</sup>

## 有限维中的推论

**正交坐标。** 若 \( \{\mathbf{u}_1, \ldots, \mathbf{u}_n\} \) 是标准正交集，且 \( \mathbf{v} = \sum_i a_i \mathbf{u}_i \)，则由线性性，对每个 \( k \) 有 \( \mathbf{u}_k \cdot \mathbf{v} = a_k \)。因此每个系数都被唯一确定，这便证明了由非零向量构成的正交集线性无关，而内积 \( \mathbf{u}_i \cdot \mathbf{v} \) 充当 \( \mathbf{v} \) 关于 \( \mathbf{u}_i \) 的坐标：<sup>[2](https://theory.stanford.edu/~blynn/linear/ortho.html)</sup>

\[ \mathbf{v} = \sum_{i=1}^{n} (\mathbf{u}_i \cdot \mathbf{v})\,\mathbf{u}_i \]

这一展开是傅里叶级数的有限维原型。一个归纳论证可为任意 \( n \) 维空间构造出正交基：给定一个尚未构成基的正交集，取任意一个位于其张成空间之外的向量 \( \mathbf{v} \)，减去投影 \( \sum_i \frac{\mathbf{v}_i \cdot \mathbf{v}}{\mathbf{v}_i \cdot \mathbf{v}_i}\,\mathbf{v}_i \)；余下的 \( \mathbf{w} \) 与该集合中每个向量都正交，而这一过程恰好在 \( n \) 步后终止。<sup>[2](https://theory.stanford.edu/~blynn/linear/ortho.html)</sup>

**投影与最佳逼近。** 向量 \( \sum_{i=1}^{n} (\mathbf{u}_i \cdot \mathbf{v})\,\mathbf{u}_i \) 是 \( \mathbf{v} \) 在由 \( \mathbf{u}_i \) 张成的子空间上的向量投影，余下的 \( \mathbf{w} \) 则是正交余量。由此得到的原理组织了应用数学的很大一部分：一个向量在子空间内的最佳逼近，其特征是残差与该子空间正交。这是最小二乘法的关键，而同一原理推广到函数空间（希尔伯特空间），傅里叶级数、小波以及偏微分方程理论都以它为基础。<sup>[2](https://theory.stanford.edu/~blynn/linear/ortho.html)</sup><sup> • </sup><sup>[3](https://www.buttenschoen.ca/MATH551/orthogonality/)</sup>

**正交补。** 给定内积空间 \( V \) 的一个子空间 \( N \)，它的正交补 \( N^{\perp} \) 是 \( V \) 中所有与 \( N \) 的每个成员配对为零的向量构成的集合 \( \{ y \in V : \forall x \in N,\ (y, x) = 0 \} \)。一个向量与一个线性空间正交，是指它与该空间中每个向量都正交。<sup>[7](https://encyclopediaofmath.org/index.php?title=Complementation)</sup><sup> • </sup><sup>[8](https://people.math.harvard.edu/archive/21b_fall_04/handouts/14-orthogonal.pdf)</sup>

## 正交函数

积分内积把函数变成向量。两个函数 \( f \) 与 \( g \) 在区间 \( a \le x \le b \) 上以权函数 \( w(x) \) 正交，是指 \( \int_a^b f(x)g(x)w(x)\,dx = 0 \)；若此外每个函数的加权平方积分都等于 1，则它们标准正交。<sup>[9](https://mathworld.wolfram.com/OrthogonalFunctions.html)</sup>

**施图姆-刘维尔理论。** 夏尔-弗朗索瓦·施图姆与约瑟夫·刘维尔于 1836 至 1837 年关于微分方程（涉及把函数展开为级数）的论文，今天被称为施图姆-刘维尔问题，即二阶微分方程中的一个特征值问题。对于正则的施图姆-刘维尔问题，对应于不同特征值的特征函数在区间上关于权函数正交，正是这一性质使得傅里叶系数可以逐个计算。<sup>[10](https://mathshistory.st-andrews.ac.uk/Biographies/Sturm/)</sup><sup> • </sup><sup>[11](https://www.sciencedirect.com/topics/mathematics/sturm-liouville-operator)</sup>

**正交多项式。** 一个多项式系 \( \{P_n\} \)，其中 \( P_n \) 的次数为 \( n \)，若对 \( n \neq m \) 有 \( \int_a^b P_n(x) P_m(x) h(x)\,dx = 0 \)，且权 \( h \) 非负，则称其正交。经典族包括：\( [-1, 1] \) 上权为 \( (1-x)^{\alpha}(1+x)^{\beta} \) 的雅可比多项式（其中 \( \alpha = \beta = 0 \) 时即勒让德多项式，\( \alpha = \beta = \pm 1/2 \) 时即切比雪夫多项式）、\( (-\infty, \infty) \) 上权为 \( e^{-x^2} \) 的埃尔米特多项式，以及 \( (0, \infty) \) 上权为 \( x^{\alpha} e^{-x} \) 的拉盖尔多项式。它们的零点全部为实数、互不相同，且在相邻次数之间交错，这使它们可用作插值节点并用于求积公式。<sup>[12](https://encyclopediaofmath.org/wiki/Orthogonal_polynomials)</sup>

## 数值正交性

在浮点运算中，正交性是算法要么保持、要么丧失的一种性质。经典格拉姆-施密特正交化不稳定，会丧失正交性，尤其当矩阵的列近乎线性相关时；改进的格拉姆-施密特基本解决了这一问题，而豪斯霍尔德QR——它用一系列酉反射去乘矩阵——则是后向稳定的。<sup>[13](https://ocw.mit.edu/courses/18-335j-introduction-to-numerical-methods-spring-2019/pages/week-4/)</sup>直接测量表明，无论条件数是 10 还是 \( 10^{11} \)，豪斯霍尔德QR 都把正交性保持在约 \( 1.8 \times 10^{-15} \)，因为它的 \( Q \) 由单位向量构成，而对单位向量作舍入得到的是另一个反射，而不是一个被破坏的反射。<sup>[5](https://www.numerical-linear-algebra.com/essays/a-reflection-cannot-stop-being-one/)</sup>结构上的原因是正交矩阵的条件数为 1，因此 \( j \) 个反射因子的乘积，其后向误差以 \( j\,O(\epsilon_{\mathrm{mach}})\|A\| \) 为界。<sup>[14](https://www.cs.cornell.edu/courses/cs6210/2025fa/lec/2025-09-29.html)</sup>

奥克·比约克与 C·克里斯托弗·佩奇于 1992 年证明，由改进格拉姆-施密特计算出的 QR 分解，在数值上等价于对增广了 \( n \times n \) 零矩阵的矩阵施加豪斯霍尔德变换所得到的分解；这一等价关系解释并界定了 MGS 中正交性的丧失，也说明了如何将其恢复，从而得到线性方程组与最小二乘的稳定算法。对于 \( n \times n \) 矩阵，豪斯霍尔德QR 的运算量为 \( 2n^3/3 \) 次浮点运算；又因为 \( X \) 的条件数是 \( X^T X \) 条件数的平方根，所以在精度重要时，通过 QR 求解最小二乘优于构造正规方程。<sup>[15](https://epubs.siam.org/doi/10.1137/0613015)</sup><sup> • </sup><sup>[16](https://stat243.berkeley.edu/fall-2024/units/unit10-linalg.html)</sup>

## 术语的历史

"orthogonal" 一词于 1571 年出现在托马斯·迪格斯的《名为 Pantometria 的几何实践》中，书中列出了“直角、钝角与锐角”。夏尔·埃尔米特于 1854 年在《剑桥与都柏林数学杂志》上使用了"orthogonal matrix"（正交矩阵），弗罗贝尼乌斯于 1878 年发表了正式定义。乔治·萨蒙于 1859 年使用了"orthogonal transformation"（正交变换）。对于向量，吉布斯传统称之为“垂直性”，E·B·威尔逊的《向量分析》（1901）给出了条件 \( A \cdot B = 0 \)；当人们认识到与函数的类比之后，"orthogonal" 一词被采用，例如出现在柯朗与希尔伯特的《数学物理方法》（1924）中。马克西姆·博歇尔记载说，据他所知，"orthogonal" 一词首次用于函数，是费利克斯·克莱因于 1889 年夏在哥廷根讲座中所用。<sup>[4](https://mathshistory.st-andrews.ac.uk/Miller/mathword/o/)</sup>

在统计学中，这个词又获得了更多含义。罗纳德·费希尔 1922 年关于回归的论文，既在几何意义上使用"orthogonal"，也用它表示随机独立，后来它成为不相关的同义词。弗兰克·耶茨于 1933 年把正交设计定义为这样一种设计性质：它确保不同类别的效应可以被直接、分别地估计而不纠缠；C·R·拉奥于 1946 年引入了正交表。<sup>[4](https://mathshistory.st-andrews.ac.uk/Miller/mathword/o/)</sup>

## References

1. [Orthogonal, Wolfram MathWorld](https://mathworld.wolfram.com/Orthogonal.html)
2. [Linear Algebra: Orthogonality, Stanford University (Bryan Lynn)](https://theory.stanford.edu/~blynn/linear/ortho.html)
3. [Orthogonality and Projections, Introduction to Scientific Computing, Andreas Buttenschoen, University of Massachusetts Amherst](https://www.buttenschoen.ca/MATH551/orthogonality/)
4. [Earliest Known Uses of Some of the Words of Mathematics (O), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Miller/mathword/o/)
5. [A reflection cannot stop being one, Numerical Linear Algebra essays](https://www.numerical-linear-algebra.com/essays/a-reflection-cannot-stop-being-one/)
6. [Definition and Properties of an Inner Product, Oregon State University](https://books.physics.oregonstate.edu/GMM/vsinner.html)
7. [Complementation, Encyclopedia of Mathematics](https://encyclopediaofmath.org/index.php?title=Complementation)
8. [Orthogonality, Math 21b handout, Oliver Knill, Harvard University](https://people.math.harvard.edu/archive/21b_fall_04/handouts/14-orthogonal.pdf)
9. [Orthogonal Functions, Wolfram MathWorld](https://mathworld.wolfram.com/OrthogonalFunctions.html)
10. [Charles-François Sturm (1803–1855), Biography, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies/Sturm/)
11. [Sturm-Liouville Operator, Overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/sturm-liouville-operator)
12. [Orthogonal polynomials, Encyclopedia of Mathematics (P. K. Suetin)](https://encyclopediaofmath.org/wiki/Orthogonal_polynomials)
13. [Week 4, 18.335J Introduction to Numerical Methods, MIT OpenCourseWare, Spring 2019](https://ocw.mit.edu/courses/18-335j-introduction-to-numerical-methods-spring-2019/pages/week-4/)
14. [CS 6210: Matrix Computations, lecture of 29 September 2025, Cornell University](https://www.cs.cornell.edu/courses/cs6210/2025fa/lec/2025-09-29.html)
15. [Å. Björck and C. C. Paige (1992). Loss and Recapture of Orthogonality in the Modified Gram–Schmidt Algorithm. SIAM Journal on Matrix Analysis and Applications 13(1): 176–190.](https://epubs.siam.org/doi/10.1137/0613015)
16. [Numerical linear algebra, Stat 243, University of California, Berkeley](https://stat243.berkeley.edu/fall-2024/units/unit10-linalg.html)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Linear and multilinear algebra › Multilinear and tensor algebra › Bilinear forms and inner products

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/orthogonality

English original: https://www.edgepedia.org/orthogonality
