Algebra 1 · Grade 9

Factoring Quadratics

Quick answer

Factoring turns a sum back into a product. For x² + bx + c, look for two numbers that multiply to c and add to b — start from the multiplication, because a number has only so many factor pairs. Take out any common factor first, and check for a difference of squares or a perfect square before hunting.

What you'll learn

  • Factor a quadratic with leading coefficient 1
  • Take out a greatest common factor before factoring
  • Recognize a difference of squares and a perfect square trinomial

Factoring is multiplying, reversed

Multiplying turns a product into a sum:

(x+3)(x+5)=x2+8x+15(x + 3)(x + 5) = x^2 + 8x + 15

Factoring runs the same line right to left. You are handed x2+8x+15x^2 + 8x + 15 and asked which two sets of parentheses produced it.

That is why the multiplying comes first. Every factoring method is a way of reading the box backwards.

Why a pair of numbers is what you are looking for

Look at where the 88 and the 1515 came from.

Comes fromProduct
15153×53 \times 5
8x8x3x+5x3x + 5x

So the constant is the two numbers multiplied, and the middle coefficient is the two numbers added.

x2+bx+c=(x+p)(x+q)wherepq=c   and   p+q=bx^2 + bx + c = (x + p)(x + q) \quad\text{where}\quad pq = c \;\text{ and }\; p + q = b

To factor, find that pair.

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

List the factor pairs of 1212 and check which adds to 77:

PairProductSum
1,121, 1212121313
2,62, 6121288
3,43, 4121277
x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x + 3)(x + 4)

Start from the multiplication. A number has only a handful of factor pairs, while endless pairs add to 77. Working the short list first is what makes this quick rather than a search.

Getting the signs right

The signs of cc and bb decide the signs of the pair before any hunting starts.

ccbbThe pair
positivepositiveboth positive
positivenegativeboth negative
negativeeitherone of each sign

A positive cc means the two numbers have the same sign, since only matching signs multiply to a positive. Which sign is then settled by bb.

A negative cc means opposite signs, and the larger number carries the sign of bb.

Factor x2−2x−15x^2 - 2x - 15.

cc is negative, so one of each sign. Pairs multiplying to −15-15: (1,−15)(1, -15), (−1,15)(-1, 15), (3,−5)(3, -5), (−3,5)(-3, 5). The one adding to −2-2 is 33 and −5-5.

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

Take out a common factor first

Before anything else, check whether all three terms share a factor.

2x2+10x+12=2(x2+5x+6)=2(x+2)(x+3)2x^2 + 10x + 12 = 2(x^2 + 5x + 6) = 2(x + 2)(x + 3)

Pulling the 22 out leaves a leading coefficient of 11, which is the case the pair method handles directly. Skipping this step leaves you hunting through the factor pairs of 1212 with a 22 in the way.

Common factor, then pattern, then pair. In that order, each step makes the next one smaller.

The two patterns to spot on sight

Difference of squares — two square terms with a minus between them, and no middle term:

a2−b2=(a−b)(a+b)a^2 - b^2 = (a - b)(a + b) x2−36=(x−6)(x+6)x^2 - 36 = (x - 6)(x + 6)

There is no pair to hunt for. The absence of a middle term is the signal, and it happens because +6x+6x and −6x-6x cancel.

Note that x2+36x^2 + 36 does not factor this way. A sum of squares has no factors with real numbers in them.

Perfect square trinomial — first and last terms both squares, middle term twice the product of their roots:

a2+2ab+b2=(a+b)2a^2 + 2ab + b^2 = (a + b)^2 x2+10x+25=(x+5)2x^2 + 10x + 25 = (x + 5)^2

Check the middle: 2×5=102 \times 5 = 10. It matches, so the square form is right.

These two are worth recognizing because they arrive constantly, and each saves the whole search.

Checking the answer

Multiply the parentheses back out. The result has to be the original quadratic, every term.

(x+3)(x−5)=x2−5x+3x−15=x2−2x−15✓(x + 3)(x - 5) = x^2 - 5x + 3x - 15 = x^2 - 2x - 15 \quad\checkmark

This check is complete — it cannot pass a wrong factoring — and it takes one line. There is no reason to skip it.

Worked examples

Common mistakes

Practice problems

  1. Factor x2+5x+6x^2 + 5x + 6.

    Answer

    (x+2)(x+3)(x + 2)(x + 3)

    Full solution

    2×3=62 \times 3 = 6 and 2+3=52 + 3 = 5.

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

    Answer

    (x+2)(x+5)(x + 2)(x + 5)

    Full solution

    2×5=102 \times 5 = 10 and 2+5=72 + 5 = 7.

  3. Factor x2−6x+8x^2 - 6x + 8.

    Answer

    (x−2)(x−4)(x - 2)(x - 4)

    Full solution

    cc positive with bb negative means both numbers are negative.

  4. Factor x2+2x−8x^2 + 2x - 8.

    Answer

    (x+4)(x−2)(x + 4)(x - 2)

    Full solution

    4×(−2)=−84 \times (-2) = -8 and 4+(−2)=24 + (-2) = 2.

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

    Answer

    (x−7)(x+7)(x - 7)(x + 7)

    Full solution

    A difference of squares.

  6. Factor 5x2+15x5x^2 + 15x.

    Answer

    5x(x+3)5x(x + 3)

    Full solution

    Both terms share 5x5x.

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

    Answer

    (x+6)2(x + 6)^2

    Full solution

    A perfect square trinomial: 2×6=122 \times 6 = 12 matches the middle term.

  8. Factor 3x2−273x^2 - 27.

    Hint

    Common factor before pattern.

    Answer

    3(x−3)(x+3)3(x - 3)(x + 3)

    Full solution

    Take out the 33: 3(x2−9)3(x^2 - 9).

    What is left is a difference of squares: x2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3).

  9. Factor x2−x−12x^2 - x - 12.

    Answer

    (x−4)(x+3)(x - 4)(x + 3)

    Full solution

    cc is negative, so the pair has opposite signs.

    −4×3=−12-4 \times 3 = -12 and −4+3=−1-4 + 3 = -1, which matches the middle coefficient of −1-1.

  10. Asked to factor x2−5x+6x^2 - 5x + 6, Ella answers (x+2)(x+3)(x + 2)(x + 3). Find her error.

    Hint

    Multiply her answer back out.

    Answer

    She used the wrong signs. The answer is (x−2)(x−3)(x - 2)(x - 3).

    Full solution

    Her pair multiplies to 66, which is correct, but it adds to +5+5 rather than −5-5.

    A positive cc means the two numbers share a sign. A negative bb then makes both of them negative.

    −2×−3=6-2 \times -3 = 6 and −2+−3=−5-2 + -3 = -5, so the factors are (x−2)(x−3)(x - 2)(x - 3).

    Multiplying her answer back out shows it at once:

    (x+2)(x+3)=x2+5x+6(x + 2)(x + 3) = x^2 + 5x + 6, which has the wrong middle sign.

Frequently asked questions

How do I factor x² + bx + c?

Find two numbers that multiply to c and add to b. Those two numbers go into the parentheses: (x + p)(x + q).

Why start from the multiplication?

Because c has only a few factor pairs to try, while endless pairs of numbers add to b. The shorter list comes first.

What if the numbers have to be negative?

The signs follow from c and b. A negative c means one of each sign; a positive c with a negative b means both negative.

What should I check before hunting for a pair?

A common factor in all three terms, then whether it is a difference of squares or a perfect square trinomial.

How do I know my factoring is right?

Multiply the parentheses back out. It has to return the original quadratic exactly.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSA.SSE.A.2Seeing Structure in ExpressionsUse the structure of an expression to identify ways to rewrite it.
  • CCSS.MATH.CONTENT.HSA.SSE.B.3Seeing Structure in ExpressionsChoose and produce an equivalent form of an expression to reveal and explain properties of the quantity represented by the expression.