# 西尔维斯特矩阵

两个一元多项式的**西尔维斯特矩阵**（Sylvester matrix）是由其系数构成的方阵，其阶数等于两个多项式次数之和，其行列式即为这两个多项式的结式。该矩阵以英国数学家詹姆斯·约瑟夫·西尔维斯特（James Joseph Sylvester，1814—1897）命名，他也是“矩阵”（matrix）一词的创造者。<sup>[1](https://mathworld.wolfram.com/SylvesterMatrix.html)</sup><sup> • </sup><sup>[2](https://mathshistory.st-andrews.ac.uk/HistTopics/Matrices_and_determinants/)</sup>

| 关键事实 | 详情 |
|---|---|
| 阶数 | 对于次数分别为 m 和 n 的多项式，西尔维斯特矩阵为 (m + n) × (m + n)<sup>[1](https://mathworld.wolfram.com/SylvesterMatrix.html)</sup> |
| 构造 | 上方为 n 行次数为 m 的多项式 f 的平移系数，下方为 m 行次数为 n 的多项式 g 的平移系数<sup>[3](https://www.andrew.cmu.edu/course/15-355/lectures/lecture20.pdf)</sup> |
| 行列式 | 其行列式即为结式 res(f, g)；当且仅当 f 与 g 有公因子时它为零<sup>[1](https://mathworld.wolfram.com/SylvesterMatrix.html)</sup><sup> • </sup><sup>[4](https://www.csd.uwo.ca/~mmorenom/CS874/Lectures/ResultantGcd.html/node3.html)</sup> |
| 乘积公式 | 若 f 与 g 均可分裂为线性因子，根分别为 λi 与 μj，则结式等于所有配对 (λi − μj) 的乘积<sup>[5](https://mathoverflow.net/questions/375119/history-of-sylvesters-resultant)</sup> |
| 核 | 在域上，西尔维斯特矩阵的核的维数等于两个多项式的最大公因式的次数<sup>[6](https://www-sop.inria.fr/galaad/software/synaps/UResultant.html)</sup> |
| 软件 | 在 Wolfram 语言中作为结式计算方法实现，在 Scilab 中为 `sylm` 函数；Magma 将多元多项式的结式定义为关于消去变量的西尔维斯特矩阵的行列式<sup>[1](https://mathworld.wolfram.com/SylvesterMatrix.html)</sup><sup> • </sup><sup>[7](https://help.scilab.org/docs/2026.0.1/en_US/sylm.html)</sup><sup> • </sup><sup>[8](https://magma.maths.usyd.edu.au/magma/handbook/text/249)</sup> |

## 定义与构造

设 f 与 g 是交换环上的非零多项式，次数分别为 m 与 n。西尔维斯特矩阵 Sylv(f, g) 由 n 行 f 的系数构成，每一行相对上一行向右平移一位；随后是 m 行 g 的系数，以同样方式平移；其余元素皆为零。<sup>[3](https://www.andrew.cmu.edu/course/15-355/lectures/lecture20.pdf)</sup> 例如，对于 P₁(x) = a₃x³ + a₂x² + a₁x + a₀ 与 P₂(x) = b₂x² + b₁x + b₀，该矩阵为 5 × 5，三个 a 系数分布在两行平移行中，三个 b 系数分布在三行平移行中。<sup>[1](https://mathworld.wolfram.com/SylvesterMatrix.html)</sup>

该矩阵具有线性代数意义。它的各列是多项式 f, xf, ..., xⁿ⁻¹f 以及 g, xg, ..., xᵐ⁻¹g 在单项式基下的展开系数，因此它表示将一对多项式 (q₀, q₁)（其中 deg q₀ < n，deg q₁ < m）映为组合 f·q₀ + g·q₁ 的映射。<sup>[6](https://www-sop.inria.fr/galaad/software/synaps/UResultant.html)</sup> 因此，核中的非零向量就是一对满足所述次数界且满足 s·f + t·g = 0 的非零多项式 s 与 t，而这样的对存在当且仅当 f 与 g 不互素。<sup>[4](https://www.csd.uwo.ca/~mmorenom/CS874/Lectures/ResultantGcd.html/node3.html)</sup>

## 结式

西尔维斯特矩阵的行列式称为 f 与 g 的结式，记作 res(f, g)。<sup>[4](https://www.csd.uwo.ca/~mmorenom/CS874/Lectures/ResultantGcd.html/node3.html)</sup> 在域上，以下三个命题等价：两个多项式互素；结式非零；在次数界内不存在满足 s·f + t·g = 0 的非零对 s, t。<sup>[4](https://www.csd.uwo.ca/~mmorenom/CS874/Lectures/ResultantGcd.html/node3.html)</sup> 当多项式分裂为线性因子时，f(x) = ∏ᵢ (x − λᵢ)，g(x) = ∏ⱼ (x − μⱼ)，结式具有如下乘积闭式

\[ \operatorname{res}(f, g) = \prod_{i,j} (\lambda_i - \mu_j), \]

因此它恰在两个多项式共根时为零。<sup>[5](https://mathoverflow.net/questions/375119/history-of-sylvesters-resultant)</sup>

结式还满足一些支撑高效计算的恒等式。交换两个多项式会使结式乘以 (−1)^(mn)；若 g 为非零常数 c，则 res(f, c) = cᵐ；若 g = f·q + r 且 k = deg r，则 res(f, g) = LC(f)^(n−k) · res(f, r)，其中 LC(f) 为 f 的首项系数。这些恒等式共同给出结式的递归欧几里得式算法。<sup>[3](https://www.andrew.cmu.edu/course/15-355/lectures/lecture20.pdf)</sup>

## 历史

该矩阵所解决的问题由来已久：结式的起源可追溯到欧拉（Euler，1748）与贝祖（Bézout，1764）判定两个多项式何时有非平凡公因子的论文，而今天通常采用的推导则是西尔维斯特于 1840 年给出的。<sup>[3](https://www.andrew.cmu.edu/course/15-355/lectures/lecture20.pdf)</sup> 西尔维斯特于 1850 年引入“矩阵”一词，将矩阵定义为一个长方形的项阵列，并视其为可从中构造出各种内含方阵行列式的对象。阿瑟·凯莱（Arthur Cayley）与西尔维斯特同在林肯律师学院（Lincoln's Inn）学习法律时相识，他很快看出了这一概念的意义，并在 1858 年的论文中发表了矩阵的第一个抽象定义。<sup>[2](https://mathshistory.st-andrews.ac.uk/HistTopics/Matrices_and_determinants/)</sup> 西尔维斯特 1851 年的论文与凯莱 1858 年的论文常被视为矩阵历史的起点，尽管其背后的思想可追溯至关于线性方程组、行列式以及二次型线性变换的工作。<sup>[9](https://epubs.siam.org/doi/book/10.1137/1.9781611977233)</sup>

## 变体与数值行为

西尔维斯特矩阵并非唯一的结式矩阵。对于两个次数同为 n 的多项式，贝祖矩阵（Bézout matrix）由二元多项式 (f(x)g(y) − g(x)f(y))/(x − y) 的系数构造，是一个对称的 n × n 矩阵，其行列式等于 ± 结式；文献中报告的实践经验发现，贝祖矩阵在数值稳定性上优于西尔维斯特矩阵。<sup>[10](https://users.fmf.uni-lj.si/knez/disertacija.pdf)</sup> 更庞大的西尔维斯特型、贝祖型与麦考利型（Macaulay-type）矩阵族将这些经典构造推广到多元消去。<sup>[11](https://www.sciencedirect.com/science/article/pii/S0747717198902668)</sup>

将结式用于求根时需要注意数值问题。《SIAM 数值分析杂志》上的一项研究表明，用西尔维斯特矩阵求解二元多项式方程组可能使问题的条件数平方化，从而降低计算所得根的精度。<sup>[12](https://epubs.siam.org/doi/abs/10.1137/15M1022513)</sup>

## 应用

由西尔维斯特矩阵计算出的结式是从多项式系统中消去变量的标准工具：对于多元多项式，关于某一变量的结式被定义为将这些多项式视为该单变量多项式后的西尔维斯特矩阵的行列式，Magma 等计算机代数系统即按此方式实现。<sup>[8](https://magma.maths.usyd.edu.au/magma/handbook/text/249)</sup> 由于行列式为零可检测公因子，该矩阵也是子结式理论的基础，后者给出在控制中间表达式膨胀的同时计算多项式最大公因式及其结式的高效算法。<sup>[13](https://citeseerx.ist.psu.edu/document?doi=ac7e537d05d772e52f2777050a03f68b780fb745&repid=rep1&type=pdf)</sup> 西尔维斯特结式矩阵的逆（若存在）编码了两个多项式之间的贝祖关系，并给出 a(z)X(z) + b(z)Y(z) = c(z) 的显式多项式解，即关于 a 与 b 的零点的拉格朗日插值多项式。<sup>[14](https://arxiv.org/abs/math/0104118)</sup>

## References

1. [Sylvester Matrix, Wolfram MathWorld](https://mathworld.wolfram.com/SylvesterMatrix.html)
2. [Matrices and determinants, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/HistTopics/Matrices_and_determinants/)
3. [15-355: Modern Computer Algebra, lecture on the resultant, Carnegie Mellon University](https://www.andrew.cmu.edu/course/15-355/lectures/lecture20.pdf)
4. [The resultant, Advanced Computer Algebra lecture notes, Marc Moreno Maza, University of Western Ontario](https://www.csd.uwo.ca/~mmorenom/CS874/Lectures/ResultantGcd.html/node3.html)
5. [History of Sylvester's resultant?, MathOverflow](https://mathoverflow.net/questions/375119/history-of-sylvesters-resultant)
6. [Sylvester and Bezout matrices, SYNAPS documentation, INRIA](https://www-sop.inria.fr/galaad/software/synaps/UResultant.html)
7. [sylm - Sylvester matrix of two polynomials, Scilab documentation](https://help.scilab.org/docs/2026.0.1/en_US/sylm.html)
8. [Resultants and Discriminants, Magma Handbook](https://magma.maths.usyd.edu.au/magma/handbook/text/249)
9. [A Journey through the History of Numerical Linear Algebra, SIAM Publications](https://epubs.siam.org/doi/book/10.1137/1.9781611977233)
10. [M. Knez, dissertation on resultants, University of Ljubljana](https://users.fmf.uni-lj.si/knez/disertacija.pdf)
11. [Ioannis Z. Emiris and Bernard Mourrain, Matrices in Elimination Theory, Journal of Symbolic Computation 28 (1999)](https://www.sciencedirect.com/science/article/pii/S0747717198902668)
12. [Numerical Instability of Resultant Methods for Multidimensional Rootfinding, SIAM Journal on Numerical Analysis](https://epubs.siam.org/doi/abs/10.1137/15M1022513)
13. [Algebraic and numerical aspects of resultant computations (Canny et al.)](https://citeseerx.ist.psu.edu/document?doi=ac7e537d05d772e52f2777050a03f68b780fb745&repid=rep1&type=pdf)
14. [The Structure of the Inverse to the Sylvester Resultant Matrix, arXiv:math/0104118](https://arxiv.org/abs/math/0104118)

---
*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/sylvester-matrix

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