Polynomials & Factoring

Factoring Practice Problems

To factor a polynomial, pull out the greatest common factor first, then match what remains to a pattern. For x2+bx+cx^2+bx+c, find two numbers pp and qq with pq=cpq=c and p+q=bp+q=b, and the result is (x+p)(x+q)(x+p)(x+q).

x2+(p+q)x+pq=(x+p)(x+q)x^2+(p+q)x+pq=(x+p)(x+q)

Try it with your numbers

Show every step

Factoring is multiplication played backwards: you start with a sum of terms in a polynomial and rebuild the product that created it. That also means every answer can be graded by multiplying, which makes this one of the few algebra skills you can check yourself. The sections below follow the order in which the methods should be tried, and the quiz further down runs from easy to hard.

How do you factor a polynomial? The order that works

Use the same order every time. Each step strips away one kind of complexity, and skipping ahead is the most common way to land on an answer that is correct but unfinished.

  1. Pull out the greatest common factor, including a negative sign if the leading term is negative.
  2. Count the terms. Two terms suggest a difference of squares or cubes, three suggest a trinomial, and four suggest grouping.
  3. Look at every new factor and ask whether it splits again.
  4. Multiply back to confirm.

“Completely factored” means every factor is irreducible, which in most algebra courses means it cannot be split into polynomials with integer coefficients. Writing 2x2−8=2(x2−4)2x^2-8=2(x^2-4) is only half the job. The finished form is 2(x−2)(x+2)2(x-2)(x+2), and graders mark the half-finished version wrong.

Factoring practice problems: take out the GCF first

The GCF takes the largest number that divides every coefficient, then the lowest power of each variable that appears in every term. Take 8x4−20x3+12x28x^4-20x^3+12x^2. The numbers share a factor of 44, and the lowest power of xx is x2x^2, so the GCF is 4x24x^2.

8x4−20x3+12x2=4x2(2x2−5x+3)=4x2(2x−3)(x−1)8x^4-20x^3+12x^2=4x^2(2x^2-5x+3)=4x^2(2x-3)(x-1)

The trinomial 2x2−5x+32x^2-5x+3 has a⋅c=6a\cdot c=6 and middle coefficient −5-5, so the split numbers are −2-2 and −3-3: 2x2−2x−3x+3=2x(x−1)−3(x−1)=(2x−3)(x−1)2x^2-2x-3x+3=2x(x-1)-3(x-1)=(2x-3)(x-1). Multiplying (2x−3)(x−1)(2x-3)(x-1) gives 2x2−5x+32x^2-5x+3, as required. See factoring out the GCF for more on multi-variable cases.

Two traps cost points here. When the GCF equals a whole term, a 11 stays behind: 6x2+3x=3x(2x+1)6x^2+3x=3x(2x+1), not 3x(2x)3x(2x). And when the leading term is negative, take out the negative too, because −x2+4x+12=−(x2−4x−12)=−(x−6)(x+2)-x^2+4x+12=-(x^2-4x-12)=-(x-6)(x+2) is far easier to work with than the original.

Quick check

Factor 12x3−18x2+6x12x^3-18x^2+6x completely.

Factoring trinomials with a leading 1: the sign rule

The pair-of-numbers rule is FOIL in reverse. Expanding (x+p)(x+q)(x+p)(x+q) gives

(x+p)(x+q)=x2+(p+q)x+pq(x+p)(x+q)=x^2+(p+q)x+pq

so the middle coefficient is the sum and the constant is the product. If that feels familiar, it should: it is the FOIL method read right to left.

The signs tell you where to look before you try any numbers. If cc is positive, pp and qq share a sign, and it matches the sign of bb. If cc is negative, pp and qq have opposite signs, and the one with the larger absolute value takes the sign of bb. For x2−2x−24x^2-2x-24, the product is negative, so the signs differ. The pairs of 2424 are 1⋅241\cdot 24, 2⋅122\cdot 12, 3⋅83\cdot 8, 4⋅64\cdot 6, and only 44 and 66 differ by 22. The larger, 66, gets the minus sign:

x2−2x−24=(x−6)(x+4)x^2-2x-24=(x-6)(x+4)

List pairs of |c| only

For x2−9x+20x^2-9x+20, list the pairs of 2020 and stop when one adds to 99: that is 44 and 55. Both are negative because c>0c>0 and b<0b<0, giving (x−4)(x−5)(x-4)(x-5).

For a fuller treatment of this pattern, including odd cases with large constants, see factoring trinomials.

How do you factor when the leading coefficient is not 1?

Use the ac method. Multiply aa and cc, find two numbers with that product that add to bb, split the middle term with them, and factor by grouping. Try 6x2+11x−106x^2+11x-10: here ac=−60ac=-60, and the pair with sum 1111 is 1515 and −4-4.

6x2+15x−4x−10=3x(2x+5)−2(2x+5)=(3x−2)(2x+5)6x^2+15x-4x-10=3x(2x+5)-2(2x+5)=(3x-2)(2x+5)

The step that trips people is the sign when grouping. The second pair, −4x−10-4x-10, must be factored as −2(2x+5)-2(2x+5), with the minus sign taken out, or the two brackets will not match. If they do not match, the sign is the first thing to recheck. The full mechanics are in factoring by grouping, and the box method is a visual version some students find less error-prone.

Here is a useful sanity test. If the trinomial has no common factor, none of its factors can have one either. A candidate like (4x+2)(… )(4x+2)(\dots) for a trinomial with no GCF is wrong before you multiply. And if no pair of numbers hits both the product acac and the sum bb, the trinomial does not factor over the integers, so stop searching.

Difference of squares, perfect squares and cubes

These patterns are worth memorizing because they turn a search into a recognition.

Pattern Factored form
a2−b2a^2-b^2 (a−b)(a+b)(a-b)(a+b)
a2+2ab+b2a^2+2ab+b^2 (a+b)2(a+b)^2
a2−2ab+b2a^2-2ab+b^2 (a−b)2(a-b)^2
a3+b3a^3+b^3 (a+b)(a2−ab+b2)(a+b)(a^2-ab+b^2)
a3−b3a^3-b^3 (a−b)(a2+ab+b2)(a-b)(a^2+ab+b^2)

For a difference of two squares, watch for a hidden second round. x4−81=(x2−9)(x2+9)=(x−3)(x+3)(x2+9)x^4-81=(x^2-9)(x^2+9)=(x-3)(x+3)(x^2+9). The factor x2+9x^2+9 is a sum of squares and does not split over the real numbers, so the work stops there.

A perfect square trinomial passes a two-second test: the first and last terms are squares, and the middle term equals twice the product of their roots. For 9x2+12x+49x^2+12x+4, the roots are 3x3x and 22, and 2⋅3x⋅2=12x2\cdot 3x\cdot 2=12x, so it equals (3x+2)2(3x+2)^2. The cube patterns have a memory aid: the sign in the linear factor matches the original, the middle sign of the quadratic flips, and the last term is always plus. So x3+8=(x+2)(x2−2x+4)x^3+8=(x+2)(x^2-2x+4), and the quadratic piece is irreducible. See sum and difference of cubes for more.

Quick check

Factor 25x2−4y225x^2-4y^2.

How can you check a factoring answer fast?

Plugging x = 1 into two factorings of 6x² + 11x − 10 accepts one and rejects the other
At x = 1 the original equals 7, so the right factoring matches while the wrong one gives −15 and is rejected.

Multiplying back always works, but it is slow for long expressions. A faster check uses substitution. Putting x=1x=1 into a polynomial just adds its coefficients, and the factored form must give the same value. For 6x2+11x−106x^2+11x-10 the value at x=1x=1 is 77, and (3x−2)(2x+5)(3x-2)(2x+5) at x=1x=1 is 1⋅7=71\cdot 7=7. A wrong guess like (3x+2)(2x−5)(3x+2)(2x-5) gives 5⋅(−3)=−155\cdot(-3)=-15, so it is rejected instantly.

One agreeing value does not prove the answer, because a wrong factoring can match by accident. The reliable fact behind the trick is that two polynomials of degree nn that agree at n+1n+1 different values of xx are identical. A quadratic therefore needs three matching values to be proven, though in practice two or three well-chosen tests, such as x=1x=1, x=2x=2 and x=−1x=-1, catch nearly every slip.

Try this: Factor x2+2x−35x^2+2x-35, then check it without expanding by substituting x=1x=1 and x=2x=2 into both the original and your answer. Both pairs of values should match.

When will a polynomial not factor?

For a quadratic ax2+bx+cax^2+bx+c, the discriminant b2−4acb^2-4ac decides. It factors over the integers only when the discriminant is a perfect square. For x2+x+1x^2+x+1 it equals −3-3, which is negative, so no real factors exist. For x2+3x+1x^2+3x+1 it equals 55, which is positive but not a perfect square, so the roots are irrational and no integer pair can work.

Discriminant test

Before hunting for a pair, compute b2−4acb^2-4ac. If it is not a perfect square, stop: ax2+bx+cax^2+bx+c has no integer factorization.

Higher degrees need a different tool. For x3−6x2+11x−6x^3-6x^2+11x-6, the rational root theorem says any rational root divides 66, so test ±1,±2,±3,±6\pm1,\pm2,\pm3,\pm6. At x=1x=1 the value is 1−6+11−6=01-6+11-6=0, so by the factor theorem, (x−1)(x-1) is a factor. Dividing leaves x2−5x+6x^2-5x+6, which factors as (x−2)(x−3)(x-2)(x-3):

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

Multiplying (x−1)(x2−5x+6)(x-1)(x^2-5x+6) returns x3−5x2+6x−x2+5x−6=x3−6x2+11x−6x^3-5x^2+6x-x^2+5x-6=x^3-6x^2+11x-6, which confirms it.

Solving equations by factoring and where it is used

Wrong versus right way to solve (x − 2)(x − 3) = 6 using the zero product property
Setting each factor equal to 6 fails, while moving 6 across gives x = 0 or x = 5, which both check.

Factoring solves equations because of the zero product property: if ab=0ab=0, then a=0a=0 or b=0b=0. Take 2x2+x=62x^2+x=6. Move everything to one side first, since the property only works when the other side is zero:

2x2+x−6=0⇒2x2+4x−3x−6=0⇒(2x−3)(x+2)=02x^2+x-6=0 \quad\Rightarrow\quad 2x^2+4x-3x-6=0 \quad\Rightarrow\quad (2x-3)(x+2)=0

So x=32x=\frac{3}{2} or x=−2x=-2. Checking x=−2x=-2: 2(4)+(−2)=62(4)+(-2)=6. Checking x=32x=\frac{3}{2}: 2⋅94+32=92+32=62\cdot\frac{9}{4}+\frac{3}{2}=\frac{9}{2}+\frac{3}{2}=6. Both work.

The classic trap is skipping the zero. From (x−2)(x−3)=6(x-2)(x-3)=6 you cannot conclude x=8x=8 or x=9x=9, because the property says nothing about products equal to 66. A second trap is dividing both sides by a variable: dividing x2=5xx^2=5x by xx loses the solution x=0x=0, so factor instead.

Factoring also appears in real settings. A rectangle with area x2+7x+12x^2+7x+12 has sides (x+3)(x+3) and (x+4)(x+4), and a thrown ball’s height equation is solved for the landing time by factoring where possible. When the discriminant is not a perfect square, switch to the formula, with quadratic formula practice problems available for that.

Quick check

Solve x2=5xx^2=5x.

How should you practice factoring problems?

Recognition is what makes factoring fast, and recognition comes from varied repetition. Strong practice habits look like this:

  • Work one type at a time for a few problems, then switch to mixed sets so you have to decide which method applies.
  • Always run the substitution check, which takes ten seconds.
  • Keep a short log of your errors, since most people repeat the same two or three: a lost sign, a skipped GCF, or stopping early.

When a problem stalls, return to the order from the first section rather than guessing pairs. Most stuck problems turn out to be a missed GCF or a hidden difference of squares. Aim for the quiz below to feel routine, then try the same problems again a few days later without notes.

Practice problems

0 of 10 solved

  1. Factor 6x2+9x6x^2+9x.

  2. Factor x2+7x+12x^2+7x+12.

  3. Factor x2−5x−14x^2-5x-14.

  4. Factor x2−49x^2-49.

  5. Factor 2x2+10x−122x^2+10x-12 completely.

  6. Factor 3x2+10x+83x^2+10x+8.

  7. Factor x3+2x2−9x−18x^3+2x^2-9x-18.

  8. Factor 16x2−24x+916x^2-24x+9.

  9. Factor x3−27x^3-27.

  10. Factor x4−13x2+36x^4-13x^2+36 completely.

Common questions

What is the first step in factoring any polynomial?

Look for a greatest common factor and pull it out. Doing this first shrinks the numbers and often turns a hard trinomial into an easy one.

How do you know when a polynomial is completely factored?

When none of the factors can be split further into polynomials with integer coefficients. A quick test is to look at each remaining factor for a common factor, a difference of squares, or a quadratic whose discriminant is a perfect square.

How do you check if your factoring is right?

Multiply the factors back together and compare with the original. For a fast check, substitute x=1x=1 and one other value into both the original and your factored form, and confirm the results match.

Why does a trinomial like x2+x+1x^2+x+1 not factor?

Its discriminant is 12−4(1)(1)=−31^2-4(1)(1)=-3, which is negative, so it has no real roots and cannot split into real linear factors. For integer factoring, the discriminant must be a perfect square.

What is the difference between factoring and solving?

Factoring rewrites an expression as a product and keeps its value. Solving an equation finds the xx values that make it true, and factoring is one tool for that when one side is zero.

What is the easiest way to factor when the leading coefficient is not 1?

Use the ac method: multiply aa and cc, find two numbers with that product that add to bb, split the middle term, then factor by grouping. If no such pair exists, the trinomial does not factor over the integers.

Up next