Why the Order of Factoring Matters
Factoring a polynomial means rewriting it as a product of simpler polynomial factors. A polynomial can sometimes be factored in more than one stage: first remove a common factor, then recognize a trinomial or a special product inside what remains. Choosing the order carefully makes the work shorter and helps prevent factors from being missed.
For example, before trying to factor a complicated expression by grouping or by a special identity, inspect every term for a common numerical or variable factor. Removing that factor may reveal a familiar pattern. After each step, inspect the factors again: a result is not completely factored if one of its factors can still be factored by the methods being used.
A Practical Selection Order
There is no single test that immediately identifies the right method for every polynomial. A reliable routine is to check for broad patterns first, then look for structures that apply to particular arrangements of terms.
Look across every term for a common numerical factor and any variable factors shared by all terms. Factor out the greatest such factor before proceeding.
A trinomial may call for a quadratic-trinomial method. Four terms may be suitable for grouping, especially if pairs can be arranged to produce a common binomial.
Look for a difference of squares, a perfect-square trinomial, or a sum or difference of cubes. These patterns can make a factorization immediate.
A method may create a new factor that can be factored further. Continue until no factor can be split by the methods that apply.
Use distribution to expand the proposed product. The result must match the original polynomial term by term.
This order is a guide, not a rule that forbids other approaches. In particular, grouping and special-product recognition may be used after a common factor has been removed. The examples below illustrate how to make those choices.
Greatest Common Factor Before a Trinomial
The greatest common factor, or GCF, is the largest numerical and variable factor shared by every term. Taking it out first can reduce the number size and expose a familiar factorization inside the parentheses.
Worked Example: Factor Out a GCF, Then Factor a Trinomial
Factor \(6x^3+15x^2-36x\) completely.
The coefficients \(6\), \(15\), and \(-36\) have greatest common numerical factor \(3\). Each term also contains at least one factor of \(x\), so the common variable factor is \(x\). The GCF is \(3x\).
Now factor the trinomial \(2x^2+5x-12\). The product of the leading coefficient and constant term is \(2(-12)=-24\). The integers \(8\) and \(-3\) have product \(-24\) and sum \(5\), so split the middle term \(5x\) as \(8x-3x\):
Therefore, the complete factorization is:
Check: First, \((x+4)(2x-3)=2x^2+5x-12\). Multiplying by \(3x\) gives \(3x(2x^2+5x-12)=6x^3+15x^2-36x\), which is the original polynomial.
When Grouping Produces a Useful Factor
Factoring by grouping is useful when terms can be divided into groups, each of which has a common factor, and those common factors leave the same expression behind. The shared expression can then be factored out. The method depends on the distributive property, so the choice of grouping matters.
Worked Example: Group, Then Use a Difference of Squares
Factor \(x^3+2x^2-9x-18\) completely.
There is no numerical or variable factor shared by all four terms. Group the first two terms and the last two terms:
Factor out the GCF from each group. The first group has common factor \(x^2\); the second has common factor \(-9\):
Both terms contain \(x+2\), so factor it out. Then apply the difference-of-squares identity \(a^2-b^2=(a-b)(a+b)\):
Check: Multiplying the last two factors gives \((x-3)(x+3)=x^2-9\). Then \((x+2)(x^2-9)=x^3+2x^2-9x-18\), matching the original polynomial.
Choosing Factors for a Trinomial
For a trinomial \(ax^2+bx+c\) with integer coefficients, a useful method is to find two integers whose product is \(ac\) and whose sum is \(b\). Split the middle term using those integers, then factor by grouping. This procedure requires that such an integer pair exists for the factorization over the integers being sought. If no such pair exists, this particular method does not produce an integer factorization.
Worked Example: Factor a Nonmonic Trinomial
Factor \(6x^2+x-2\).
Here \(a=6\), \(b=1\), and \(c=-2\), so \(ac=6(-2)=-12\). The integers \(4\) and \(-3\) have product \(-12\) and sum \(1\). Split \(x\) as \(4x-3x\), then group:
Check: Expanding the factors gives \((3x+2)(2x-1)=6x^2-3x+4x-2=6x^2+x-2\).
Recognizing Special Products
Some expressions match standard identities directly. The difference of squares has the form \(a^2-b^2\) and factors as \((a-b)(a+b)\). A perfect-square trinomial has the form \(a^2+2ab+b^2=(a+b)^2\) or \(a^2-2ab+b^2=(a-b)^2\). For cubes, the corresponding identities are \(a^3-b^3=(a-b)(a^2+ab+b^2)\) and \(a^3+b^3=(a+b)(a^2-ab+b^2)\).
Recognition depends on matching every part of the pattern, including signs and the middle term. For instance, a trinomial is not a perfect-square trinomial merely because its first and last terms are squares: its middle term must also equal twice the product of their square roots, with the appropriate sign.
Worked Example: Remove a GCF Before Using a Difference of Squares
Factor \(12x^4-75x^2\) completely.
The coefficients \(12\) and \(75\) have greatest common factor \(3\), and both terms contain \(x^2\). Thus the GCF is \(3x^2\):
The expression in parentheses is a difference of squares: \(4x^2=(2x)^2\) and \(25=5^2\). Therefore:
Check: \((2x-5)(2x+5)=(2x)^2-5^2=4x^2-25\). Multiplying by \(3x^2\) gives \(12x^4-75x^2\), the original expression.
Worked Example: Identify a Perfect-Square Trinomial
Factor \(25y^2-40y+16\).
The first term is \((5y)^2\) and the last term is \(4^2\). Twice their product is \(2(5y)(4)=40y\). The middle term is \(-40y\), so the minus-sign perfect-square identity applies:
Check: \((5y-4)^2=(5y-4)(5y-4)=25y^2-20y-20y+16=25y^2-40y+16\).
Why the Methods Work
Each method preserves the original polynomial because it uses the distributive property or a consequence of it. Factoring out a common factor reverses distribution: \(ab+ac=a(b+c)\). Grouping applies this same identity twice and then factors a shared expression. The trinomial method is grouping after splitting the middle term, while special-product formulas are identities obtained by expanding the factors.
For example, the grouping steps in the cubic example are justified by distributing in reverse. Starting from \((x+2)(x^2-9)\), distribution gives \(x^2(x+2)-9(x+2)\). Distributing each term again gives \(x^3+2x^2-9x-18\). Hence each equality in the factorization chain represents the same polynomial, not an approximation or a change in value.
Rewrite a sum such as \(ab+ac\) as \(a(b+c)\), or split a trinomial's middle term so that grouping becomes possible.
Recognize a pattern such as \(a^2-b^2\), whose factorization follows by expanding \((a-b)(a+b)\).
If the expansion returns every original term with the correct coefficient and sign, it verifies the factorization.
A Common Mistake: Stopping Too Soon
A frequent error is to stop after finding one factorization, even though a factor can still be split. Another is to guess factors and accept them without multiplying back. Here is a concrete incorrect calculation:
This is wrong because \((x+2)^2=x^2+4x+4\), which does not equal \(x^2+5x+6\). For the correct factorization, the two numbers must multiply to \(6\) and add to \(5\): they are \(2\) and \(3\). Thus:
Expanding confirms the correction: \((x+2)(x+3)=x^2+3x+2x+6=x^2+5x+6\). The check is not an optional final flourish; it is a direct test that the factors reproduce the polynomial.
Putting the Decisions Together
When you face a new polynomial, do not commit immediately to the first pattern you notice. Check the GCF first, because any common factor remains part of a complete factorization. Next, consider the number and arrangement of terms. Try grouping when pairs can yield matching binomials; use the integer-pair method for a trinomial when the required pair exists; and check whether the expression matches a special-product identity. After each successful step, look at the factors again.
The goal is not to keep applying methods mechanically. It is to make a sequence of justified choices. A result is convincing when the factorization uses the relevant patterns fully and expansion recovers the original polynomial exactly.
Check Your Understanding
For each question, consider both the method choice and how you would verify the result.
- What should you check before trying to factor a trinomial or use grouping?
- What condition on two integers is used to split the middle term of \(ax^2+bx+c\)?
- Why does factoring by grouping require the same binomial expression to appear in both groups?
- What three features must match for a trinomial to be a perfect-square trinomial?
- Factor \(8x^3-18x\) completely, showing why the order of methods matters and checking by expansion.