Polynomial Factorization

Factoring starts with the greatest common factor, then uses the structure of the remaining polynomial to reveal simpler factors. This lesson develops grouping, the sum and difference of cubes with SOAP signs, and complete factorization through repeated checks, including difference-of-squares and quadratic-form examples. Multiplying back verifies the results.

Course cover for Polynomial Factorization

Locked Boxes

A polynomial can be thought of as a locked box: factoring reveals the simpler pieces inside, and different structures call for different techniques. The three opening expressions are $$8pq + 12q - 10p - 15$$, $$w^3 - 64$$, and $$3n^5 - 81n^2$$. The first has four terms with no common factor greater than $$1$$; the second has two terms that are cubes; the third needs a common factor removed before its inner pattern becomes clear

Which key opens which box? Begin every problem by checking the greatest common factor (GCF). Then use the remaining structure to choose a method. The learning tasks are to group four-term polynomials, handle opposite binomials by factoring out $$-1$$, apply the cube formulas with SOAP signs, combine methods until the factorization is complete, and verify the answer by multiplying back

Factoring by Grouping

What is the greatest common factor of all four terms of $$8pq + 12q - 10p - 15$$?

A

Every term shares $$q$$

B

Every term shares $$5$$

C

The overall GCF is just $$1$$

Group in pairs

Since the overall GCF is $$1$$, group the first two terms and the last two terms: $$8pq + 12q - 10p - 15 = (8pq + 12q) + (-10p - 15)$$. Factor $$4q$$ from the first pair and $$-5$$ from the second: $$4q(2p + 3) - 5(2p + 3)$$. Taking out negative $$5$$, rather than positive $$5$$, makes the two leftover binomials match

Both groups now share $$(2p + 3)$$, so factor it out: $$4q(2p + 3) - 5(2p + 3) = (2p + 3)(4q - 5)$$. Multiplying back gives $$8pq - 10p + 12q - 15$$, which is the original expression with its terms reordered

When the binomials are opposites

Factor by grouping: $$21 - 3c^2 - 7d^2 + c^2d^2$$. Regroup the terms as $$(21 - 7d^2) + (-3c^2 + c^2d^2)$$. Factoring each pair gives $$7(3 - d^2) + c^2(-3 + d^2)$$. The binomials $$(3 - d^2)$$ and $$(-3 + d^2)$$ are opposites, not identical

Use $$-3 + d^2 = -(3 - d^2)$$ to rewrite the second group. Then $$7(3 - d^2) + c^2(-3 + d^2) = 7(3 - d^2) - c^2(3 - d^2) = (3 - d^2)(7 - c^2)$$

Complete a grouping

For $$10ab + 15b - 4a - 6$$, what factor comes out of the second pair, and what is the final second factor? The started chain is $$10ab + 15b - 4a - 6 = 5b(2a + 3) + (-4a - 6)$$. Since $$-4a - 6 = -2(2a + 3)$$, the factor pulled from the second pair is $$-2$$. Thus $$5b(2a + 3) - 2(2a + 3) = (2a + 3)(5b - 2)$$, and the final second factor is $$(5b - 2)$$

Sum and Difference of Cubes

For a two-term expression that is a sum or difference of cubes, identify the cube roots $$A$$ and $$B$$ and keep them in their original order. The formulas are $$A^3 + B^3 = (A + B)(A^2 - AB + B^2)$$ and $$A^3 - B^3 = (A - B)(A^2 + AB + B^2)$$

SOAP rulePosition it controlsSum of cubesDifference of cubes
S: SameThe sign in the binomial copies the original sign.$$(A + B)$$$$(A - B)$$
O: OppositeThe middle term of the trinomial takes the opposite sign.$$-AB$$$$+AB$$
AP: Always PositiveThe last term of the trinomial has a positive sign.$$+B^2$$$$+B^2$$

What does each SOAP letter control? Same controls the binomial sign, Opposite controls the sign of the middle product term, and Always Positive controls the sign before the final square. In both formulas, the trinomial begins with $$A^2$$ and ends with $$+B^2$$; the signs that change between the formulas are the binomial sign and the middle sign

Why the signs work

Verify the difference-of-cubes formula by distributing both terms of $$(A - B)$$: $$(A - B)(A^2 + AB + B^2) = A^3 + A^2B + AB^2 - A^2B - AB^2 - B^3$$. The terms $$+A^2B$$ and $$-A^2B$$ cancel, as do $$+AB^2$$ and $$-AB^2$$. What remains is $$A^3 - B^3$$. These cancellations explain the sign pattern. In the formula with $$A$$ and $$B$$ as variables, the remaining trinomial $$A^2 + AB + B^2$$ does not factor further over the integers

Match the sign slots

For $$p^3 - q^3 = (p \; ? \; q)(p^2 \; ? \; pq \; ? \; q^2)$$, which sign and SOAP reason belong in each slot? The binomial slot is $$-$$, the Same as the original difference. The middle $$pq$$ slot is $$+$$, the Opposite of the original sign. The last $$q^2$$ slot is $$+$$, Always Positive. The completed formula is $$p^3 - q^3 = (p - q)(p^2 + pq + q^2)$$

Using the Cube Formulas

A difference of cubes: $$27 - u^3$$

Factor completely: $$27 - u^3$$. Rewrite the terms as cubes: $$27 - u^3 = (3)^3 - (u)^3$$, so $$A = 3$$ and $$B = u$$. Keep that order in the binomial and copy the original minus sign to obtain $$(3 - u)$$. The trinomial uses $$3^2 = 9$$, the opposite sign with the product $$3u$$, and the positive final square $$u^2$$. Therefore $$27 - u^3 = (3 - u)(9 + 3u + u^2)$$

Check by multiplying: $$(3 - u)(9 + 3u + u^2) = 27 + 9u + 3u^2 - 9u - 3u^2 - u^3$$. The $$9u$$ terms cancel, and the $$3u^2$$ terms cancel, leaving $$27 - u^3$$

Cubes with coefficients: $$64g^3 + 125h^3$$

Factor completely: $$64g^3 + 125h^3$$. Since $$64 = 4^3$$ and $$125 = 5^3$$, rewrite the expression as $$(4g)^3 + (5h)^3$$. The whole cube roots are $$A = 4g$$ and $$B = 5h$$, coefficients included. The binomial is $$(4g + 5h)$$. For the trinomial, $$(4g)^2 = 16g^2$$, the product is $$(4g)(5h) = 20gh$$ with a minus sign, and $$(5h)^2 = 25h^2$$. Thus $$64g^3 + 125h^3 = (4g + 5h)(16g^2 - 20gh + 25h^2)$$

Multiplying back gives $$64g^3 - 80g^2h + 100gh^2 + 80g^2h - 100gh^2 + 125h^3$$. The $$g^2h$$ terms cancel in a pair, and the $$gh^2$$ terms cancel in a pair, leaving $$64g^3 + 125h^3$$

Which is the complete factorization of $$w^3 - 64$$?

A

$$(w - 4)(w^2 + 4w + 16)$$

B

$$(4 - w)(w^2 + 4w + 16)$$

C

$$(w - 4)(w^2 - 4w + 16)$$

D

$$(w - 4)(w^2 + 4w - 16)$$

Factoring Completely

Factoring completely is like opening nesting dolls: a factor produced by one step may contain another factorization. Use three steps in order. First, factor out the GCF. Second, count the terms in what remains and inspect its pattern. Third, recheck every factor and continue until none can be factored further

Terms remainingMethods to consider
Four termsGrouping
Two termsDifference of squares or sum or difference of cubes
Three termsTrinomial methods, including quadratic form

Which technique factors each expression: $$uv + 3u + 2v + 6$$, $$k^3 + 1000$$, and $$9m^2 - 49$$? The correct classification is $$uv + 3u + 2v + 6$$ → grouping; $$k^3 + 1000$$ → sum or difference of cubes, specifically a sum here; and $$9m^2 - 49$$ → difference of squares. Count terms first, then check whether the terms have the required square or cube structure

GCF first, then cubes

Factor completely: $$5w^5 - 5w^2$$. The GCF is $$5w^2$$, so $$5w^5 - 5w^2 = 5w^2(w^3 - 1)$$. The two terms inside form a difference of cubes: $$w^3 - 1 = (w)^3 - (1)^3 = (w - 1)(w^2 + w + 1)$$. Rechecking the factors shows that the trinomial does not factor further over the integers. The complete answer is $$5w^2(w - 1)(w^2 + w + 1)$$

A whole binomial can be the squared quantity

Factor completely: $$(m+n)^2 - (m-n)^2$$. Both terms are perfect squares, with the entire binomials playing the roles $$A = (m+n)$$ and $$B = (m-n)$$. Applying the difference-of-squares pattern gives $$[(m+n) + (m-n)][(m+n) - (m-n)]$$

Simplify each bracket carefully. The first is $$m+n+m-n = 2m$$, because the $$n$$ terms cancel. The second is $$m+n-m+n = 2n$$, because subtracting $$(m-n)$$ changes both signs and the $$m$$ terms cancel. Therefore $$(m+n)^2 - (m-n)^2 = (2m)(2n) = 4mn$$

Quadratic form, then squares

Factor completely: $$z^4 - 2z^2 - 8$$. There is no common factor greater than $$1$$, and the three terms form a quadratic in $$z^2$$: $$z^4 - 2z^2 - 8 = (z^2)^2 - 2(z^2) - 8$$. The numbers $$-4$$ and $$2$$ multiply to $$-8$$ and add to $$-2$$, so the first factorization is $$(z^2 - 4)(z^2 + 2)$$

Recheck both factors. The difference of squares $$z^2 - 4$$ factors as $$(z - 2)(z + 2)$$. The sum of squares $$z^2 + 2$$ does not factor over the reals. The complete answer is $$(z - 2)(z + 2)(z^2 + 2)$$

Complete the GCF-and-cubes chain

For $$3n^5 - 81n^2$$, what GCF should be pulled out, and what binomial factors the remaining difference of cubes? The GCF must include both the common number $$3$$ and the lowest power $$n^2$$, so it is $$3n^2$$. Thus $$3n^5 - 81n^2 = 3n^2(n^3 - 27)$$. Since $$27 = 3^3$$, keep $$n$$ before $$3$$ and use the original minus sign: $$n^3 - 27 = (n - 3)(n^2 + 3n + 9)$$. The completed chain is $$3n^5 - 81n^2 = 3n^2(n^3 - 27) = 3n^2(n - 3)(n^2 + 3n + 9)$$

Summary

1. GCF first, always. Check what divides every term and pull out the greatest common factor before choosing another method

2. Count terms to pick the key. Four terms suggest grouping; if the resulting binomials are opposites, factor out $$-1$$ to make them match. Two terms suggest checking for a difference of squares or a sum or difference of cubes. Three terms suggest trinomial methods

3. Use the cube formulas with SOAP: $$A^3 + B^3 = (A + B)(A^2 - AB + B^2)$$ and $$A^3 - B^3 = (A - B)(A^2 + AB + B^2)$$. Keep the cube roots in their original order. The binomial sign is the Same, the middle sign is Opposite, and the final square is Always Positive

4. Factor completely. Recheck every factor rather than stopping after the first factorization. A difference of squares may still split, while a sum of squares such as $$z^2 + 2$$ does not factor over the reals

5. Prove the answer. Multiply the factors back out and combine like terms. In the cube formulas, the cross terms cancel in pairs, leaving the original sum or difference of cubes

Quiz

Which is the complete factorization of $$3x^3 + 3x^2 - 12x - 12$$?

A

$$3(x + 1)(x + 2)(x - 2)$$

B

$$3(x + 1)(x^2 - 4)$$

C

$$(3x + 3)(x^2 - 4)$$

D

$$3(x - 1)(x + 2)(x - 2)$$

Build a cube trinomial

Build the trinomial factor of $$27a^3 + 8b^3$$ term by term. Since $$27 = 3^3$$ and $$8 = 2^3$$, the fixed binomial is $$(3a + 2b)$$. Square the whole first cube root to get $$(3a)^2 = 9a^2$$. The opposite sign in the middle gives $$-(3a)(2b) = -6ab$$. The always-positive final square is $$+(2b)^2 = +4b^2$$. The three completed terms are $$9a^2$$, $$-6ab$$, and $$+4b^2$$, so $$27a^3 + 8b^3 = (3a + 2b)(9a^2 - 6ab + 4b^2)$$

Which is the complete factorization of $$y^4 - 5y^2 - 36$$?

A

$$(y^2 + 4)(y + 3)(y - 3)$$

B

$$(y^2 + 4)(y^2 - 9)$$

C

$$(y + 2)(y - 2)(y + 3)(y - 3)$$

D

$$(y^2 - 4)(y^2 + 9)$$

Continue with the interactive lesson