29

From Zero to Engineer

The factor theorem and factoring polynomials

When x − a is a factor of a polynomial, how to find the first root by trial, and how to split a cubic into three linear factors.

The remainder theorem from the previous lesson has a corollary on which all polynomial factoring rests: if f(a) = 0, then x − a is a factor of f(x). That gives a simple recipe for factoring a cubic. First find one root, usually among the small whole numbers. Then divide by the corresponding binomial, which drops the degree to two. What is left is a quadratic, and the quadratic formula finishes the job.

The factor theorem

If the polynomial f(x) is divided by x − a, the remainder is f(a). If f(a) = 0, then x − a is a factor of f(x).

First example

f(x)=2x3+x213x+6f(x) = 2x^{3} + x^{2} - 13x + 6
(2x3+x213x+6):(x2)(2x^{3} + x^{2} - 13x + 6) : (x - 2)
f(x)=[(2x+1)x13]x+6f(x) = [(2x + 1)x - 13]x + 6
f(2)=[(22+1)213]2+6=(3)2+6=6+6=0f(2) = [(2\cdot 2 + 1)\cdot 2 - 13]\cdot 2 + 6 = (-3)\cdot 2 + 6 = -6 + 6 = 0
(2x3+x213x+6):(x2)=2x2+5x3(2x^{3} + x^{2} - 13x + 6) : (x - 2) = 2x^{2} + 5x - 3
2x32x^{3}4x2- 4x^{2}
05x25x^{2}13x- 13x
5x25x^{2}10x- 10x
03x- 3x+6+ 6
3x- 3x+6+ 6
00
(x2)(2x2+5x3)=2x3+x213x+6(x - 2)(2x^{2} + 5x - 3) = 2x^{3} + x^{2} - 13x + 6
f(x)=2x3+x213x+6=(x2)(2x2+5x3)f(x) = 2x^{3} + x^{2} - 13x + 6 = (x - 2)(2x^{2} + 5x - 3)

The quadratic equation

f(x)=ax2+bx+cf(x) = ax^{2} + bx + c
ax2+bx+c=0,a0ax^{2} + bx + c = 0,\quad a \neq 0
x=b±b24ac2ax = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
a quadratic equation has two solutions
x=5±5242(3)22=5±25+244=5±494=5±74x = \frac{-5 \pm \sqrt{5^{2} - 4\cdot 2\cdot(-3)}}{2\cdot 2} = \frac{-5 \pm \sqrt{25 + 24}}{4} = \frac{-5 \pm \sqrt{49}}{4} = \frac{-5 \pm 7}{4}
x1=3x_{1} = -3
x2=12x_{2} = \tfrac{1}{2}
ax2+bx+c=a(xx1)(xx2)ax^{2} + bx + c = a(x - x_{1})(x - x_{2})
2x2+5x3=2(x+3)(x12)=(x+3)(2x1)2x^{2} + 5x - 3 = 2(x + 3)\left(x - \tfrac{1}{2}\right) = (x + 3)(2x - 1)
f(x)=2x3+x213x+6=(x2)(2x2+5x3)=(x2)(x+3)(2x1)f(x) = 2x^{3} + x^{2} - 13x + 6 = (x - 2)(2x^{2} + 5x - 3) = (x - 2)(x + 3)(2x - 1)

Second example

f(x)=x35x22x+24f(x) = x^{3} - 5x^{2} - 2x + 24
(x35x22x+24):(x3)(x^{3} - 5x^{2} - 2x + 24) : (x - 3)
f(x)=[(x5)x2]x+24f(3)=[(35)32]3+24=24+24=0f(x) = [(x - 5)x - 2]x + 24 \quad\Rightarrow\quad f(3) = [(3 - 5)\cdot 3 - 2]\cdot 3 + 24 = -24 + 24 = 0
(x35x22x+24):(x3)=x22x8(x^{3} - 5x^{2} - 2x + 24) : (x - 3) = x^{2} - 2x - 8
x3x^{3}3x2- 3x^{2}
02x2- 2x^{2}2x- 2x
2x2- 2x^{2}+6x+ 6x
08x- 8x+24+ 24
8x- 8x+24+ 24
00
(x3)(x22x8)=x35x22x+24(x - 3)(x^{2} - 2x - 8) = x^{3} - 5x^{2} - 2x + 24
f(x)=x35x22x+24=(x3)(x22x8)f(x) = x^{3} - 5x^{2} - 2x + 24 = (x - 3)(x^{2} - 2x - 8)
x=2±(2)241(8)21=2±4+322=2±62x = \frac{2 \pm \sqrt{(-2)^{2} - 4\cdot 1\cdot(-8)}}{2\cdot 1} = \frac{2 \pm \sqrt{4 + 32}}{2} = \frac{2 \pm 6}{2}
x1=2x_{1} = -2
x2=4x_{2} = 4
x22x8=(x+2)(x4)x^{2} - 2x - 8 = (x + 2)(x - 4)
f(x)=x35x22x+24=(x3)(x22x8)=(x3)(x+2)(x4)f(x) = x^{3} - 5x^{2} - 2x + 24 = (x - 3)(x^{2} - 2x - 8) = (x - 3)(x + 2)(x - 4)

Third example

f(x)=x36x27x+60f(x) = x^{3} - 6x^{2} - 7x + 60
(x36x27x+60):(x4)(x^{3} - 6x^{2} - 7x + 60) : (x - 4)
f(x)=[(x6)x7]x+60f(4)=[(46)47]4+60=60+60=0f(x) = [(x - 6)x - 7]x + 60 \quad\Rightarrow\quad f(4) = [(4 - 6)\cdot 4 - 7]\cdot 4 + 60 = -60 + 60 = 0
(x36x27x+60):(x4)=x22x15(x^{3} - 6x^{2} - 7x + 60) : (x - 4) = x^{2} - 2x - 15
x3x^{3}4x2- 4x^{2}
02x2- 2x^{2}7x- 7x
2x2- 2x^{2}+8x+ 8x
015x- 15x+60+ 60
15x- 15x+60+ 60
00
(x4)(x22x15)=x36x27x+60(x - 4)(x^{2} - 2x - 15) = x^{3} - 6x^{2} - 7x + 60
x22x15=(x+3)(x5)x^{2} - 2x - 15 = (x + 3)(x - 5)
(x + a)(x − b) = x² + (a − b)x − ab
f(x)=x36x27x+60=(x4)(x22x15)=(x4)(x+3)(x5)f(x) = x^{3} - 6x^{2} - 7x + 60 = (x - 4)(x^{2} - 2x - 15) = (x - 4)(x + 3)(x - 5)

When the first factor is not given

We look for a value k with f(k) = 0, trying the small whole numbers in turn and evaluating with the nested form - that is only a few multiplications per attempt.

f(x)=x3+5x22x24=[(x+5)x2]x24f(x) = x^{3} + 5x^{2} - 2x - 24 = [(x + 5)x - 2]x - 24
k=1    [(1+5)12]124=200k = 1 \;\Rightarrow\; [(1 + 5)\cdot 1 - 2]\cdot 1 - 24 = -20 \neq 0
k=1    [(1+5)(1)2](1)24=180k = -1 \;\Rightarrow\; [(-1 + 5)\cdot(-1) - 2]\cdot(-1) - 24 = -18 \neq 0
k=2    [(2+5)22]224=0k = 2 \;\Rightarrow\; [(2 + 5)\cdot 2 - 2]\cdot 2 - 24 = 0
(x3+5x22x24):(x2)=x2+7x+12(x^{3} + 5x^{2} - 2x - 24) : (x - 2) = x^{2} + 7x + 12
x3x^{3}2x2- 2x^{2}
07x27x^{2}2x- 2x
7x27x^{2}14x- 14x
012x12x24- 24
12x12x24- 24
00
(x2)(x2+7x+12)=x3+5x22x24(x - 2)(x^{2} + 7x + 12) = x^{3} + 5x^{2} - 2x - 24
x2+7x+12=(x+3)(x+4)x^{2} + 7x + 12 = (x + 3)(x + 4)
x² + (a + b)x + ab = (x + a)(x + b)
f(x)=x3+5x22x24=(x2)(x+3)(x+4)f(x) = x^{3} + 5x^{2} - 2x - 24 = (x - 2)(x + 3)(x + 4)

The same method with a leading coefficient other than one

f(x)=2x39x2+7x+6=[(2x9)x+7]x+6f(x) = 2x^{3} - 9x^{2} + 7x + 6 = [(2x - 9)x + 7]x + 6
k=1    [(219)1+7]1+6=60k = 1 \;\Rightarrow\; [(2\cdot 1 - 9)\cdot 1 + 7]\cdot 1 + 6 = 6 \neq 0
k=1    [(2(1)9)(1)+7](1)+6=120k = -1 \;\Rightarrow\; [(2\cdot(-1) - 9)\cdot(-1) + 7]\cdot(-1) + 6 = -12 \neq 0
k=2    [(229)2+7]2+6=0k = 2 \;\Rightarrow\; [(2\cdot 2 - 9)\cdot 2 + 7]\cdot 2 + 6 = 0
(2x39x2+7x+6):(x2)=2x25x3(2x^{3} - 9x^{2} + 7x + 6) : (x - 2) = 2x^{2} - 5x - 3
2x32x^{3}4x2- 4x^{2}
05x2- 5x^{2}+7x+ 7x
5x2- 5x^{2}+10x+ 10x
03x- 3x+6+ 6
3x- 3x+6+ 6
00
(x2)(2x25x3)=2x39x2+7x+6(x - 2)(2x^{2} - 5x - 3) = 2x^{3} - 9x^{2} + 7x + 6
x=5±(5)242(3)22=5±25+244=5±74x = \frac{5 \pm \sqrt{(-5)^{2} - 4\cdot 2\cdot(-3)}}{2\cdot 2} = \frac{5 \pm \sqrt{25 + 24}}{4} = \frac{5 \pm 7}{4}
x1=3x_{1} = 3
x2=12x_{2} = -\tfrac{1}{2}
2x25x3=2(x3)(x+12)=(x3)(2x+1)2x^{2} - 5x - 3 = 2(x - 3)\left(x + \tfrac{1}{2}\right) = (x - 3)(2x + 1)
2x39x2+7x+6=(x2)(2x25x3)=(x2)(x3)(2x+1)2x^{3} - 9x^{2} + 7x + 6 = (x - 2)(2x^{2} - 5x - 3) = (x - 2)(x - 3)(2x + 1)

Frequently asked questions

What does the factor theorem say?

That if f(a) = 0, then x − a is a factor of f(x). It follows from the remainder theorem: the remainder on division by x − a equals f(a), so a zero value means a zero remainder.

How do you find the first root when nobody gives it to you?

Try the small whole numbers in turn: 1, −1, 2, −2, 3 and so on. It pays to start with the divisors of the constant term, because only those can be whole-number roots.

What is the quadratic formula?

For ax² + bx + c = 0 with a ≠ 0 we have x = (−b ± √(b² − 4ac)) / (2a). A quadratic equation in general form has two solutions.

How do you write a quadratic as a product once you know its roots?

With ax² + bx + c = a(x − x₁)(x − x₂). For 2x² + 5x − 3 the roots are −3 and 1/2, so 2x² + 5x − 3 = 2(x + 3)(x − 1/2) = (x + 3)(2x − 1).

PhiBoard

A modern, interactive board for study and work. Create, teach and collaborate - completely free.

Coming soon to

Google Play

Download on the

App Store

PhiBoard

Tools

Capabilities

Knowledge base

Support

FAQ

Our mission

Contact

More

Our goalFor schoolsNews

Documents

TermsPrivacy policy

office@phiboard.com

Support the project

© 2026 PhiBoard. All rights reserved.

We Use Cookies

To improve the quality of our services, we use cookies. Cookies help us tailor our website to your preferences, analyze how you use the site, and provide a better user experience. By accepting cookies, you consent to their use for optimizing functionality and content on the site.

The factor theorem and factoring polynomials | PhiBoard