MathCompass

Vieta's Formulas

Algebra Advanced

πŸ“‹ Prerequisites

Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots. The magic is: you can answer questions about roots without ever finding the roots themselves. This is a competition staple β€” half the time they ask for $r_1^2 + r_2^2$ or $\frac{1}{r_1} + \frac{1}{r_2}$, you don't need to solve at all.

πŸ“š Key Concepts

Vieta for Quadratics

If $ ax^2 + bx + c = 0 $ has roots $r_1$ and $r_2$:

Intuition: if $ a(x - r_1)(x - r_2) = ax^2 - a(r_1+r_2)x + a(r_1r_2) $, matching coefficients gives you the formulas.

Symmetric Expressions

These are the most common Vieta problems. Express everything in terms of sum ($S = r_1 + r_2$) and product ($P = r_1r_2$):

The general strategy: if you can write the expression using only $+$ and $\times$ on the roots, Vieta can compute it.

Vieta for Cubics

If $ ax^3 + bx^2 + cx + d = 0 $ has roots $r_1, r_2, r_3$:

Pattern: signs alternate starting with negative for the sum. Each formula has one more level of "productness."

General Vieta (Degree n)

For $ a_nx^n + a_{n-1}x^{n-1} + \cdots + a_0 = 0 $ with roots $r_1, ..., r_n$:

Signs flip each time you go one level deeper in products.

Constructing Polynomials from Roots

If you know the roots, you can build the polynomial:

Integer Root Problems

When a quadratic has integer coefficients and integer roots:

⚠️ Common Mistake: Forgetting the negative sign on odd-numbered Vieta formulas. Sum of roots = $-b/a$, not $b/a$. Product of roots for odd degree = $-d/a$ (for cubic). Quick check: for $(x-1)(x-2) = x^2 - 3x + 2$, sum = 3 = $-(-3)/1$, product = 2 = $2/1$. βœ“
πŸ’‘ Key Insight: When a problem asks for something symmetric in the roots (and doesn't ask for the roots themselves), Vieta is almost always faster than solving. Ask yourself: "can I write this using only sums and products of roots?" If yes, use Vieta. You'll save time and avoid arithmetic errors from messy square roots.

✏️ Example Problems

πŸ“ Example 1 (Basic quadratic Vieta)

The quadratic $ 2x^2 + 8x - 10 = 0 $ has roots $r_1$ and $r_2$.
What is the sum of the roots?

Vieta's formula: Sum of roots = $ -\frac{b}{a} $

Step 1: Identify $a$ and $b$.

$ a = 2 $, $ b = 8 $

Step 2: Apply formula.

\[ r_1 + r_2 = -\frac{b}{a} = -\frac{8}{2} = -4 \]

Check (by solving): Divide by 2: $ x^2 + 4x - 5 = 0 $. Factor: $ (x+5)(x-1) = 0 $. Roots: $x = -5$ and $x = 1$. Sum: $ -5 + 1 = -4 $. βœ“

Answer: -4

πŸ“ Example 2 (Symmetric expression)

The equation $ x^2 - 5x + 3 = 0 $ has roots $r_1$ and $r_2$.
Find the value of $ r_1^2 + r_2^2 $.

Strategy: Use the identity $ r_1^2 + r_2^2 = (r_1 + r_2)^2 - 2r_1r_2 $

Step 1: Find sum and product via Vieta. ($a = 1$, $b = -5$, $c = 3$)

Sum: $ S = r_1 + r_2 = -\frac{b}{a} = -\frac{-5}{1} = 5 $

Product: $ P = r_1r_2 = \frac{c}{a} = \frac{3}{1} = 3 $

Step 2: Plug into the identity.

\[ r_1^2 + r_2^2 = S^2 - 2P = 5^2 - 2(3) = 25 - 6 = 19 \]

We found the answer without ever calculating the actual roots (which would involve $\sqrt{13}$).

Answer: 19

πŸ“ Example 3 (Cubic Vieta)

The cubic equation $ x^3 - 6x^2 + 11x - 6 = 0 $ has roots $r_1, r_2, r_3$.
What is the value of $ r_1r_2r_3 $?

Vieta for cubic: $ r_1r_2r_3 = -\frac{d}{a} $

Step 1: Identify coefficients. $ ax^3 + bx^2 + cx + d = 0 $

$ a = 1 $, $ b = -6 $, $ c = 11 $, $ d = -6 $

Step 2: Apply product formula (note the negative sign!).

\[ r_1r_2r_3 = -\frac{d}{a} = -\frac{-6}{1} = 6 \]

Check: The cubic factors as $(x-1)(x-2)(x-3) = 0$ (roots 1, 2, 3). Product: $ 1 \times 2 \times 3 = 6 $. βœ“

Answer: 6

Previous
Next