Home › Reference Information › Mathematics Theory › Vieta's Theorem

Vieta's Theorem: formula, proof, and worked examples

Vieta's Theorem is one of the most important theorems in algebra; it establishes a relationship between the roots of a quadratic equation and its coefficients. On this page, you will find the formula for Vieta's Theorem, its proof, examples of problem-solving, and its application to cubic equations. The theorem is widely used in preparation for the EGE and OGE mathematics exams.


Vieta's theorem formula

Vieta's theorem was discovered by the French mathematician François Viète in the 16th century. It allows one to find the sum and product of the roots of a quadratic equation without solving it.

For a monic quadratic equation of the form:

x2 + px + q = 0

with roots x1 and x2, the following relations hold:

Sum of the roots

x1 + x2 = -p

Product of the roots

x1 · x2 = q

For a general quadratic equation of the form:

ax2 + bx + c = 0

the roots x1 and x2 satisfy the relations:

Sum of the roots

x1 + x2 = -ba

Product of the roots

x1 · x2 = ca

Proof of Vieta's theorem

Given: a quadratic equation with roots x1 and x2.

Proof:

  1. Using the quadratic formula, we obtain expressions for x1 and x2.
  2. Find the sum of the roots and simplify the expression.
  3. Find the product of the roots and simplify the expression.

Thus, the theorem is proven. For the monic equation, we obtain the corresponding relations.

Examples of problem-solving

Example 1. Finding roots using Vieta's theorem

Given: a quadratic equation.

Solution:

According to Vieta's theorem, the sum of the roots is 5, and the product of the roots is 6.

Find numbers that add up to 5 and multiply to 6. These are 2 and 3.

Answer: the roots of the equation are 2 and 3.

Example 2. Constructing an equation from its roots

Given: equation roots -4 and 7.

Solution:

Find the sum and product of the roots. The sum is 3, and the product is -28.

Using Vieta's theorem for a monic equation, we obtain the corresponding coefficients.

Answer: the required equation.

Example 3. Finding the parameter

Given: an equation with a parameter has roots x1 and x2, with x1 equal to 3. Find the parameter and the second root.

Solution:

According to Vieta's theorem, the product of the roots is 12.

Substituting the value of the first root, we find the second root to be 4.

We find the sum of the roots: it is 7.

According to Vieta's theorem, the parameter equals the negative of the sum of the roots, i.e., -7.

Answer: the parameter is -7, and the second root is 4.

Converse of Vieta's theorem

The converse of Vieta's theorem allows us to determine whether two numbers are the roots of a quadratic equation.

Statement: If numbers m and n are such that their sum equals -p and their product equals q, then these numbers are the roots of the equation.

Example of using the converse theorem

Given: the numbers 2 and 5. Form a quadratic equation that has these numbers as its roots.

Solution:

Find the sum and product of the numbers.

Then the coefficients of the equation equal the corresponding values.

Answer: the required equation.

Vieta's Theorem for cubic equations

Vieta's theorem can also be generalized to equations of higher degrees. For a cubic equation:x3 + px2 + qx + r = 0

with roots x1, x2, and x3, the following relations hold:

Sum of the roots

x1 + x2 + x3 = -p

Sum of pairwise products

x1x2 + x1x3 + x2x3 = q

Product of the roots

x1 · x2 · x3 = -r

Example of a cubic equation

Given: a cubic equation.

Solution: Using Vieta's theorem for a cubic equation, we obtain relations for the sum, pairwise products, and product of the roots.

We select the numbers: 1, 2, and 3.

Answer: the roots of the equation are 1, 2, and 3.

Frequently asked questions about Vieta's theorem

How is Vieta's theorem stated for a quadratic equation?

For a monic quadratic equation, the sum of the roots equals minus p, and the product of the roots equals q. For a general quadratic equation, the sum of the roots equals minus b divided by a, and the product equals c divided by a.

When is Vieta's theorem used?

Vieta's theorem is used to find the roots of a quadratic equation without calculating the discriminant, to construct an equation from known roots, to verify the correctness of found roots, and to solve problems involving parameters.

What is the difference between Vieta's theorem and its converse?

Vieta's theorem allows one to find the sum and product of the roots from the equation's coefficients. The converse of Vieta's theorem allows one to determine whether two numbers are roots of the equation and to construct an equation from given roots.

For which equations does Vieta's theorem apply?

Vieta's theorem applies to quadratic equations as well as to equations of higher degrees: cubic equations and equations of the n-th degree.

How do you find the roots of a quadratic equation using Vieta's theorem?

To find the roots using Vieta's formulas, you need to identify two numbers whose sum is minus p and whose product is q (for a monic equation). For example, for an equation where the sum of the roots is 5 and the product is 6, the roots are 2 and 3.
  • Quick facts
  • Tables
  • Formulas
  • Geometry formulas
  • Math theory