2.1.19Algebra — Introduction & Intermediate

Vieta's formulas — sum and product of roots

2,125 words10 min readdifficulty · medium3 backlinks

What Are Vieta's Formulas?

For higher-degree polynomials, the pattern extends: coefficients are elementary symmetric polynomials in the roots.

Why Does This Work? — Derivation from Scratch

Start with the factor form: If α\alpha and β\beta are roots, then: a(xα)(xβ)=0a(x - \alpha)(x - \beta) = 0

Expand step-by-step: a(xα)(xβ)=a[x2βxαx+αβ]a(x - \alpha)(x - \beta) = a[x^2 - \beta x - \alpha x + \alpha\beta] =a[x2(α+β)x+αβ]= a[x^2 - (\alpha + \beta)x + \alpha\beta] =ax2a(α+β)x+aαβ= ax^2 - a(\alpha + \beta)x + a\alpha\beta

Match with standard form ax2+bx+cax^2 + bx + c:

  • Coefficient of xx: b=a(α+β)b = -a(\alpha + \beta)α+β=ba\alpha + \beta = -\frac{b}{a}
  • Constant term: c=aαβc = a\alpha\betaαβ=ca\alpha\beta = \frac{c}{a}

Why the negative sign in sum? Because we factor out (xα)(x - \alpha) (minus roots), so when we expand, the sum appears with opposite sign.

Figure — Vieta's formulas — sum and product of roots

General quadratic: ax2+bx+c=0ax^2 + bx + c = 0 α+β=ba,αβ=ca\alpha + \beta = -\frac{b}{a}, \quad \alpha\beta = \frac{c}{a}

Cubic ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0 with roots r1,r2,r3r_1, r_2, r_3: r1+r2+r3=bar_1 + r_2 + r_3 = -\frac{b}{a} r1r2+r1r3+r2r3=car_1 r_2 + r_1 r_3 + r_2 r_3 = \frac{c}{a} r1r2r3=dar_1 r_2 r_3 = -\frac{d}{a}

Worked Examples — Learn by Doing

Solution: Here a=3a = 3, b=12b = -12, c=9c = 9.

Step 1: Apply Vieta's sum formula α+β=ba=(12)3=123=4\alpha + \beta = -\frac{b}{a} = -\frac{(-12)}{3} = \frac{12}{3} = 4

Why this step? The coefficient b=12b = -12 is negative, so b=12-b = 12 is positive. Dividing by aa normalizes.

Step 2: Apply Vieta's product formula αβ=ca=93=3\alpha\beta = \frac{c}{a} = \frac{9}{3} = 3

Why this step? The constant term relative to leading coefficient gives the product directly.

Answer: α+β=4\alpha + \beta = 4, αβ=3\alpha\beta = 3

Solution: Step 1: Calculate sum and product α+β=5+(2)=3\alpha + \beta = 5 + (-2) = 3 αβ=5×(2)=10\alpha\beta = 5 \times (-2) = -10

Why? We need these to build the coefficients.

Step 2: Use monic form x2(sum)x+(product)=0x^2 - (\text{sum})x + (\text{product}) = 0 x23x+(10)=0x^2 - 3x + (-10) = 0 x23x10=0x^2 - 3x - 10 = 0

Why monic form? When a=1a = 1, Vieta's gives us p=(α+β)p = -(\alpha + \beta) and q=αβq = \alpha\beta directly.

Step 3: Verify by expansion (x5)(x+2)=x2+2x5x10=x23x10(x - 5)(x + 2) = x^2 + 2x - 5x - 10 = x^2 - 3x - 10

Solution: Step 1: Find sum and product from Vieta's α+β=52,αβ=32\alpha + \beta = -\frac{5}{2}, \quad \alpha\beta = \frac{-3}{2}

Step 2: Use algebraic identity α2+β2=(α+β)22αβ\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta

Why this identity? Expanding (α+β)2=α2+2αβ+β2(\alpha + \beta)^2 = \alpha^2 + 2\alpha\beta + \beta^2, then subtract 2αβ2\alpha\beta to isolate α2+β2\alpha^2 + \beta^2.

Step 3: Substitute α2+β2=(52)22(32)\alpha^2 + \beta^2 = \left(-\frac{5}{2}\right)^2 - 2\left(-\frac{3}{2}\right) =254+62=254+124=374= \frac{25}{4} + \frac{6}{2} = \frac{25}{4} + \frac{12}{4} = \frac{37}{4}

Answer: 374\frac{37}{4}

Solution: Step 1: Original root properties α+β=5,αβ=3\alpha + \beta = 5, \quad \alpha\beta = 3

Step 2: Find sum of new roots α2+β2=(α+β)22αβ=256=19\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = 25 - 6 = 19

Step 3: Find product of new roots α2β2=(αβ)2=32=9\alpha^2 \beta^2 = (\alpha\beta)^2 = 3^2 = 9

Why? The product of squares is the square of the product.

Step 4: Construct new equation x2(α2+β2)x+α2β2=0x^2 -(\alpha^2 + \beta^2)x + \alpha^2\beta^2 = 0 x219x+9=0x^2 - 19x + 9 = 0

Common Mistakes & Fixes

Why it feels right: We see bb directly in the equation.

The fix: The sum is ba-\frac{b}{a} because of the factor form (xα)(xβ)(x - \alpha)(x - \beta). When you expand, you get (α+β)-(\alpha + \beta) as the coefficient.

Steel-man: The confusion comes from x2+px+qx^2 + px + q form where we write α+β=p\alpha + \beta = -p. The sign convention is built into the formula.

Why it feels right: Monic form has α+β=p\alpha + \beta = -p when equation is x2+px+q=0x^2 + px + q = 0.

The fix: ALWAYS divide by aa first. Here α+β=63=2\alpha + \beta = -\frac{6}{3} = -2, not 6-6.

Key check: If you don't divide by aa, you're finding relationships for a different equation.

Why it feels right: The square of a sum notation looks similar.

The fix: (α+β)2=α2+2αβ+β2(\alpha + \beta)^2 = \alpha^2 + 2\alpha\beta + \beta^2 So α2+β2=(α+β)22αβ\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta

Why this works: The middle term 2αβ2\alpha\beta must be subtracted out.

Power Techniques — 80/20 Applications

1. Checking factorization: If you claim (x2)(x7)=x29x+14(x - 2)(x - 7) = x^2 - 9x + 14, verify: sum should be 2+7=92 + 7 = 9, product 2×7=142 \times 7 = 14. Match (9)=9-(-9) = 9 ✓ and 1414 ✓.

2. Sum/product constraints: If α+β=4\alpha + \beta = 4 and αβ=5\alpha\beta = -5, the equation is x24x5=0x^2 - 4x - 5 = 0. Instant equation construction.

3. Symmetric expressions: Any symmetric function of roots (like α3+β3\alpha^3 + \beta^3, 1α+1β\frac{1}{\alpha} + \frac{1}{\beta}) can be expressed using α+β\alpha + \beta and αβ\alpha\beta: 1α+1β=α+βαβ\frac{1}{\alpha} + \frac{1}{\beta} = \frac{\alpha + \beta}{\alpha\beta}

4. Root bounds: If αβ>0\alpha\beta > 0, roots have same sign. If α+β>0\alpha + \beta > 0 too, both positive.

Think: "Sum? Negate b. Product? Plain c." (after dividing by aa).

Feynman Technique — Explain to a 12-Year-Old

Recall Explain Like You're Teaching a Younger Student

Imagine you're making a secret code. You have two mystery numbers, let's call them α\alpha and β\beta. You don't tell anyone what they are, but you DO tell them what happens when you add them together and when you multiply them.

Now, there's a magic box called a quadratic equation that looks like ax2+bx+c=0ax^2 + bx + c = 0. Here's the trick: those letters aa, bb, cc already contain hidden clues about your mystery numbers!

Vieta's formulas are the decoder:

  • If you add your two numbers: α+β=ba\alpha + \beta = -\frac{b}{a} (the middle part, flipped)
  • If you multiply them: α×β=ca\alpha \times \beta = \frac{c}{a} (the last part)

Why does this work? Because when mathematicians multiply (xα)(xβ)(x - \alpha)(x - \beta), they get exactly x2(α+β)x+αβx^2 - (\alpha+\beta)x + \alpha\beta. So the equation itself is just the expanded form, and Vieta's helps us work backwards.

Real use: You can know things about the roots WITHOUT actually solving! Like if someone asks "Do the roots add up to 7?" you just check ba-\frac{b}{a}. No quadratic formula needed!

Active Recall Flashcards

#flashcards/maths

For a quadratic ax2+bx+c=0ax^2 + bx + c = 0 with roots α,β\alpha, \beta, what is α+β\alpha + \beta?
ba-\frac{b}{a}
For a quadratic ax2+bx+c=0ax^2 + bx + c = 0 with roots α,β\alpha, \beta, what is αβ\alpha\beta?
ca\frac{c}{a}
Why is there a negative sign in the sum of roots formula?
Because the factor form is (xα)(xβ)(x - \alpha)(x - \beta), so when expanded the sum appears as (α+β)-(\alpha + \beta).
How do you construct a quadratic with roots 3 and -7?
Sum = 4-4, product = 21-21, so equation is x2+4x21=0x^2 + 4x - 21 = 0 (using x2(sum)x+(product)=0x^2 - (\text{sum})x + (\text{product}) = 0).
If α+β=5\alpha + \beta = 5 and αβ=6\alpha\beta = 6, what is α2+β2\alpha^2 + \beta^2?
(α+β)22αβ=2512=13(\alpha + \beta)^2 - 2\alpha\beta = 25 - 12 = 13.
For 3x29x+6=03x^2 - 9x + 6 = 0, what is the sum of roots?
93=3-\frac{-9}{3} = 3.
What is the formula for 1α+1β\frac{1}{\alpha} + \frac{1}{\beta} in terms of Vieta's?
α+βαβ\frac{\alpha + \beta}{\alpha\beta}.
In a cubic ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0, what is r1+r2+r3r_1 + r_2 + r_3?
ba-\frac{b}{a}.

Connections

  • Quadratic Formula — Vieta's gives relationships without explicit root values
  • Factoring Quadratics — Reverse process: Vieta's → coefficients, factoring → roots
  • Symmetric Polynomials — Vieta's formulas are elementary symmetric functions
  • Polynomial Roots and Coefficients — Generalizes to higher degrees
  • Completing the Square — Alternative derivation path
  • DiscriminantΔ=b24ac=(αβ)2a2\Delta = b^2 - 4ac = (\alpha - \beta)^2 \cdot a^2 relates to root spacing
  • Systems of Equations — Use Vieta's to set up systems from root conditions
  • Descartes' Rule of Signs — Combined with Vieta's for root properties

Master Vieta's and you'll never waste time solving quadratics when you only need root relationships.

Concept Map

expand

match coefficients

sum of roots

product of roots

special case a=1

special case a=1

extends to

coefficients are

find without solving

build quadratic

Factor form a x-alpha x-beta

a x^2 - a sum x + a product

Vieta's formulas

alpha + beta = -b/a

alpha beta = c/a

Monic form x^2 + px + q

Cubic and higher degree

Elementary symmetric polynomials

Example: find sum and product

Example: construct from roots

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Vieta's formulas ek bahut powerful shortcut hai jab apko quadratic equation ke roots ka sum aur product chahiye, lekin exact values nikalne ki zarurat nahi. Dekho, jab aap (xα)(xβ)(x - \alpha)(x - \beta) ko expand karte ho, toh coefficients automatically sum aur product ko encode kar dete hain. Formula simple hai: agar equation hai ax2+bx+c=0ax^2 + bx + c = 0, toh roots ka sum hoga b/a-b/a aur product hoga c/ac/a.

Yeh kyu important hai? Kyunki bahut sare problems mein tumhe sirf relationships chahiye, exact roots nahi. Jaise agar koi puche "roots ka square ka sum kya hai?" toh tum directly identity use kar sakte ho: α2+β2=(α+β)22αβ\alpha^2 + \beta^2 = (\alpha+\beta)^2 - 2\alpha\beta. Bina quadratic formula lagaye, seedha Vieta's se answer mil jayega.

Ek common mistake jo students karte hain: woh negative sign bhul jate hain sum mein. Yad rakho, sum hamesha b/a-b/a hai, sirf b/ab/a nahi. Yeh isliye kyunki factor form mein minus sign hota hai (xα)(x - \alpha). Aur agar equation monic nahi hai (matlab a1a \neq 1), toh ALWAYS divide by aa karo, warna answer galat ayega.

Vieta's ka sabse practical use? New equations banana jab transformed roots diye ho. Agar original equation ke roots α,β\alpha, \beta hain aur tumhe α2,β2\alpha^2, \beta^2 wala equation banana hai, toh pehle sum aur product of new roots calculate karo using Vieta's relationships, phir directly equation construct karo. Yeh technique competitions mein time bachati hai aur algebra ko bohot cleaner banati hai.

Go deeper — visual, from zero

Test yourself — Algebra — Introduction & Intermediate

Connections