Factoring

Factoring rewrites an expression made of added terms as a product. It is expanding (multiplying out parentheses) in reverse. First pull out anything that every term shares, then look for one of the patterns above.

Chalcack concept card · Reviewed by the Chalcack team ·

A rectangle with width x+3 and height x+2 has area x²+5x+6.

Formulas

  • ma+mb=m(a+b)ma+mb=m(a+b)
  • x2+(a+b)x+ab=(x+a)(x+b)x^2+(a+b)x+ab=(x+a)(x+b)
  • a2−b2=(a+b)(a−b)a^2-b^2=(a+b)(a-b)

When to use it

Use it when you want to turn an expression into a product to solve an equation or simplify the expression.

Worked example

Factor x2+5x+6x^2+5x+6. Step 1: the two numbers that multiply to 6 and add to 5 are 2 and 3. Step 2: so x2+5x+6=(x+2)(x+3)x^2+5x+6=(x+2)(x+3). Step 3: check by expanding: x2+3x+2x+6=x2+5x+6x^2+3x+2x+6=x^2+5x+6, which matches.

Common mistake

For x2−5x+6x^2-5x+6, where the middle term is negative, many students still use 2 and 3. The product must be 6 and the sum -5, so the numbers are -2 and -3, giving (x−2)(x−3)(x-2)(x-3). Always expand at the end to check.

Related concepts

All 181 math concepts