📘 CodingMarble Learn

Roots of Polynomials and Polynomial Identities

If a polynomial's roots are known, its coefficients are fixed, and the other way round. For ax³ + bx² + cx + d = 0 with roots α, β, γ: α + β + γ = −b/a, αβ + βγ + γα = c/a and αβγ = −d/a (Vieta's formulas). These let you find expressions in the roots without solving, and build new equations whose roots are changed (transformed roots) by a substitution. A polynomial identity is an equation true for every value of the variable; we prove it by expanding or factorising one side until it equals the other.

🎬 Step-by-step story

  1. Here is the graph of a cubic. It crosses the x-axis three times: those points are its roots a, b and c.
  2. Multiply out (x − a)(x − b)(x − c). The x² coefficient is minus the sum of the roots. So the roots' sum can be read straight from the equation.
  3. The x coefficient is the sum of roots in pairs, and the constant is minus their product. Every coefficient tells you something about the roots.
  4. Now add 1 to every root. The whole curve slides 1 unit right. To get the new equation, replace x by (x − 1).
  5. An identity is true for every value. Cut a cube of side (p + q) into 8 blocks: 1 + 3 + 3 + 1. That is (p + q)³ = p³ + 3p²q + 3pq² + q³.
  6. Your turn: move the roots, shift them, and watch the coefficients and the checks change.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do the roots fix the equation?

A cubic with leading coefficient 1 is (x − a)(x − b)(x − c). Once you know a, b, c, every coefficient is fixed by multiplying out.

Why is there a minus sign in the sum of roots?

Each bracket is (x − root). When you expand, the x² term collects −a − b − c, so the coefficient is minus the sum.

Why is the product −d/a for a cubic but +e/a for a quartic?

The constant term is (−a)(−b)(−c) = −abc for three roots, but four minus signs multiply to plus.

To make roots bigger by 1, why do I replace x by x − 1, not x + 1?

The new curve has the same height at x as the old curve at x − 1. So the old rule must be fed x − 1. Watch the curve slide right in step 3.

What is the difference between an identity and an equation?

An identity holds for all values (the cube always splits 1 + 3 + 3 + 1). An equation holds only at certain values, like the roots.

Do Vieta's formulas work if the roots are equal?

Yes. Try roots 2, 2, −1 in the free play: count the repeated root twice and the formulas still match.

Roots and coefficients of a quadratic

A root of a polynomial is a value of x that makes it equal to zero. On the graph, real roots are where the curve crosses the x-axis.

If ax² + bx + c = 0 has roots α and β, then ax² + bx + c = a(x − α)(x − β). Expanding the right side gives a(x² − (α + β)x + αβ). Compare coefficients:

α + β = −b/a and αβ = c/a.

This works even if the roots are complex numbers.

Cubics and quartics (Vieta's formulas)

For ax³ + bx² + cx + d = 0 with roots α, β, γ:

For ax⁴ + bx³ + cx² + dx + e = 0 with roots α, β, γ, δ:

Pattern: the signs go −, +, −, + along the coefficients after the first.

Useful identities for roots (no solving needed):

Building an equation from its roots

Go backwards: if you know Σα, Σαβ and αβγ, the cubic is

x³ − (Σα)x² + (Σαβ)x − αβγ = 0

Multiply through to clear fractions if needed. Example: roots 1, 2, 3 give Σα = 6, Σαβ = 11, αβγ = 6, so x³ − 6x² + 11x − 6 = 0.

Transformed roots

Suppose an equation has roots α, β, γ and you want an equation whose roots are changed in the same way, for example 2α, 2β, 2γ.

Substitution method: let the new root be w, write the old root in terms of w and put it into the old equation.

The other way: compute the new Σ, Σ pairs and product from the old ones. Substitution is usually quicker.

Polynomial identities and how to prove them

An identity is true for every value of the variables (symbol ≡). An equation is true only for some values.

To prove an identity: start with one side (usually the more complicated), expand or factorise step by step, and reach the other side. Do not work on both sides at once as if it were an equation you were solving.

Useful ones:

Identities let us do mental arithmetic too: 49 × 51 = (50 − 1)(50 + 1) = 2500 − 1 = 2499.

The binomial theorem

Expanding (a + b)ⁿ by hand gets long. The binomial theorem gives the answer directly:

(a + b)ⁿ = Σ C(n, k) aⁿ⁻ᵏ bᵏ, for k = 0 to n,

where C(n, k) = n! ÷ (k!(n − k)!) are the numbers in Pascal's triangle (1; 1 1; 1 2 1; 1 3 3 1; 1 4 6 4 1 …).

The 3D cube shows n = 3: one p³ block, three p²q blocks, three pq² blocks and one q³ block: 1, 3, 3, 1.

Try it: a practical

In the 3D: set roots −1, 2, 2. Predict the sum, the sum of pairs and the product, then check the readout. Set k = −2 and see which way the curve moves.

At home: build a 3 × 3 × 3 cube from 27 sugar cubes or dice. Split it into a 2 × 2 × 2 block, three 2 × 2 × 1 slabs, three 2 × 1 × 1 rods and one single cube. Count: 8 + 12 + 6 + 1 = 27. You have proved (2 + 1)³ by hand.

Key formulas and definitions

Worked examples

1. The roots of 2x³ − 6x² + 5x + 4 = 0 are α, β, γ. Find Σα, Σαβ and αβγ.

a = 2, b = −6, c = 5, d = 4. Σα = −b/a = 6/2 = 3. Σαβ = c/a = 5/2. αβγ = −d/a = −4/2 = −2.

2. For the same equation, find α² + β² + γ².

(Σα)² − 2Σαβ = 3² − 2 × 5/2 = 9 − 5 = 4.

3. Find 1/α + 1/β + 1/γ for the same equation.

Σαβ ÷ αβγ = (5/2) ÷ (−2) = −5/4.

4. Find a cubic with roots 1, −2 and 3.

Σα = 2, Σαβ = (1)(−2) + (−2)(3) + (3)(1) = −2 − 6 + 3 = −5, αβγ = −6. Equation: x³ − 2x² − 5x + 6 = 0.

5. x³ − 3x + 1 = 0 has roots α, β, γ. Find an equation with roots α + 1, β + 1, γ + 1.

Let w = x + 1, so x = w − 1. (w − 1)³ − 3(w − 1) + 1 = w³ − 3w² + 3w − 1 − 3w + 3 + 1 = w³ − 3w² + 3 = 0.

6. Same equation: find one with roots 2α, 2β, 2γ.

x = w/2: w³/8 − 3w/2 + 1 = 0. Multiply by 8: w³ − 12w + 8 = 0.

7. Prove that (x² + y²)² ≡ (x² − y²)² + (2xy)².

RHS = x⁴ − 2x²y² + y⁴ + 4x²y² = x⁴ + 2x²y² + y⁴ = (x² + y²)² = LHS. ∎

8. Use the binomial theorem to expand (x + 2)⁴.

Coefficients 1, 4, 6, 4, 1: x⁴ + 4x³(2) + 6x²(4) + 4x(8) + 16 = x⁴ + 8x³ + 24x² + 32x + 16.

Common mistakes

Practice quiz

1. For x² − 7x + 10 = 0, the sum of the roots is:
2. For x³ + 2x² − 5x − 6 = 0, the product of the roots is:
3. α² + β² + γ² equals:
4. To get roots α − 3 from an equation in x, replace x by:
5. The coefficients of (a + b)³ are:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are Vieta's formulas?

Rules that link the roots of a polynomial to its coefficients, e.g. for a cubic: sum = −b/a, sum of pairs = c/a, product = −d/a.

What are transformed roots?

Roots that are changed in the same way (like α + 1, 2α or 1/α). You find their equation by a substitution in the original equation.

How do you prove a polynomial identity?

Start from one side, expand or factorise step by step, and show it becomes exactly the other side.

Where this is taught

England (GCSE, A level)Year 12D Further algebra and functions (part 1)
USA (Common Core, NGSS, AP)Grade 11Polynomial, rational and radical relationships
USA (Common Core, NGSS, AP)Grade 11Polynomial, rational and radical relationships
Japan高校(専門学科)1〜3年Advanced Mathematics II

Learn first

Learn next

Related lessons

All Maths lessons