Direct proof Vieta's formulas can be
proved by considering the equality a_n x^n + a_{n-1}x^{n-1} +\cdots + a_1 x+ a_0 = a_n (x-r_1) (x-r_2) \cdots (x-r_n) (which is true since r_1, r_2, \dots, r_n are all the roots of this polynomial), expanding the products in the right-hand side, and equating the coefficients of each power of x between the two members of the equation. Formally, if one expands (x-r_1) (x-r_2) \cdots (x-r_n) and regroup the terms by their degree in , one gets :\sum_{k=0}^n (-1)^{n-k}x^k \left(\sum_{\stackrel{(\forall i)\; b_i\in\{0,1\}}{b_1+\cdots+b_n=n-k}} r_1^{b_1}\cdots r_n^{b_n}\right), where the inner sum is exactly the th elementary symmetric function As an example, consider the quadratic f(x) = a_2x^2 + a_1x + a_0 = a_2(x - r_1)(x - r_2) = a_2(x^2 - x(r_1 + r_2) + r_1 r_2). Comparing identical powers of x, we find a_2=a_2, a_1=-a_2 (r_1+r_2) and a_0 = a_2 (r_1r_2) , with which we can for example identify r_1+r_2 = - a_1/a_2 and r_1r_2 = a_0/a_2 , which are Vieta's formula's for n=2.
Proof by mathematical induction Vieta's formulas can also be proven by
induction as shown below.
Inductive hypothesis: Let {P(x)} be polynomial of degree n, with complex roots {r_1},{r_2},{\dots},{r_n} and complex coefficients a_0,a_1,\dots,a_n where { a_n} \neq 0. Then the inductive hypothesis is that{P(x)} = {a_n}{x^n}+{{a_{n-1}}{x^{n-1}}}+{\cdots}+{{a_{1}}{x}}+{{a}_{0}} = {{a_n}{x^{n}}}-{a_n}{({r_1}+{r_2}+{\cdots}+{r_n}){x^{n-1}}}+{\cdots}+ {{(-1)^{n}}{ (a_n)}{({r_1}{r_2}{\cdots}{r_n})}}
Base case, n = 2
(quadratic): Let {a_2},{a_1} be coefficients of the quadratic and a_0 be the constant term. Similarly, let {r_1},{r_2} be the roots of the quadratic:{a_2 x^2}+{a_1 x} + a_0 = {a_2}{(x-r_1)(x-r_2)}Expand the right side using
distributive property:{a_2 x^2}+{a_1 x} + a_0 = {a_2}{({x^2}-{r_1x}-{r_2x}+{r_1}{r_2})}Collect
like terms:{a_2 x^2}+{a_1 x} + a_0 = {a_2}{({x^2}-{({r_1}+{r_2}){x}}+{r_1}{r_2})}Apply distributive property again:{a_2 x^2}+{a_1 x} + a_0 = {{a_2}{x^2}-{{a_2}({r_1}+{r_2}){x}}+{a_2}{({r_1}{r_2})}}The inductive hypothesis has now been proven true for n = 2.
Induction step: Assuming the inductive hypothesis holds true for all n\geqslant 2, it must be true for all n+1 .{P(x)} = {a_{n+1}}{x^{n+1}}+{{a_{n}}{x^{n}}}+{\cdots}+{{a_{1}}{x}}+{{a}_{0}}By the
factor theorem, {(x-r_{n+1})} can be factored out of P(x) leaving a 0 remainder. Note that the roots of the polynomial in the square brackets are r_1,r_2,\cdots,r_n:{P(x)} = {(x-r_{n+1})} {[{\frac{{a_ {n+ 1}}{x^ {n+1}}+{{a_{n}}{x^{n}}}+{\cdots}+{{a_{1}}{x}}+{{a}_{0}}}{x- r_{n +1}}}]}Factor out a_{n+1}, the leading coefficient P(x), from the polynomial in the square brackets:{P(x)} ={(a_{n+{1}})}{(x-r_{n+1})} {[{\frac{{x^ {n+1}}+ {\frac{{a_{n}} {x^{n}}}{(a_{n+{1}})}}+{\cdots}+{\frac {a_{1}}{(a_{n+{1}})} {x}}+ {{\frac{a_0}{{(a_{n+{1}})}}}}} {x- r_{n +1}}}]}For simplicity sake, allow the coefficients and constant of polynomial be denoted as \zeta:P(x) = {(a_ {n+1})}{(x-r_ {n+1})}{[{x^n}+{\zeta_{n-1}x^{n-1}}+{\cdots}+{\zeta_0}]}Using the inductive hypothesis, the polynomial in the square brackets can be rewritten as:P(x) = {(a_ {n+1})} {(x-r_ {n+1})} {[{{x^{n}}}-{({r_1}+{r_2}+{\cdots}+{r_n}){x^{n-1}}}+{\cdots}+ {{(-1)^{n}}{({r_1}{r_2}{\cdots}{r_n})}}]}Using distributive property:P(x) = {(a_ {n+1})}{({x} {[{{x^{n}}}-{({r_1}+{r_2}+{\cdots}+{r_n}){x^{n-1}}}+{\cdots}+ {{(-1)^{n}}{({r_1}{r_2}{\cdots}{r_n})}}]} {- r_ {n+1}} {[{{x^{n}}}-{({r_1}+{r_2}+{\cdots}+{r_n}){x^{n-1}}}+{\cdots}+ {{(-1)^{n}}{({r_1}{r_2}{\cdots}{r_n})}}]} )}After expanding and collecting like terms:\begin{align} {P(x)} = {{a_{n+1}}{x^{n+1}}}-{a_{n+1}}{({r_1}+{r_2}+{\cdots}+{r_n}+{r_{n+1}}){x^{n}}}+{\cdots}+ {{(-1)^{n+1}}{({r_1}{r_2}{\cdots}{r_n}{r_{n+1}})}} \\ \end{align}The inductive hypothesis holds true for n+1, therefore it must be true \forall n \in \mathbb{N}
Conclusion:{a_ n}{x^n}+{{a_{n-1}}{x^{n-1}}}+{\cdots}+{{a_{1}}{x}}+{{a}_{0}} = {{a_n}{x^{n}}}-{a_n}{({r_1}+{r_2}+{\cdots}+{r_n}){x^{n-1}}}+{\cdots}+ {{(-1)^{n}}{({r_1}{r_2}{\cdots}{r_n})}}By dividing both sides by a_{n}, it proves the Vieta's formulas true. == History ==