TExcelTAD
Home › School Algebra, Identities & Quadratic Equations › Factoring Using the 7 Remarkable Identities

Factoring Using the 7 Remarkable Identities

In school algebra, the 7 Remarkable Identities are often first introduced as multiplication rules for expanding brackets. However, their true power in secondary mathematics appears when we read them in reverse—turning sums and differences into factored products.

When an algebraic expression matches the structural signature of an identity, you do not need guess-and-check factoring or long division. You can write down its factors directly on paper.

In this lesson, you will learn how to identify which of the 7 identities to apply by counting terms, inspecting powers, and verifying cross-terms.


1. Concepts & Paper Visuals: The 7 Identities in Reverse

Here are the 7 remarkable identities presented in their factoring direction:

No.Expanded Signature (What you see)Factored Product (What you write)1A2+2AB+B2(A+B)22A2−2AB+B2(A−B)23A2−B2(A−B)(A+B)4A3+3A2B+3AB2+B3(A+B)35A3−3A2B+3AB2−B3(A−B)36A3+B3(A+B)(A2−AB+B2)7A3−B3(A−B)(A2+AB+B2)\begin{array}{|c|l|l|} \hline \textbf{No.} & \textbf{Expanded Signature (What you see)} & \textbf{Factored Product (What you write)} \\ \hline \mathbf{1} & A^2 + 2AB + B^2 & (A + B)^2 \\ \mathbf{2} & A^2 - 2AB + B^2 & (A - B)^2 \\ \mathbf{3} & A^2 - B^2 & (A - B)(A + B) \\ \mathbf{4} & A^3 + 3A^2B + 3AB^2 + B^3 & (A + B)^3 \\ \mathbf{5} & A^3 - 3A^2B + 3AB^2 - B^3 & (A - B)^3 \\ \mathbf{6} & A^3 + B^3 & (A + B)(A^2 - AB + B^2) \\ \mathbf{7} & A^3 - B^3 & (A - B)(A^2 + AB + B^2) \\ \hline \end{array}

The "Count the Terms" Paper Decision Tree

When looking at a polynomial on paper, your very first diagnostic step (after checking for a common factor) is to count the number of terms:

Number of TermsCandidatesPaper Verification Rule2 termsDiff. of Squares: A2−B2Are both terms squares separated by a minus?Sum of Cubes: A3+B3Are both terms cubes separated by a plus?Diff. of Cubes: A3−B3Are both terms cubes separated by a minus?Sum of Squares: A2+B2PRIME over real numbers! Do NOT factor.3 termsSquare of Sum: (A+B)2Are ends squares? Is middle +2AB?Square of Diff: (A−B)2Are ends squares? Is middle −2AB?4 termsCube of Sum: (A+B)3Are ends cubes? Middle terms 3A2B and 3AB2?Cube of Diff: (A−B)3Alternating signs? Ends cubes? Middle 3A2B,3AB2?\begin{array}{|c|l|l|} \hline \textbf{Number of Terms} & \textbf{Candidates} & \textbf{Paper Verification Rule} \\ \hline \mathbf{2 \text{ terms}} & \text{Diff. of Squares: } A^2 - B^2 & \text{Are both terms squares separated by a minus?} \\ & \text{Sum of Cubes: } A^3 + B^3 & \text{Are both terms cubes separated by a plus?} \\ & \text{Diff. of Cubes: } A^3 - B^3 & \text{Are both terms cubes separated by a minus?} \\ & \text{Sum of Squares: } A^2 + B^2 & \mathbf{\text{PRIME over real numbers! Do NOT factor.}} \\ \hline \mathbf{3 \text{ terms}} & \text{Square of Sum: } (A + B)^2 & \text{Are ends squares? Is middle } +2AB\text{?} \\ & \text{Square of Diff: } (A - B)^2 & \text{Are ends squares? Is middle } -2AB\text{?} \\ \hline \mathbf{4 \text{ terms}} & \text{Cube of Sum: } (A + B)^3 & \text{Are ends cubes? Middle terms } 3A^2B \text{ and } 3AB^2\text{?} \\ & \text{Cube of Diff: } (A - B)^3 & \text{Alternating signs? Ends cubes? Middle } 3A^2B, 3AB^2\text{?} \\ \hline \end{array}

2. Step-by-Step Notebook Examples

Example 1: Perfect Square Trinomial Verification

Problem: Factor 25x2−70xy+49y225x^2 - 70xy + 49y^2 on paper.

  • Step 1: Count terms and inspect the ends. There are three terms.
    • First term: 25x2=(5x)2  ⟹  A=5x25x^2 = (5x)^2 \implies A = 5x
    • Last term: 49y2=(7y)2  ⟹  B=7y49y^2 = (7y)^2 \implies B = 7y
  • Step 2: Verify the middle term on scratch paper! The formula requires −2AB-2AB:
    −2⋅A⋅B=−2⋅(5x)⋅(7y)=−70xy-2 \cdot A \cdot B = -2 \cdot (5x) \cdot (7y) = -70xy
    The middle term matches the expression exactly!
  • Step 3: Apply Identity 2.
    25x2−70xy+49y2=(5x−7y)225x^2 - 70xy + 49y^2 = (5x - 7y)^2

Example 2: Repeated Difference of Two Squares

Problem: Factor x4−81x^4 - 81 completely on paper.

  • Step 1: Count terms. There are two terms separated by a minus sign: x4−81x^4 - 81.
  • Step 2: Express as a difference of two squares.
    x4=(x2)2and81=92x^4 = (x^2)^2 \quad \text{and} \quad 81 = 9^2
    Here A=x2A = x^2 and B=9B = 9.
  • Step 3: Apply Identity 3 once.
    x4−81=(x2−9)(x2+9)x^4 - 81 = (x^2 - 9)(x^2 + 9)
  • Step 4: Inspect each factor for further factoring.
    • (x2+9)(x^2 + 9) is a sum of squares; it is prime over the real numbers.
    • (x2−9)(x^2 - 9) is another difference of squares: x2−32=(x−3)(x+3)x^2 - 3^2 = (x - 3)(x + 3).
  • Step 5: Write the complete factorization.
    x4−81=(x−3)(x+3)(x2+9)x^4 - 81 = (x - 3)(x + 3)(x^2 + 9)

Example 3: Four-Term Perfect Cube

Problem: Factor 8x3−36x2+54x−278x^3 - 36x^2 + 54x - 27 on paper.

  • Step 1: Count terms and observe signs. There are four terms with alternating signs: +,−,+,−+ , -, +, -. This points to Identity 5: (A−B)3(A - B)^3.
  • Step 2: Identify AA and BB from the outer cube terms.
    • First term: 8x3=(2x)3  ⟹  A=2x8x^3 = (2x)^3 \implies A = 2x
    • Last term: 27=33  ⟹  B=327 = 3^3 \implies B = 3
  • Step 3: Test the two middle terms.
    −3A2B=−3(2x)2(3)=−3(4x2)(3)=−36x2✓+3AB2=+3(2x)(32)=+3(2x)(9)=+54x✓\begin{aligned} -3A^2B &= -3(2x)^2(3) = -3(4x^2)(3) = -36x^2 \quad \checkmark \\ +3AB^2 &= +3(2x)(3^2) = +3(2x)(9) = +54x \quad \checkmark \end{aligned}
    Both middle terms match the original polynomial perfectly!
  • Step 4: Write the factored cube.
    8x3−36x2+54x−27=(2x−3)38x^3 - 36x^2 + 54x - 27 = (2x - 3)^3

Example 4: Monomial GCF Followed by Sum of Two Cubes

Problem: Factor 3x4+81x3x^4 + 81x completely on paper.

  • Step 1: Always check for a GCF first! Both 3x43x^4 and 81x81x share 3x3x:
    3x4+81x=3x(x3+27)3x^4 + 81x = 3x(x^3 + 27)
  • Step 2: Identify the identity inside the parentheses. x3+27=x3+33x^3 + 27 = x^3 + 3^3 is a Sum of Two Cubes with A=xA = x and B=3B = 3.
  • Step 3: Apply Identity 6: A3+B3=(A+B)(A2−AB+B2)A^3 + B^3 = (A + B)(A^2 - AB + B^2).
    x3+27=(x+3)(x2−3x+9)x^3 + 27 = (x + 3)(x^2 - 3x + 9)
  • Step 4: Assemble the final factored product.
    3x4+81x=3x(x+3)(x2−3x+9)3x^4 + 81x = 3x(x + 3)(x^2 - 3x + 9)

3. Common Mistakes & Paper Traps

Trap 1: Attempting to Factor a Sum of Squares

x2+25≠(x+5)(x+5)andx2+25≠(x−5)(x+5)(WRONG!)\mathbf{x^2 + 25 \ne (x + 5)(x + 5) \quad \text{and} \quad x^2 + 25 \ne (x - 5)(x + 5) \quad \text{(WRONG!)}}

Expanding (x+5)2(x + 5)^2 gives x2+10x+25x^2 + 10x + 25, while (x−5)(x+5)=x2−25(x - 5)(x + 5) = x^2 - 25. A sum of squares A2+B2A^2 + B^2 has no real roots and cannot be factored into real linear factors.

Trap 2: Incomplete Factoring on Tests

Writing x4−1=(x2−1)(x2+1)x^4 - 1 = (x^2 - 1)(x^2 + 1) and moving on. You will lose marks! Whenever you factor a difference of squares, check whether the resulting factor is itself another difference of squares. Here, (x2−1)(x^2 - 1) must be factored into (x−1)(x+1)(x - 1)(x + 1).

Trap 3: The Fake Perfect Square Trinomial

Just because the first and third terms are perfect squares does not mean the trinomial is a perfect square! Consider:

x2+10x+16x^2 + 10x + 16

Here, x2=(x)2x^2 = (x)^2 and 16=4216 = 4^2. If this were (x+4)2(x + 4)^2, the middle term would have to be:

2AB=2(x)(4)=8x2AB = 2(x)(4) = 8x

Since the actual middle term is 10x≠8x10x \ne 8x, this polynomial is not a perfect square trinomial! (It must be factored by splitting the middle term: (x+2)(x+8)(x + 2)(x + 8)). Always compute 2AB2AB on paper before writing (A±B)2(A \pm B)^2.


4. Pencil & Paper Practice

Practice 1

Factor completely on paper:

49x2−16y249x^2 - 16y^2

??? success "Solution to Practice 1" 1. Count terms: 22 terms separated by a minus sign. 2. Check for squares: * 49x2=(7x)2  ⟹  A=7x49x^2 = (7x)^2 \implies A = 7x * 16y2=(4y)2  ⟹  B=4y16y^2 = (4y)^2 \implies B = 4y 3. Apply Identity 3: A2−B2=(A−B)(A+B)A^2 - B^2 = (A - B)(A + B). 4. Factored form: math (7x - 4y)(7x + 4y)


Practice 2

Factor completely on paper:

2a3−12a2+18a2a^3 - 12a^2 + 18a

??? success "Solution to Practice 2" 1. Always extract the GCF first: math 2a(a^2 - 6a + 9) 2. Inspect the trinomial inside: a2−6a+9a^2 - 6a + 9. * First term: a2=(a)2  ⟹  A=aa^2 = (a)^2 \implies A = a * Last term: 9=32  ⟹  B=39 = 3^2 \implies B = 3 * Check middle term: −2AB=−2(a)(3)=−6a-2AB = -2(a)(3) = -6a (Matches!). 3. Apply Identity 2: A2−2AB+B2=(A−B)2A^2 - 2AB + B^2 = (A - B)^2. math a^2 - 6a + 9 = (a - 3)^2 4. Write the complete factored product: math 2a(a - 3)^2


5. Summary & Identity Recognition Checklist

FormVerification StepFactored ResultA2−B2Subtracting two perfect squares(A−B)(A+B)A2+2AB+B2Trinomial with middle term +2AB(A+B)2A2−2AB+B2Trinomial with middle term −2AB(A−B)2A3+B3Adding two perfect cubes(A+B)(A2−AB+B2)A3−B3Subtracting two perfect cubes(A−B)(A2+AB+B2)A3±3A2B+3AB2±B34 terms, cube ends, check 3A2B(A±B)3\begin{array}{|l|l|l|} \hline \textbf{Form} & \textbf{Verification Step} & \textbf{Factored Result} \\ \hline A^2 - B^2 & \text{Subtracting two perfect squares} & (A - B)(A + B) \\ A^2 + 2AB + B^2 & \text{Trinomial with middle term } +2AB & (A + B)^2 \\ A^2 - 2AB + B^2 & \text{Trinomial with middle term } -2AB & (A - B)^2 \\ A^3 + B^3 & \text{Adding two perfect cubes} & (A + B)(A^2 - AB + B^2) \\ A^3 - B^3 & \text{Subtracting two perfect cubes} & (A - B)(A^2 + AB + B^2) \\ A^3 \pm 3A^2B + 3AB^2 \pm B^3 & \text{4 terms, cube ends, check 3}A^2B & (A \pm B)^3 \\ \hline \end{array}

Test yourself

Which of the following polynomials is a perfect square trinomial?

  1. x2+6x+9x^2 + 6x + 9
  2. x2+5x+9x^2 + 5x + 9
  3. x2+9x+9x^2 + 9x + 9
  4. x2+12x+9x^2 + 12x + 9

What is the completely factored form of 16x4−116x^4 - 1 over the real numbers?

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

Why is the expression x2+36x^2 + 36 considered irreducible (prime) over real numbers?

  1. Because 3636 is not a perfect square
  2. Because the sum of two squares cannot be factored into real linear factors
  3. Because xx has an even exponent
  4. Because it only has two terms