Factoring Trinomials Calculator

Factor a quadratic trinomial with the AC method.

Use letters, brackets, + − × ÷ and whole powers.

Try

Result

You enteredx2+5x+6x^{2} + 5x + 6

(x+2)(x+3)\displaystyle \left(x + 2\right)\left(x + 3\right)

Expanded form

x2+5x+6\displaystyle x^{2} + 5x + 6

Degree

2\displaystyle 2

Number of terms

3\displaystyle 3
Show the work
  1. The AC method

    For a quadratic ax2+bx+cax^2 + bx + c, start by multiplying aa and cc. Here a=1a = 1, b=5b = 5 and c=6c = 6. The next step looks for two numbers with this product.

    ac=1⋅6=6\begin{aligned} ac &= 1\cdot 6 \\ &= 6 \end{aligned}
  2. Find two numbers

    Look for two numbers mm and nn whose product is ac=6ac = 6 and whose sum is b=5b = 5. Trying the factor pairs of 66 with both signs gives m=2m = 2 and n=3n = 3.

    2⋅3=62+3=5\begin{gathered} 2\cdot 3 = 6 \\ 2 + 3 = 5 \end{gathered}
  3. Split the middle term

    Split the middle term, 5x5x, into mx+nxmx + nx. The value does not change, because m+n=bm + n = b, and the four terms can now be grouped in pairs.

    x2+5x+6=x2+2x+3x+6x^{2} + 5x + 6 = x^{2} + 2x + 3x + 6
  4. Factor by grouping

    Take the common factor out of the first two terms and out of the last two. Both pairs leave the same bracket, so that bracket is itself a common factor and can be taken out.

    (x2+2x)+(3x+6)=x(x+2)+3(x+2)=(x+3)(x+2)\begin{aligned} \left(x^2 + 2x\right) + \left(3x + 6\right) &= x\left(x + 2\right) + 3\left(x + 2\right) \\ &= \left(x + 3\right)\left(x + 2\right) \end{aligned}
  5. Result

    So x2+5x+6=(x+2)(x+3)x^{2} + 5x + 6 = \left(x + 2\right)\left(x + 3\right).

Worked examples