Common factor extraction

Look at 12x2y+18xy212x^2y + 18xy^2 and it seems like a finished expression — two terms, added together, nothing more to do. But every term here is secretly built from the same block, 6xy6xy, multiplied by something else. Spot that shared block, pull it to the front, and the expression collapses to 6xy(2x+3y)6xy(2x+3y) — a product instead of a sum. That single move, pulling out a common factor, is the doorway into the whole Factorisation chapter. It reverses multiplication: instead of expanding brackets you are handed an expanded expression and asked to rebuild the brackets. Every other factorising technique in Class 8 — grouping, identities, splitting the middle term — assumes you can already spot and extract a common factor cleanly, so it is worth making automatic. This article walks through finding the highest common factor (HCF) of an expression's terms, extracting it correctly (including tricky signs and leftover 11s), and checking the result by expanding back.

The core insight

Every term of an expression shares a common factor when their coefficients share a numerical HCF and their variables share common letters, so writing k⋅p+k⋅q=k(p+q)k\cdot p + k\cdot q = k(p+q) turns the sum into a product — the reverse of the distributive law.

The core idea

Factorisation means writing an expression as a product of factors instead of a sum of terms. The easiest kind of factorisation happens when every single term shares a common factor — a number, a variable, or both. That shared piece is lifted out in front of a bracket, and what is left of each term after dividing by it goes inside the bracket.

ax+ay=a(x+y)ax + ay = a(x+y)

where: aa is the common factor present in both terms, and xx, yy are what remain once each term is divided by aa. Checking this is easy: expand a(x+y)a(x+y) using the distributive law and you land back on ax+ayax+ay, so factorising and expanding undo each other. For expressions with several terms and more than one variable, the common factor itself has two pieces that must each be hunted down separately.

common factor=(HCF of the coefficients)×(lowest power of each variable common to every term)\text{common factor} = (\text{HCF of the coefficients}) \times (\text{lowest power of each variable common to every term})

where: the HCF of the coefficients is the ordinary highest common factor of the plain numbers in front of each term, and the lowest power of each variable means that if a letter such as xx appears in every term, you take whichever power of xx is smallest across all the terms — never the largest, and never a variable missing from even one term. A few points make this systematic rather than a guessing game.

  • Scan every term's numerical coefficient first and find their HCF using the usual method (listing factors, or repeated division).
  • For each variable that appears in every term, compare the powers it carries in each term and keep only the lowest one; a variable absent from any single term cannot be part of the common factor at all.
  • Multiply the numerical HCF and the variable part together — that product is what gets written outside the bracket.
  • Divide each original term by this common factor to find what stays inside the bracket, keeping every sign intact.
Figure
A bar diagram showing three terms each split into a shared common factor block and a leftover block, with the shared blocks aligned to show they are identical across all terms
Every term = common factor block plus its own leftover Term 1 Term 2 Term 3 common factor (pulled out front) leftover parts (go inside the bracket)
Derivation AThe distributive law in reverse

The goal is to show, algebraically, that pulling out the HCF of the terms of an expression and dividing each term by it always produces a bracket that, when multiplied back out by the distributive law, exactly reproduces the original expression — so the two directions of factorisation and expansion are true inverses of each other, not just a lucky coincidence for small examples.

Step 1. Start from an expression with terms T1,T2,…,TnT_1, T_2, \ldots, T_n, and suppose kk is a factor common to every one of them. That means each term can be written as Ti=k⋅qiT_i = k \cdot q_i for some quotient qiq_i — this is exactly what "kk is a factor of TiT_i" means.

Step 2. Add the terms in this form: T1+T2+⋯+Tn=kq1+kq2+⋯+kqnT_1 + T_2 + \cdots + T_n = k q_1 + k q_2 + \cdots + k q_n. Nothing has changed numerically; every term has simply been rewritten to expose the shared block kk.

Step 3. Apply the distributive law in reverse: ka+kb=k(a+b)ka+kb = k(a+b) for any two terms, and extending this to nn terms gives kq1+kq2+⋯+kqn=k(q1+q2+⋯+qn)kq_1 + kq_2 + \cdots + kq_n = k(q_1+q_2+\cdots+q_n). This is the factorised form — kk outside, the quotients added inside the bracket.

Step 4. Verify the reverse direction. Multiply k(q1+q2+⋯+qn)k(q_1+q_2+\cdots+q_n) back out using the ordinary (forward) distributive law: kk multiplies each term inside the bracket in turn, giving kq1+kq2+⋯+kqnkq_1+kq_2+\cdots+kq_n, which is precisely the expression you started with. So factorising by common factor extraction and then expanding the bracket always returns the original expression — the two processes are exact inverses, which is why "expand the bracket back" is always a valid check.

Worked example

Factorise 12x2y+18xy212x^2y + 18xy^2, then extend the same method to a three-term expression, 15a3b2−20a2b3+5a2b215a^3b^2 - 20a^2b^3 + 5a^2b^2.

Step 1. HCF of the coefficients 1212 and 1818. Listing factors, 12=22×312 = 2^2\times3 and 18=2×3218 = 2\times3^2; the common factors are 22 and 33, so the HCF is 2×3=62\times3 = 6.

Step 2. HCF of the variable parts. The first term carries x2y1x^2y^1, the second carries x1y2x^1y^2. For xx, the lowest power present in both terms is x1x^1; for yy, the lowest power present in both is y1y^1. So the shared variable factor is xyxy.

Step 3. Combine: the overall common factor is 6×xy=6xy6 \times xy = 6xy.

Step 4. Divide each term by 6xy6xy: 12x2y÷6xy=2x12x^2y \div 6xy = 2x, and 18xy2÷6xy=3y18xy^2 \div 6xy = 3y. So 12x2y+18xy2=6xy(2x+3y)12x^2y + 18xy^2 = 6xy(2x+3y).

Check: expanding 6xy(2x+3y)6xy(2x+3y) gives 12x2y+18xy212x^2y + 18xy^2 back exactly, so the factorisation is confirmed.

12x2y+18xy2=6xy(2x+3y)\textbf{12}x^2y + 18xy^2 = \textbf{6xy(2x+3y)}

Competitive stretch

Now the three-term case, 15a3b2−20a2b3+5a2b215a^3b^2 - 20a^2b^3 + 5a^2b^2. The coefficients 15,20,515, 20, 5 have HCF 55. The powers of aa present are a3,a2,a2a^3, a^2, a^2, so the lowest is a2a^2; the powers of bb present are b2,b3,b2b^2, b^3, b^2, so the lowest is b2b^2. The common factor is 5a2b25a^2b^2. Dividing each term gives 15a3b2÷5a2b2=3a15a^3b^2 \div 5a^2b^2 = 3a, −20a2b3÷5a2b2=−4b-20a^2b^3 \div 5a^2b^2 = -4b (the sign travels with the term), and 5a2b2÷5a2b2=15a^2b^2 \div 5a^2b^2 = 1 (never drop this trailing 11).

15a3b2−20a2b3+5a2b2=5a2b2(3a−4b+1)15a^3b^2 - 20a^2b^3 + 5a^2b^2 = \textbf{5}a^2b^2\textbf{(3a}-\textbf{4b}+\textbf{1)}

Common traps

  • Forgetting the trailing "1." When a term divides evenly by the common factor to give exactly 11 (not 00), that 11 must still appear inside the bracket — dropping it, as could happen with the 5a2b25a^2b^2 term above, is a very common slip.
  • Taking out only part of the HCF. Pulling out 2x2x from 6x2+8x6x^2+8x instead of noticing the full common factor is available leaves the bracket only partly simplified; always check both the numerical HCF and every variable's lowest shared power.
  • Sign errors on negative terms. When a term inside the original expression is negative, its sign must be carried correctly into the bracket after division — −20a2b3÷5a2b2-20a^2b^3 \div 5a^2b^2 must stay −4b-4b, not 4b4b.
  • Skipping the expand-back check. Not verifying the factorised form by multiplying the bracket out again is how small arithmetic mistakes go unnoticed, especially once there are three or more terms.

Ask the tutor: Want to practise finding the common factor in a four-term expression, or check whether you have pulled out the full HCF on a tricky example? Ask the AI tutor to work through more cases with you step by step.

How do I know when I have taken out the highest common factor and not just a common factor?

Check both parts separately. For the numbers, find the actual HCF of all the coefficients using factor trees or repeated division rather than stopping at the first common number you notice. For the letters, compare the power of each shared variable across every term and take the smallest one — that smallest shared power is as far as you can go. If, after dividing, the terms inside the bracket still share another common factor, you stopped too early.

What happens if there is no variable common to all the terms, only numbers?

That is perfectly fine — the common factor is then just a number. For example, 10p+15q10p + 15q has no shared letter since pp and qq are different variables, but 1010 and 1515 share the HCF 55, so it factorises as 5(2p+3q)5(2p+3q). A common factor extraction never requires both a numerical and a variable part; either one alone is enough to factorise.

Why does the bracket sometimes end up with a plain 1 or a negative number inside it?

Because dividing a term by the common factor does not always leave a variable behind. If a term equals the common factor exactly, dividing gives 11, and if the original term was negative, dividing preserves that negative sign. Both are ordinary results of division, not exceptions, so they must be written inside the bracket exactly as they come out — leaving out a 11 or dropping a minus sign changes the value of the expression.

Before this

Where this leads