Grade 12 IB Math is live, AA and AI · see the IB course

Grade 12 · MHF4U · Advanced Functions

MHF4U: Solving Polynomial Equations

A polynomial equation is solved by factoring. Get zero on one side, break the polynomial into factors, and set each factor equal to zero. The roots are the xx-intercepts of the graph, so a sketch tells you how many to expect.

How It Works

First, move everything to one side so the equation reads P(x)=0P(x) = 0. A product is zero only when one of its factors is, which is the whole method; it does not work with a 55 on the right.

Then factor, in this order. Take out a common factor, including a plain xx. Look for grouping in a four-term cubic. Look for a difference of squares or a sum or difference of cubes. If none of those works, use the factor theorem: test the rational candidates ±pq\pm\frac{p}{q}, with pp dividing the constant term and qq the leading coefficient, until P(a)=0P(a) = 0, then divide by x−ax - a.

Each division drops the degree by one. Stop when what is left is a quadratic, and factor it or use the quadratic formula. A quadratic factor with a negative discriminant has no real zeros, so it contributes no roots.

A degree nn equation has at most nn real roots. Fewer is normal: a repeated factor counts once, and an irreducible quadratic contributes none. A quartic can have four, two or zero real roots, and a cubic always has at least one.

Check by substituting each root back, or by looking at where the graph crosses the axis. And write out every root, including 00 when xx was the common factor; it is the one students most often drop.

5 Worked Examples

Easy first, test level last. Try each one on paper, then open the solution.

  1. Easy

    Solve x3−9x=0x^3 - 9x = 0.
    Show solution
    1. Common factor: x(x2−9)=0x(x^2 - 9) = 0.
    2. Difference of squares: x(x−3)(x+3)=0x(x - 3)(x + 3) = 0.
    3. Each factor to zero: x=0x = 0, x=3x = 3, x=−3x = -3.

    Answer: x=−3,0,3x = -3, 0, 3

  2. Easy

    Solve x3−3x2−4x+12=0x^3 - 3x^2 - 4x + 12 = 0.
    Show solution
    1. Group: x2(x−3)−4(x−3)=0x^2(x - 3) - 4(x - 3) = 0.
    2. Common factor: (x−3)(x2−4)=0(x - 3)(x^2 - 4) = 0, then (x−3)(x−2)(x+2)=0(x - 3)(x - 2)(x + 2) = 0.

    Answer: x=−2,2,3x = -2, 2, 3

  3. Medium

    Solve x3−4x2+x+6=0x^3 - 4x^2 + x + 6 = 0.
    Show solution
    1. Grouping fails, so use the factor theorem. Candidates are factors of 66: ±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6.
    2. P(1)=1−4+1+6=4P(1) = 1 - 4 + 1 + 6 = 4. P(−1)=−1−4−1+6=0P(-1) = -1 - 4 - 1 + 6 = 0, so x+1x + 1 is a factor.
    3. Divide by x+1x + 1: the quotient is x2−5x+6=(x−2)(x−3)x^2 - 5x + 6 = (x - 2)(x - 3).
    4. (x+1)(x−2)(x−3)=0(x + 1)(x - 2)(x - 3) = 0.

    Answer: x=−1,2,3x = -1, 2, 3

  4. Medium

    Solve 2x3+3x2−8x+3=02x^3 + 3x^2 - 8x + 3 = 0.
    Show solution
    1. Leading coefficient 22 and constant 33: candidates are ±1,±3,±12,±32\pm 1, \pm 3, \pm\frac{1}{2}, \pm\frac{3}{2}.
    2. P(1)=2+3−8+3=0P(1) = 2 + 3 - 8 + 3 = 0, so x−1x - 1 is a factor.
    3. Divide by x−1x - 1: 2x2+5x−32x^2 + 5x - 3, which factors as (2x−1)(x+3)(2x - 1)(x + 3).
    4. (x−1)(2x−1)(x+3)=0(x - 1)(2x - 1)(x + 3) = 0.

    Answer: x=−3,12,1x = -3, \frac{1}{2}, 1

  5. Test level

    Solve 2x4−5x3−7x2+10x+6=02x^4 - 5x^3 - 7x^2 + 10x + 6 = 0. Give exact answers.
    Show solution
    1. Candidates: ±1,±2,±3,±6,±12,±32\pm 1, \pm 2, \pm 3, \pm 6, \pm\frac{1}{2}, \pm\frac{3}{2}. P(1)=6P(1) = 6 and P(−1)=−4P(-1) = -4, so try P(3)=162−135−63+30+6=0P(3) = 162 - 135 - 63 + 30 + 6 = 0. x−3x - 3 is a factor.
    2. Synthetic division by 33 on 2,−5,−7,10,62, -5, -7, 10, 6 gives 2,1,−4,−22, 1, -4, -2 with remainder 00: the quotient is 2x3+x2−4x−22x^3 + x^2 - 4x - 2.
    3. Group the cubic: x2(2x+1)−2(2x+1)=(2x+1)(x2−2)x^2(2x + 1) - 2(2x + 1) = (2x + 1)(x^2 - 2).
    4. (x−3)(2x+1)(x2−2)=0(x - 3)(2x + 1)(x^2 - 2) = 0. The last factor gives x2=2x^2 = 2, so x=±2x = \pm\sqrt{2}.

    Answer: x=3,−12,2,−2x = 3, -\frac{1}{2}, \sqrt{2}, -\sqrt{2}

Learn It on Martian Lab

Martian Lab teaches this in the Factor Theorem and Rational Zeros lesson of its MHF4U Polynomial Equations unit. Watch it, then take the Polynomial Equations practice tests to see if it stuck.

Watch the Factor Theorem and Rational Zeros lesson free

Start Practicing

No credit card required to start.

Get started