Algebra › Section F · Factoring › Topic F.1
Greatest common factor and grouping
Multiplication builds polynomials up; factoring takes them back apart. Two tools open almost every door — pull out the greatest common factor, and when four terms refuse to share one, pair them up and factor by grouping.
Factoring is un-multiplying
Multiplication turns \((x + 2)(x^2 + 3)\) into \(x^3 + 2x^2 + 3x + 6\); factoring runs the film backwards, starting with the expanded polynomial and recovering the product. The product form is the useful one — it reveals where an expression is zero, and it cancels in fractions. Every factoring technique in this course is a search pattern for that hidden product, and the first move, always, is the greatest common factor.
Finding the greatest common factor
The GCF of several terms is the largest factor they all share, found piece by piece. Take the largest common factor of the coefficients, then the smallest power of each variable present in every term. For \(12x^3y^2\) and \(18x^2y^4\): the coefficients give \(6\) (the largest factor of both 12 and 18), the \(x\)-powers give \(x^2\) (the smaller exponent), and the \(y\)-powers give \(y^2\), so the GCF is \(6x^2y^2\). Smallest exponent wins on variables because a common factor cannot contain more copies of a variable than the stingiest term owns.
Factoring out the GCF
Pulling the GCF out of a polynomial is the distributive property in reverse: \(ab + ac = a(b + c)\). Rewrite each term as the GCF times what remains, then collect. For \(8x^3y + 12x^2y^2\), the GCF is \(4x^2y\): the terms become \(4x^2y \cdot 2x\) and \(4x^2y \cdot 3y\), so the factored form is \(4x^2y(2x + 3y)\). Distributing back across the parentheses is the built-in check — if the products do not rebuild the original exactly, something slipped.
Worked example: factoring a GCF completely
Factor \(6x^4 - 15x^3 + 9x^2\). The coefficients share \(3\); the smallest power of \(x\) is \(x^2\), so the GCF is \(3x^2\). Rewrite each term: \(3x^2 \cdot 2x^2 - 3x^2 \cdot 5x + 3x^2 \cdot 3\), which factors to \(3x^2(2x^2 - 5x + 3)\). Distributing back: \(3x^2 \cdot 2x^2 = 6x^4\), \(3x^2 \cdot (-5x) = -15x^3\), and \(3x^2 \cdot 3 = 9x^2\) — the original rebuilt term for term. Note what stays behind in the parentheses: each original term divided by the GCF, including the sign.
Taking out a negative GCF
When the leading coefficient is negative, factoring out a negative GCF cleans the expression up: \(-2x^2 + 10x = -2x(x - 5)\), because \(-2x \cdot x = -2x^2\) and \(-2x \cdot (-5) = 10x\). The price is a sign flip on every term inside the parentheses. The negative is optional for correctness — \(-2x^2 + 10x\) also equals \(2x(-x + 5)\) — but a positive leading coefficient inside the parentheses is usually the tidier stopping point, and some later techniques (like solving equations) will ask for it explicitly.
Four terms: the grouping shape
Four terms with no factor common to all of them is not a dead end — it is the shape that grouping targets. Split the four terms into two pairs, factor the GCF out of each pair separately, and if the same binomial remains in both, that binomial factors out front. Grouping works when the pairing is right, and it fails loudly: if the leftovers are two different binomials, nothing more can be pulled out of that arrangement.
Worked example: factoring by grouping
Factor \(x^3 + 3x^2 + 2x + 6\). No single factor is common to all four terms. Group in pairs: \((x^3 + 3x^2) + (2x + 6)\). The first pair shares \(x^2\), giving \(x^2(x + 3)\); the second pair shares \(2\), giving \(2(x + 3)\). Now the same binomial \((x + 3)\) appears in both halves, so it factors out: \(x^2(x + 3) + 2(x + 3) = (x + 3)(x^2 + 2)\). Check by expanding: \(x \cdot x^2 = x^3\), \(x \cdot 2 = 2x\), \(3 \cdot x^2 = 3x^2\), \(3 \cdot 2 = 6\) — the original, rebuilt.
When the natural pairing fails, rearrange
Try factoring \(x^3 + 3 + 3x^2 + x\) exactly as written: the pair \((x^3 + 3)\) shares no factor at all, and the pair \((3x^2 + x)\) gives \(x(3x + 1)\). The leftovers do not match, so that grouping is a dead end — but the polynomial is not. Reorder the terms as \(x^3 + 3x^2 + x + 3\): now \(x^2(x + 3) + 1(x + 3)\), and the shared binomial surfaces, giving \((x + 3)(x^2 + 1)\). Expanding back rebuilds the original. When a grouping fails, try grouping first-with-fourth and second-with-third, or reorder entirely, before declaring the polynomial prime.
GCF first, even inside grouping
The two tools stack. Factor \(2x^3 + 4x^2 + 6x + 12\). A factor of \(2\) is common to all four terms, so take it out first: \(2(x^3 + 2x^2 + 3x + 6)\). Now group inside: \(2\big(x^2(x + 2) + 3(x + 2)\big) = 2(x + 2)(x^2 + 3)\). Expanding back confirms it: \(2(x + 2)(x^2 + 3) = 2 \cdot (x^3 + 2x^2 + 3x + 6)\), the original. Scanning for a GCF before any other move is the cheapest habit in algebra — it shrinks every later step.
Common mistakes to avoid
First, stopping halfway: \(2x^2y(4x + 6y)\) is not finished, because \(4x + 6y\) still hides a factor of \(2\) — the honest form is \(4x^2y(2x + 3y)\). Second, losing the invisible \(1\): in \(x^2y + x^2\), the GCF is \(x^2\), and the second term contributes a \(1\), giving \(x^2(y + 1)\), not \(x^2(y + 0)\). Third, forgetting sign flips when the GCF is negative. Fourth, forcing a grouping whose leftovers do not match — instead, rearrange and retry. Fifth, skipping the check; distributing back over the factored form takes ten seconds and catches every one of these errors.
Key takeaways
Factoring reverses multiplication, recovering the product form that makes zeros visible and fractions cancellable. The GCF takes the largest common coefficient factor and the smallest power of each variable, and comes out by the distributive property run in reverse — always check by distributing back. A negative GCF is worth taking when the leading coefficient is negative, flipping every sign inside. Four-term polynomials factor by grouping: pair, factor each pair, and pull out the shared binomial; if no binomial is shared, rearrange before giving up. And the GCF comes out before any other move, every time.
Flashcards
Flashcard
Rewriting a polynomial as a product
Test your understanding
Question 1 of 5
What is the greatest common factor of 12x^3y^2 and 18x^2y^4?
Question 2 of 5
Factor 8x^3y + 12x^2y^2 completely.
Question 3 of 5
Factor x^3 + 3x^2 + 2x + 6 by grouping.
Question 4 of 5
Factor −3x^2 + 15x using a negative GCF.
Question 5 of 5
Factor 2x^3 + 4x^2 + 6x + 12 completely, using the GCF first and then grouping.
