Polynomials & Factoring

The Factor Theorem

A polynomial f(x)f(x) has (x−c)(x-c) as a factor exactly when f(c)=0f(c)=0. To test a possible factor, substitute cc into the polynomial: a zero means the factor is real, and any other result means it is not.

f(c)=0  ⟺  (x−c) is a factor of f(x)f(c)=0 \iff (x-c) \text{ is a factor of } f(x)

Try it with your numbers

Show every step

That single substitution replaces a full division. For any polynomial of degree three or higher where no pattern jumps out, it is the fastest way to find a first factor, and the rest usually follows from it. The sections below cover where the rule comes from, the sign flip that costs most students points, how to handle fractions, and when the theorem gives you nothing.

What does the factor theorem say?

The theorem is an if and only if, so it works in both directions. If f(c)=0f(c)=0, then (x−c)(x-c) divides f(x)f(x) with nothing left over. If (x−c)(x-c) is a factor, then f(c)=0f(c)=0 automatically, which means cc is a zero of the polynomial and (c,0)(c,0) is an x-intercept of its graph.

The trap is the sign. The factor (x+3)(x+3) is really (x−(−3))(x-(-3)), so the number to test is c=−3c=-3, not 33. For a factor with a leading coefficient, (ax+b)(ax+b) tests c=−bac=-\frac{b}{a}. A reliable habit: set the factor equal to zero, solve, and substitute that solution.

Two limits keep the search honest. A polynomial of degree nn has at most nn linear factors, so a cubic offers at most three. And if every term shares a common factor, pull it out first with factoring out the GCF, which removes the easy factors before any testing starts.

Quick check

Which value of cc do you substitute to test whether (x+7)(x+7) is a factor of f(x)f(x)?

Why the factor theorem works: a short proof

Divide f(x)f(x) by (x−c)(x-c). The division gives a quotient q(x)q(x) and a remainder rr. Because the divisor has degree 1, the remainder has degree 0, so rr is just a number:

f(x)=(x−c) q(x)+rf(x)=(x-c)\,q(x)+r

This holds for every xx, so put x=cx=c. The product term contains c−c=0c-c=0 and vanishes:

f(c)=0⋅q(c)+r=rf(c)=0\cdot q(c)+r=r

So f(c)f(c) is the remainder. If it is zero, then f(x)=(x−c) q(x)f(x)=(x-c)\,q(x) and the factor is confirmed. If it is not zero, something is left over and (x−c)(x-c) does not divide evenly. Whole numbers behave the same way: 60=20⋅3+060=20\cdot 3+0, so 20 is a factor of 60.

Why one number is enough

Dividing by a degree 1 polynomial leaves a constant remainder. Dividing by x2+1x^2+1 would leave something like ax+bax+b, and one substitution could not capture it.

The proof also names the leftover piece: q(x)q(x) is the remaining factor. Finding it by polynomial long division always works but is slow, and the shortcut in the next sections produces it almost for free.

How to use the factor theorem with negative roots

Negative values are where arithmetic slips happen, so put every substituted number in parentheses and handle the powers before the signs.

Example 1. Is (x+3)(x+3) a factor of f(x)=x3+2x2−5x−6f(x)=x^3+2x^2-5x-6?

Write x+3=x−(−3)x+3=x-(-3), so c=−3c=-3. Then:

f(−3)=(−3)3+2(−3)2−5(−3)−6=−27+18+15−6=0f(-3)=(-3)^3+2(-3)^2-5(-3)-6=-27+18+15-6=0

The result is zero, so (x+3)(x+3) is a factor. Testing c=3c=3 by mistake gives 27+18−15−6=2427+18-15-6=24, which would wrongly say no.

To find the other factors, run synthetic division with −3-3 on the coefficients 1,2,−5,−61,2,-5,-6. Bring down 11. Multiply by −3-3 and add to 22 to get −1-1. Multiply by −3-3 and add to −5-5 to get −2-2. Multiply by −3-3 and add to −6-6 to get 00. The quotient is x2−x−2x^2-x-2, so:

f(x)=(x+3)(x2−x−2)=(x+3)(x−2)(x+1)f(x)=(x+3)(x^2-x-2)=(x+3)(x-2)(x+1)

Three substitutions need almost no work, so try them before anything else:

  • c=0c=0: f(0)f(0) is the constant term, so a zero constant term means xx is a factor.
  • c=1c=1: f(1)f(1) is the sum of all the coefficients. If they add to zero, (x−1)(x-1) is a factor.
  • c=−1c=-1: f(−1)f(-1) is the even-degree coefficients minus the odd-degree ones. If that is zero, (x+1)(x+1) is a factor. In Example 1, (2−6)−(1−5)=0(2-6)-(1-5)=0, so (x+1)(x+1) was visible at once.

Try this: Without a pencil, use the coefficient shortcuts to decide whether (x−1)(x-1) and (x+1)(x+1) are factors of x4−3x3+x2+3x−2x^4-3x^3+x^2+3x-2. Then confirm by multiplying out (x2−1)(x2−3x+2)(x^2-1)(x^2-3x+2).

Factors with a leading coefficient: fractions as roots

Synthetic division quotient 6x² + 10x − 4 halved to 3x² + 5x − 2 for factor 2x − 3
Synthetic division by 3/2 serves x − 3/2, so the quotient for 2x − 3 is half as large.

A factor like (2x−3)(2x-3) tests a fraction. Since 2x−3=2(x−32)2x-3=2\left(x-\frac32\right), and a constant multiplier never affects whether something divides evenly, the test value is c=32c=\frac32.

Example 2. Is (2x−3)(2x-3) a factor of f(x)=6x3+x2−19x+6f(x)=6x^3+x^2-19x+6?

f(32)=6⋅278+94−19⋅32+6=814+94−1144+244=04=0f\left(\tfrac32\right)=6\cdot\tfrac{27}{8}+\tfrac94-19\cdot\tfrac32+6=\tfrac{81}{4}+\tfrac{9}{4}-\tfrac{114}{4}+\tfrac{24}{4}=\tfrac{0}{4}=0

Converting everything to quarters before adding keeps the fractions under control. The result is zero, so (2x−3)(2x-3) is a factor.

Synthetic division with 32\frac32 on 6,1,−19,66,1,-19,6 gives 6,10,−46,10,-4 and remainder 00. That quotient belongs to (x−32)\left(x-\frac32\right), which is half of (2x−3)(2x-3), so the quotient for (2x−3)(2x-3) is half as large: 3x2+5x−23x^2+5x-2. This is the step people forget. Then 3x2+5x−2=(3x−1)(x+2)3x^2+5x-2=(3x-1)(x+2), and:

6x3+x2−19x+6=(2x−3)(3x−1)(x+2)6x^3+x^2-19x+6=(2x-3)(3x-1)(x+2)

The leading coefficients multiply back correctly: 2⋅3⋅1=62\cdot3\cdot1=6. If the leading coefficients do not multiply to the original, a constant went missing.

How to factor a cubic completely, step by step

Once one zero is found, a cubic collapses to a quadratic. The routine is the same every time:

  1. List candidate zeros ±pq\pm\frac{p}{q} with the rational root theorem: pp divides the constant term and qq divides the leading coefficient.
  2. Test the cheap candidates first: 11, −1-1, 22, −2-2.
  3. When f(c)=0f(c)=0, divide by (x−c)(x-c) with synthetic division, writing a 00 for any missing power.
  4. Factor the leftover quadratic, or use the quadratic formula if it will not factor.

Example 3. Factor f(x)=x3−3x2−10x+24f(x)=x^3-3x^2-10x+24 completely.

The constant term is 2424, so candidates are its divisors with either sign. Start small:

f(1)=1−3−10+24=12,f(−1)=−1−3+10+24=30,f(2)=8−12−20+24=0f(1)=1-3-10+24=12,\qquad f(-1)=-1-3+10+24=30,\qquad f(2)=8-12-20+24=0

So (x−2)(x-2) is a factor. Synthetic division with 22 on 1,−3,−10,241,-3,-10,24 gives 1,−1,−121,-1,-12 and remainder 00. The quotient x2−x−12x^2-x-12 factors as (x−4)(x+3)(x-4)(x+3), so:

x3−3x2−10x+24=(x−2)(x−4)(x+3)x^3-3x^2-10x+24=(x-2)(x-4)(x+3)

A free check on the answer

For a monic cubic x3+bx2+cx+dx^3+bx^2+cx+d, the zeros add to −b-b and multiply to −d-d. Here 2+4+(−3)=3=−(−3)2+4+(-3)=3=-(-3) and 2⋅4⋅(−3)=−24=−242\cdot4\cdot(-3)=-24=-24.

A missing power needs a placeholder: x3−7x+6x^3-7x+6 goes into the synthetic division as 1,0,−7,61,0,-7,6. Skipping the zero shifts every later coefficient and ruins the quotient.

Quick check

The polynomial x3−6x2+11x−6x^3-6x^2+11x-6 has f(1)=0f(1)=0. After dividing by (x−1)(x-1), what is the quotient?

Factor theorem vs remainder theorem

The two theorems share one equation, f(c)=rf(c)=r, and differ only in what they ask. The remainder theorem reads f(c)f(c) as the leftover from dividing by (x−c)(x-c). The factor theorem asks one yes or no question about it: is that leftover zero?

Remainder theorem Factor theorem
Question What is left after dividing by (x−c)(x-c)? Does (x−c)(x-c) divide evenly?
Test Compute f(c)f(c) Is f(c)=0f(c)=0?
Output A number Yes or no

So if f(2)=5f(2)=5, dividing by (x−2)(x-2) leaves a remainder of 55, and (x−2)(x-2) is not a factor. The remainder theorem also answers questions the factor theorem cannot, such as finding a remainder without dividing at all.

The factor theorem is also easy to confuse with the rational root theorem. The rational root theorem only proposes candidates, and the factor theorem is the test that confirms or rejects each one.

How to find a missing constant so a factor works

When a polynomial contains an unknown such as kk, the factor theorem turns a factoring question into an equation. Substitute the zero of the given factor, set the result equal to 00, and solve.

Example 4. Find kk so that (x−2)(x-2) is a factor of x3+kx2−4x−12x^3+kx^2-4x-12.

Use c=2c=2:

f(2)=8+4k−8−12=4k−12=0⇒k=3f(2)=8+4k-8-12=4k-12=0 \quad\Rightarrow\quad k=3

Check it: with k=3k=3, factoring by grouping gives x2(x+3)−4(x+3)=(x+3)(x−2)(x+2)x^2(x+3)-4(x+3)=(x+3)(x-2)(x+2), and (x−2)(x-2) is there.

With two unknowns, give two factors and write two equations. Suppose (x−1)(x-1) and (x+2)(x+2) are both factors of x3+ax2+bx+6x^3+ax^2+bx+6. Then f(1)=0f(1)=0 gives a+b=−7a+b=-7, and f(−2)=0f(-2)=0 gives 4a−2b=24a-2b=2, which simplifies to 2a−b=12a-b=1. Adding the two equations gives 3a=−63a=-6, so a=−2a=-2 and b=−5b=-5. The polynomial is x3−2x2−5x+6x^3-2x^2-5x+6, which factors as (x−1)(x+2)(x−3)(x-1)(x+2)(x-3).

When the factor theorem finds no linear factor

The theorem only detects linear factors, and it only tests the values you try. A failed test rules out one value, not the polynomial. If every rational candidate fails, there is no rational linear factor, but real irrational factors can still exist: x2−2x^2-2 has no rational zero, yet it equals (x−2)(x+2)\left(x-\sqrt2\right)\left(x+\sqrt2\right).

Some polynomials have no real linear factor at all. Take x3−8x^3-8. Since f(2)=0f(2)=0, (x−2)(x-2) is a factor, and the quotient is x2+2x+4x^2+2x+4. Its discriminant is 22−4(1)(4)=−122^2-4(1)(4)=-12, which is negative, so it never reaches zero over the reals and stays as it is. This matches the sum and difference of cubes pattern, and more quadratic formula practice helps when a leftover quadratic will not factor by eye.

Repeated factors are easy to miss. For x3−3x2+4x^3-3x^2+4, f(2)=8−12+4=0f(2)=8-12+4=0, and the quotient is x2−x−2x^2-x-2. Testing 22 again gives 4−2−2=04-2-2=0, so (x−2)(x-2) appears twice:

x3−3x2+4=(x+1)(x−2)2x^3-3x^2+4=(x+1)(x-2)^2

After every division, test the same cc on the quotient before moving on.

Quick check

Does x2+9x^2+9 have a factor (x−c)(x-c) with cc a real number?

Where the factor theorem is used outside homework

Graph sketching depends on it. A factored form shows every x-intercept at a glance, and a repeated factor like (x−2)2(x-2)^2 tells you the graph touches the axis at 22 and turns around instead

Practice problems

0 of 5 solved

  1. Is (x−2)(x-2) a factor of x3−3x2+x+2x^3-3x^2+x+2?

  2. Is (x+1)(x+1) a factor of x4+3x2−2x+4x^4+3x^2-2x+4?

  3. Is (2x+1)(2x+1) a factor of 2x3−x2−5x−22x^3-x^2-5x-2?

  4. Find kk so that (x+2)(x+2) is a factor of x3+kx2+x−10x^3+kx^2+x-10.

  5. Factor 2x3−3x2−11x+62x^3-3x^2-11x+6 completely.

Common questions

What is the factor theorem in simple terms?

It says (x−c)(x-c) is a factor of a polynomial f(x)f(x) exactly when f(c)=0f(c)=0. In other words, a zero of the polynomial and a linear factor are the same fact told two ways.

How do you use the factor theorem to factor a polynomial?

Find a value cc that makes f(c)=0f(c)=0, then divide by (x−c)(x-c) with synthetic division. Repeat on the smaller quotient until only linear factors or an irreducible quadratic remain.

What is the difference between the factor theorem and the remainder theorem?

The remainder theorem says dividing f(x)f(x) by (x−c)(x-c) leaves the remainder f(c)f(c). The factor theorem is the special case where that remainder is 00, which makes (x−c)(x-c) a factor.

How do you apply the factor theorem to a factor like 2x−32x-3?

Set the factor equal to zero and solve: 2x−3=02x-3=0 gives c=32c=\frac32. Then check whether f(32)=0f\left(\frac32\right)=0. In general, (ax+b)(ax+b) is tested with c=−bac=-\frac{b}{a}.

How do you choose which value to test first?

Use the rational root theorem: any rational zero has the form pq\frac{p}{q}, where pp divides the constant term and qq divides the leading coefficient. Test 11, −1-1, 22 and −2-2 before the larger candidates.

Does the factor theorem work for quadratics?

Yes, it works for any polynomial. For quadratics, ordinary factoring or the quadratic formula is usually faster, so the theorem earns its keep on cubics and higher degrees.

Up next