To factor out the greatest common factor, find the largest number and the highest power of each variable shared by every term, then divide each term by it and write the result as a product. For 12x³ + 18x², the GCF is 6x², giving 6x²(2x + 3). The method works the same way for two terms or ten, but the sign inside the parentheses depends entirely on the leading coefficient of the original expression.
Read the Coefficients Before You Touch the Variables
Start with the numbers alone. The coefficient GCF is the largest integer dividing every coefficient exactly, and the fastest route is prime factorization rather than guessing. For 24, 36, and 60, the factorizations are 2³·3, 2²·3², and 2²·3·5. Take the lowest power of each shared prime: 2² and 3, which multiplies to 12. Guessing would have landed on 6 or 24 and cost you a second pass.
Negative coefficients need one extra decision. The GCF of -8 and 20 is 4, not -4, because greatest common factor is conventionally a positive integer. Whether you pull the negative sign out is a separate strategic choice covered later, and it changes every sign inside the parentheses. Keep the two decisions apart or you'll flip signs by accident.
When the coefficients include a fraction, clear denominators first by factoring out the smallest denominator as part of the GCF. The expression (1/2)x + (3/4) has a numerical GCF of 1/4, giving (1/4)(2x + 3). Most textbooks avoid fractional coefficients in GCF exercises, so if one appears, check whether the problem intends for you to factor the denominator out front.
Zero is a special case worth naming. If every coefficient is zero, the expression is the zero polynomial and the GCF is undefined as a monomial—there is nothing to pull out that leaves a nonzero quotient. If only one coefficient is zero, the GCF includes no numerical factor tied to that term beyond what the nonzero terms support, but the variable part still applies.
Variables Follow an Exponent Minimum Rule
Each variable's GCF exponent is the smallest exponent appearing on that variable across all terms. In 15x⁴y² − 25x²y⁵, x appears as x⁴ and x², so x² comes out. The variable y appears as y² and y⁵, so y² comes out. The GCF is 5x²y², and the quotient is 3x² − 5y³. Nobody memorizes this as a rule so much as they notice they can't take out more x's than the term with fewer x's contains.
A variable missing from one term is not in the GCF at all. In 8x³ + 12y², there is no shared variable, so the GCF is just 4. Students frequently try to pull out an x anyway because the first term has one. The test: divide your candidate GCF into every term and confirm the result is a polynomial with no fractions. If a term ends up with x⁻¹, you pulled out too much.
Watch for variables that appear inside parentheses already. In 5(x + 2)³ − 10(x + 2), treat (x + 2) as a single unit and apply the exponent minimum: the lowest power is (x + 2)¹. The GCF is 5(x + 2), and the quotient is (x + 2)² − 2. This substitution trick matters more in calculus and polynomial long division than in early algebra, but the rule is identical.
Record the exponent minimum as a table when a problem has three or more variables. Writing x: {4, 2}, y: {2, 5}, z: {3, 3} makes the minimums visible at a glance and prevents the most common error, which is pulling an exponent from a term that appears later in the expression. People read left to right and overweight the first term's exponents.
Divide Term by Term With a Worked Check
Divide each original term by the GCF and write the quotient in parentheses. Take 42a³b − 56a²b² + 14ab³. The coefficients 42, 56, and 14 share a GCF of 14. The variables: a appears as a³, a², a¹, so a¹; b appears as b¹, b², b³, so b¹. GCF is 14ab. Dividing gives 3a² − 4ab + b².
Verify by multiplying back. 14ab(3a² − 4ab + b²) expands to 42a³b − 56a²b² + 14ab³, matching the original. This check costs about fifteen seconds and catches sign errors, missed exponents, and arithmetic slips that survive a visual re-read. Make it a habit rather than a spot check.
The number of terms in the quotient always equals the number of terms in the original. If you start with four terms and the parentheses contain three, you dropped one. This identity is the cheapest error detector in the whole process and it works regardless of how complicated the coefficients are.
Here is the full procedure as a sequence:
1: Factor each coefficient into primes and take the lowest power of each shared prime. 2: List every variable's exponents across all terms and take the minimum for each variable. 3: Combine the numerical and variable pieces into one GCF term. 4: Divide every original term by the GCF and write the quotients in parentheses. 5: Multiply the factored form back out and confirm it matches the original.
If step five fails, the error is almost always in step four. Re-divide the offending term by hand rather than re-deriving the GCF; the GCF is usually right if the multiplication nearly works.
When the quotient itself still has a common factor, the expression is not fully factored. 6x² + 12x factors to 6x(x + 2), which is complete. But 12x² + 24x factors to 12x(x + 2), not 6x(2x + 4), because 6x(2x + 4) still hides a factor of 2 in the parentheses. Check the quotient for a shared factor before declaring the answer final.
Choose Whether to Pull the Negative Sign Out
When the leading coefficient is negative, you have two valid answers unless the instructions specify otherwise. Take −6x³ − 9x². Option A pulls positive 3x²: 3x²(−2x − 3). Option B pulls negative 3x²: −3x²(2x + 3). Both are correct, and textbooks differ on which they prefer.
The tiebreaker is the leading term inside the parentheses. If the first term in the parentheses is positive, the factorization is generally considered cleaner because it resembles the leading-coefficient-first convention used in polynomial standard form. −3x²(2x + 3) satisfies that preference. 3x²(−2x − 3) does not.
Test instructions override the preference. Some online homework systems accept only one form, and a few require the GCF itself to be positive. Read the prompt before committing. If no instruction appears, either answer demonstrates the skill, and a grader who marks one wrong is enforcing a convention rather than checking the math.
The sign choice matters when you continue to a next step. Factoring −3x²(2x + 3) for a later zero-product solve gives the same roots as 3x²(−2x − 3) because the equation is set to zero and the constant factor is irrelevant. The choice affects appearance, not solutions. That distinction keeps you from agonizing over it during a timed test.
Know When the Process Cannot Go Further
The GCF method fails to make progress in three predictable situations. The first is a set of terms with no shared numerical factor and no shared variable, like 4x + 7y. Neither 4 nor 7 shares a factor beyond 1, and no variable appears in both terms. The expression is already in its simplest factored form.
The second is a binomial that is a difference of squares but shares no GCF. x² − 9 cannot be GCF-factored, but it factors as (x − 3)(x + 3) using a pattern. Doing GCF extraction on it produces 1(x² − 9), which is technically true and utterly useless. Recognize the situation and move to the appropriate method instead of forcing GCF.
The third is a polynomial whose terms share a common binomial rather than a monomial. In (x + 1)y + (x + 1)z, the shared factor is (x + 1), and the result is (x + 1)(y + z). This is factoring by grouping, which builds on GCF but uses a binomial as the common factor. It comes up in four-term expressions like 2x + 2y + ax + ay, which factors as (2 + a)(x + y) after grouping.
Time spent on GCF extraction is usually well invested even when a different method follows. Factoring 2x² − 18 as 2(x² − 9) and then as 2(x − 3)(x + 3) is faster and less error-prone than spotting the full pattern in one step. GCF first is a reliable default whenever more than one factoring technique could apply.
Use GCD Algorithms on Coefficients Too Large to Factor by Eye
Prime factorization is fine for coefficients under a hundred. For larger ones, the Euclidean algorithm produces the greatest common divisor in a handful of division steps regardless of size. Take 1,071 and 462. Divide 1,071 by 462: 462 × 2 = 924, remainder 147. Divide 462 by 147: 147 × 3 = 441, remainder 21. Divide 147 by 21: exact, so the GCD is 21.
The algorithm is fast because the remainders shrink quickly, roughly halving each step in the worst case. For 1,071 and 462 it took three divisions, while prime factorization requires computing 1,071 = 3² × 7 × 17 and 462 = 2 × 3 × 7 × 11, then comparing. Both reach 21, but the Euclidean route needs only subtraction and division.
This matters in real polynomial algebra more than textbooks let on. Coefficients in applied problems come from measurement and often land in the hundreds or thousands. A factoring worksheet might use 84 and 126, while a physics problem yields 1,344 and 2,016. The algorithm handles both, and the manual prime route degrades into trial division over many candidates.
A shortcut: if both coefficients are even, divide out 2s until one is odd, then continue. If both end in 0 or 5, divide out 5s. Stripping obvious small factors first keeps the Euclidean remainders smaller and reduces the chance of arithmetic error in long division. It is the same principle as canceling before multiplying fractions.
Interpret the Result as a Product of Factors, Not a Rearrangement
The factored form is not just the original expression reorganized; it is a product of two or more factors, each of which cannot be written as a product of simpler polynomials. 6x²(2x + 3) is a product of a monomial and a binomial. The binomial cannot be factored further over the integers, and the monomial is prime by construction. That is the standard for "fully factored."
The product view has computational consequences. A zero-product solve sets each factor to zero, so 6x²(2x + 3) = 0 gives x = 0 or x = −3/2. Without the factored form, you would reach the same roots through the quadratic formula slower and with more chances to err. The factored form exposes the roots directly.
Area and volume models rely on the factored interpretation. A rectangle with area 6x² + 9x has dimensions 3x and (2x + 3), which is the factored form read as a product of side lengths. A monthly cost model of 12t² + 18t factors to 6t(2t + 3), separating a per-unit rate from a quantity that depends on time. Factoring is how algebra answers "what times what" questions.
The factored form also simplifies rational expressions before any cancellation. (4x² + 8x) / (2x) reduces to 4x(x + 2) / (2x), which simplifies to 2(x + 2) after canceling 2x. If you cancel terms without factoring first, you can produce illegal results like canceling x² with x to get 4 + 8, which is wrong. The product structure is what makes cancellation legitimate.
Match Verification Speed to the Problem Size
Small problems deserve multiply-back verification, which is the most reliable check. Medium ones benefit from re-division. Large ones call for a structural check instead. Choosing the method by problem size saves time on exams without sacrificing accuracy.
| Problem size | Fastest check | Time | Fails to catch | Best used when |
|---|---|---|---|---|
| 2 terms, coefficients under 20 | Multiply factored form back | ~15 sec | Nothing systematic | Any exam or homework |
| 3 terms, coefficients under 50 | Re-divide one middle term | ~20 sec | Sign errors in other terms | Practice problems |
| 4+ terms, coefficients over 100 | Confirm term count matches | ~5 sec | Numerical GCF error | Timed tests |
| Variables with exponents over 6 | Exponent minimum table | ~30 sec | Coefficient errors only | Algebra course exams |
| Mixed with parentheses factors | Substitution u = (x + a) | ~40 sec | Errors in u's exponents | Precalculus and beyond |
The table reflects a practical trade-off rather than a mathematical truth. Multiply-back always works, but it costs time proportional to the number of terms times their complexity. Re-division of a single term is faster but verifies only one term at a time. Term-count checking is instantaneous but catches only dropped or added terms.
For powers over six, the exponent minimum table wins because mental multiplication of x⁷ · x⁵ is easy to botch while a table of minimums is mechanical. Write the exponents for each variable in a column and read down. It takes longer to set up but prevents the errors that reworking the whole problem later would cost more to fix.
Practice This Diagnostic Order on Unfamiliar Expressions
When an expression doesn't fit a pattern you recognize, work through a fixed checklist rather than staring at it. The order matters because GCF extraction is the cheapest step and often reveals structure underneath. Running the checklist in a different order wastes time.
1: Are all coefficients even? Factor out 2 mentally and keep going if so. 2: Do all terms share any common numerical factor greater than 1? Use the Euclidean algorithm if coefficients exceed 100. 3: Does any variable appear in every term? If yes, the lowest exponent is in the GCF. 4: Is a parenthetical binomial shared across all terms? Substitute u for it and re-check. 5: Is the quotient now a common pattern—difference of squares, perfect square trinomial, sum or difference of cubes? Apply the pattern. 6: Can the result be factored further by grouping? Look for four terms or a leading coefficient that isn't 1.
Load this checklist mentally and run it top to bottom. Each step is cheaper than the one after it, and the sequence guarantees you won't skip GCF extraction because it looked too simple. The mistake to avoid is jumping to a pattern you learned recently—the brain gravitates to whatever technique is fresh.
A concrete pass through the checklist on 3x³ + 3x² − 6x: coefficients 3, 3, 6 share 3; each term has an x, lowest power is x¹; quotient is x² + x − 2; that quadratic factors as (x + 2)(x − 1); final answer 3x(x + 2)(x − 1). Each step is small enough to check individually, and each step uses a different technique.
The checklist also explains why "I don't know where to start" resolves itself in about thirty seconds. There is always a first step. Whether the answer needs just the GCF or folds into a longer factorization, starting with GCF costs nothing and often simplifies the rest. If the first three checks produce no GCF beyond 1, you know immediately that a different technique applies.
A note on notation: write the factored form with the GCF first, then parentheses. 6x²(2x + 3) reads unambiguously; (2x + 3)6x² is technically equivalent but unconventional and can confuse graders who scan for structure. Consistency in ordering reduces misreads in peer work and automated systems alike. If the problem specifies a convention, follow it.
FAQ
What is the GCF of 12x²y and 18xy²?
The GCF is 6xy. Take the numerical GCF of 12 and 18, which is 6 by the Euclidean algorithm (18 − 12 = 6, and 12 divides by 6 evenly). The variable x appears as x² and x¹, so x¹ is shared. The variable y appears as y¹ and y², so y¹ is shared. Multiply the pieces: 6xy. The quotient is 2x + 3y.
Can the GCF ever be a fraction or decimal?
Not for integer polynomials, since GCF is defined only on integers. For an expression with fractional coefficients, clear the denominators first by multiplying the entire expression by the least common denominator. For 0.5x + 1.5, rewrite as (1/2)(x + 3), which is the applicable factorization. Most algebra courses avoid this case entirely, and a quick check of the problem's instructions prevents wasted work.
Why does the answer sometimes look different from a classmate's?
Both 3x²(−2x − 3) and −3x²(2x + 3) are correct factorizations of −6x³ − 9x². The difference is the sign pulled out as part of the GCF. Unless the assignment enforces a convention, either form is valid, and the roots it produces are identical. When an answer key lists one form only, it is expressing a preference, not a mathematical requirement.
What if the GCF itself is 1?
Then the expression is prime with respect to GCF extraction, and you should move to a different factoring technique. x² + 5x + 6 has no GCF beyond 1, but it factors as (x + 2)(x + 3) using the product-sum pattern. A GCF of 1 is not a dead end—it is information telling you which other methods will apply.
Does factoring out the GCF change the value of the expression?
No. The factored form is an identity, meaning it evaluates the same as the original for every allowed value of the variable. Substituting x = 2 into 6x²(2x + 3) gives 6 · 4 · 7 = 168, and substituting into 12x³ + 18x² gives 96 + 72 = 168. The forms differ in appearance and in what they make easy to see, not in value.
How do I know if a variable should be in the GCF?
The variable must appear in every term. If it appears in only some terms, it stays out of the GCF and remains inside the parentheses. A useful test: divide each term by your candidate GCF and confirm no negative exponents appear in any quotient. A negative exponent means you over-extracted.
What's the difference between GCF and LCM factoring?
GCF is the largest factor shared by all terms and is used for factoring. LCM is the smallest multiple shared by all terms and is used for common denominators in fraction addition. For 12 and 18, the GCF is 6 and the LCM is 36. The two concepts interconnect—the product of GCF and LCM equals the product of the two original numbers—but they serve entirely different purposes.
Why is the "smallest exponent" rule correct rather than the "largest"?
Because you are drawing factors out of every term simultaneously. From x⁴ and x², you can extract x² from both, but not x⁴, since the second term does not have x⁴ to give. The available supply of x's across all terms is limited by the term with the fewest, just as a shared water tank can only give out what its smallest feeder contains.
For deeper work with factoring, check whether your instructor requires a specific convention on negative GCFs, and confirm the answer format on any online platform you're using, since automated graders can be strict about form even when multiple forms are mathematically equivalent.