# 柯西矩阵

**柯西矩阵**是一种矩阵，其元素是两组互不相同的数之差的倒数：对于互不相同的标量 \( a_1, \ldots, a_n \) 与 \( b_1, \ldots, b_n \)，且对所有 \( i, j \) 都有 \( a_i \neq b_j \)，则 \( n \times n \) 矩阵

\[ M = \left( \frac{1}{a_i - b_j} \right)_{1 \leq i, j \leq n} \]

即为柯西矩阵。该定义在任何域上都成立，不仅限于复数<sup>[1](https://www.math.utah.edu/~alberts/notes/cauchy-determinant-formula/c_det_formula/)</sup>。一个常见的变体使用 \( 1/(x_i + y_j) \)，其中 \( x_i \neq y_j \)，将其中一组节点取负后即化为同一形式<sup>[2](https://library.eecs.utk.edu/files/ut-cs-05-569.pdf)</sup>。该矩阵以奥古斯丁-路易·柯西（Augustin-Louis Cauchy）命名，他在1841年计算了其行列式<sup>[3](https://www.numdam.org/item/10.24033/rhm.168.pdf)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | \( M_{ij} = 1/(a_i - b_j) \)，其中所有 \( a_i \) 互不相同，所有 \( b_j \) 互不相同，且 \( a_i \neq b_j \)<sup>[1](https://www.math.utah.edu/~alberts/notes/cauchy-determinant-formula/c_det_formula/)</sup> |
| 非奇异性 | 每个方阵柯西矩阵都是非奇异的，因为 \( a_i \) 与 \( b_j \) 互不相同<sup>[4](https://planetmath.org/cauchymatrix)</sup> |
| 行列式 | 柯西1841年的公式将 \( \det M \) 表示为 \( a_i \) 与 \( b_j \) 之差的各种乘积之商<sup>[3](https://www.numdam.org/item/10.24033/rhm.168.pdf)</sup> |
| 位移秩 | 柯西矩阵满足一个右端秩为一的西尔维斯特型位移方程，因此其位移秩为1<sup>[5](https://www.epfl.ch/labs/mathicse/wp-content/uploads/2018/10/34.2015_JL-RL.pdf)</sup> |
| 快速求解器 | 利用位移结构的算法可在 \( O(n^2) \) 次运算内求解柯西线性系统<sup>[6](https://www.sciencedirect.com/science/article/pii/S0024379501005195)</sup> |
| 特例 | 希尔伯特矩阵的元素为 \( 1/(i + j - 1) \)，是 \( a_i = i \)、\( b_j = j - 1 \) 的柯西情形<sup>[3](https://www.numdam.org/item/10.24033/rhm.168.pdf)</sup> |
| 工程应用 | \( \mathrm{GF}(2^w) \) 上的柯西矩阵用于为存储系统生成柯西-里德-所罗门纠删码<sup>[2](https://library.eecs.utk.edu/files/ut-cs-05-569.pdf)</sup> |

## 行列式与逆

柯西行列式公式指出

\[ \det M = \frac{\prod_{i > j} (a_i - a_j)(b_j - b_i)}{\prod_{i,j} (a_i - b_j)}, \]

其中矩阵 \( M = (1/(a_i - b_j)) \) 处处满足 \( a_i \neq b_j \)<sup>[1](https://www.math.utah.edu/~alberts/notes/cauchy-determinant-formula/c_det_formula/)</sup>。柯西在其1841年的论文中计算了行列式 \( \det(1/(a_i + b_j)) \)，处理的是交错函数与差积之商<sup>[3](https://www.numdam.org/item/10.24033/rhm.168.pdf)</sup>。由于分子是互异节点之非零差的乘积，行列式非零，这正是方阵柯西矩阵总是可逆的原因<sup>[4](https://planetmath.org/cauchymatrix)</sup>。该公式被视为对称函数理论中的基本结果<sup>[7](https://arxiv.org/abs/2201.03129)</sup>。

逆矩阵具有由拉格朗日插值多项式给出的显式形式，这些多项式是对节点 \( a_1, \ldots, a_n \) 满足 \( A_i(a_j) = \delta_{ij} \) 的 \( n - 1 \) 次多项式 \( A_i(z) \)<sup>[1](https://www.math.utah.edu/~alberts/notes/cauchy-determinant-formula/c_det_formula/)</sup>。具体而言，

\[ M^{-1} = D_r\, M^{T} D_c, \]

其中 \( D_r \) 与 \( D_c \) 是对角矩阵，其元素为 \( M^{-1} \) 的行和与列和，各自可通过两组节点的拉格朗日多项式表达<sup>[1](https://www.math.utah.edu/~alberts/notes/cauchy-determinant-formula/c_det_formula/)</sup>。这一结构意味着逆矩阵由 \( O(n) \) 个参数描述，而非一般逆矩阵的 \( n^2 \) 个元素。

## 位移结构与快速算法

令 \( \Omega = \operatorname{diag}(a_1, \ldots, a_n) \)，\( \Lambda = \operatorname{diag}(b_1, \ldots, b_n) \)。则

\[ [\Omega M - M\Lambda]_{ij} = \frac{a_i}{a_i - b_j} - \frac{b_j}{a_i - b_j} = 1, \]

因此 \( M \) 满足西尔维斯特型位移方程 \( \Omega M - M\Lambda = \mathbf{1}\mathbf{1}^{T} \)，其右端秩为一；柯西矩阵的位移秩因而为1<sup>[5](https://www.epfl.ch/labs/mathicse/wp-content/uploads/2018/10/34.2015_JL-RL.pdf)</sup><sup> • </sup><sup>[8](https://math.ecnu.edu.cn/~jypan/Teaching/books/2013%20Matrix%20Computations%204th.pdf)</sup>。更一般地，**类柯西矩阵**是形如 \( K_{ij} = v_i w_j / (x_i - y_j) \) 的矩阵，其中 \( v, w \) 为向量；这类矩阵也称为广义柯西矩阵，它们同样具有低位移秩<sup>[9](https://link.springer.com/article/10.1007/s11075-022-01391-y)</sup>。

低位移秩是使快速计算成为可能的性质。处于小秩位移结构空间中的矩阵可由 \( O(nr) \) 个系数参数化，可逆成员之逆仍属同一类，且以此类矩阵为系数矩阵的线性系统可在 \( O(n^2) \) 次或更少运算内求解<sup>[9](https://link.springer.com/article/10.1007/s11075-022-01391-y)</sup>。具体到类柯西矩阵，递归三角分解以及随之而来的行列式、逆的短生成元和非奇异 \( n \times n \) 系统的解，均可在 \( O(r n^2) \) 代价内算出，其中 \( r \) 为输入的缩放秩（对柯西矩阵 \( r = 1 \)）<sup>[10](https://www.sciencedirect.com/science/article/pii/S0024379500000410)</sup>。用于可重构类柯西系统的广义舒尔算法求解器需要 \( O(r n^2) \) 次浮点运算和 \( O(r n) \) 内存<sup>[11](https://arxiv.org/abs/1004.1988)</sup>，而现代确定性方法对类柯西及相关结构的结构化线性系统与零空间问题，在位移秩为 \( \alpha \) 时以 \( \tilde{O}(\alpha^{\omega-1}(m+n)) \) 次域运算求解<sup>[12](https://arxiv.org/abs/2603.02425)</sup>。

**选主元与稳定性。** 三种求解柯西线性系统的快速 \( O(n^2) \) 算法具有与高斯消元法相似的后向稳定性，因此可采用选主元技术获得良好的稳定性<sup>[6](https://www.sciencedirect.com/science/article/pii/S0024379501005195)</sup>。柯西结构允许通过简单地重排定义矩阵的节点，预先确定 \( O(n^2) \) 代价的行部分主元顺序及其他若干顺序；这种预测性部分主元法与范德蒙德矩阵中已知的莱亚排序相一致<sup>[6](https://www.sciencedirect.com/science/article/pii/S0024379501005195)</sup><sup> • </sup><sup>[13](https://www2.math.uconn.edu/~olshevsky/abstracts/Cauchy.html)</sup>。对于全正柯西矩阵这一重要类别，避免选主元反而有利，可获得显著的后向稳定性<sup>[6](https://www.sciencedirect.com/science/article/pii/S0024379501005195)</sup>。实验表明，这些算法在数值上优于完全主元高斯消元法，即使对病态系数矩阵——尤其是希尔伯特系统——也能算出非常精确的解<sup>[13](https://www2.math.uconn.edu/~olshevsky/abstracts/Cauchy.html)</sup>。对其中一种算法的前向误差分析给出的界不依赖于系数矩阵的条件数，表明该算法引入的不确定性不超过以有限精度存储右端项所引入的不确定性<sup>[14](https://www2.math.uconn.edu/~olshevsky/abstracts/erran.html)</sup>。

## 相关矩阵类

希尔伯特矩阵的元素为 \( 1/(i + j - 1) \)，是 \( a_i = i \)、\( b_j = j - 1 \) 的特殊柯西情形；一般公式的“柯西行列式”之名主要在法国使用，而希尔伯特情形则举世皆知<sup>[3](https://www.numdam.org/item/10.24033/rhm.168.pdf)</sup>。范德蒙德矩阵与切比雪夫-范德蒙德矩阵可利用离散傅里叶、余弦或正弦变换高效地转化为柯西矩阵，从而使柯西求解器也能应用于这些系统<sup>[6](https://www.sciencedirect.com/science/article/pii/S0024379501005195)</sup>。由具有指定极点的有理函数构造的柯西-范德蒙德矩阵同样满足特殊的位移方程，由此可得其求逆公式与快速算法<sup>[15](https://www.sciencedirect.com/science/article/pii/S0377042701003788)</sup>。

当节点按递增顺序排列、元素取 \( 1/(x_i + y_j) \) 形式且节点为正时，柯西矩阵是全正的，即其所有子式均为正<sup>[16](https://math.stackexchange.com/questions/4479349/a-question-for-cauchy-matrix-c-left-frac1x-iy-j-right)</sup>。全正性正是快速求解器在此类矩阵上具有高相对精度的基础<sup>[14](https://www2.math.uconn.edu/~olshevsky/abstracts/erran.html)</sup>。

## 应用

**有理插值。** 柯西矩阵出现在有理插值问题中；类柯西矩阵的计算与无源性条件下的有理切插值（如内万林纳-皮克切插值）密切相关，并对代数码的译码有进一步影响<sup>[10](https://www.sciencedirect.com/science/article/pii/S0024379500000410)</sup>。

**纠删编码。** 在柯西-里德-所罗门编码中，\( \mathrm{GF}(2^w) \) 上一个 \( m \times n \) 的柯西矩阵——其元素为 \( 1/(x_i + y_j) \)，其中 \( X \) 与 \( Y \) 是互不相交的互异域元素集合——构成分布矩阵的一部分。所得分布矩阵的每个 \( n \times n \) 子矩阵都可逆，且这些子矩阵可在 \( O(n^2) \) 次伽罗瓦域运算内求逆<sup>[2](https://library.eecs.utk.edu/files/ut-cs-05-569.pdf)</sup>。这一保证普遍成立：方阵柯西矩阵总是可逆的，且柯西矩阵的每个子矩阵本身仍是柯西矩阵，因此一个 \( N \times M \) 的柯西矩阵的所有方子矩阵都可逆，只要 \( N + M \leq 2^{W} \) 即可构造<sup>[17](https://www.corsix.org/content/reed-solomon-for-software-raid)</sup>。将编码运算转换为 \( \mathrm{GF}(2) \) 上的比特矩阵后，域乘法被异或取代；在一个例子中，柯西分布矩阵平均每个编码字约需6.83次异或，而标准里德-所罗门编码在 \( \mathrm{GF}(2^8) \) 上需要4次异或加20次乘法，这正是OceanStore等系统采用柯西-里德-所罗门编码的原因<sup>[2](https://library.eecs.utk.edu/files/ut-cs-05-569.pdf)</sup>。对开源纠删编码库的性能研究发现，只要注意生成良好的编码矩阵，柯西-里德-所罗门编码显著优于经典里德-所罗门编码<sup>[18](https://static.usenix.org/events/fast09/tech/full_papers/plank/plank_html/)</sup>，实验比较也认为里德-所罗门码的矩阵实现——尤其是柯西比特矩阵——优于多项式实现<sup>[19](https://arxiv.org/abs/1312.5155)</sup>。

## 历史

柯西在其1841年的论文中计算了矩阵 \( (1/(a_i + b_j)) \) 的行列式，这是他处理交错函数与差积之商的一部分，该方法他已在1821年的《分析教程》（*Cours d'Analyse*）中推荐用于求解线性系统及应用拉格朗日插值<sup>[3](https://www.numdam.org/item/10.24033/rhm.168.pdf)</sup>。如今组织柯西与类柯西矩阵快速算法的位移结构观点则出现得晚得多，源于对具有位移结构矩阵的快速求解器的研究<sup>[10](https://www.sciencedirect.com/science/article/pii/S0024379500000410)</sup><sup> • </sup><sup>[9](https://link.springer.com/article/10.1007/s11075-022-01391-y)</sup>。

## References

1. [Tom Alberts, Cauchy Determinant Formula, University of Utah notes](https://www.math.utah.edu/~alberts/notes/cauchy-determinant-formula/c_det_formula/)
2. [James S. Plank et al., Optimizing Cauchy Reed-Solomon Codes, UT-CS-05-569](https://library.eecs.utk.edu/files/ut-cs-05-569.pdf)
3. [B. Ycart, Cauchy's determinant formula in historical context, Revue d'histoire des mathématiques](https://www.numdam.org/item/10.24033/rhm.168.pdf)
4. [Cauchy matrix, PlanetMath](https://planetmath.org/cauchymatrix)
5. [EPFL MATHICSE report on Cauchy matrices and displacement equations](https://www.epfl.ch/labs/mathicse/wp-content/uploads/2018/10/34.2015_JL-RL.pdf)
6. [T. Boros, T. Kailath, V. Olshevsky, Pivoting and backward stability of fast algorithms for solving Cauchy linear equations, Linear Algebra and its Applications 343-344 (2002)](https://www.sciencedirect.com/science/article/pii/S0024379501005195)
7. [From Cauchy's determinant formula to bosonic and fermionic immanant identities, arXiv:2201.03129](https://arxiv.org/abs/2201.03129)
8. [Golub and Van Loan, Matrix Computations, 4th ed., Section 12.1, Cauchy-like matrices](https://math.ecnu.edu.cn/~jypan/Teaching/books/2013%20Matrix%20Computations%204th.pdf)
9. [D. Fasino et al., Orthogonal Cauchy-like matrices, Numerical Algorithms (2022)](https://link.springer.com/article/10.1007/s11075-022-01391-y)
10. [V. Y. Pan, A. Zheng, Superfast algorithms for Cauchy-like matrix computations and extensions, Linear Algebra and its Applications 310 (2000)](https://www.sciencedirect.com/science/article/pii/S0024379500000410)
11. [A fast solver for linear systems with displacement structure, arXiv:1004.1988](https://arxiv.org/abs/1004.1988)
12. [S. Khichane, V. Neiger, Matrices with displacement structure: a deterministic approach for linear systems and nullspace bases, arXiv:2603.02425](https://arxiv.org/abs/2603.02425)
13. [T. Boros, V. Olshevsky, T. Kailath, Fast Algorithms for Solving Cauchy Linear Systems, abstract](https://www2.math.uconn.edu/~olshevsky/abstracts/Cauchy.html)
14. [Error analysis of a fast algorithm for solving Cauchy linear systems, abstract](https://www2.math.uconn.edu/~olshevsky/abstracts/erran.html)
15. [Displacement structure approach to Cauchy and Cauchy-Vandermonde matrices, Journal of Computational and Applied Mathematics 138 (2002)](https://www.sciencedirect.com/science/article/pii/S0377042701003788)
16. [A question for Cauchy matrix C = [1/(x_i + y_j)], Mathematics Stack Exchange](https://math.stackexchange.com/questions/4479349/a-question-for-cauchy-matrix-c-left-frac1x-iy-j-right)
17. [Reed-Solomon for software RAID, Corsix](https://www.corsix.org/content/reed-solomon-for-software-raid)
18. [J. S. Plank et al., A Performance Evaluation and Examination of Open-Source Erasure Coding Libraries For Storage, FAST '09](https://static.usenix.org/events/fast09/tech/full_papers/plank/plank_html/)
19. [K. Sheykh Esmaili, A. Datta, On the Effectiveness of Polynomial Realization of Reed-Solomon Codes for Storage Systems, arXiv:1312.5155](https://arxiv.org/abs/1312.5155)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Linear and multilinear algebra › Matrix theory › Structured and special matrix classes

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/cauchy-matrix

English original: https://www.edgepedia.org/cauchy-matrix
