ACCUPLACER Advanced Algebra & Functions • Factoring

Factoring Special Products — Factor special products (difference of squares, perfect square trinomials)

Master the structural patterns that let you factor binomials and trinomials on sight.

Advanced algebra illustration with a function symbol, variable, and curved graph
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

The practice of factoring algebraic expressions into simpler components has roots stretching back millennia, long before symbolic algebra existed in its modern form. Ancient Babylonian scribes, working on clay tablets around 1800 BCE, solved problems equivalent to completing the square and recognizing differences of squares, though they expressed everything in words and geometric diagrams rather than symbols. Their motivation was practical—computing areas of land, volumes of excavation, and fair distributions of goods—but their methods encoded the same structural patterns you will learn to recognize in this lesson.

The journey from geometric intuition to algebraic notation took centuries, passing through Greek geometric algebra, medieval Islamic scholars, and Renaissance European mathematicians. Each era refined the way mathematicians represented and manipulated the special products—expressions whose structure follows predictable, memorizable patterns. Understanding these patterns transforms factoring from tedious trial-and-error into rapid pattern recognition, a skill the ACCUPLACER exam rewards heavily.

c. 1800 BCE • Babylonian Algebra

Babylonian scribes solve quadratic-type problems on clay tablets using geometric methods equivalent to the difference-of-squares identity, expressed as area computations.

c. 300 BCE • Euclid's Elements

Book II of Euclid's Elements proves geometric propositions that correspond directly to (a + b)² = a² + 2ab + b² and (a − b)(a + b) = a² − b², establishing them as rigorous theorems.

c. 825 CE • Al-Khwārizmī's Al-Jabr

The Persian mathematician al-Khwārizmī systematizes 'completing the square' as an algorithmic procedure, bridging geometric reasoning and algebraic manipulation. The word algebra derives from the title of his treatise.

1591 • Viète's Symbolic Notation

François Viète introduces systematic use of letters for both knowns and unknowns, enabling the compact symbolic identities—such as a² − b² = (a − b)(a + b)—that modern algebra students memorize today.

The central question this lesson addresses is deceptively simple: given a polynomial, how do you determine—quickly and reliably—whether it matches a special-product pattern and, if so, write its factored form? On the ACCUPLACER, speed matters as much as accuracy, so internalizing these patterns lets you bypass general factoring strategies whenever a shortcut exists.

SECTION 2

Core Principles & Definitions

Factoring special products rests on recognizing that certain polynomials are the result of multiplying specific binomial pairs. Rather than expanding and then un-expanding, you learn to read the finished product and reverse-engineer the factors. Two families dominate: the difference of squares and perfect square trinomials. A third pattern, the sum or difference of cubes, also appears occasionally, but this lesson focuses on the two quadratic-level patterns tested most frequently on the ACCUPLACER.

1

Perfect Square

An expression of the form a², where a can be any monomial. Examples: 9x² = (3x)², 25 = 5², 4y⁴ = (2y²)². Recognizing perfect squares in the first and last terms of a polynomial is the gateway to both patterns.
2

Difference of Squares

A binomial of the form A² − B² factors as (A + B)(A − B). The key structural cue is two perfect-square terms separated by subtraction. A sum of squares, A² + B², does not factor over the reals.
3

Perfect Square Trinomial

A trinomial of the form A² + 2AB + B² or A² − 2AB + B² factors as (A + B)² or (A − B)², respectively. The middle term is exactly twice the product of the square roots of the outer terms.
4

The Middle-Term Test

For a trinomial ax² + bx + c, check whether b = ±2√(a)·√(c). If the relationship holds, you have a perfect square trinomial. This single numerical test distinguishes special-product trinomials from general ones.
✦

KEY TAKEAWAY

Think of special-product factoring like recognizing a song from its opening chord. A difference of squares always 'sounds' like two perfect squares separated by a minus sign—no middle term. A perfect square trinomial 'sounds' like two perfect squares with a middle term that is exactly twice their product. Once you train your ear (or eye), you skip the trial-and-error and jump straight to the factored form, the way a musician identifies a chord without playing each note separately.

SECTION 3

Visual Explanation — Geometric Proof of the Identities

The elegance of special-product identities becomes most apparent when you visualize them as areas of squares and rectangles. The diagram below provides a geometric decomposition of the perfect square trinomial identity and the difference of squares identity side by side, demonstrating why these algebraic relationships are not arbitrary rules but inevitable consequences of area computation.

Perfect Square Trinomial(a + b)² = a² + 2ab + b²a²ababb²← a →← b →Total side = a + bArea = a² + 2ab + b²Difference of Squaresa² − b² = (a + b)(a − b)a²b²← a →b(a + b)(a − b)a² − b² = (a+b)(a−b)
Left: A square of side (a + b) is partitioned into four regions—a², ab, ab, and b²—proving that (a + b)² = a² + 2ab + b². Right: Removing a b² corner from an a² square leaves an L-shaped region whose area, a² − b², can be rearranged into a rectangle of dimensions (a + b) × (a − b).

The geometric perspective reveals why a sum of two squares does not factor over the reals: there is no analogous way to rearrange a² + b² into a product of two binomials with real coefficients. The difference, by contrast, naturally decomposes into an (a + b) by (a − b) rectangle. This visual intuition helps you remember the identities under exam pressure, because you can always mentally reconstruct them from the area argument.

SECTION 4

Mathematical Framework

The two special-product identities you need for the ACCUPLACER can be stated compactly. In each case, A and B represent arbitrary expressions—monomials, binomials, or even more complex terms—so these identities generalize far beyond simple single-variable polynomials.

DIFFERENCE OF SQUARES

A2−B2=(A+B)(A−B)A² − B² = (A + B)(A − B)

A and B are any real-valued expressions. The binomial must involve subtraction between two perfect squares. If addition appears instead (A² + B²), the expression is prime over the reals.

PERFECT SQUARE TRINOMIAL (SUM)

A2+2AB+B2=(A+B)2A² + 2AB + B² = (A + B)²

The middle term equals exactly 2 × A × B. Verify by computing 2·√(first term)·√(last term) and checking whether this matches the middle coefficient.

PERFECT SQUARE TRINOMIAL (DIFFERENCE)

A2−2AB+B2=(A−B)2A² − 2AB + B² = (A − B)²

Identical structure to the sum form, but the middle term is negative, so the binomial factor uses subtraction. The squared result is always non-negative: (A − B)² ≥ 0.

A useful verification strategy: after factoring, mentally re-expand using FOIL (First, Outer, Inner, Last). For (A + B)(A − B), the Outer and Inner terms cancel: A(−B) + B(A) = 0, leaving A² − B². For (A + B)², FOIL gives A² + AB + AB + B² = A² + 2AB + B². This re-expansion takes only seconds and prevents sign errors on test day.

⚠

Common Pitfall

Students sometimes attempt to factor a sum of squares (e.g., x² + 16) as (x + 4)(x − 4). This is incorrect—FOIL yields x² − 16, not x² + 16. Over the real numbers, x² + 16 is irreducible. On the ACCUPLACER, if the correct answer is 'cannot be factored,' the sum-of-squares case is the most likely reason.

SECTION 5

Pattern Recognition Flowchart

On a timed exam, the first step is always classification: does this polynomial match a special pattern, and if so, which one? The flowchart below codifies the decision process. Start at the top and follow the branches; within seconds you will know whether to apply a special-product identity or fall back on general factoring techniques such as grouping or the ac-method.

Start: Given PolynomialHow many terms?(after factoring out GCF)2 terms3 termsBoth terms perfectsquares? Subtraction?YesNoA² − B²= (A+B)(A−B)Not a specialproductFirst & last terms perfectsquares?YesNoMiddle term = ±2AB ?YesNoA² ± 2AB + B²= (A ± B)²Use generalfactoring methodGeneralAlways factor out the GCF first, then apply the appropriate pattern.Tip: Re-expand to verify your answer!
Decision flowchart for identifying special-product patterns. Start by factoring out any GCF, then count terms. For binomials, check for a difference of squares. For trinomials, verify that the first and last terms are perfect squares and that the middle term satisfies the 2AB test.
PatternStructureFactored FormQuick Check
Difference of SquaresA² − B²(A + B)(A − B)Exactly 2 terms, subtraction, both perfect squares
Perfect Square Trinomial (+)A² + 2AB + B²(A + B)²Middle term = +2 × √(first) × √(last)
Perfect Square Trinomial (−)A² − 2AB + B²(A − B)²Middle term = −2 × √(first) × √(last)
Sum of SquaresA² + B²Prime (does not factor)No real factorization exists

Summary of special-product patterns relevant to the ACCUPLACER

SECTION 6

Worked Examples

Example 1 — Difference of Squares

Factor completely: 49x² − 36.

Factoring 49x² − 36

  1. 1

    Step 1 — Check for a GCF

    The terms 49x² and 36 share no common factor other than 1, so we proceed directly to pattern recognition.
  2. 2

    Step 2 — Count terms and identify the pattern

    There are exactly two terms separated by subtraction. Both 49x² = (7x)² and 36 = 6² are perfect squares. This is a difference of squares.
  3. 3

    Step 3 — Identify A and B

    A = 7x and B = 6.
  4. 4

    Step 4 — Apply the identity A² − B² = (A + B)(A − B)

    49x² − 36 = (7x + 6)(7x − 6).
    (7x + 6)(7x − 6)
  5. 5

    Step 5 — Verify by FOIL

    (7x)(7x) + (7x)(−6) + (6)(7x) + (6)(−6) = 49x² − 42x + 42x − 36 = 49x² − 36. ✓

Example 2 — Perfect Square Trinomial

Factor completely: 4x² − 20x + 25.

Factoring 4x² − 20x + 25

  1. 1

    Step 1 — Check for a GCF

    No common factor exists among all three terms.
  2. 2

    Step 2 — Identify the first and last terms as perfect squares

    4x² = (2x)² and 25 = 5². Both are perfect squares, so a perfect square trinomial is possible.
  3. 3

    Step 3 — Apply the middle-term test

    Compute 2 × A × B = 2 × (2x) × (5) = 20x. The middle term of the trinomial is −20x, which matches in absolute value with a negative sign. This confirms a perfect square trinomial of the subtraction type.
  4. 4

    Step 4 — Write the factored form

    Since the middle term is negative, use (A − B)²: 4x² − 20x + 25 = (2x − 5)².
    (2x − 5)²
  5. 5

    Step 5 — Verify

    (2x − 5)² = (2x)² − 2(2x)(5) + 5² = 4x² − 20x + 25. ✓

Example 3 — GCF First, Then Special Product

Factor completely: 3x³ − 75x.

Factoring 3x³ − 75x

  1. 1

    Step 1 — Factor out the GCF

    Both terms share a factor of 3x: 3x³ − 75x = 3x(x² − 25).
  2. 2

    Step 2 — Recognize the remaining binomial

    x² − 25 = x² − 5². This is a difference of squares with A = x and B = 5.
  3. 3

    Step 3 — Apply the difference-of-squares identity

    3x(x² − 25) = 3x(x + 5)(x − 5).
    3x(x + 5)(x − 5)

SECTION 7

Special Products vs. General Factoring

Not every polynomial fits a special-product template. When it does, however, the payoff in speed and simplicity is enormous. The table below compares special-product factoring with general factoring strategies you might use as fallbacks on the ACCUPLACER.

CriterionSpecial-Product FactoringGeneral Factoring (ac-method, grouping)
SpeedNearly instant once the pattern is recognizedRequires systematic trial; may take 1–3 minutes
ApplicabilityOnly when the polynomial matches a specific templateWorks for any factorable quadratic trinomial
Error riskLow—only sign and square-root errorsHigher—multiple factor pairs to test
Extends to higher degree?Yes—e.g., x⁴ − 16 = (x² + 4)(x² − 4) = (x² + 4)(x + 2)(x − 2)Becomes increasingly cumbersome beyond degree 2
VerificationRe-expand via FOIL or squaring a binomialRe-expand via FOIL or distribution

Comparison of factoring strategies

✦

STRATEGIC INSIGHT

Think of special-product identities as keyboard shortcuts. General factoring is like navigating menus—it always works, but it's slow. Pattern recognition is like pressing Ctrl+Z: one quick action replaces several clicks. On the ACCUPLACER, where each problem has roughly the same time budget, shaving 90 seconds off a factoring problem frees time for harder questions downstream.

SECTION 8

Connection to Advanced Factoring & Algebra

The special-product identities you have studied generalize in several directions that appear in college algebra and calculus courses. Recognizing these extensions is valuable both for advanced ACCUPLACER questions and for downstream coursework.

This LessonAdvanced Extension
A² − B² = (A + B)(A − B)A⁴ − B⁴ = (A² + B²)(A + B)(A − B) — iterated difference of squares
A² ± 2AB + B² = (A ± B)²Completing the square: rewrite ax² + bx + c in vertex form a(x − h)² + k
Sum of squares A² + B² is prime over ℝOver ℂ: A² + B² = (A + Bi)(A − Bi), where i = √(−1)
Quadratic special productsSum/difference of cubes: A³ ± B³ = (A ± B)(A² ∓ AB + B²)

From special products to advanced algebra

One particularly important connection is between perfect square trinomials and the technique of completing the square. When you complete the square on ax² + bx + c, you are deliberately constructing a perfect square trinomial inside the expression so that it can be rewritten as a(x − h)² + k. This technique underpins the derivation of the quadratic formula and the conversion of conic equations to standard form—both topics that appear on the ACCUPLACER Advanced Algebra & Functions test.

💡

Looking Ahead

If you encounter x⁴ − 81 on the ACCUPLACER, recognize it as (x²)² − 9², a difference of squares. Factor it as (x² + 9)(x² − 9), then factor x² − 9 again as (x + 3)(x − 3). The factor x² + 9 is a sum of squares and remains prime over the reals. This layered approach—applying the same identity repeatedly—is a hallmark of advanced factoring.

SECTION 9

Practice Problems

Work through each problem below before checking the solution. The problems escalate in difficulty, mirroring the range you can expect on the ACCUPLACER.

Question 1: CONCEPTUAL

Explain why x² + 25 cannot be factored over the real numbers, even though both x² and 25 are perfect squares.
Show answer
The expression x² + 25 is a sum of two squares, not a difference. The difference-of-squares identity requires subtraction: A² − B² = (A + B)(A − B). If you attempt (x + 5)(x − 5), FOIL gives x² − 25, not x² + 25. There is no pair of real binomials whose product equals x² + 25, because x² + 25 > 0 for all real x, meaning it has no real roots and therefore no linear real factors. The expression is prime (irreducible) over the real numbers.

Question 2: BASIC CALCULATION

Factor completely: 81y² − 64.
Show answer
Recognize that 81y² = (9y)² and 64 = 8². The expression is a difference of squares. Applying A² − B² = (A + B)(A − B) with A = 9y and B = 8: 81y² − 64 = (9y + 8)(9y − 8). Verification: (9y)(9y) + (9y)(−8) + (8)(9y) + (8)(−8) = 81y² − 72y + 72y − 64 = 81y² − 64. ✓

Question 3: INTERMEDIATE

Factor completely: 9x² + 30x + 25.
Show answer
First, note that 9x² = (3x)² and 25 = 5². Check the middle term: 2 × (3x) × (5) = 30x, which matches the given middle term exactly. Since the middle term is positive, this is a perfect square trinomial of the sum type. Therefore, 9x² + 30x + 25 = (3x + 5)². Verify: (3x + 5)² = 9x² + 2(3x)(5) + 25 = 9x² + 30x + 25. ✓

Question 4: APPLIED

Factor completely: 2x⁴ − 32. (Hint: factor out the GCF first, then look for iterated special products.)
Show answer
Start with the GCF: 2x⁴ − 32 = 2(x⁴ − 16). Now x⁴ − 16 = (x²)² − 4², a difference of squares, so x⁴ − 16 = (x² + 4)(x² − 4). The factor x² − 4 is itself a difference of squares: x² − 4 = (x + 2)(x − 2). The factor x² + 4 is a sum of squares and is prime over the reals. Putting it all together: 2x⁴ − 32 = 2(x² + 4)(x + 2)(x − 2). This problem illustrates how the difference-of-squares identity can be applied iteratively whenever a resulting factor is itself a difference of two squares.

Question 5: CRITICAL THINKING

Consider the expression (x + 3)² − (2x − 1)². Factor it completely without first expanding the squares.
Show answer
The expression has the form A² − B² where A = (x + 3) and B = (2x − 1). Apply the difference-of-squares identity directly: [(x + 3) + (2x − 1)][(x + 3) − (2x − 1)]. Simplify each factor: the first becomes x + 3 + 2x − 1 = 3x + 2, and the second becomes x + 3 − 2x + 1 = −x + 4 (equivalently, 4 − x). Therefore, (x + 3)² − (2x − 1)² = (3x + 2)(4 − x). You can also write this as −(3x + 2)(x − 4). To verify, expand: (3x + 2)(4 − x) = 12x − 3x² + 8 − 2x = −3x² + 10x + 8. Expanding the original: (x² + 6x + 9) − (4x² − 4x + 1) = −3x² + 10x + 8. ✓ This problem demonstrates that A and B in the identity can be entire expressions, not just monomials.

SUMMARY

Lesson Summary

Summary

This lesson covered the two most important special-product factoring patterns for the ACCUPLACER. The difference of squares identity states that A² − B² = (A + B)(A − B) and applies whenever a binomial consists of two perfect squares joined by subtraction. The perfect square trinomial identity states that A² ± 2AB + B² = (A ± B)² and is confirmed by the middle-term test: check whether the middle coefficient equals ±2 × √(first term) × √(last term).

Always begin by factoring out the GCF before looking for special patterns. Remember that a sum of squares (A² + B²) is prime over the reals and does not factor. After factoring, always verify your answer by re-expanding. These identities extend to higher-degree expressions through iterated application and connect directly to completing the square, the quadratic formula, and conic-section analysis—topics you will encounter elsewhere on the ACCUPLACER Advanced Algebra & Functions test.

Varsity Tutors • ACCUPLACER Advanced Algebra & Functions • Factoring Special Products