IB Mathematics: Analysis and Approaches • Functions

Vieta's Formulas — AHL 2.12 Sum and product of roots of polynomial equations (Vieta) (HL)

Discover how the coefficients of any polynomial secretly encode the sums and products of its roots.

IB Mathematics Analysis and Approaches emblem with a function, curved graph, and sigma notation
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

For centuries, mathematicians have been fascinated by the relationship between the solutions of an equation and its coefficients. When you solve a quadratic like x2 − 5x + 6 = 0, you find roots x = 2 and x = 3. Notice that 2 + 3 = 5, which is the coefficient of x (with the opposite sign), and 2 × 3 = 6, which is the constant term. This is no coincidence — it is the starting point of a powerful set of results called Vieta's formulas.

These formulas are named after François Viète (1540–1603), a French mathematician who pioneered the use of letters to represent unknowns and constants. Before Viète, algebraic problems were written out in words, making patterns almost impossible to spot. His symbolic approach unlocked a systematic view of how roots and coefficients are connected — a view that remains central to algebra today.

~800 • Al-Khwarizmi's Algebra

The Persian mathematician al-Khwarizmi systematically solves quadratic equations using geometric arguments, laying the groundwork for the study of roots and coefficients.

1591 • Viète Introduces Symbolic Algebra

François Viète publishes In Artem Analyticem Isagoge, using letters for both knowns and unknowns, and discovers the systematic relationship between a polynomial's roots and its coefficients.

1629 • Albert Girard Generalises

Girard extends Viète's results to polynomials of any degree, introducing the concept of elementary symmetric polynomials and acknowledging complex roots.

1799 • Fundamental Theorem of Algebra

Gauss proves that every polynomial of degree n has exactly n roots (counted with multiplicity) over the complex numbers, fully validating Vieta's formulas for all polynomials.

The central question Vieta's formulas answer is: Can we learn about the roots of a polynomial without actually solving it? The answer is a resounding yes — and the information is hiding in plain sight within the coefficients.

SECTION 2

Core Principles & Definitions

Vieta's formulas connect the roots (also called zeros or solutions) of a polynomial to its coefficients. Before diving into the formulas themselves, you need to understand a few foundational ideas that make the whole framework work.

1

Factored Form ↔ Expanded Form

Any polynomial of degree n with leading coefficient a and roots α₁, α₂, …, αₙ can be written as a(x − α₁)(x − α₂)⋯(x − αₙ). Expanding this product and matching coefficients produces Vieta's formulas.
2

Elementary Symmetric Polynomials

Each Vieta formula involves a symmetric expression in the roots — the sum of all roots, the sum of all pairwise products, the sum of all triple products, and so on. These are called elementary symmetric polynomials.
3

Sign Alternation

Vieta's formulas include alternating signs. The sum of roots equals −(second coefficient)/(leading coefficient), and the product of all roots equals (−1)ⁿ × (constant term)/(leading coefficient). This sign pattern comes from expanding (x − α) factors.
4

Works for All Root Types

Vieta's formulas hold whether the roots are real, irrational, or complex — including repeated roots. This universality is what makes them so powerful in IB HL Mathematics.
✦

KEY TAKEAWAY

Think of a polynomial's coefficients as a nutrition label for the equation. Just as you can read total calories, sugar, and protein from the label without cooking the meal, Vieta's formulas let you read the sum, pairwise products, and overall product of the roots without solving the equation. The roots are the "ingredients"; the coefficients summarise them.

SECTION 3

Visual Explanation — Roots Meet Coefficients

The diagram below illustrates how the roots of a quadratic x2 − 5x + 6 = 0 relate to the coefficients through Vieta's formulas. The parabola crosses the x-axis at x = 2 and x = 3, and those two intercepts encode information that matches the polynomial's coefficients exactly.

xy0123412α = 2β = 3α + β = 5Vieta's Checkα + β = 2 + 3 = 5 = −(−5)/1 ✓α · β = 2 × 3 = 6 = 6/1 ✓for x² − 5x + 6 = 0y = x² − 5x + 6 = (x − 2)(x − 3)
The parabola y = x² − 5x + 6 crosses the x-axis at α = 2 and β = 3. The sum of roots (2 + 3 = 5) matches the negated coefficient of x divided by the leading coefficient, and the product (2 × 3 = 6) matches the constant term divided by the leading coefficient.

In the diagram, the two cyan dots mark the roots α = 2 and β = 3. The dashed amber line connecting them reminds us that their sum equals 5, matching −(−5)/1. The information box confirms both Vieta relations. This visual pattern generalises: for higher-degree polynomials with more roots, each symmetric combination of roots is encoded in a corresponding coefficient.

SECTION 4

Mathematical Framework

Let us build the formulas step by step, starting from the quadratic case and then generalising to polynomials of any degree.

Quadratic: ax² + bx + c = 0

Suppose the quadratic ax2 + bx + c = 0 has roots α and β. Because a(x − α)(x − β) = ax2 − a(α + β)x + aαβ, matching coefficients gives us two powerful identities.

SUM OF ROOTS (QUADRATIC)

α+β=−b/aα + β = −b / a

α, β = roots of the quadratic; a = leading coefficient; b = coefficient of x

PRODUCT OF ROOTS (QUADRATIC)

αβ=c/aαβ = c / a

c = constant term; a = leading coefficient

Cubic: ax³ + bx² + cx + d = 0

For a cubic with roots α, β, and γ, the same expansion technique — expanding a(x − α)(x − β)(x − γ) and comparing — yields three formulas.

VIETA'S FORMULAS FOR A CUBIC

α+β+γ=−b/aαβ+αγ+βγ=c/aαβγ=−d/aα + β + γ = −b/a αβ + αγ + βγ = c/a αβγ = −d/a

The first formula gives the sum of roots, the second gives the sum of all pairwise products, and the third gives the product of all three roots. Notice the alternating signs: −, +, −.

General Degree n

GENERAL VIETA'S FORMULA

∑(productsofrootstakenkatatime)=(−1)k×an−k/an∑ (products of roots taken k at a time) = (−1)ᵏ × aₙ₋ₖ / aₙ

For a degree-n polynomial aₙxⁿ + aₙ₋₁xⁿ⁻¹ + ⋯ + a₁x + a₀ = 0 with roots α₁, α₂, …, αₙ, the sum of all products of roots taken k at a time equals (−1)ᵏ × aₙ₋ₖ / aₙ, for k = 1, 2, …, n.

💡

IB Exam Tip

On the IB HL exam, you will most commonly apply Vieta's formulas to quadratics and cubics. When the polynomial is monic (leading coefficient = 1), the formulas simplify: the sum of roots is just −(coefficient of the second-highest power), and the product of all roots is (−1)ⁿ times the constant term.

SECTION 5

Degree-by-Degree Breakdown

The following table and diagram organise Vieta's formulas for the polynomial degrees you are most likely to encounter in IB HL Mathematics. Study the pattern carefully — each new degree adds one more symmetric relation.

DegreePolynomial FormVieta's Relations
2 (Quadratic)ax² + bx + c = 0α + β = −b/a αβ = c/a
3 (Cubic)ax³ + bx² + cx + d = 0α + β + γ = −b/a αβ + αγ + βγ = c/a αβγ = −d/a
4 (Quartic)ax⁴ + bx³ + cx² + dx + e = 0∑αᵢ = −b/a ∑αᵢαⱼ = c/a ∑αᵢαⱼαₖ = −d/a α₁α₂α₃α₄ = e/a

Vieta's formulas for degrees 2, 3, and 4

Vieta's Formulas — The PatternQUADRATIC (n = 2)ax² + bx + c = 0α + β = −b/aαβ = c/a2 relationsCUBIC (n = 3)ax³ + bx² + cx + d = 0α+β+γ = −b/aαβ+αγ+βγ = c/aαβγ = −d/a3 relationsQUARTIC (n = 4)ax⁴+bx³+cx²+dx+e = 0∑αᵢ = −b/a∑αᵢαⱼ = c/a∑αᵢαⱼαₖ = −d/aα₁α₂α₃α₄ = e/a4 relationsTHE GENERAL PATTERN (degree n)aₙxⁿ + aₙ₋₁xⁿ⁻¹ + … + a₁x + a₀ = 0Sum of roots taken k at a time = (−1)ᵏ · aₙ₋ₖ / aₙk = 1: sum of roots | k = 2: sum of pairwise products | … | k = n: product of all rootsA degree-n polynomial always gives exactly n Vieta relations.
Vieta's formulas for degree 2, 3, and 4 polynomials, with the general pattern shown below. Each degree n produces exactly n symmetric relations between the roots and coefficients.

Notice the elegant pattern: as the degree increases, each new formula introduces a deeper level of symmetric combination. For a quadratic you get the sum and the product. For a cubic you add the sum of pairwise products. For a quartic, you further add the sum of triple products. The sign alternates: positive for even-numbered groupings, negative for odd-numbered groupings, always dividing by the leading coefficient.

SECTION 6

Worked Example — Cubic Equation

Let's work through a full IB-style problem. Suppose the cubic equation 2x3 − 7x2 + x + 10 = 0 has roots α, β, γ. Without solving the equation, find (a) α + β + γ, (b) αβ + αγ + βγ, (c) αβγ, and (d) α² + β² + γ².

Finding Symmetric Functions of Roots for 2x³ − 7x² + x + 10 = 0

  1. 1

    Step 1 — Identify Coefficients

    Compare 2x³ − 7x² + x + 10 = 0 with the general form ax³ + bx² + cx + d = 0. We read off: a = 2, b = −7, c = 1, d = 10.
    a = 2, b = −7, c = 1, d = 10
  2. 2

    Step 2 — Apply Vieta's First Formula (Sum of Roots)

    α + β + γ = −b/a = −(−7)/2 = 7/2.
    α + β + γ = 7/2
  3. 3

    Step 3 — Apply Vieta's Second Formula (Sum of Pairwise Products)

    αβ + αγ + βγ = c/a = 1/2.
    αβ + αγ + βγ = 1/2
  4. 4

    Step 4 — Apply Vieta's Third Formula (Product of All Roots)

    αβγ = −d/a = −10/2 = −5.
    αβγ = −5
  5. 5

    Step 5 — Derive α² + β² + γ² Using an Identity

    Use the algebraic identity α² + β² + γ² = (α + β + γ)² − 2(αβ + αγ + βγ). Substitute the values from Steps 2 and 3: α² + β² + γ² = (7/2)² − 2(1/2) = 49/4 − 1 = 45/4.
    α² + β² + γ² = 45/4
💡

Key Technique

Step 5 shows a common IB technique: combining Vieta's formulas with algebraic identities to find expressions like α² + β² + γ², 1/α + 1/β + 1/γ, or α³ + β³ + γ³ without solving the equation. In general, any symmetric expression in the roots can be written in terms of the elementary symmetric polynomials.

SECTION 7

Strengths, Limitations & Useful Extensions

Vieta's formulas are remarkably versatile, but like any tool, they work best when you understand both what they can and cannot do. The table below summarises the key considerations.

StrengthsLimitations
Find symmetric expressions of roots without solving the equation — saves time on exams.Cannot determine individual roots unless combined with additional equations or constraints.
Work for all root types: real, complex, rational, irrational, or repeated.Only give symmetric combinations — non-symmetric expressions like α − β require extra work.
Enable construction of new polynomials whose roots are related to known ones (e.g., squares of roots).Require careful tracking of signs — a common source of error, especially for higher degrees.
Provide a quick check after solving: verify that your roots satisfy the coefficient relations.For polynomials of degree 5+, finding individual roots is impossible in general (Abel–Ruffini theorem), but Vieta's formulas still hold.

Strengths and limitations of Vieta's formulas

Useful Extensions for IB HL

  • Reciprocal of roots: 1/α + 1/β = (α + β)/(αβ) — rewrite using Vieta's values.
  • Sum of squares: α² + β² = (α + β)² − 2αβ.
  • Sum of cubes: α³ + β³ = (α + β)³ − 3αβ(α + β).
  • Constructing new polynomials: If α, β are roots of a quadratic, find the quadratic whose roots are α², β² using Vieta's in reverse.
✦

KEY TAKEAWAY

Vieta's formulas don't tell you which roots a polynomial has, but they tell you everything about how the roots relate to each other as a group. Think of it like knowing a sports team's total score and average without knowing each player's individual stats — the aggregate information is powerful on its own.

SECTION 8

Connection to Advanced Theory

Vieta's formulas sit at a crossroads in mathematics, linking the IB HL curriculum to deeper topics you may encounter in university. Understanding where these formulas lead can give you a richer perspective on why they matter.

IB HL Level (Vieta's Formulas)University Level Extension
Sum and product of roots of quadratics and cubicsElementary symmetric polynomials and Newton's identities (Abstract Algebra)
Constructing polynomials from root relationshipsGalois theory — classifying polynomials by the symmetries of their roots
α² + β² and other power sums via identitiesNewton's power sum formulas: pₖ = α₁ᵏ + α₂ᵏ + ⋯ + αₙᵏ expressed recursively using Vieta's values
Using Vieta's to verify rootsResultants and discriminants — using symmetric functions to detect common roots between polynomials

Vieta's formulas as a bridge to university mathematics

One particularly elegant connection worth noting: the discriminant of a quadratic, Δ = b² − 4ac, can be rewritten in terms of roots as Δ = a²(α − β)². This expression (α − β)² equals (α + β)² − 4αβ, which uses both Vieta relations. So the discriminant — which tells you whether roots are real or complex — is itself a consequence of Vieta's formulas. This illustrates how deeply these formulas are woven into the fabric of polynomial theory.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A quadratic equation has roots α and β. Without performing any calculation, explain why α + β and αβ always have exact values even when α and β themselves are irrational.
Show answer
By Vieta's formulas, α + β = −b/a and αβ = c/a, where a, b, c are the rational (or integer) coefficients of the quadratic. These ratios are computed entirely from the coefficients, so they are rational regardless of whether the individual roots involve square roots or other irrational numbers. In other words, the symmetric combinations of roots are "encoded" in the coefficients, and the irrational parts cancel out when the roots are summed or multiplied.

Question 2: BASIC CALCULATION

The equation 3x² − 12x + 7 = 0 has roots α and β. Find α + β and αβ.
Show answer
Using Vieta's formulas with a = 3, b = −12, c = 7: α + β = −b/a = −(−12)/3 = 4, and αβ = c/a = 7/3. You can verify this using the quadratic formula: the roots are (12 ± √(144 − 84))/6 = (12 ± √60)/6 = 2 ± √(60)/6. Their sum is 4 and their product is 4 − 60/36 = 4 − 5/3 = 7/3, confirming the Vieta results.

Question 3: INTERMEDIATE

The cubic equation x³ − 6x² + 11x − 6 = 0 has roots α, β, γ. Find the value of α²β² + α²γ² + β²γ².
Show answer
First apply Vieta's formulas: α + β + γ = 6, αβ + αγ + βγ = 11, αβγ = 6. Now note that α²β² + α²γ² + β²γ² = (αβ + αγ + βγ)² − 2αβγ(α + β + γ). Substituting: (11)² − 2(6)(6) = 121 − 72 = 49. The identity used here comes from squaring the sum of pairwise products and recognising the cross terms involve the product of all three roots times the sum of roots.

Question 4: APPLIED

A manufacturer models profit P (in thousands) as a function of production level x using P(x) = −2x³ + 15x² − 36x + 27. The break-even levels are the roots of P(x) = 0. Without solving, determine the average break-even level and the product of all three break-even levels.
Show answer
The equation −2x³ + 15x² − 36x + 27 = 0 has a = −2, b = 15, c = −36, d = 27. By Vieta's formulas, the sum of roots α + β + γ = −b/a = −15/(−2) = 15/2 = 7.5. Since there are three break-even levels, the average is 7.5/3 = 2.5 thousand units. The product of all roots is αβγ = −d/a = −27/(−2) = 13.5. This product can sometimes be interpreted as a measure of the combined scale of break-even points, useful for sensitivity analysis in production planning.

Question 5: CRITICAL THINKING

The quadratic x² + px + q = 0 has roots α and β. A second quadratic has roots α + 1/β and β + 1/α. Find the second quadratic in terms of p and q. State any restrictions on q.
Show answer
From Vieta's formulas applied to the first quadratic: α + β = −p and αβ = q (with q ≠ 0, since we divide by both roots). The sum of the new roots is (α + 1/β) + (β + 1/α) = (α + β) + (α + β)/(αβ) = −p + (−p)/q = −p(1 + 1/q) = −p(q + 1)/q. The product of the new roots is (α + 1/β)(β + 1/α) = αβ + 1 + 1 + 1/(αβ) = q + 2 + 1/q = (q² + 2q + 1)/q = (q + 1)²/q. By Vieta's formulas in reverse, the second quadratic is x² − [sum]x + [product] = 0, giving x² + p(q + 1)/q · x + (q + 1)²/q = 0, or equivalently qx² + p(q + 1)x + (q + 1)² = 0. The restriction q ≠ 0 is required to ensure the original roots are non-zero so that 1/α and 1/β exist.

SUMMARY

Lesson Summary

Summary

Vieta's formulas establish a direct link between the coefficients of a polynomial and symmetric combinations of its roots. For a quadratic ax² + bx + c = 0 with roots α and β, the sum of roots equals −b/a and the product of roots equals c/a. For a cubic ax³ + bx² + cx + d = 0 with roots α, β, γ, the three relations are α + β + γ = −b/a, αβ + αγ + βγ = c/a, and αβγ = −d/a, with the signs following a predictable alternating pattern.

The general formula for a degree-n polynomial states that the sum of all products of roots taken k at a time equals (−1)ᵏ × aₙ₋ₖ/aₙ. By pairing Vieta's formulas with algebraic identities — such as α² + β² = (α + β)² − 2αβ — you can evaluate a wide range of symmetric expressions without ever finding individual roots. This technique is a cornerstone of the IB HL exam and provides a gateway to advanced abstract algebra at the university level.

Varsity Tutors • IB Mathematics: Analysis and Approaches • Vieta's Formulas