Skip to content
Gioi Toan
Start learning
A parabola on coordinate axes with a smiling ball rolling along it

What is Vieta's theorem?

Short answer

Vieta's theorem tells how the sum and the product of the two roots of a quadratic equation in one variable relate to its coefficients.

Type
Theorem
First learned
Grade 9
Also called
định lý Viète, định lý Vi-ét, hệ thức Viète, hệ thức Vi-ét, viete
In English
Vieta's formulas, Viète's theorem

Formulas

x1+x2=−bax_1 + x_2 = -\frac{b}{a}

x1x2=cax_1 x_2 = \frac{c}{a}

Explanation

Vieta's theorem states that if the quadratic equation in one variable ax2+bx+c=0ax^2 + bx + c = 0 (with a≠0a \ne 0) has two solutions x1,x2x_1, x_2, then the sum of roots equals −ba-\frac{b}{a} and the product of roots equals ca\frac{c}{a}.

This theorem helps us quickly compute the sum and product of roots without solving the equation, or find two numbers when their sum and product are known. For example, if two numbers have sum SS and product PP, then they are solutions of the equation x2−Sx+P=0x^2 - Sx + P = 0 (the condition for such two numbers to exist is S2−4P≥0S^2 - 4P \ge 0).

Vieta's theorem is also used for solving quadratic equations by inspection, for factorise the polynomial, and for solving many problems involving the quadratic equation in one variable.

Examples

Example 1

Given the equation 2x2−5x+3=02x^2 - 5x + 3 = 0. Without solving the equation, compute the sum and product of roots.

See the solution to example 1

By Vieta's theorem, the sum of roots is −ba=−−52=52-\frac{b}{a} = -\frac{-5}{2} = \frac{5}{2}, the product of roots is ca=32\frac{c}{a} = \frac{3}{2}.

Example 2

Find two numbers whose sum is 7 and whose product is 12.

See the solution to example 2

The two numbers we need are solutions of the equation x2−7x+12=0x^2 - 7x + 12 = 0. Solving gives the two solutions 3 and 4. So the two numbers are 3 and 4.

Common mix-ups

  • Vieta's formula only applies when the quadratic equation in one variable has solutions; if the equation has no solution, it cannot be used.
  • In the formula for the sum of roots there is a minus sign: x1+x2=−bax_1 + x_2 = -\frac{b}{a}, not ba\frac{b}{a}.

Where the name comes from

The theorem is named after the French mathematician Francois Viete (1540-1603).

Learn it in these lessons