# 韦达公式

**韦达公式**（Vieta's formulas）是多项式的系数与其根的和、积之间的关系：对于 n 次多项式，根的每个初等对称多项式都等于两个系数之比，并带有一个符号。<sup>[1](https://mathworld.wolfram.com/VietasFormulas.html)</sup> 对于根为 \( r_1, r_2 \) 的二次方程 \( ax^2 + bx + c = 0 \)，公式为 \( r_1 + r_2 = -b/a \) 与 \( r_1 r_2 = c/a \)。<sup>[2](https://www.parabola.unsw.edu.au/sites/default/files/2024-05/vol60_no1_8.pdf)</sup> 这些公式以弗朗索瓦·韦达（François Viète）命名，他在十六世纪证明了一个受限的版本；一般形式由阿尔贝·吉拉尔（Albert Girard）确立。<sup>[3](https://encyclopediaofmath.org/index.php?title=Vi%C3%A8te_theorem)</sup>

| 关键事实 | 细节 |
|---|---|
| 二次 | 对 \( ax^2 + bx + c = 0 \)：\( r_1 + r_2 = -b/a \)，\( r_1 r_2 = c/a \)<sup>[2](https://www.parabola.unsw.edu.au/sites/default/files/2024-05/vol60_no1_8.pdf)</sup> |
| 三次 | 对 \( ax^3 + bx^2 + cx + d = 0 \)：\( x_1+x_2+x_3 = -b/a \)，\( x_1x_2+x_1x_3+x_2x_3 = c/a \)，\( x_1x_2x_3 = -d/a \)<sup>[4](https://www.mathwords.com/v/vietas_formulas.htm)</sup> |
| 一般 n 次 | 对 \( 0 \le k \le n \)，\( e_k(r_1,\ldots,r_n) = (-1)^k a_{n-k}/a_n \)，根按重数计<sup>[5](https://mathweb.ucsd.edu/~trshin/handouts/vieta_in_action.pdf)</sup> |
| 首一形式 | \( c_k = (-1)^{n-k} e_{n-k}(x_1,\ldots,x_n) \)，已在 Isabelle 形式化证明档案中形式验证<sup>[6](https://isa-afp.org/browser_info/current/AFP/Symmetric_Polynomials/outline.pdf)</sup> |
| 适用范围 | 对实根、无理根、复根及重根均成立，前提是所有复根都按重数计<sup>[7](http://www.amsi.org.au/ESA_Senior_Years/SeniorTopic2/2e/2e_3links_2.html)</sup><sup> • </sup><sup>[8](https://www.varsitytutors.com/practice/subjects/ib-mathematics-analysis-and-approaches/lessons/vietas-formulas)</sup>  |
| 历史 | 韦达只对正根证明了这些关系；一般形式由吉拉尔确立<sup>[3](https://encyclopediaofmath.org/index.php?title=Vi%C3%A8te_theorem)</sup> |
| 著名应用 | 韦达跳跃，1988 年 IMO 第 6 题的关键技巧<sup>[2](https://www.parabola.unsw.edu.au/sites/default/files/2024-05/vol60_no1_8.pdf)</sup> |

## n 次的一般表述

设 \( a_n x^n + a_{n-1}x^{n-1} + \cdots + a_1 x + a_0 \) 为多项式，其根为 \( r_1, \ldots, r_n \)，按重数计。则对 \( 0 \le k \le n \)，

\[ e_k(r_1, \ldots, r_n) = (-1)^k \frac{a_{n-k}}{a_n}, \]

其中 \( e_k \) 是第 k 个初等对称多项式：\( e_1 = r_1 + \cdots + r_n \)，\( e_2 = \sum_{i<j} r_i r_j \)，依此类推，直到 \( e_n = r_1 r_2 \cdots r_n \)。<sup>[5](https://mathweb.ucsd.edu/~trshin/handouts/vieta_in_action.pdf)</sup> 特别地，\( e_1 = -a_{n-1}/a_n \)，\( e_2 = a_{n-2}/a_n \)，\( e_n = (-1)^n a_0/a_n \)。<sup>[9](https://chapelhillmathcircle.org/wp-content/uploads/2025/03/2025-03-15_-_vietas_formulas_and_symmetric_polynomials_students_copy.pdf)</sup> 这些 \( e_k \) 是对称多项式，在变量的任意置换下不变。<sup>[9](https://chapelhillmathcircle.org/wp-content/uploads/2025/03/2025-03-15_-_vietas_formulas_and_symmetric_polynomials_students_copy.pdf)</sup>

对于根为 \( \alpha_1, \ldots, \alpha_n \) 的首一多项式 \( f(x) = x^n + a_{n-1}x^{n-1} + \cdots + a_0 \)，定理给出 \( a_{n-1} = -(\alpha_1 + \cdots + \alpha_n) \) 与 \( a_0 = (-1)^n \alpha_1 \cdots \alpha_n \)，中间系数则是带符号的初等对称和。<sup>[3](https://encyclopediaofmath.org/index.php?title=Vi%C3%A8te_theorem)</sup> 等价地，单变量首一多项式的第 k 个系数为 \( c_k = (-1)^{n-k} e_{n-k}(x_1, \ldots, x_n) \)；这一形式已在 Isabelle 证明助手中机器验证，并与对称多项式基本定理相配。<sup>[6](https://isa-afp.org/browser_info/current/AFP/Symmetric_Polynomials/outline.pdf)</sup> 形式化的陈述覆盖有限根集 \( A \)：\( \prod_{x \in A} (X - f(x)) \) 中指标为 k 的系数，等于 \( (-1)^{\mathrm{card}\,A - k} \) 乘以 \( A \) 的相应大小子集上乘积之和。<sup>[10](https://isa-afp.org/browser_info/current/AFP/Factor_Algebraic_Polynomial/Symmetric_Polynomials.Vieta.html)</sup>

当首项系数 \( a_n \) 不为 1 时，每个对称和都除以 \( a_n \)，这是唯一的变化。<sup>[11](https://github.com/antoniolupetti/algebrica/blob/main/polynomials/vieta-formulas.md)</sup>

## 证明及其原理

证明是系数比较。对二次情形，因式分解并展开：

\[ ax^2 + bx + c = a(x - r)(x - s) = ax^2 + (-a r - a s)x + (a r s). \]

比较系数得 \( r + s = -b/a \) 与 \( rs = c/a \)。<sup>[2](https://www.parabola.unsw.edu.au/sites/default/files/2024-05/vol60_no1_8.pdf)</sup> MathWorld 指出二次多项式也是同样的机制：把因式分解形式乘开即可看出这些公式。<sup>[1](https://mathworld.wolfram.com/VietasFormulas.html)</sup>

该论证可推广到 n 次，因为展开 \( a_n \prod_{i=1}^{n} (x - r_i) \) 时，x 的每个幂次恰好产生一个根的初等对称和，符号为 \( (-1)^k \)。代数基本定理保证，n 次非常数复多项式恰有 n 个复根（计重数），因此在复数域上因式分解形式总是存在。<sup>[9](https://chapelhillmathcircle.org/wp-content/uploads/2025/03/2025-03-15_-_vietas_formulas_and_symmetric_polynomials_students_copy.pdf)</sup>

## 具体算例

**二次算例。** 对 \( p(x) = ax^2 + bx + c \)，其根为 \( r_i = (-b \pm \sqrt{b^2 - 4ac})/2 \)。当 \( b^2 - 4ac = 0 \) 时两根重合；为正时根为相异实根；为负时根为非实根。<sup>[9](https://chapelhillmathcircle.org/wp-content/uploads/2025/03/2025-03-15_-_vietas_formulas_and_symmetric_polynomials_students_copy.pdf)</sup> 判别式可用根的形式写成 \( \Delta = a^2(\alpha - \beta)^2 = a^2\left[(\alpha + \beta)^2 - 4\alpha\beta\right] \)，该表达式同时用到两个韦达关系，因此判别式本身就是这些公式的推论。<sup>[8](https://www.varsitytutors.com/practice/subjects/ib-mathematics-analysis-and-approaches/lessons/vietas-formulas)</sup> 对次数 \( n \ge 1 \) 的首一多项式，判别式推广为 \( \mathrm{Disc}_p = \prod_{1 \le i < j \le n} (r_i - r_j)^2 \)。<sup>[9](https://chapelhillmathcircle.org/wp-content/uploads/2025/03/2025-03-15_-_vietas_formulas_and_symmetric_polynomials_students_copy.pdf)</sup>

**三次与四次。** 对根为 \( \alpha, \beta, \gamma \) 的 \( f(x) = a_3 x^3 + a_2 x^2 + a_1 x + a_0 \)：\( \alpha + \beta + \gamma = -a_2/a_3 \)，\( \alpha\beta + \beta\gamma + \gamma\alpha = a_1/a_3 \)，\( \alpha\beta\gamma = -a_0/a_3 \)。<sup>[7](http://www.amsi.org.au/ESA_Senior_Years/SeniorTopic2/2e/2e_3links_2.html)</sup> 这些公式不仅适用于三次，也适用于任意次多项式，包括四次。<sup>[7](http://www.amsi.org.au/ESA_Senior_Years/SeniorTopic2/2e/2e_3links_2.html)</sup>

**矩阵。** 这些公式把矩阵的迹与行列式同其特征值联系起来，因为特征多项式是首一的，且以特征值为根。<sup>[4](https://www.mathwords.com/v/vietas_formulas.htm)</sup> 对 \( z^n - 1 \)，除常数项外所有非首项系数均为零，因此 \( n \ge 2 \) 时 n 次单位根之和为 0，其积等于 \( (-1)^{n+1} \)。<sup>[11](https://github.com/antoniolupetti/algebrica/blob/main/polynomials/vieta-formulas.md)</sup>

## 与牛顿恒等式及相关结果的比较

韦达公式与牛顿恒等式针对同一组数据回答不同的问题。韦达公式把系数表示为根的初等对称多项式；牛顿恒等式则把初等对称多项式 \( e_k \) 与幂和 \( p_k = \sum_i r_i^k \) 联系起来。<sup>[5](https://mathweb.ucsd.edu/~trshin/handouts/vieta_in_action.pdf)</sup> 二者合起来构成一条从系数到幂和的可逆通路：韦达公式把系数转换为 \( e_k \)，牛顿恒等式把 \( e_k \) 转换为 \( p_k \)，反之亦然。<sup>[5](https://mathweb.ucsd.edu/~trshin/handouts/vieta_in_action.pdf)</sup> 艾萨克·牛顿（Isaac Newton）于 1666 年把韦达公式推广为他的恒等式，用初等对称多项式递推地表示幂和。<sup>[12](https://leangenius.org/proof/vietas-formulas)</sup>

其背后的结构是对称多项式基本定理：n 元整系数对称多项式都可唯一地写成 \( e_1, \ldots, e_n \) 的多项式。<sup>[5](https://mathweb.ucsd.edu/~trshin/handouts/vieta_in_action.pdf)</sup> 由于系数是根的对称函数，任何伽罗瓦群都必须在保持系数不变的同时置换根，这使韦达公式成为伽罗瓦理论的概念基础，并最终成为阿贝尔–鲁菲尼定理（即次数 \( \ge 5 \) 时不存在一般根式解）的基础。<sup>[12](https://leangenius.org/proof/vietas-formulas)</sup>

## 应用

**韦达跳跃。** 韦达跳跃源自二次的韦达公式，是解决困难数论问题的重要奥赛工具，也是 1988 年 IMO 第 6 题的关键技巧；该题要求证明：只要 a、b 是正整数，\( (a^2 + b^2)/(ab + 1) \) 就是某个整数的平方。<sup>[2](https://www.parabola.unsw.edu.au/sites/default/files/2024-05/vol60_no1_8.pdf)</sup> 该方法利用这样一个事实：若 a、b 满足一个二次关系，公式会给出第二个根：若 \( a \ge b \) 且 k 为正整数，满足 \( (ab+1)k = a^2 + b^2 \)，则存在更小的非负整数 \( a' < a \)，它也满足关于 b、k 的同一方程，从而构成递降。<sup>[2](https://www.parabola.unsw.edu.au/sites/default/files/2024-05/vol60_no1_8.pdf)</sup> 同一技巧还可分析马尔可夫方程 \( x^2 + y^2 + z^2 = 3xyz \)，证明其解构成马尔可夫树。<sup>[2](https://www.parabola.unsw.edu.au/sites/default/files/2024-05/vol60_no1_8.pdf)</sup> 对有理丢番图方程 \( a + 1/b + b + 1/a = k \)（a、b 为正整数），解对 \( (a, b) \) 的韦达跳跃为 \( (kb - 1 - a, b) \) 与 \( (a, ka - 1 - b) \)，二者仍是解，且 k 必为 3 或 4。<sup>[13](https://web.williams.edu/Mathematics/sjmiller/public_html/math/papers/FibNumbVietaJumpRatDiophEq_MNS_v10.pdf)</sup>

**矩阵多项式。** 韦达型谱恒等式把标量关系推广到复矩阵多项式。对首一矩阵多项式，全部特征值的总和等于各对角标量多项式相乘时其根的总和；同一总和也等于一个常数乘以由对角元相加所得多项式的根之和，而特征值之积则由常数项系数矩阵的行列式决定。<sup>[14](https://arxiv.gg/abs/2607.06606)</sup> 这些首一情形的恒等式不能直接推广到首项系数非奇异的非首一矩阵多项式。<sup>[14](https://arxiv.gg/abs/2607.06606)</sup>

**部分根信息。** 《数学成果》（Results in Mathematics）2026 年的一篇论文用完全齐次对称多项式把经典公式推广到只已知多项式部分根的情形；推广后的系数条件为 \( a_{m-s} = -\sum_j a_j \mathcal{H}_{m-s-j}(x_0, \ldots, x_s) \)。<sup>[15](https://link.springer.com/article/10.1007/s00025-026-02632-5)</sup> 同一篇论文还给出了变量构成等比数列时完全齐次对称多项式的新恒等式，以及涉及单位根的新恒等式。<sup>[15](https://link.springer.com/article/10.1007/s00025-026-02632-5)</sup>

## 历史

弗朗索瓦·韦达（François Viète，1540–1603）是图尔与巴黎两地亨利二世（Henry II）宫廷的律师，撰写了统称为《分析术》（*The Analytic Art*）的论著，初版于 1591 年。<sup>[16](https://books.google.com/books/about/The_Analytic_Art.html?id=omHqrYBzMpAC)</sup> 在 1591 年于图尔出版的《分析术引论》（*In artem analyticam isagoge*）中，他引入了第一套系统的代数记号。<sup>[17](https://mathshistory.st-andrews.ac.uk/Biographies/Viete/)</sup> 他的约定是用元音字母表示未知量、辅音字母表示已知量，从而简化了解方程。<sup>[16](https://books.google.com/books/about/The_Analytic_Art.html?id=omHqrYBzMpAC)</sup> 他也是第一个用字母表示方程参数的人，因此，当卡尔达诺（Cardano）求解用文字表述的特定三次方程（如"一个数的立方加上这个数的 6 倍等于 20"，即 \( x^3 + 6x = 20 \)）时，韦达已能处理一般三次方程。<sup>[18](https://math.berkeley.edu/~robin/Viete/work.html)</sup><sup> • </sup><sup>[19](https://mathematics.edwardworthlibrary.ie/notation/viete/)</sup> 他坚持方程必须是齐次的，拒绝把不同量纲的项相加，并把代数视为复兴的古典希腊分析法。<sup>[19](https://mathematics.edwardworthlibrary.ie/notation/viete/)</sup>

他的系数–根关系带有局限：他不考虑负数，也没有等号符号。<sup>[20](https://arxiv.org/html/2210.12545v1)</sup> 他对所有 n 证明了该关系，但只限于正根；一般形式由阿尔贝·吉拉尔确立。<sup>[3](https://encyclopediaofmath.org/index.php?title=Vi%C3%A8te_theorem)</sup> 吉拉尔把结果推广到任意次多项式，引入了初等对称多项式的概念，并承认复根。<sup>[8](https://www.varsitytutors.com/practice/subjects/ib-mathematics-analysis-and-approaches/lessons/vietas-formulas)</sup>

不同文献对发表经过的记载不尽相同。MathWorld 把韦达的证明定在 1579 年，且只针对正根。<sup>[1](https://mathworld.wolfram.com/VietasFormulas.html)</sup> 《数学百科全书》称该结果发表于《数学全集》（*Opera mathematica*，莱顿，1646 年，由 F. van Schouten 编辑），而施普林格（Springer）的一篇论文同样给出 1646 年，即《数学全集》的出版年份，针对的是只有正根的实系数多项式。<sup>[3](https://encyclopediaofmath.org/index.php?title=Vi%C3%A8te_theorem)</sup><sup> • </sup><sup>[15](https://link.springer.com/article/10.1007/s00025-026-02632-5)</sup> 一份形式化数学文献则称，这些公式是在他去世后发表于《方程辨识与修正二论》（*De aequationum recognitione et emendatione tractatus duo*，1615）。<sup>[12](https://leangenius.org/proof/vietas-formulas)</sup> 各文献一致的是实质内容：韦达知道方程的正根与其系数之间的联系，并在其《方程辨识与修正》（*De aequationum recognitione et emendatione*，1615）中给出了解二次、三次、四次方程的方法。<sup>[21](https://mathshistory.st-andrews.ac.uk/SH/viete_sh.pdf)</sup>

韦达还给出了一个独创的几何方法，用于求解有三个实根的三次方程，即不可约情形（casus irreducibilis）——在这种情形下，卡尔达诺公式需要求虚量的立方根。<sup>[20](https://arxiv.org/html/2210.12545v1)</sup>

## 推广与边界情形

**重根与复根。** 只要每个根按重数计入初等对称多项式，公式对重根仍然成立。<sup>[11](https://github.com/antoniolupetti/algebrica/blob/main/polynomials/vieta-formulas.md)</sup> 在二次情形，它们对判别式的任何取值都成立，包括一对共轭复根。<sup>[11](https://github.com/antoniolupetti/algebrica/blob/main/polynomials/vieta-formulas.md)</sup> 本质的限制则不同：所指的根是多项式的全部复根。若只限于实根，结论并不成立。<sup>[7](http://www.amsi.org.au/ESA_Senior_Years/SeniorTopic2/2e/2e_3links_2.html)</sup>

**非交换系数。** 在除环（斜域）上，根与系数不必交换，非交换韦达定理用范德蒙拟行列式表示系数 \( a_k \)，给出 \( a_k = (-1)^k \sum y_{i_k} \cdots y_{i_1} \)（\( k = 1, \ldots, n \)），无需借助迹或行列式。<sup>[22](https://ar5iv.labs.arxiv.org/html/q-alg/9507010)</sup> 这一研究方向更早的公式只把系数表示为根的有理函数，而先前的一项结果借助阿米苏尔定理（Amitsur theorem）覆盖了复矩阵情形。<sup>[22](https://ar5iv.labs.arxiv.org/html/q-alg/9507010)</sup> 表达式 \( \Lambda_k = (-1)^k a_k \) 是根的对称函数，已在特征为零的交换域上的自由除环中证明。<sup>[22](https://ar5iv.labs.arxiv.org/html/q-alg/9507010)</sup>

**常见的符号错误。** 一个常见错误是忘记正负交替的符号，把二次方程的根和写成 \( +b/a \) 而非 \( -b/a \)；对 \( ax^2 + bx + c = 0 \)，正确的根和带有因子 \( (-1)^1 \)。<sup>[4](https://www.mathwords.com/v/vietas_formulas.htm)</sup>

## References

1. [Vieta's Formulas, Wolfram MathWorld](https://mathworld.wolfram.com/VietasFormulas.html)
2. [Vieta jumping, Parabola (UNSW) Vol. 60 No. 1 (2024)](https://www.parabola.unsw.edu.au/sites/default/files/2024-05/vol60_no1_8.pdf)
3. [Viète theorem, Encyclopedia of Mathematics](https://encyclopediaofmath.org/index.php?title=Vi%C3%A8te_theorem)
4. [Vieta's Formulas, Mathwords](https://www.mathwords.com/v/vietas_formulas.htm)
5. [Vieta's formulae, UCSD course handout](https://mathweb.ucsd.edu/~trshin/handouts/vieta_in_action.pdf)
6. [Symmetric Polynomials, Archive of Formal Proofs (Isabelle)](https://isa-afp.org/browser_info/current/AFP/Symmetric_Polynomials/outline.pdf)
7. [Sums and products of roots, Australian Mathematical Sciences Institute](http://www.amsi.org.au/ESA_Senior_Years/SeniorTopic2/2e/2e_3links_2.html)
8. [Vieta's Formulas, IB HL lesson, Varsity Tutors](https://www.varsitytutors.com/practice/subjects/ib-mathematics-analysis-and-approaches/lessons/vietas-formulas)
9. [Vieta's Formulas and Symmetric Polynomials, Chapel Hill Math Circle (2025)](https://chapelhillmathcircle.org/wp-content/uploads/2025/03/2025-03-15_-_vietas_formulas_and_symmetric_polynomials_students_copy.pdf)
10. [Theory Symmetric_Polynomials.Vieta, Isabelle AFP](https://isa-afp.org/browser_info/current/AFP/Factor_Algebraic_Polynomial/Symmetric_Polynomials.Vieta.html)
11. [Vieta's formulas, Algebrica](https://github.com/antoniolupetti/algebrica/blob/main/polynomials/vieta-formulas.md)
12. [Vieta's formulas, LeanGenius annotated proofs](https://leangenius.org/proof/vietas-formulas)
13. [Fibonacci Numbers and Vieta Jumping for a Rational Diophantine Equation, Williams College](https://web.williams.edu/Mathematics/sjmiller/public_html/math/papers/FibNumbVietaJumpRatDiophEq_MNS_v10.pdf)
14. [Vieta-Type Formulas for Matrix Polynomials, arXiv](https://arxiv.gg/abs/2607.06606)
15. [Complete Homogeneous Symmetric Polynomials and Generalized Vieta's Formulas, Results in Mathematics](https://link.springer.com/article/10.1007/s00025-026-02632-5)
16. [The Analytic Art, François Viète, trans. T. Richard Witmer](https://books.google.com/books/about/The_Analytic_Art.html?id=omHqrYBzMpAC)
17. [François Viète (1540–1603), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies/Viete/)
18. [François Viète, UC Berkeley archive](https://math.berkeley.edu/~robin/Viete/work.html)
19. [Viète, Edward Worth Library](https://mathematics.edwardworthlibrary.ie/notation/viete/)
20. [François Viète and his contribution to mathematics, arXiv](https://arxiv.org/html/2210.12545v1)
21. [Francois Viète and the Foundations of Algebra, MacTutor](https://mathshistory.st-andrews.ac.uk/SH/viete_sh.pdf)
22. [Noncommutative Vieta Theorem and Symmetric Functions, arXiv](https://ar5iv.labs.arxiv.org/html/q-alg/9507010)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Algebraic structures › Abstract algebra — overview

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/vietas-formulas

English original: https://www.edgepedia.org/vietas-formulas
