Factoring Out a Common Factor as Distribution in Reverse
Learn to find the greatest common factor, pull it outside parentheses and check the result by multiplying back.
Key takeaways
- Factoring out a common factor turns ab + ac into a(b + c), which reverses distribution.
- The greatest common factor uses the largest shared number and the lowest power of each shared variable.
- When a whole term is factored out, a 1 must remain in its place inside the parentheses.
- A common factor can be an entire parenthesized expression, such as (x + 2).
- Multiplying the factored form back out is a complete check of the result.
Factoring out a common factor rewrites a sum as a product. If every term contains the same factor, you write that factor once, outside a set of parentheses, and put what is left of each term inside: ab + ac = a(b + c).
Read from right to left, that equation is the distributive property. Read from left to right, it is factoring. The value of the expression never changes, only its form, so you can always check your work by multiplying back.
One identity, two directions
The distributive property says that multiplying a sum by a number is the same as multiplying each term by that number and then adding. So 3(2x + 5) = 6x + 15.
Factoring asks the opposite question. Given 6x + 15, what multiplied both terms? Both 6x and 15 are divisible by 3. Dividing each term by 3 leaves 2x and 5, so 6x + 15 = 3(2x + 5).
A rectangle makes the idea visible. Two rectangles of the same height 3, one with width 2x and one with width 5, can be pushed together into one rectangle of height 3 and width 2x + 5. The total area is unchanged.
Finding the greatest common factor
A factor is common if it divides every term. The greatest common factor, often shortened to GCF, is the largest such factor. Build it in two parts.
- For the numbers, find the largest whole number that divides every coefficient.
- For each variable, check whether it appears in every term. If it does, take the smallest exponent that appears.
Take 12x³ − 18x². The largest number dividing 12 and 18 is 6. Both terms contain x, with exponents 3 and 2, so take x². The GCF is 6x².
12x³ − 18x²
= 6x² · 2x − 6x² · 3 write each term using the GCF
= 6x²(2x − 3) factor it out If the number part is hard to spot, comparing methods for the greatest common factor shows how prime factorizations and other techniques find it.
A routine that works every time
Here is the routine applied to 8a²b³ + 20a³b.
The numbers 8 and 20 share 4. The variable a appears with exponents 2 and 3, so take a². The variable b appears with exponents 3 and 1, so take b. The GCF is 4a²b.
Dividing the first term by 4a²b gives 2b². Dividing the second gives 5a. The factored form is 4a²b(2b² + 5a).
To check, distribute: 4a²b · 2b² = 8a²b³, and 4a²b · 5a = 20a³b. Both original terms return.
When a 1 is left behind
Suppose you factor 5x² + 5x. The GCF is 5x. The first term divided by 5x is x. The second term divided by 5x is 1, not nothing. So the result is 5x(x + 1).
Writing 5x(x) would lose a term. Distributing shows it at once: 5x · x gives only 5x².
The same applies to 7y − 7, which factors as 7(y − 1). A good habit is to count terms. The expression inside the parentheses should have exactly as many terms as the original.
Factoring out a negative or a fraction
Sometimes it helps to pull out a negative factor, especially when the leading term is negative. For −4x + 12, factor out −4:
−4x + 12
= −4 · x + (−4) · (−3)
= −4(x − 3) Every sign inside the parentheses flips relative to the original. Check by distributing: −4 · x = −4x and −4 · (−3) = 12.
You can also factor out a fraction. The expression x/2 + 3/2 equals (1/2)(x + 3). This is not required by the usual GCF rule for integers, but it often makes later steps cleaner. In fact, you may factor any nonzero number out of any expression, as long as you divide each term by it. For instance, 3x + 5 = 3(x + 5/3), which is useful when you want the coefficient of x to be 1.
When the common factor is a whole group
The shared factor does not have to be a single number or letter. In x(x + 2) + 5(x + 2), both terms contain the group (x + 2). Treat it as one object.
x(x + 2) + 5(x + 2)
= (x + 2)(x + 5) factor out the group This is the key move in factoring by grouping, where you first factor pairs of terms so that a shared group appears.
Opposite groups need one extra step. In 2(x − 3) + y(3 − x), the groups are negatives of each other, since 3 − x = −(x − 3). Rewrite the second term as −y(x − 3), then factor to get (x − 3)(2 − y). Check at x = 5 and y = 1: the original is 2 · 2 + 1 · (−2) = 2, and the factored form is 2 · 1 = 2.
Incomplete factoring
The statement 4x + 8 = 2(2x + 4) is true, but the job is unfinished, because 2x + 4 still has a common factor of 2. The complete form is 4(x + 2).
After factoring, look inside the parentheses and ask whether the remaining terms share anything. If they do, move it outside.
Common factor extraction is also the first step for larger problems. In 3x³ − 12x, take out 3x to get 3x(x² − 4). The remaining piece is a difference of squares, so the full factorization is 3x(x − 2)(x + 2). A broader plan appears in a checklist for factoring any polynomial.
Common factors with larger exponents on groups
The lowest-power rule applies to groups too. In 6(x + 1)³ + 9(x + 1)², the numbers share 3 and the group appears with exponents 3 and 2. The greatest common factor is 3(x + 1)².
6(x + 1)³ + 9(x + 1)²
= 3(x + 1)² · [2(x + 1) + 3] take out the common factor
= 3(x + 1)²(2x + 5) simplify inside the brackets At x = 1, the original is 6 · 8 + 9 · 4 = 84, and the factored form is 3 · 4 · 7 = 84. Expanding the cube first would have buried the shared piece.
Why a product is worth having
Products reveal information that sums hide. Consider the equation x² = 5x. Move everything to one side and factor.
x² − 5x = 0
x(x − 5) = 0
x = 0 or x − 5 = 0 zero product property
x = 0 or x = 5 Dividing both sides of x² = 5x by x at the start would have given only x = 5 and lost the solution x = 0. Factoring keeps both. The reason is the zero product property: a product of real numbers is zero only when at least one factor is zero.
Factoring also allows cancellation in fractions. The expression (3x + 6)/(x + 2) becomes 3(x + 2)/(x + 2) = 3, for every x except −2.
It even speeds up arithmetic. The sum 37 · 64 + 37 · 36 looks like two multiplications, but factoring gives 37 · (64 + 36) = 37 · 100 = 3700.
Factoring inside formulas
The technique is not limited to textbook polynomials. A savings account earning simple interest holds the principal P plus the interest Prt, where r is the yearly rate as a decimal and t is time in years. The total P + Prt factors as P(1 + rt). The 1 stands for the original money, and rt for the growth.
Factoring is also the way to isolate a letter that appears twice. Suppose ax + bx = c and you want x.
ax + bx = c
x(a + b) = c factor out x
x = c / (a + b) requires a + b ≠ 0 Without that first step, there is no way to divide your way to a single x. More examples are in solving for a variable that appears twice.
Mistakes to watch for
Using a factor that is not in every term. In 6x + 9y + 4, the number 3 divides the first two terms but not the 4, so it is not a common factor of the whole expression.
Taking the highest power. In x⁵ + x², the common factor is x², because x⁵ does not divide x². The result is x²(x³ + 1).
Subtracting exponents wrongly. Dividing x⁶ by x² gives x⁴, not x³. Write out the factors if you are unsure.
Changing only one sign. When you factor out a negative, every term inside the parentheses changes sign. Writing −2x − 8 as −2(x − 4) is wrong, since distributing gives −2x + 8. The correct form is −2(x + 4).
Treating factoring as division. Rewriting 4x + 8 as x + 2 throws away the factor of 4. You may divide both sides of an equation by 4, but an expression has no second side to balance the change.
Practice with answers
| Expression | Greatest common factor | Factored form |
|---|---|---|
| 9m + 24 | 3 | 3(3m + 8) |
| 14y² − 7y | 7y | 7y(2y − 1) |
| 10p⁴ + 15p² | 5p² | 5p²(2p² + 3) |
| 6x²y − 9xy² + 3xy | 3xy | 3xy(2x − 3y + 1) |
Cover the last two columns, work each one, and then multiply your answer back out.
Common questions
Can every expression be factored this way?
Only if the terms share a factor other than 1. The expression 3x + 5 has no common integer or variable factor, so it stays as it is when you are factoring over the integers.
Does factoring out change the solutions of an equation?
No, because the factored expression equals the original for every value of the variables. Trouble starts only if you divide both sides of an equation by a factor that could be zero.
Which form is simpler, factored or expanded?
It depends on the goal. The factored form is better for finding zeros and cancelling fractions. The expanded form is better for adding like terms.