THE WHOLE UNIT · ONE REFERENCE

Factoring
Cheat sheet.

The key rules, formulas and reminders from all 11 topics, gathered into reference cards.

Choose “Save as PDF” in the print dialog.

Key formulas, conditions and traps · Read down each column.

An Overview of the Methods

Key method

A practical order is: common factor, familiar identity, grouping or trinomial, then substitution. Verify every proposed factorization by multiplication. Over the reals, some polynomials stop at irreducible quadratic factors.

Taking Out a Common Factor

Key method

The distributive law works in reverse:

ab+ac=a(b+c).ab+ac=a(b+c).

A polynomial factor can also be common. Keep its parentheses intact while treating it as one object.

Factoring ax² + bx + c

Key method

(x+p)(x+q)=x2+(p+q)x+pq.(x+p)(x+q)=x^2+(p+q)x+pq.

For ax2+bx+cax^2+bx+c, seek numbers whose product is acac and sum is bb. If none exist among integers, use the discriminant or quadratic formula rather than forcing integer factors.

Factoring by Grouping

Key method

ab+ac+db+dc=a(b+c)+d(b+c)=(a+d)(b+c).ab+ac+db+dc=a(b+c)+d(b+c)=(a+d)(b+c).

If the two parentheses differ by a sign, factor a negative from one group. If they genuinely differ, try another grouping.

Perfect Squares

Key method

A2+2AB+B2=(A+B)2.A^2+2AB+B^2=(A+B)^2. A2−2AB+B2=(A−B)2.A^2-2AB+B^2=(A-B)^2.

A repeated linear factor gives a repeated zero. Its graph touches the horizontal axis rather than crossing there.

The Difference of Two Squares

Key method

A2−B2=(A−B)(A+B).A^2-B^2=(A-B)(A+B).

Identify both squares explicitly before substituting. This identity is valid for real or complex values.

The Sum and Difference of Cubes

Key method

A3−B3=(A−B)(A2+AB+B2).A^3-B^3=(A-B)(A^2+AB+B^2). A3+B3=(A+B)(A2−AB+B2).A^3+B^3=(A+B)(A^2-AB+B^2).

The sign in the first factor matches the original; the middle sign in the quadratic is opposite.

Perfect Cubes

Key method

(A+B)3=A3+3A2B+3AB2+B3.(A+B)^3=A^3+3A^2B+3AB^2+B^3. (A−B)3=A3−3A2B+3AB2−B3.(A-B)^3=A^3-3A^2B+3AB^2-B^3.

For subtraction, the signs alternate because odd powers of −B-B are negative.

Factoring xⁿ ± yⁿ

Key method

For integer n≥1n\ge1,

xn−yn=(x−y)∑k=0n−1xn−1−kyk.x^n-y^n=(x-y)\sum_{k=0}^{n-1}x^{n-1-k}y^k.

For odd nn, the corresponding sum factors with alternating signs in the second factor.

Factoring by Substitution

Key method

For x4+bx2+cx^4+bx^2+c, put u=x2u=x^2. The expression becomes u2+bu+cu^2+bu+c. When solving over the reals, remember that u=x2≥0u=x^2\ge0.

Adding and Subtracting a Term

Key method

Complete a square by supplying the missing middle term, then treat the remainder separately. For a monic quadratic:

x2+bx+c=(x+b/2)2+c−b2/4.x^2+bx+c=(x+b/2)^2+c-b^2/4.

This also identifies the vertex of its graph.

01

An Overview of the Methods

3 reference blocks

Read lesson ↗

Key method

A practical order is: common factor, familiar identity, grouping or trinomial, then substitution. Verify every proposed factorization by multiplication. Over the reals, some polynomials stop at irreducible quadratic factors.

Example

Factor 2x3−8x2x^3-8x. Every term contains 2x2x, giving 2x(x2−4)2x(x^2-4). The remaining expression is a difference of squares, so

2x3−8x=2x(x−2)(x+2).2x^3-8x=2x(x-2)(x+2).

To solve 2x3−8x=02x^3-8x=0, set each factor equal to zero: x=0,2,−2x=0,2,-2. Expanding the answer recovers both original terms.

Avoid this mistake

Factoring is an identity, not division. Dividing an equation by xx without checking x=0x=0 can lose a solution.

02

Taking Out a Common Factor

3 reference blocks

Read lesson ↗

Key method

The distributive law works in reverse:

ab+ac=a(b+c).ab+ac=a(b+c).

A polynomial factor can also be common. Keep its parentheses intact while treating it as one object.

Example

In 18x3y−12x2y218x^3y-12x^2y^2, the coefficient factor is 66, and the shared variable part is x2yx^2y. Thus

18x3y−12x2y2=6x2y(3x−2y).18x^3y-12x^2y^2=6x^2y(3x-2y).

For x(x+1)+4(x+1)x(x+1)+4(x+1), the repeated object is x+1x+1, giving (x+1)(x+4)(x+1)(x+4).

Avoid this mistake

Do not take a variable outside if it is absent from one term. For example, x2+3x^2+3 has no common factor xx as a polynomial.

03

Factoring ax² + bx + c

3 reference blocks

Read lesson ↗

Key method

(x+p)(x+q)=x2+(p+q)x+pq.(x+p)(x+q)=x^2+(p+q)x+pq.

For ax2+bx+cax^2+bx+c, seek numbers whose product is acac and sum is bb. If none exist among integers, use the discriminant or quadratic formula rather than forcing integer factors.

Example

Factor 6x2+11x+36x^2+11x+3. The product ac=18ac=18 and sum b=11b=11 suggest 99 and 22:

6x2+9x+2x+3=3x(2x+3)+(2x+3).6x^2+9x+2x+3=3x(2x+3)+(2x+3).

Hence (3x+1)(2x+3)(3x+1)(2x+3). The two zeros are −1/3-1/3 and −3/2-3/2.

Avoid this mistake

Matching only the constant term is insufficient. Check the middle coefficient as well as the leading coefficient.

04

Factoring by Grouping

3 reference blocks

Read lesson ↗

Key method

ab+ac+db+dc=a(b+c)+d(b+c)=(a+d)(b+c).ab+ac+db+dc=a(b+c)+d(b+c)=(a+d)(b+c).

If the two parentheses differ by a sign, factor a negative from one group. If they genuinely differ, try another grouping.

Example

Factor x3+2x2−3x−6x^3+2x^2-3x-6:

x2(x+2)−3(x+2)=(x+2)(x2−3).x^2(x+2)-3(x+2)=(x+2)(x^2-3).

Over the reals this can continue to (x+2)(x−3)(x+3)(x+2)(x-\sqrt3)(x+\sqrt3). Over integer coefficients, the first product is the natural stopping point.

Avoid this mistake

Factoring −3x−6-3x-6 as −3(x−2)-3(x-2) changes the constant term. Distribute the negative to check both signs.

05

Perfect Squares

3 reference blocks

Read lesson ↗

Key method

A2+2AB+B2=(A+B)2.A^2+2AB+B^2=(A+B)^2. A2−2AB+B2=(A−B)2.A^2-2AB+B^2=(A-B)^2.

A repeated linear factor gives a repeated zero. Its graph touches the horizontal axis rather than crossing there.

Example

In 4x2−12x+94x^2-12x+9, the outer terms are (2x)2(2x)^2 and 323^2, and −12x=−2(2x)(3)-12x=-2(2x)(3). Therefore

4x2−12x+9=(2x−3)2.4x^2-12x+9=(2x-3)^2.

Its only zero is x=3/2x=3/2, with multiplicity two; its value cannot be negative.

Avoid this mistake

A2+B2A^2+B^2 is missing the mixed term and is not (A+B)2(A+B)^2.

06

The Difference of Two Squares

3 reference blocks

Read lesson ↗

Key method

A2−B2=(A−B)(A+B).A^2-B^2=(A-B)(A+B).

Identify both squares explicitly before substituting. This identity is valid for real or complex values.

Example

For 9x2−259x^2-25, use A=3xA=3x and B=5B=5 to obtain (3x−5)(3x+5)(3x-5)(3x+5). For (x+2)2−9(x+2)^2-9, use A=x+2A=x+2 and B=3B=3:

(x+2−3)(x+2+3)=(x−1)(x+5).(x+2-3)(x+2+3)=(x-1)(x+5).

This avoids an unnecessary expansion.

Avoid this mistake

The sum A2+B2A^2+B^2 does not equal (A+B)(A−B)(A+B)(A-B). Over the reals, x2+1x^2+1 has no linear factors.

07

The Sum and Difference of Cubes

3 reference blocks

Read lesson ↗

Key method

A3−B3=(A−B)(A2+AB+B2).A^3-B^3=(A-B)(A^2+AB+B^2). A3+B3=(A+B)(A2−AB+B2).A^3+B^3=(A+B)(A^2-AB+B^2).

The sign in the first factor matches the original; the middle sign in the quadratic is opposite.

Example

Since 8x3+27=(2x)3+338x^3+27=(2x)^3+3^3, its factors are

(2x+3)(4x2−6x+9).(2x+3)(4x^2-6x+9).

Multiplying gives 8x3−12x2+18x+12x2−18x+278x^3-12x^2+18x+12x^2-18x+27: the middle terms cancel. This is why changing the quadratic's middle sign breaks the identity.

Avoid this mistake

A sum of cubes is not a cube of a sum: (A+B)3(A+B)^3 also contains two mixed terms.

08

Perfect Cubes

3 reference blocks

Read lesson ↗

Key method

(A+B)3=A3+3A2B+3AB2+B3.(A+B)^3=A^3+3A^2B+3AB^2+B^3. (A−B)3=A3−3A2B+3AB2−B3.(A-B)^3=A^3-3A^2B+3AB^2-B^3.

For subtraction, the signs alternate because odd powers of −B-B are negative.

Example

For 8x3−36x2+54x−278x^3-36x^2+54x-27, try A=2xA=2x, B=3B=3. The mixed terms are −3(2x)2(3)=−36x2-3(2x)^2(3)=-36x^2 and 3(2x)(32)=54x3(2x)(3^2)=54x. Thus the expression is (2x−3)3(2x-3)^3.

Avoid this mistake

A repeated cubic factor crosses the axis at its zero; it does not behave like a repeated square. Multiplicity matters.

09

Factoring xⁿ ± yⁿ

3 reference blocks

Read lesson ↗

Key method

For integer n≥1n\ge1,

xn−yn=(x−y)∑k=0n−1xn−1−kyk.x^n-y^n=(x-y)\sum_{k=0}^{n-1}x^{n-1-k}y^k.

For odd nn, the corresponding sum factors with alternating signs in the second factor.

Example

For n=5n=5,

x5+y5=(x+y)(x4−x3y+x2y2−xy3+y4).x^5+y^5=(x+y)(x^4-x^3y+x^2y^2-xy^3+y^4).

On multiplication, every mixed term cancels. For x6−y6x^6-y^6, first use the difference of squares (x3−y3)(x3+y3)(x^3-y^3)(x^3+y^3), then apply both cube identities.

Avoid this mistake

The same sum formula does not work for even exponents: substituting x=−yx=-y into x2+y2x^2+y^2 usually does not give zero.

10

Factoring by Substitution

3 reference blocks

Read lesson ↗

Key method

For x4+bx2+cx^4+bx^2+c, put u=x2u=x^2. The expression becomes u2+bu+cu^2+bu+c. When solving over the reals, remember that u=x2≥0u=x^2\ge0.

Example

Factor x4−5x2+4x^4-5x^2+4. With u=x2u=x^2,

u2−5u+4=(u−1)(u−4).u^2-5u+4=(u-1)(u-4).

Substitute back to get (x2−1)(x2−4)(x^2-1)(x^2-4), then factor both differences of squares:

(x−1)(x+1)(x−2)(x+2).(x-1)(x+1)(x-2)(x+2).

Avoid this mistake

Do not stop a solution at u=1,4u=1,4 when the question asks for xx. Each positive square value gives two real roots.

11

Adding and Subtracting a Term

3 reference blocks

Read lesson ↗

Key method

Complete a square by supplying the missing middle term, then treat the remainder separately. For a monic quadratic:

x2+bx+c=(x+b/2)2+c−b2/4.x^2+bx+c=(x+b/2)^2+c-b^2/4.

This also identifies the vertex of its graph.

Example

To factor x4+4x^4+4, add and subtract 4x24x^2:

x4+4=(x2+2)2−(2x)2.x^4+4=(x^2+2)^2-(2x)^2.

A difference of squares now gives

(x2−2x+2)(x2+2x+2).(x^2-2x+2)(x^2+2x+2).

Both factors are positive for real xx, since they equal (x∓1)2+1(x\mp1)^2+1.

Avoid this mistake

Adding a term alone changes the problem. Write the compensating subtraction on the same line.