Allday Education

Factoring Out a Common Factor

The distributive property multiplies a factor through parentheses: 3(2x+5)=6x+153(2x + 5) = 6x + 15. Factoring runs that exact process in reverse. You start with 6x+156x + 15, notice that both terms share a factor of 33, and pull it out front to get 3(2x+5)3(2x + 5). The value never changes — the two forms are equal for every xx — only the shape does.

The factor you pull out should be the greatest common factor, or GCF: the largest number that divides evenly into every term. Pull out anything smaller and the expression is only partly factored, with a common factor still hiding inside the parentheses.

Find the GCF

Look at the number in each term and ask: what is the largest number that divides evenly into all of them? For 6x+156x + 15, the numbers are 66 and 1515. Both are divisible by 33, and no larger number works, so the GCF is 33.

When the coefficients are bigger, list a few factors of each and take the largest one they share. For 12x1812x - 18: the factors of 1212 are 1,2,3,4,6,121, 2, 3, 4, 6, 12 and the factors of 1818 are 1,2,3,6,9,181, 2, 3, 6, 9, 18. They share 22, 33, and 66 — the GCF is 66.

Divide each term and write the GCF out front

Divide every term by the GCF and put what's left inside parentheses, with the GCF multiplied on the outside. For 6x+156x + 15 with a GCF of 33: 6x÷3=2x6x \div 3 = 2x and 15÷3=515 \div 3 = 5, so 6x+15=3(2x+5)6x + 15 = 3(2x + 5).

The sign between the terms carries straight into the parentheses. For 8x128x - 12 with a GCF of 44: 8x÷4=2x8x \div 4 = 2x and 12÷4=312 \div 4 = 3, and the minus sign stays put, giving 4(2x3)4(2x - 3).

Check by distributing

Factoring and distributing are opposite moves, so distributing your answer must rebuild the original expression. Check 4(2x3)4(2x - 3): multiply through to get 8x128x - 12 ✓. If the check produces anything else, either the GCF or one of the divisions was off.

The check also exposes a partial factor. 2(6x9)2(6x - 9) multiplies back to 12x1812x - 18 correctly — but 6x6x and 99 still share a factor of 33, so 22 was not the greatest common factor. Fully factored, 12x18=6(2x3)12x - 18 = 6(2x - 3). A finished answer has no common factor left inside the parentheses.

Worked examples

Example 1: factor a sum

Factor 6x+156x + 15.

Find the GCF of 66 and 151533
Divide each term by 336x÷3=2x,15÷3=56x \div 3 = 2x, \quad 15 \div 3 = 5
Write the GCF out front3(2x+5)3(2x + 5)
Check by distributing: 3(2x+5)=6x+153(2x + 5) = 6x + 15

Answer: 3(2x+5)3(2x + 5)

Example 2: keep the minus sign

Factor 8x128x - 12.

Find the GCF of 88 and 121244
Divide each term by 448x÷4=2x,12÷4=38x \div 4 = 2x, \quad 12 \div 4 = 3
Write the GCF out front — the minus sign stays between the terms4(2x3)4(2x - 3)

Answer: 4(2x3)4(2x - 3)

Example 3: a term that is the GCF

Factor 5x+55x + 5.

Find the GCF of 55 and 5555
Divide each term by 55 — the second term becomes 11, not nothing5x÷5=x,5÷5=15x \div 5 = x, \quad 5 \div 5 = 1
Write the GCF out front5(x+1)5(x + 1)

Answer: 5(x+1)5(x + 1)

Try one yourself

Common questions

What if I pull out a common factor that isn't the greatest?

The result is equal to the original but not fully factored. 12x18=2(6x9)12x - 18 = 2(6x - 9) is true, yet 6x6x and 99 still share a 33. Look inside your parentheses when you finish — if the terms still share a factor, pull it out too. Fully factored: 6(2x3)6(2x - 3).

What happens when a term is exactly the GCF?

It becomes 11, and the 11 must be written. In 5x+55x + 5, dividing the second term by the GCF gives 5÷5=15 \div 5 = 1, so the answer is 5(x+1)5(x + 1). Dropping the 11 to write 5(x)5(x) loses a term — distribute to see it only gives back 5x5x.

How do I check a factored answer?

Distribute it. Multiplying the GCF back through the parentheses must reproduce the original expression exactly — same terms, same signs. 4(2x3)=8x124(2x - 3) = 8x - 12 confirms the factoring in one line.

Does the minus sign change anything?

No — it just rides along. The sign between the terms of the original expression appears between the terms inside the parentheses: 8x12=4(2x3)8x - 12 = 4(2x - 3). Watch that it doesn't silently flip to a plus while you copy things down.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1