On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Algebra Fundamentals · Grade 9-12

Factoring Out the GCF

Factoring out the GCF means finding the largest factor every term shares—numbers and lowest common variable powers—then writing the polynomial as that factor times the remaining sum.

ab+ac=a(b+c) where a is the GCF
432

A $4\times 5$ grid split into $4\times 3$ and $4\times 2$: the shared height 4 is the GCF, and $12+8=4(3+2)$.


Quick Answer

Factoring out the GCF means finding the largest factor every term shares—numbers and lowest common variable powers—then writing the polynomial as that factor times the remaining sum. Do it first in any factoring problem, and whenever you want to simplify or solve an equation such as 5x2=20x. Take the largest number dividing every coefficient and the lowest power of each variable found in every term: 8x3+20x2=4x2(2x+5). Check by distributing back; every original term must reappear inside the brackets.

Why This Matters

Pulling out the GCF makes every later step smaller and safer: 2x2+10x+12 becomes 2(x2+5x+6), whose number pair is easy to find. It also solves 5x2=20x correctly as 5x(x−4)=0, giving x=0 or x=4, where dividing both sides by x would lose the 0. Skip it and factorizations come out incomplete.

Intuitive Explanation

Every term is a product of factors, so write them out. 8x3=2⋅2⋅2⋅x⋅x⋅x and 20x2=2⋅2⋅5⋅x⋅x. The factors both terms contain are 2⋅2⋅x⋅x=4x2; that is the GCF. Take it out and see what is left of each term: 8x3÷4x2=2x and 20x2÷4x2=5. So 8x3+20x2=4x2(2x+5).

The variable part uses the lowest power present, because a term can only give up the x's it has. 20x2 has just two, so x2 is the most every term can share, even though the other term has x3. Taking out x3 would leave 20x inside the brackets, which is not a polynomial.

Distributing runs the same steps backward, so it is also the check: 4x2⋅2x+4x2⋅5=8x3+20x2. If a term equals the GCF itself, it leaves a 1, not nothing: 4x2+4x=4x(x+1). Dropping that 1 would turn the expression into 4x2.

Pulling out a common factor is not always the same as fully factoring. 3(2x2+3x) pulls out 3 but leaves an x that both terms inside still share; the complete GCF is 3x. And some expressions, like x2+5x+6, have no common factor at all (the GCF is 1), so they need another method, such as factoring trinomials.

Think of it like this. Factoring out the GCF is like packing a group lunch where every order includes bread and cheese: you write "bread and cheese" once at the top and list only each person's extras beside their name. Someone who wanted nothing extra still gets a line, marked 1. Unlike a lunch list, the shared part has to divide every order exactly.

Core idea. Factoring the GCF rewrites a polynomial as the largest common factor times what is left.


When to Use

Look for a GCF first, before any other factoring method, whenever you are asked to factor, to simplify a fraction of polynomials, or to solve an equation in which every term shares a number or a variable, such as 5x2=20x. Signals: all coefficients are even (or share another factor), or every term contains x. If the GCF is 1, move on to factoring trinomials, a difference of squares, or grouping.

Tip. Ask: Do all terms share a numerical and/or variable factor I can lift to the front?

How to Recognize It

Before trying any other factoring, scan every term for a number and a variable they all contain, including the term that looks smallest.

  1. Are you about to factor a trinomial or solve an equation without having looked for a common factor?

    Look now: 12x2−18x+6=6(2x2−3x+1), and the bracket is far easier to factor than the original. If the only common number is 1, go on to trinomial or grouping methods.

  2. Is there a constant term among the terms?

    Then no variable can come out, since the constant has none: x3+4x2+5 shares no x, while x3+4x2 shares x2, the lowest power present.

  3. Is the shared factor a whole bracket, as in 3x(x−2)+5(x−2)?

    Then the bracket is the common factor: (x−2)(3x+5). If four terms are not yet in pairs, pair them first, which is factoring by grouping.

  4. Is the leading coefficient negative?

    It is usual to take the negative out too: −4x2+8x=−4x(x−2). Every sign inside flips, so distribute back to check before going on.

Factoring Out the GCF compared with Factoring a trinomial, Factoring by grouping, and Distributing (expanding)

All four rows move between a polynomial and a product, and taking out the common factor is usually the first step inside the other factoring methods. Ask whether one factor runs through every single term, or whether only pairs or a two-number search can produce the product.

Factoring Out the GCF

Meaning
Use this when every term of a polynomial shares a common factor and you want to pull it to the front.
Key test
Do all terms share a numerical and/or variable factor I can lift to the front?
Formula
ab+ac=a(b+c) where a is the GCF
Example
Factor 12x3+18x2.

Factoring a trinomial

Meaning
Splits x2+bx+c into two binomials, a different technique.
Key test
Use after GCF, when three terms remain.
Formula
find p,q: p+q=b,pq=c
Example
x2+5x+6=(x+2)(x+3)

Factoring by grouping

Meaning
Pulls GCFs from pairs of terms in a 4-term polynomial.
Key test
Use when there are four terms and no single overall GCF.
Example
x3+x2+2x+2=(x+1)(x2+2)

Distributing (expanding)

Meaning
The reverse: multiplying the factor back in.
Key test
Use to check your factoring or remove parentheses.
Formula
a(b+c)=ab+ac
Example
3x(2x+3)=6x2+9x

Formula & Notation

ab+ac=a(b+c) where a is the GCF
For terms a1xe1,…,anxen, the GCF is gcd⁡(a1,…,an)⋅xmin⁡(e1,…,en). Then ∑aixei=GCF⋅∑aigcd⁡xei−min⁡.

How to read it: GCF stands for Greatest Common Factor. The GCF includes both the largest common numerical factor and the lowest power of each common variable.

Worked Examples

Example 1 — Factor out the GCF

Easy

Factor 12x3+18x2.
Show the steps and the answer
  1. Find the number part: the GCF of 12 and 18 is 6.

    6 is the largest number dividing both coefficients; taking out only 2 or 3 would leave a common factor behind.

  2. Find the variable part: the lowest power of x is x2.

    18x2 contains only two factors of x, so x2 is the most both terms share.

  3. Divide each term by 6x2: 12x3÷6x2=2x and 18x2÷6x2=3.

    What is left of each term goes inside the brackets.

  4. Write 6x2(2x+3) and check: 6x2⋅2x+6x2⋅3=12x3+18x2.

    Distributing back reproduces the original, and 2x and 3 share nothing more.

Answer: 6x2(2x+3)

Takeaway: Largest shared number, lowest shared power, then distribute back to check.

Example 2 — GCF vs full factoring

Standard

Is 6x2+9x fully factored as 3(2x2+3x)?
Show the steps and the answer
  1. Look inside the brackets: 2x2 and 3x both still contain x.

    If the terms inside still share a factor, the factor taken out was not the greatest one.

  2. Find the full GCF: 3 from the numbers 6 and 9, and x as the lowest power, so 3x.

    The GCF includes the shared variable as well as the shared number.

  3. Divide: 6x2÷3x=2x and 9x÷3x=3, giving 3x(2x+3).

    Now 2x and 3 have no common factor, so nothing more can come out.

  4. Check: 3x⋅2x+3x⋅3=6x2+9x.

    The expansion matches, so the factoring is both correct and complete.

Answer: 3x(2x+3)

Takeaway: After factoring, look inside the brackets; any factor the terms still share belongs outside.

Example 3 — Find the mistake: the vanishing term

Application

Jae factors 10x3−15x2+5x and writes: "5x(2x2−3x)." Find the mistake and correct it.
Show the steps and the answer
  1. Check Jae's GCF: 5 divides 10, 15 and 5, and every term has at least one x, so 5x is right.

    The factor outside is correct, so the error must be inside the brackets.

  2. Divide each term by 5x: 2x2, −3x, and 5x÷5x=1.

    Three terms went in, so three must come out; a term equal to the GCF leaves 1 behind.

  3. Write 5x(2x2−3x+1).

    Leaving out the 1 deletes the original +5x term from the expression.

  4. Check at x=2: original 80−60+10=30; corrected 10(8−6+1)=30; Jae's 10(8−6)=20.

    The corrected version matches, and Jae's falls short by exactly 5x=10.

Answer: 5x(2x2−3x+1)

Takeaway: Every original term leaves something inside the brackets; a term equal to the GCF leaves 1.

Where You'll See It

  • Finding when a kicked ball lands

    A ball kicked from the ground has height h=−5t2+20t metres. Factoring out the GCF gives h=−5t(t−4), so h=0 at t=0, the kick, and at t=4 s, the landing. Dividing by t instead would have thrown away the t=0 solution.

  • Splitting a group bill

    Five friends each pay $12 for a ticket and $8 for food. The total, 5⋅12+5⋅8, factors as 5(12+8)=5⋅20, which is $100. Pulling out the shared 5 turns two multiplications into one easy one.

  • Surface area of a can

    A cylinder's surface area is 2πr2+2πrh, which factors as 2πr(r+h). For a can with r=3 cm and h=7 cm, that is 2π(3)(10)=60π≈188.5 cm², one multiplication instead of two.

Common Mistakes

  1. The slip: Taking the highest variable power instead of the lowest

    Instead: the common variable factor is the SMALLEST exponent present.

  2. The slip: Forgetting a term's leftover, e.g. factoring 6x2+3x as 3x(2x) drops the +1; it should be 3x(2x+1)

    Instead: every original term must reappear inside the parentheses.

  3. The slip: Not pulling the largest numerical factor

    Instead: 6x+9 has GCF 3, not 1; take the greatest common number too.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Factor out the greatest common factor: 8x+12.

    Hint: What is the largest number that divides both 8 and 12?

  2. Factor out the greatest common factor: 15y3−10y2.

    Hint: Take the largest common number and the smallest power of y.

  3. Factor out the greatest common factor: 6a2b+9ab2.

    Hint: Check the numbers, the powers of a and the powers of b separately.

  4. Factor out the greatest common factor: 4x3−8x2+2x.

    Hint: After dividing each term by the GCF, something is left from every term.

  5. Should you start 3x2+12x+9 by pulling out a GCF or by factoring the trinomial directly? Factor it completely.

    Hint: Do all three terms share a number?

  6. A student factors 10x4+15x2 as 5x4(2+3x2). Check by expanding and fix the mistake.

    Hint: Which power of x do both terms actually share?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why not just divide both sides of 6x2=15x by x?

Because xx might be 0, and dividing by zero is not allowed. Dividing gives 6x=156x = 15, so x=52x = \frac{5}{2}, and the solution x=0x = 0 silently disappears. Taking out the common factor instead, 3x(2x−5)=03x(2x - 5) = 0, keeps both: either 3x=03x = 0 or 2x−5=02x - 5 = 0. Whenever the variable could be zero, factor it out rather than divide by it.

Can the common factor be a fraction?

Yes. In 12x+32\frac{1}{2}x + \frac{3}{2}, both terms share 12\frac{1}{2}, so it becomes 12(x+3)\frac{1}{2}(x + 3). This is handy when you want whole numbers inside the bracket, for instance before solving or graphing. With integer coefficients the convention is to take out the largest whole number, but nothing stops you from taking out a fraction if it makes the next step simpler.

Can factoring out help with arithmetic like 37×99+37?

Yes. Both parts share 37, so 37×99+37=37(99+1)=37×100=370037 \times 99 + 37 = 37(99 + 1) = 37 \times 100 = 3700. Shop owners do the same thing without naming it: 8 items at $4.75 plus 8 items at $5.25 is 8×(4.75+5.25)8 \times (4.75 + 5.25), which is 8×108 \times 10, or $80. Spotting the shared factor turns two awkward multiplications into one easy one.

Learning Path

← Before

FactoringFactors
Factoring Out the GCF

You are here

You need Factoring (writing an expression as a product) and Factors (common factors and the greatest common factor of whole numbers) first. This concept adds the habit of pulling the largest shared factor, numbers and lowest variable powers, out of every term. Next, Factoring by Grouping applies the same move to pairs of terms, and Factoring Trinomials gets easier once the GCF is gone.

See Also