Skip to content

Factoring a trinomial

Factoring a trinomial

A trinomial is an expression with three terms, such as x2+7x+12\displaystyle x^{2}+7x+12. A trinomial x2+bx+c\displaystyle x^{2}+bx+c is factored into two brackets, (x+m)(x+n)\displaystyle (x+m)(x+n). The extended distributive law shows where m\displaystyle m and n\displaystyle n come from:

(x+m)(x+n)=x2+mx+nx+mn=x2+(m+n)x+mn (x+m)(x+n)=x^{2}+mx+nx+mn=x^{2}+(m+n)x+mn

So you look for two numbers with:

  • sum m+n=b\displaystyle {m+n}={b}, the coefficient of x\displaystyle x;
  • product m⋅n=c\displaystyle {m\cdot n}={c}, the free term (the number with no x\displaystyle x).
Finding the two numbers
Start from the product: it has fewer pairs than the sum.

In x2+7x+12\displaystyle x^{2}+7x+12, list the pairs whose product is 12, and pick the pair whose sum is 7:

Pair1, 122, 63, 4
Sum1387

So x2+7x+12=(x+3)(x+4)\displaystyle {x^{2}+7x+12}={(x+3)(x+4)}. Check: (x+3)(x+4)=x2+4x+3x+12=x2+7x+12\displaystyle {(x+3)(x+4)}={x^{2}+4x+3x+12}={x^{2}+7x+12}.

The signs of the two numbers

The signs of b\displaystyle b and c\displaystyle c give the signs of the two numbers:

  • c\displaystyle c positive, b\displaystyle b positive – both positive: x2+7x+12=(x+3)(x+4)\displaystyle {x^{2}+7x+12}={(x+3)(x+4)};
  • c\displaystyle c positive, b\displaystyle b negative – both negative: x2−8x+15=(x−3)(x−5)\displaystyle {x^{2}-8x+15}={(x-3)(x-5)};
  • c\displaystyle c negative – one positive and one negative, and the one further from 0 has the sign of b\displaystyle b: x2+2x−15=(x+5)(x−3)\displaystyle {x^{2}+2x-15}={(x+5)(x-3)}, x2−2x−15=(x−5)(x+3)\displaystyle {x^{2}-2x-15}={(x-5)(x+3)}.
Exercise 1

Factor the trinomials.

a

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    b

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      c

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        d

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          e

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            f

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

              g

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                h

                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                  A trinomial whose two numbers are equal

                  The two numbers can be equal. In x2+6x+9\displaystyle x^{2}+6x+9: 3+3=6\displaystyle {3+3}={6} and 3⋅3=9\displaystyle {3\cdot3}={9}, so x2+6x+9=(x+3)(x+3)=(x+3)2\displaystyle {x^{2}+6x+9}={(x+3)(x+3)}={(x+3)^{2}} – a square of a bracket.

                  A trinomial with a common factor
                  The sum-and-product method needs the coefficient of x2\displaystyle x^{2} to be 1.

                  When all the terms have a common factor, take it out first, then factor the trinomial in the brackets:

                  • 2x2+10x+12=2(x2+5x+6)=2(x+2)(x+3)\displaystyle {2x^{2}+10x+12}={2(x^{2}+5x+6)}={2(x+2)(x+3)}
                  • x3−5x2+6x=x(x2−5x+6)=x(x−2)(x−3)\displaystyle {x^{3}-5x^{2}+6x}={x(x^{2}-5x+6)}={x(x-2)(x-3)}
                  Exercise 2

                  Take out a common factor, then factor the trinomial.

                  a

                    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                    b

                      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                      c

                        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                        d

                          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                          A trinomial with no whole-number pair

                          Some trinomials have no pair of whole numbers that fits. In x2+4x+5\displaystyle x^{2}+4x+5 the pairs with product 5 are 1\displaystyle 1, 5\displaystyle 5 and −1\displaystyle -1, −5\displaystyle -5: their sums are 6\displaystyle 6 and −6\displaystyle -6, never 4\displaystyle 4. Such a trinomial cannot be factored this way.

                          Exercise 3

                          Which of the trinomials can be factored with whole numbers?
                          Factor those, and explain your answer.

                          a

                            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                            b

                              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                              c

                                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                                Exercise 4

                                In the trinomial x2+□x+12\displaystyle x^{2}+\square x+12 a whole number is missing.
                                Find every whole number that can stand in the box so that the trinomial can be factored with whole numbers.
                                How many are there?

                                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power