# Difference between revisions of "Vieta's Formulas"

(→Introduction) |
|||

(One intermediate revision by one other user not shown) | |||

Line 43: | Line 43: | ||

If we denote <math>\sigma_k</math> as the <math>k</math>-th elementary symmetric sum, then we can write those formulas more compactly as <math>\sigma_k = (-1)^k\cdot \frac{a_{n-k}}{a_n{}}</math>, for <math>1\le k\le {n}</math>. | If we denote <math>\sigma_k</math> as the <math>k</math>-th elementary symmetric sum, then we can write those formulas more compactly as <math>\sigma_k = (-1)^k\cdot \frac{a_{n-k}}{a_n{}}</math>, for <math>1\le k\le {n}</math>. | ||

Also, <math>-b/a = p + q, c/a = p \cdot q</math>. | Also, <math>-b/a = p + q, c/a = p \cdot q</math>. | ||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

==Proving Vieta's Formula== | ==Proving Vieta's Formula== | ||

Line 68: | Line 53: | ||

Looking at the two sides, we can quickly see that the coefficient <math>a</math> is equal to <math>-(p+q)</math>. <math>p+q</math> is the actual sum of roots, however. Therefore, it makes sense that <math>p+q= \frac{-b}{a}</math>. The same proof can be given for <math>pq=\frac{c}{a}</math>. | Looking at the two sides, we can quickly see that the coefficient <math>a</math> is equal to <math>-(p+q)</math>. <math>p+q</math> is the actual sum of roots, however. Therefore, it makes sense that <math>p+q= \frac{-b}{a}</math>. The same proof can be given for <math>pq=\frac{c}{a}</math>. | ||

− | Note: If you do not understand why we must divide by a, try rewriting the original equation as <math>ax^2+bx+c=(x-p)(x-q)</math> | + | Note: If you do not understand why we must divide by <math>a</math>, try rewriting the original equation as <math>ax^2+bx+c=(x-p)(x-q)</math> |

SuperJJ | SuperJJ | ||

+ | |||

+ | ==General Form== | ||

+ | For a polynomial of the form <math>f(x)=a_nx^n+a_{n-1}x^{n-1}+...+a_1x+a_0</math> with roots <math>r_1,r_2,r_3,...r_n</math>, Vieta's formulas state that: | ||

+ | <cmath> | ||

+ | \begin{align*} | ||

+ | r_1+r_2+r_3+...+r_n=-\frac{a_{n-1}}{a_n} \\ | ||

+ | r_1r_2+r_1r_3+..+r_{n-1}r_n=\frac{a_{n-2}}{a_n} \\ | ||

+ | r_1r_2r_3+r_1r_2r_4+...+r_{n-2}r_{n-1}r_n=-\frac{a_{n-3}}{a_n} \\ | ||

+ | \vdots \\ | ||

+ | r_1r_2r_3...r_n=(-1)^n\frac{a_0}{a_n} \\ | ||

+ | \end{align*} | ||

+ | </cmath> | ||

+ | These formulas are widely used in competitions, and it is best to remember that when the <math>n</math> roots are taken in groups of <math>k</math> (i.e. <math>r_1+r_2+r_3...+r_n</math> is taken in groups of 1 and <math>r_1r_2r_3...r_n</math> is taken in groups of <math>n</math>), this is equivalent to <math>(-1)^k\frac{a_{n-k}}{a_n}</math>. |

## Latest revision as of 23:16, 18 January 2021

**Vieta's Formulas**, otherwise called Viète's Laws, are a set of equations relating the roots and the coefficients of polynomials.

## Introduction

Vieta's Formulas were discovered by the French mathematician François Viète. Vieta's Formulas can be used to relate the sum and product of the roots of a polynomial to its coefficients. The simplest application of this is with quadratics. If we have a quadratic with solutions and , then we know that we can factor it as:

(Note that the first term is , not .) Using the distributive property to expand the right side we now have

Vieta's Formulas are often used when finding the sum and products of the roots of a quadratic in the form with roots and They state that:

and

We know that two polynomials are equal if and only if their coefficients are equal, so means that and . In other words, the product of the roots is equal to the constant term, and the sum of the roots is the opposite of the coefficient of the term.

A similar set of relations for cubics can be found by expanding .

We can state Vieta's formulas more rigorously and generally. Let be a polynomial of degree , so , where the coefficient of is and . As a consequence of the Fundamental Theorem of Algebra, we can also write , where are the roots of . We thus have that

Expanding out the right-hand side gives us

The coefficient of in this expression will be the -th elementary symmetric sum of the .

We now have two different expressions for . These must be equal. However, the only way for two polynomials to be equal for all values of is for each of their corresponding coefficients to be equal. So, starting with the coefficient of , we see that

More commonly, these are written with the roots on one side and the on the other (this can be arrived at by dividing both sides of all the equations by ).

If we denote as the -th elementary symmetric sum, then we can write those formulas more compactly as , for . Also, .

## Proving Vieta's Formula

Basic proof: This has already been proved earlier, but I will explain it more. If we have , the roots are and . Now expanding the left side, we get: . Factor out an on the right hand side and we get: Looking at the two sides, we can quickly see that the coefficient is equal to . is the actual sum of roots, however. Therefore, it makes sense that . The same proof can be given for .

Note: If you do not understand why we must divide by , try rewriting the original equation as SuperJJ

## General Form

For a polynomial of the form with roots , Vieta's formulas state that: These formulas are widely used in competitions, and it is best to remember that when the roots are taken in groups of (i.e. is taken in groups of 1 and is taken in groups of ), this is equivalent to .