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.

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.

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.

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.

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.

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
α, β = roots of the quadratic; a = leading coefficient; b = coefficient of x
PRODUCT OF ROOTS (QUADRATIC)
αβ = 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
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
∑ (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.

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.

Vieta's formulas for degrees 2, 3, and 4
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 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.

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
Step 1 — Identify CoefficientsCompare 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
Step 2 — Apply Vieta's First Formula (Sum of Roots)α + β + γ = −b/a = −(−7)/2 = 7/2.
α + β + γ = 7/2
3
Step 3 — Apply Vieta's Second Formula (Sum of Pairwise Products)αβ + αγ + βγ = c/a = 1/2.
αβ + αγ + βγ = 1/2
4
Step 4 — Apply Vieta's Third Formula (Product of All Roots)αβγ = −d/a = −10/2 = −5.
αβγ = −5
5
Step 5 — Derive α² + β² + γ² Using an IdentityUse 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.

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.

Strengths and limitations of Vieta's formulas
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.

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.

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.

Vieta's formulas as a bridge to university mathematics
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

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.

Practice Problems

PROBLEM 1CONCEPTUAL
A quadratic equation has roots α and β. Without performing any calculation, explain why α + β and αβ always have exact values even when α and β themselves are irrational.
PROBLEM 2BASIC CALCULATION
The equation 3x² − 12x + 7 = 0 has roots α and β. Find α + β and αβ.
PROBLEM 3INTERMEDIATE
The cubic equation x³ − 6x² + 11x − 6 = 0 has roots α, β, γ. Find the value of α²β² + α²γ² + β²γ².
PROBLEM 4APPLIED
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.
PROBLEM 5CRITICAL 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.

Lesson 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