2.1 - Basic algebra skills

2.1 - Basic algebra skills

Make algebra easier to read by choosing a useful order, collecting like terms and multiplying a whole bracket correctly. This short lesson refreshes the GCSE skills that support the longer expressions you will meet next, and explains why each change preserves the value.

Changing order and grouping

How can you work out 427×1001427 \times 1001 without long multiplication? Keep that question in mind: the same laws that make algebra tidy will turn it into a very short calculation.

Start with 8+17+28 + 17 + 2. Adding 88 and 22 first gives 10+17=2710 + 17 = 27. You changed the order and the grouping, but you still added the same three numbers. Similarly, 25×7×4=(25×4)×7=70025 \times 7 \times 4 = (25 \times 4) \times 7 = 700. A sensible rearrangement saves work.

Commutative and associative laws

A commutative law allows you to change the order of two quantities being added or multiplied. An associative law allows you to change the grouping of three quantities being added or multiplied. For example, a+b=b+aa + b = b + a changes order, whereas (a+b)+c=a+(b+c)(a + b) + c = a + (b + c) changes grouping.

Letters stand for numbers, so these same laws let you write a coefficient before the letters and gather repeated factors. For example, x×3×y=3xyx \times 3 \times y = 3xy: the order changes, but no factor is lost or added.

Order and grouping laws

For any real numbers aa, bb and cc,

a+b=b+acommutative additionab=bacommutative multiplication(a+b)+c=a+(b+c)associative addition(ab)c=a(bc)associative multiplication\begin{aligned} a + b &= b + a && \text{commutative addition} \\ ab &= ba && \text{commutative multiplication} \\ (a + b) + c &= a + (b + c) && \text{associative addition} \\ (ab)c &= a(bc) && \text{associative multiplication} \end{aligned}

Not on the formulae sheet: learn it.

The operation matters. Subtraction is not commutative: 9−4=59 - 4 = 5, whereas 4−9=−54 - 9 = -5. Nor can you regroup subtraction freely: (9−4)−2=3(9 - 4) - 2 = 3, whereas 9−(4−2)=79 - (4 - 2) = 7. Division has the same restrictions. To reorder a subtraction, first read it as addition of a signed term: a−b+c=a+(−b)+c=a+c−ba - b + c = a + (-b) + c = a + c - b. The minus sign travels with bb.

Key idea

Addition and multiplication allow changes of order and grouping. A subtraction sign belongs to the term after it; moving the term without its sign changes the expression.

The next check asks you to distinguish regrouping from changing an operation.

Collecting like terms

Like terms count the same algebraic quantity, so you combine their coefficients while keeping that quantity unchanged.

Like terms

Like terms have exactly the same letters raised to exactly the same powers. For example, 7x7x and −2x-2x are like terms, as are 3xy3xy and 5yx5yx, because xy=yxxy = yx. The terms xx and x2x^2 are not like terms; neither are xx and yy.

Think of 7x+2x7x + 2x as seven lots of xx plus two lots of xx. That makes nine lots. By contrast, 7x+2y7x + 2y cannot be combined into one term: xx and yy may have different values.

Collecting coefficients

For real coefficients aa, bb and a common algebraic term tt,

at+bt=(a+b)tat + bt = (a + b)t

The complete term tt, including its powers, must be the same in both terms.
Not on the formulae sheet: learn it.

Use the commutative law to place like terms together, then add their signed coefficients.

Worked example 1: two groups of like terms

Question. Simplify 7x+3y+2x+5y7x + 3y + 2x + 5y.

Plan. Group the xx terms and the yy terms separately.

7x+3y+2x+5y=7x+2x+3y+5yreorder additions=(7+2)x+(3+5)ycollect coefficients=9x+8yadd each group\begin{aligned} 7x + 3y + 2x + 5y &= 7x + 2x + 3y + 5y && \text{reorder additions} \\ &= (7 + 2)x + (3 + 5)y && \text{collect coefficients} \\ &= 9x + 8y && \text{add each group} \end{aligned}

Why this step? Both xx terms count lots of xx; the yy terms count something different and stay in their own group.

Answer. 9x+8y9x + 8y.

Check. At x=2x = 2, y=1y = 1, the original is 14+3+4+5=2614 + 3 + 4 + 5 = 26, and the answer is 18+8=2618 + 8 = 26.

Change just one sign for Worked example 2: the 2x2x term is now negative. Keep that sign attached when you move the term.

Worked example 2: a negative coefficient

Question. Simplify 7x+3y−2x+5y7x + 3y - 2x + 5y.

Plan. Collect the signed xx coefficients, then the yy coefficients.

7x+3y−2x+5y=7x−2x+3y+5ymove −2x together=(7−2)x+(3+5)ycollect coefficients=5x+8ysimplify each group\begin{aligned} 7x + 3y - 2x + 5y &= 7x - 2x + 3y + 5y && \text{move } -2x \text{ together} \\ &= (7 - 2)x + (3 + 5)y && \text{collect coefficients} \\ &= 5x + 8y && \text{simplify each group} \end{aligned}

Why this step? The coefficient of the moved term is −2-2, not 22. Reordering does not turn subtraction into addition.

Answer. 5x+8y5x + 8y.

Check. At x=2x = 2, y=1y = 1, both expressions give 1818: 14+3−4+5=10+814 + 3 - 4 + 5 = 10 + 8.

After collecting, stop when the remaining terms are unlike. There is no further simplification of 5x+8y5x + 8y without more information.

Watch out

Wrong: 3x+4x=7x23x + 4x = 7x^2. Adding terms adds coefficients, so the correct result is 7x7x. Multiplying gives a different result: (3x)(4x)=12x2(3x)(4x) = 12x^2.

Keep the two letter groups separate in this short check, with new coefficients.

Multiplying a whole bracket

The distributive law connects multiplication and addition: multiplying a total is the same as multiplying each part and then adding.

A rectangle of height 33 and width 5+25 + 2 has area 3(5+2)=213(5 + 2) = 21. Split its width into 55 and 22, and the two areas are 1515 and 66. Nothing has been added or removed: 3(5+2)=3×5+3×23(5 + 2) = 3 \times 5 + 3 \times 2.

[DIAGRAM: asset_name: Splitting a rectangle to distribute; asset_slug: l2fm-basic-distributive-area; caption: Multiplying the whole width gives the same area as adding the two smaller rectangles; description: A rectangle of height 3 and total width 7 is split into a blue rectangle of width 5 and area 15 and a sage rectangle of width 2 and area 6. Dimension labels show 3, 5 and 2. Below it the equality 3 times open bracket 5 plus 2 close bracket equals 15 plus 6 equals 21 connects the whole area to its parts]
Multiplying the whole width gives the same area as adding the two smaller rectangles

The area picture uses positive lengths. The algebraic law also works with zero and negative numbers, so you can use it with signed coefficients.

Distributive law

For any real numbers aa, bb and cc,

a(b+c)=ab+aca(b−c)=ab−ac\begin{aligned} a(b + c) &= ab + ac \\ a(b - c) &= ab - ac \end{aligned}

Multiply every term inside the bracket by the outside factor.
Not on the formulae sheet: learn it.

When the outside factor is negative, use the usual sign rules for each product separately.

Worked example 3: a negative outside factor

Question. Expand −4(3x+2)-4(3x + 2).

Plan. Multiply both terms by −4-4.

−4(3x+2)=(−4)(3x)+(−4)(2)distribute to both terms=−12x−8negative times positive\begin{aligned} -4(3x + 2) &= (-4)(3x) + (-4)(2) && \text{distribute to both terms} \\ &= -12x - 8 && \text{negative times positive} \end{aligned}

Why this step? The bracket is one complete quantity multiplied by −4-4; both of its terms must receive that factor.

Answer. −12x−8-12x - 8.

Check. At x=1x = 1, the bracket gives −4(5)=−20-4(5) = -20, and the expansion gives −12−8=−20-12 - 8 = -20.

Worked example 4 changes only the sign inside the bracket. The second product is now negative times negative.

Worked example 4: two negative signs

Question. Expand −4(3x−2)-4(3x - 2).

Plan. Treat the second term as −2-2 and multiply it by −4-4.

−4(3x−2)=(−4)(3x)+(−4)(−2)keep the signed term=−12x+8negative times negative is positive\begin{aligned} -4(3x - 2) &= (-4)(3x) + (-4)(-2) && \text{keep the signed term} \\ &= -12x + 8 && \text{negative times negative is positive} \end{aligned}

Why this step? Writing −2-2 as the complete second term makes the positive product (−4)(−2)(-4)(-2) visible.

Answer. −12x+8-12x + 8.

Check. At x=1x = 1, both forms give −4-4: −4(3−2)=−12+8-4(3 - 2) = -12 + 8.

You can now solve the opening puzzle. In fact, multiplying any three-digit positive integer by 10011001 writes the digits twice. For example,

427×1001=427(1000+1)split the multiplier=427 000+427distribute=427 427add the two parts\begin{aligned} 427 \times 1001 &= 427(1000 + 1) && \text{split the multiplier} \\ &= 427\,000 + 427 && \text{distribute} \\ &= 427\,427 && \text{add the two parts} \end{aligned}

For a three-digit integer nn, 1000n1000n shifts its digits three places left, leaving exactly three places for the final nn. A small algebra law explains a rather neat number trick.

Watch out

Wrong: −4(3x−2)=−12x−8-4(3x - 2) = -12x - 8. The outside negative multiplies the negative second term too, so the correct answer is −12x+8-12x + 8.

Apply the same sign decision to a different outside factor and different terms.

Quick Recap

  • The commutative laws change order; the associative laws change grouping. They apply to addition and multiplication.
  • Keep a term's sign when you move it. Collect like terms by adding their signed coefficients.
  • Multiply every term in a bracket by the outside factor, including its sign.

The opening calculation is 427×1001=427 000+427=427 427427 \times 1001 = 427\,000 + 427 = 427\,427, using the distributive law.