C2.2; E2.2 - Expanding and taking out common factors

C2.2; E2.2 - Expanding and taking out common factors

Multiplying a whole sum and multiplying its separate terms give the same result. You will use that fact to expand brackets, handle negative signs, and reverse the process by taking out the highest common factor.

The distributive law

Can 3(x+4)3(x+4) and 3x+123x+12 really describe the same quantity for every xx? Three bags, each containing xx counters and four extra counters, contain three lots of xx and twelve extras. You can count by bags or by types of counter.

This is the distributive law: a multiplier outside brackets multiplies every term inside. In symbols,

a(b+c)=ab+ac.a(b+c)=ab+ac.

It follows from how multiplication distributes over addition. It works for real numbers, including zero, negative numbers and fractions; the bags are just a starting picture for positive whole numbers.

Expand

To expand is to remove brackets by carrying out the multiplication. For example, 5(x+2)=5x+105(x+2)=5x+10. An expanded answer may then need like terms collected.

A split rectangle shows the same reasoning. For positive xx, its total area can be calculated using the whole width or by adding the two smaller areas.

[DIAGRAM: asset_name: One rectangle counted two ways; asset_slug: distributive_area; caption: A rectangle of height three and width x plus four has area three x plus twelve.; description: A rectangle of height three is split into widths x and four. The left pale blue region is labelled three x and the right pale sage region twelve. Height three, widths x and four, and total area three times bracket x plus four equals three x plus twelve are labelled. The picture represents positive x; the algebraic distributive law also holds for other real values.]
A rectangle of height three and width x plus four has area three x plus twelve.

Worked example 1: a numerical multiplier

Question. Expand 3(x+4)3(x+4).

Plan. Multiply each term inside the brackets by 33.

3(x+4)=3×x+3×4distribute to both terms=3x+12calculate each product\begin{aligned} 3(x+4)&=3\times x+3\times4 && \text{distribute to both terms}\\ &=3x+12 && \text{calculate each product} \end{aligned}

Answer. 3x+123x+12.

Check. At x=2x=2, the original is 3×6=183\times6=18; the answer is 6+12=186+12=18. The rectangle explains why the expansion works generally, rather than only at this input.

Now multiply the outside factor by xx. The same two products are required, but one contains two factors of xx.

Worked example 2: a letter in the multiplier

Question. Expand 3x(x+4)3x(x+4).

Plan. Multiply both terms by the complete outside factor 3x3x.

3x(x+4)=3x×x+3x×4distribute the whole factor=3x2+12xsince x×x=x2\begin{aligned} 3x(x+4)&=3x\times x+3x\times4 && \text{distribute the whole factor}\\ &=3x^2+12x && \text{since }x\times x=x^2 \end{aligned}

Answer. 3x2+12x3x^2+12x.

Check. At x=2x=2, the original is 6×6=366\times6=36; the answer is 3×4+24=363\times4+24=36.

The factor can be a number, a letter or a product of both. When multiplying letter powers, count the factors: x2×x=x×x×x=x3x^2\times x=x\times x\times x=x^3. When different letters occur, retain them both: x×y=xyx\times y=xy.

Watch out

3x(x+4)=3x2+123x(x+4)=3x^2+12 misses the xx in the second product. The whole multiplier 3x3x applies to both terms, giving 3x2+12x3x^2+12x.

Use an intermediate line showing every product whenever there is a risk of missing one.

Expanding with negative terms

Subtraction inside a bracket does not change the rule. Read b−cb-c as b+(−c)b+(-c), so a(b−c)=ab−aca(b-c)=ab-ac. A negative outside factor changes the signs of both products, using the signed multiplication rules you already know.

For example, −2(u−3)=(−2)u+(−2)(−3)=−2u+6-2(u-3)=(-2)u+(-2)(-3)=-2u+6. The positive 66 comes from multiplying two negative numbers; it is not a separate “bracket sign rule”.

Worked example 3: a negative term inside

Question. Expand 4x(2x−5y)4x(2x-5y).

Plan. Treat the second term as −5y-5y, then multiply both terms by 4x4x.

4x(2x−5y)=4x(2x)+4x(−5y)keep the second term’s sign=(4×2)(x×x)−(4×5)xymultiply coefficients and letters=8x2−20xysimplify the products\begin{aligned} 4x(2x-5y)&=4x(2x)+4x(-5y) && \text{keep the second term's sign}\\ &=(4\times2)(x\times x)-(4\times5)xy && \text{multiply coefficients and letters}\\ &=8x^2-20xy && \text{simplify the products} \end{aligned}

Answer. 8x2−20xy8x^2-20xy.

Check. At x=2x=2, y=1y=1, the original is 8(4−5)=−88(4-5)=-8; the answer is 32−40=−832-40=-8.

Change only the sign of the outside factor. The whole result must now be the negative of the previous result.

Worked example 4: a negative outside factor

Question. Expand −4x(2x−5y)-4x(2x-5y).

Plan. Include the minus sign in each multiplication.

−4x(2x−5y)=(−4x)(2x)+(−4x)(−5y)distribute −4x=−8x2+20xynegative times negative is positive\begin{aligned} -4x(2x-5y)&=(-4x)(2x)+(-4x)(-5y) && \text{distribute }-4x\\ &=-8x^2+20xy && \text{negative times negative is positive} \end{aligned}

Answer. −8x2+20xy-8x^2+20xy.

Check. At x=2x=2, y=1y=1, the original is −8(4−5)=8-8(4-5)=8. The answer gives −32+40=8-32+40=8, the opposite of the previous example's value.

A minus sign immediately before brackets means multiplication by −1-1. Therefore −(a+b)=−a−b-(a+b)=-a-b and −(a−b)=−a+b-(a-b)=-a+b. For instance, 5−(2x−3)=5−2x+3=8−2x5-(2x-3)=5-2x+3=8-2x. Both terms in the subtracted bracket change sign.

Watch out

−4x(2x−5y)=−8x2−20xy-4x(2x-5y)=-8x^2-20xy is wrong: (−4x)(−5y)(-4x)(-5y) is positive. Write the signed products before simplifying.

The number of different letters does not change a single-bracket expansion. Each product simply retains all its letter factors.

Taking out the highest common factor

You can run expansion backwards. Since 3x+12=3(x+4)3x+12=3(x+4), the sum can be written as a product. This is factorisation. In a common-factor question, “factorise” means take out the highest common factor so that no further common factor remains inside.

Common factor

A common factor of the terms divides every term exactly. Their highest common factor, or HCF, includes the greatest common numerical factor and every letter factor shared by all the terms, using its lowest power.

For 12x212x^2 and 18xy18xy, the coefficient HCF is 66. Both contain an xx, but only the second contains yy, so the complete HCF is 6x6x. Build the remaining bracket by dividing each term by the factor you have removed.

This division is a way to find the factors symbolically; the finished product identity is still valid at x=0x=0. You are not imposing a new condition that x≠0x\ne0.

Worked example 5: a shared letter factor

Question. Factorise fully 12x2+18xy12x^2+18xy.

Plan. Take out the numerical HCF 66 and one common factor of xx.

12x2=6x(2x)identify the first remainder18xy=6x(3y)identify the second remainder12x2+18xy=6x(2x+3y)reverse the distributive law\begin{aligned} 12x^2&=6x(2x) && \text{identify the first remainder}\\ 18xy&=6x(3y) && \text{identify the second remainder}\\ 12x^2+18xy&=6x(2x+3y) && \text{reverse the distributive law} \end{aligned}

Answer. 6x(2x+3y)6x(2x+3y).

Check. Expanding gives 12x2+18xy12x^2+18xy exactly. The terms 2x2x and 3y3y have no common numerical or letter factor other than 11, so this is fully factorised.

Now multiply both original terms by yy. That new shared factor must also appear outside.

Worked example 6: an additional shared letter

Question. Factorise fully 12x2y+18xy212x^2y+18xy^2.

Plan. Take out 6xy6xy, leaving the smallest shared power of each letter outside.

12x2y=6xy(2x)remove one x and one y18xy2=6xy(3y)one y remains12x2y+18xy2=6xy(2x+3y)combine the remainders\begin{aligned} 12x^2y&=6xy(2x) && \text{remove one }x\text{ and one }y\\ 18xy^2&=6xy(3y) && \text{one }y\text{ remains}\\ 12x^2y+18xy^2&=6xy(2x+3y) && \text{combine the remainders} \end{aligned}

Answer. 6xy(2x+3y)6xy(2x+3y).

Check. Multiplying 6xy6xy by 2x2x gives 12x2y12x^2y, and by 3y3y gives 18xy218xy^2. The remaining terms share no further factor.

For a subtraction, keep the subtraction in the bracket. For example, 8t2−12t=4t(2t−3)8t^2-12t=4t(2t-3). If a term equals the factor removed, its remainder is 11: 5u+5=5(u+1)5u+5=5(u+1), not 5u5u.

Watch out

12x2+18xy=3x(4x+6y)12x^2+18xy=3x(4x+6y) is equivalent, but it is not fully factorised: 4x4x and 6y6y still share 22. Taking out 6x6x finishes the common-factor task.

Expanding your answer checks every original term and sign. This check establishes an identity for all values, including zero.

Quick Recap

  • Expanding multiplies every term in a bracket by the complete outside factor.
  • Negative signs follow the ordinary rules for multiplying signed numbers.
  • Factorising reverses expansion; include all shared numerical and letter factors.
  • Expand a factorised answer to check its terms and signs.

The opening expressions 3(x+4)3(x+4) and 3x+123x+12 agree for every real xx: they are two forms of the same distributive-law calculation.