01 / 21
GCF ( )

Factoring Out the
Greatest Common Factor

Master the first and most essential factoring technique: pulling out the GCF to simplify polynomials and unlock further factoring.

College Algebra

What Does It Mean to Factor?

Factoring means rewriting an expression as a product of simpler expressions. It is the reverse of distributing (expanding). Just as you can break the number 12 into \(2 \times 6\) or \(3 \times 4\), you can break a polynomial into multiplied pieces.

What Is the Greatest Common Factor?

The Greatest Common Factor (GCF) of two or more terms is the largest expression that divides evenly into every term. It can include numbers, variables, or both.

Numeric GCF
The GCF of 12 and 18 is 6, the largest integer dividing both.
Variable GCF
The GCF of \(x^3\) and \(x^5\) is \(x^3\), the lowest power of \(x\).
Combined GCF
The GCF of \(12x^3\) and \(18x^5\) is \(6x^3\): combine both parts.

Why Factor the GCF First?

Factoring out the GCF is always Step 1 in any factoring problem. It makes the remaining expression simpler, with smaller coefficients and lower exponents, so other techniques (grouping, trinomial, difference of squares) become much easier to apply.

The Factoring Rule

Verification: You can always check your work by distributing the GCF back in. If you recover the original expression, your factoring is correct.

\(12x^3 + 18x^5\)
Factor
\(6x^3(2 + 3x^2)\)
Distribute to check: \(6x^3 \cdot 2 + 6x^3 \cdot 3x^2 = 12x^3 + 18x^5\) ✓

Finding the GCF of Variable Terms

When terms share a variable, use the lowest exponent of that variable appearing in every term. If a variable does not appear in one term, its contribution to the GCF is zero (it is not included).

\(8x^4y^2\)
\(12x^2y^5\)
\(20x^3y^3\)
Coefficients: GCF(8, 12, 20) = 4
\(x\): min(4, 2, 3) = \(x^2\)
\(y\): min(2, 5, 3) = \(y^2\)
GCF = \(4x^2y^2\)

GCF vs LCM: Know the Difference

Students sometimes confuse the GCF with the LCM. They serve opposite purposes: one finds the largest shared divisor, the other the smallest shared multiple.

GCF LCM
Stands for Greatest Common Factor Least Common Multiple
Exponents Take the minimum Take the maximum
Coefficients Largest divisor Smallest multiple
Used in Factoring polynomials Adding fractions
Example: 12, 18 6 36

How to Factor Out the GCF

1
Identify every term in the polynomial.
2
Find the GCF of the coefficients using prime factorization or listing factors.
3
Find the GCF of each variable: take the lowest exponent that appears in every term.
4
Write the GCF outside parentheses and divide each original term by the GCF inside.
5
Check by distributing: multiply the GCF back through to confirm you get the original expression.

Example 1: Basic Two Terms

1
Coefficients: \(\text{GCF}(15, 25) = 5\)
2
Variable \(x\): \(\min(3, 2) = 2\), so \(x^2\)
3
GCF \(= 5x^2\)
4
Divide: \(\dfrac{15x^3}{5x^2} = 3x\) and \(\dfrac{25x^2}{5x^2} = 5\)

Example 2: Three Terms

1
Coefficients: \(\text{GCF}(18, 12, 24) = 6\)
2
Variable \(a\): \(\min(4, 3, 2) = 2 \Rightarrow a^2\)
3
Variable \(b\): \(\min(2, 3, 1) = 1 \Rightarrow b\)
4
GCF \(= 6a^2b\). Divide each term:

Example 3: Negative Leading Coefficient

When the leading term is negative, factor out the negative along with the GCF. This keeps the leading term inside the parentheses positive, which is standard form.

1
GCF of coefficients: \(\text{GCF}(6, 9, 3) = 3\)
2
Variable: \(\min(3, 2, 1) = 1 \Rightarrow x\). Factor out \(-3x\).
3
Divide: \(\frac{-6x^3}{-3x} = 2x^2\), \(\frac{9x^2}{-3x} = -3x\), \(\frac{-3x}{-3x} = 1\)

Example 4: GCF as a Gateway to Further Factoring

1
GCF: \(\text{GCF}(3, 12) = 3\). No shared variable. Factor: \(3(x^2 - 4)\)
2
Notice \(x^2 - 4\) is a difference of squares: \(x^2 - 2^2\).
3
Factor further: \(3(x + 2)(x - 2)\)

When the GCF Is Just 1

Sometimes the terms share no common factor other than 1. That is perfectly fine: the GCF is 1, which means nothing can be factored out. Move on to other factoring methods (trinomial, grouping, etc.).

\(x^2 + 5x + 6\)
\(\text{GCF} = 1\). No common factor to pull out. Try trinomial factoring next.
\(4x^2 + 8x + 12\)
\(\text{GCF} = 4\). Factor: \(4(x^2 + 2x + 3)\). Always check first!

GCF Can Be a Polynomial Too

The GCF is not always a monomial. If every term contains a common binomial or polynomial factor, you can factor that out as well. This is key in factoring by grouping.

Common Mistakes to Avoid

✕ Not Fully Factoring
Pulling out only part of the GCF, e.g., factoring \(2\) from \(4x^2 + 8x\) instead of \(4x\).
✕ Dropping a Term
If a term is the GCF (e.g., \(6x\) in \(6x^2 + 6x\)), leaving a 1 inside the parentheses: \(6x(x + 1)\), not \(6x(x)\).
✕ Sign Errors
Forgetting to flip signs when factoring out a negative GCF. Always distribute back to verify.

Quick Reference Summary

Expression GCF Factored Form
\(10x + 15\) \(5\) \(5(2x + 3)\)
\(6x^3 - 9x^2\) \(3x^2\) \(3x^2(2x - 3)\)
\(-8y^2 + 12y\) \(-4y\) \(-4y(2y - 3)\)
\(14a^2b + 21ab^2\) \(7ab\) \(7ab(2a + 3b)\)
\(3x^2 - 27\) \(3\) \(3(x^2 - 9)\)

Question 1 of 5

What is the GCF of \(\;12x^4\) and \(\;18x^2\)?

Question 2 of 5

Factor completely: \(\;20x^3 - 30x^2\)

Question 3 of 5

Factor: \(\; -9a^3 + 6a^2 - 3a\)

Question 4 of 5

Factor completely: \(\;5x^2 - 45\)

Question 5 of 5

What is the GCF of \(\;24x^5y^3,\; 36x^3y^4,\) and \(\;60x^4y^2\)?