Mathwords logoMathwords

Factoring Rules & Patterns — Complete Algebra Reference

A complete reference of factoring patterns and techniques. Includes the standard rules every algebra student needs: greatest common factor, difference of squares, factoring trinomials, factoring by grouping, sum and difference of cubes, and a step-by-step flowchart for choosing the right method.

Greatest Common Factor (GCF)

Factor Out GCF
ab+ac=a(b+c)ab + ac = a(b + c)
GCF with Negative
axay=a(x+y)-ax - ay = -a(x + y)
Multivariable GCF
6x3y2+9x2y=3x2y(2xy+3)6x^3 y^2 + 9 x^2 y = 3 x^2 y (2 x y + 3)
Step 1 of Every Factoring
Always factor out the GCF first\text{Always factor out the GCF first}

Difference of Squares

Pattern
a2b2=(a+b)(ab)a^2 - b^2 = (a + b)(a - b)
With Variables
x29=(x+3)(x3)x^2 - 9 = (x + 3)(x - 3)
Two Variables
x2y2=(x+y)(xy)x^2 - y^2 = (x + y)(x - y)
Cannot Factor
a2+b2 is NOT factorable over realsa^2 + b^2 \text{ is NOT factorable over reals}

Perfect Square Trinomials

Sum Pattern
a2+2ab+b2=(a+b)2a^2 + 2ab + b^2 = (a + b)^2
Difference Pattern
a22ab+b2=(ab)2a^2 - 2ab + b^2 = (a - b)^2
Identification Test
First and last terms perfect squares, middle = ±2firstlast\text{First and last terms perfect squares, middle = } \pm 2 \sqrt{\text{first} \cdot \text{last}}
Example
x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2

Trinomials (Leading Coefficient = 1)

Pattern
x2+bx+c=(x+p)(x+q)x^2 + bx + c = (x + p)(x + q)
Find p and q
p+q=b, pq=cp + q = b,\ p \cdot q = c
Example
x2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x + 2)(x + 3)
Negative Constant
x2+5x6=(x+6)(x1)x^2 + 5x - 6 = (x + 6)(x - 1)

Trinomials (Leading Coefficient ≠ 1)

Pattern
ax2+bx+cax^2 + bx + c
AC Method
Find factors of ac that sum to b\text{Find factors of } ac \text{ that sum to } b
Example
2x2+7x+3=(2x+1)(x+3)2x^2 + 7x + 3 = (2x + 1)(x + 3)
Reverse FOIL Check
(2x+1)(x+3)=2x2+6x+x+3=2x2+7x+3(2x + 1)(x + 3) = 2x^2 + 6x + x + 3 = 2x^2 + 7x + 3 \checkmark

Factoring by Grouping

4-Term Pattern
ax+ay+bx+by=a(x+y)+b(x+y)=(a+b)(x+y)ax + ay + bx + by = a(x + y) + b(x + y) = (a + b)(x + y)
Example
x3+2x2+3x+6=x2(x+2)+3(x+2)=(x2+3)(x+2)x^3 + 2x^2 + 3x + 6 = x^2(x + 2) + 3(x + 2) = (x^2 + 3)(x + 2)

Sum & Difference of Cubes

Sum of Cubes
a3+b3=(a+b)(a2ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2)
Difference of Cubes
a3b3=(ab)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2)
Mnemonic (SOAP)
Same, Opposite, Always Positive sign pattern\text{Same, Opposite, Always Positive sign pattern}
Example (Sum)
x3+8=(x+2)(x22x+4)x^3 + 8 = (x + 2)(x^2 - 2x + 4)
Example (Difference)
27y3=(3y)(9+3y+y2)27 - y^3 = (3 - y)(9 + 3y + y^2)

Special Higher-Degree Patterns

Difference of Fourth Powers
a4b4=(a2+b2)(a+b)(ab)a^4 - b^4 = (a^2 + b^2)(a + b)(a - b)
Trinomial as Quadratic-in-Form
x4+5x2+6=(x2+2)(x2+3)x^4 + 5 x^2 + 6 = (x^2 + 2)(x^2 + 3)
Sum/Difference of nth Powers
anbn=(ab)(an1+an2b++bn1)a^n - b^n = (a - b)(a^{n-1} + a^{n-2}b + \cdots + b^{n-1})

Factoring Flowchart

Step 1
Factor out GCF\text{Factor out GCF}
Step 2
Count terms: 2, 3, or 4?\text{Count terms: 2, 3, or 4?}
2 Terms
Try diff of squares, sum/diff of cubes\text{Try diff of squares, sum/diff of cubes}
3 Terms
Try perfect square, then trinomial methods\text{Try perfect square, then trinomial methods}
4 Terms
Try factoring by grouping\text{Try factoring by grouping}
Step 3
Check if any factor can be factored further\text{Check if any factor can be factored further}

Related Pages