Alge­bra lets you write a rule once and use it for every num­ber. Before long you meet two expres­sions that need to be put together: the perime­ter of a field whose sides are 2x+32x + 3 and x+5x + 5, the total cost of two orders, or the dif­fer­ence between two peo­ple's sav­ings. Adding and sub­tract­ing expres­sions is the skill behind all of these, and it rests on one sim­ple idea: you can only com­bine things that count the same thing.

An expres­sion is a piece of alge­bra made of terms joined by plus or minus signs, like 3a+23a + 2.

Two expres­sions can be put together to make one: you can add them, or take one away from the other.

We'll do both jobs here, and we'll pay spe­cial atten­tion to the one step that catches most peo­ple out, a minus sign sit­ting in front of a bracket.

Only like terms join

Terms, co-effi­cients, like terms and unlike terms are taught in the Early Years course Intro­duc­tion to Alge­bra. If they feel shaky, it's worth a quick look back there.

Look at 3a3a and 2a2a. Both count the same thing, aa, so 33 of them and 22 more make 55 of them. You can write 3a+2a=5a3a + 2a = 5a.

Terms that count the same let­ter are called like terms; terms that count dif­fer­ent let­ters are unlike terms.

The num­ber in front of a term is its co-effi­cient. In 3a3a the co-effi­cient is 33.

Remem­ber. Only like terms add or sub­tract. Unlike terms stay side by side in the answer.

A good way to pic­ture this is with tiles. Let a large blue tile stand for xx and a small orange tile stand for yy. You can count blue tiles with blue tiles, and orange with orange, but a blue tile and an orange tile never merge into a new kind of tile.

Algebra tiles: four blue x tiles and two orange y tiles, then three x tiles and six y tiles, sorted into piles of seven x tiles and eight y tiles, giving 7x + 8y.
Adding 4x+2y4x + 2y and 3x+6y3x + 6y: the tiles sort into a pile of 7x7x and a pile of 8y8y.

The hor­i­zon­tal method

Hor­i­zon­tal sim­ply means you write every­thing along one line.

Add 3a3a and 2a2a

3a+2a=(3+2)a=5a\begin{aligned}&3a + 2a \\ &= (3 + 2)a \\ &= 5a\end{aligned}

The mid­dle step shows you why the answer is 5a5a: the aa was taken out­side, and 33 and 22 were added.

And that really is the whole method. Gather the like terms, then add the num­bers in front of them.

The next sum has two let­ters in it.

Add 4x+2y4x + 2y and 3x+6y3x + 6y

4x+2y+3x+6y=4x+3x+2y+6y=(4+3)x+(2+6)y=7x+8y\begin{aligned}&4x + 2y + 3x + 6y \\ &= 4x + 3x + 2y + 6y \\ &= (4 + 3)x + (2 + 6)y \\ &= 7x + 8y\end{aligned}

This time there were two piles. The xx terms made 7x7x and the yy terms made 8y8y. Those two can't join, so the answer is 7x+8y7x + 8y.

A longer exam­ple with a minus sign inside

Add 5x−3y+25x - 3y + 2 and 2x+y−72x + y - 7. Each term car­ries the sign writ­ten in front of it, so −3y-3y is a neg­a­tive term and −7-7 is a neg­a­tive num­ber.

5x−3y+2+2x+y−7=5x+2x−3y+y+2−7=(5+2)x+(−3+1)y+(2−7)=7x−2y−5\begin{aligned}&5x - 3y + 2 + 2x + y - 7 \\ &= 5x + 2x - 3y + y + 2 - 7 \\ &= (5 + 2)x + (-3 + 1)y + (2 - 7) \\ &= 7x - 2y - 5\end{aligned}

When you move a term to sit beside its part­ners, its sign trav­els with it, like a school bag that goes wher­ever the stu­dent goes. That is why −3y-3y stays neg­a­tive in the sec­ond line.

A line worth check­ing

Here is one more sum along a line. Try it before you read the work­ing.

Add 3a+23a + 2 and 5a+75a + 7

3a+2+5a+7=8a+9\begin{aligned}&3a + 2 + 5a + 7 \\ &= 8a + 9\end{aligned}

Gather the aa terms first: 3+5=83 + 5 = 8, so they give 8a8a. A com­mon slip is to write 7a7a here, so count care­fully. The plain num­bers give 2+7=92 + 7 = 9.

So the answer is 8a+98a + 9.

Check­ing each line like this is a good habit, espe­cially in your own work.

The ver­ti­cal method

Ver­ti­cal means you write one expres­sion under the other. The chap­ter files this next sum under the ver­ti­cal method, so we'll do it that way.

Add 2a+3b2a + 3b and 5a+4b5a + 4b. Set them out in two columns, one for aa and one for bb.

Rowaa col­umnbb col­umn
First expres­sion, 2a+3b2a + 3b2a2a+3b+3b
Sec­ond expres­sion, 5a+4b5a + 4b5a5a+4b+4b
Add each col­umn7a7a+7b+7b

In the aa col­umn, 2+5=72 + 5 = 7. In the bb col­umn, 3+4=73 + 4 = 7.

Like terms sat in the same col­umn, and each col­umn was added on its own. The answer is 7a+7b7a + 7b; the two parts can't join, so both stay.

The nice thing about columns is that every aa term is in the aa col­umn and every bb term is in the bb col­umn, so no term can drift into the wrong pile.

Which method to use

Both meth­ods give the same answer, so pick whichever is eas­ier to hold in your head.

Hor­i­zon­tal: best for short expres­sions. One line is quicker to write, and there is lit­tle to lose track of.Ver­ti­cal: best when there are sev­eral like terms to line up. The columns do the match­ing for you.

Long expres­sions are easy to mud­dle, and that's when columns earn their keep by hold­ing every term in its place.

Sub­tract­ing

Sub­trac­tion fol­lows the same rule: only like terms can be taken away from each other.

Sub­tract 2a2a from 7a7a

7a−2a=(7−2)a=5a\begin{aligned}&7a - 2a \\ &= (7 - 2)a \\ &= 5a\end{aligned}

Read the order with care. "Sub­tract 2a2a from 7a7a" means you start at 7a7a, and the expres­sion you are tak­ing away is writ­ten sec­ond. Swap them and you get 2a−7a2a - 7a, which is −5a-5a, not 5a5a.

Order mat­ters in sub­trac­tion in a way it never does in addi­tion.

A sub­trac­tion where the answer has a minus sign

Sub­tract 4p4p from pp. Start at pp, which is 1p1p.

p−4p=(1−4)p=−3p\begin{aligned}&p - 4p \\ &= (1 - 4)p \\ &= -3p\end{aligned}

A neg­a­tive answer is per­fectly nor­mal in alge­bra. It sim­ply means you took away more than you started with.

Tak­ing away a whole bracket

Look at 3(2a+5)3(2a + 5). The 33 mul­ti­plies the 2a2a to give 6a6a, and it also mul­ti­plies the 55 to give 1515. So 3(2a+5)=6a+153(2a + 5) = 6a + 15.

Writ­ten in gen­eral, that is a(b+c)=ab+aca(b + c) = ab + ac, which is how the chap­ter prints it.

It says that what­ever sits out­side a bracket mul­ti­plies every term inside it: not just the first term, but every one. This is called the dis­trib­u­tive rule.

Now here's the key idea. A minus sign in front of a bracket is really a −1-1 sit­ting out­side it.

That −1-1 mul­ti­plies every term inside, just like any other num­ber out­side a bracket, and −1-1 times a pos­i­tive term gives a neg­a­tive one. So −(b+c)-(b + c) is −b−c-b - c: every sign inside flips over.

This is the trick­i­est step in the whole topic, so build a safe habit: always write the brack­ets in first.

Sub­tract 2a+32a + 3 from 9a+89a + 8

(9a+8)−(2a+3)=9a+8−2a−3=9a−2a+8−3=(9−2)a+(8−3)=7a+5\begin{aligned}&(9a + 8) - (2a + 3) \\ &= 9a + 8 - 2a - 3 \\ &= 9a - 2a + 8 - 3 \\ &= (9 - 2)a + (8 - 3) \\ &= 7a + 5\end{aligned}

Look at step two. The +3+3 turned into −3-3 when the bracket came off.

For­get that flip and you'd add the 33 instead: 8+3=118 + 3 = 11, giv­ing 7a+117a + 11, which is wrong.

Diagram of (9a + 8) minus (2a + 3): arrows show the minus sign reaching both 2a and 3, giving 9a + 8 - 2a - 3, which simplifies to 7a + 5.
The minus sign in front of the bracket reaches every term inside it.

A bracket with a minus sign already inside

Sub­tract 4p−2q4p - 2q from p+5qp + 5q. This time the bracket holds a minus sign, and it flips to a plus.

(p+5q)−(4p−2q)=p+5q−4p+2q=(1−4)p+(5+2)q=−3p+7q\begin{aligned}&(p + 5q) - (4p - 2q) \\ &= p + 5q - 4p + 2q \\ &= (1 - 4)p + (5 + 2)q \\ &= -3p + 7q\end{aligned}

Tak­ing away a neg­a­tive amount is the same as adding it, so −(−2q)-(-2q) became +2q+2q.

Remem­ber. Take away a whole bracket and every sign inside it changes. A plus becomes a minus, and a minus becomes a plus.

Let­ters that stand for whole expres­sions

A cap­i­tal let­ter can stand for a whole expres­sion. AA might mean 3a+2b3a + 2b, all of it, like a nick­name for a long name.

The chap­ter asks you to find 2A−3B2A - 3B and (A+B)−(A−B)(A + B) - (A - B). We'll use these two: A=3a+2bA = 3a + 2b and B=a+bB = a + b.

Put the expres­sion in place of each cap­i­tal let­ter, keep­ing the brack­ets while you do it. Putting an expres­sion in place of a let­ter like this is called sub­sti­tu­tion.

Find 2A−3B2A - 3B

2A−3B=2(3a+2b)−3(a+b)=6a+4b−3a−3b=6a−3a+4b−3b=(6−3)a+(4−3)b=3a+b\begin{aligned}&2A - 3B \\ &= 2(3a + 2b) - 3(a + b) \\ &= 6a + 4b - 3a - 3b \\ &= 6a - 3a + 4b - 3b \\ &= (6 - 3)a + (4 - 3)b \\ &= 3a + b\end{aligned}

The 33 out­side the sec­ond bracket reached both terms inside, and the minus sign flipped both of them.

The next one needs two small sums first. In A+BA + B the let­ters give 3+1=43 + 1 = 4 lots of aa and 2+1=32 + 1 = 3 lots of bb.

In A−BA - B they give 3−1=23 - 1 = 2 lots of aa and 2−1=12 - 1 = 1 lot of bb.

Find (A+B)−(A−B)(A + B) - (A - B)

(A+B)−(A−B)=(3a+2b+a+b)−(3a+2b−a−b)=(4a+3b)−(2a+b)=4a+3b−2a−b=(4−2)a+(3−1)b=2a+2b\begin{aligned}&(A + B) - (A - B) \\ &= (3a + 2b + a + b) - (3a + 2b - a - b) \\ &= (4a + 3b) - (2a + b) \\ &= 4a + 3b - 2a - b \\ &= (4 - 2)a + (3 - 1)b \\ &= 2a + 2b\end{aligned}

Did you spot it? The answer 2a+2b2a + 2b is just BB dou­bled.

That's no acci­dent. The sec­ond bracket held −B-B, and tak­ing away −B-B adds BB back. So there is one BB from the first bracket and one more from the sec­ond, and two lots of BB make 2B2B.

Mean­while the first bracket gave +A+A and the sec­ond gave −A-A. A term and the same term with a minus sign make noth­ing, so the two lots of AA can­celled out.

This works for any AA and any BB you choose, which is rather neat.

Sub­tract­ing in columns

Now take 3x+4y3x + 4y away from 9x+7y9x + 7y.

The bot­tom row is the whole expres­sion you are tak­ing away, which is the same as a bracket with a minus sign in front. So change the sign of every term in that row, then add down.

Rowxx col­umnyy col­umn
Start with 9x+7y9x + 7y9x9x+7y+7y
Take away 3x+4y3x + 4y, signs changed−3x-3x−4y-4y
Add each col­umn6x6x+3y+3y

In the xx col­umn, 9−3=69 - 3 = 6. In the yy col­umn, 7−4=37 - 4 = 3.

The answer is 6x+3y6x + 3y.

Chang­ing the signs first is the very same flip as before; the columns sim­ply keep it tidy.

Prac­tice

Try these, and remem­ber to write the brack­ets in first on every sub­trac­tion.

  1. Add 4x4x and 9x9x.
  2. Add 2m+52m + 5 and 6m+16m + 1.
  3. Add 3p+2q3p + 2q and 4p+6q4p + 6q. Use the ver­ti­cal method.
  4. Sub­tract 5y5y from 12y12y.
  5. Sub­tract 2a+12a + 1 from 6a+96a + 9.
  6. Sub­tract 3x+4y3x + 4y from 10x+4y10x + 4y.
  7. Add 5a−2b5a - 2b and a+7ba + 7b.
  8. With A=3a+2bA = 3a + 2b and B=a+bB = a + b, find A+2BA + 2B.

Remem­ber. Gather like terms, add or sub­tract their num­bers, and leave unlike terms alone. Off comes the bracket, over go the signs.

Com­mon mis­takes

  • Join­ing unlike terms, for exam­ple writ­ing 3a+2b=5ab3a + 2b = 5ab. The answer stays 3a+2b3a + 2b.
  • Chang­ing only the first sign when a bracket is taken away: −(2a+3)-(2a + 3) is −2a−3-2a - 3, not −2a+3-2a + 3.
  • Read­ing "sub­tract AA from BB" as A−BA - B. The expres­sion after "from" is writ­ten first.
  • Leav­ing a sign behind when terms are moved about. A term and its sign always travel together.
  • For­get­ting that a let­ter on its own, such as pp, has co-effi­cient 11.
  • In the ver­ti­cal method, putting a term in the wrong col­umn, or for­get­ting to change the signs of the bot­tom row before adding down.

Key terms

Expres­sion
Terms joined by plus or minus signs, such as 3a+23a + 2.
Term
One part of an expres­sion, together with the sign in front of it.
Co-effi­cient
The num­ber in front of a term; in 3a3a it is 33.
Like terms
Terms that count the same let­ter, such as 3a3a and 2a2a.
Unlike terms
Terms that count dif­fer­ent let­ters, such as 3a3a and 2b2b.
Dis­trib­u­tive rule
a(b+c)=ab+aca(b + c) = ab + ac: the num­ber out­side a bracket mul­ti­plies every term inside.
Sub­sti­tu­tion
Putting an expres­sion or num­ber in place of a let­ter.

Answers

These are the answers to the Prac­tice ques­tions, each checked by work­ing the sum in full.

  1. 4x+9x=13x4x + 9x = 13x
  2. (2m+5)+(6m+1)=8m+6(2m + 5) + (6m + 1) = 8m + 6
  3. (3p+2q)+(4p+6q)=7p+8q(3p + 2q) + (4p + 6q) = 7p + 8q
  4. 12y−5y=7y12y - 5y = 7y
  5. (6a+9)−(2a+1)=4a+8(6a + 9) - (2a + 1) = 4a + 8
  6. (10x+4y)−(3x+4y)=7x(10x + 4y) - (3x + 4y) = 7x, because the yy terms can­cel.
  7. (5a−2b)+(a+7b)=6a+5b(5a - 2b) + (a + 7b) = 6a + 5b
  8. A+2B=(3a+2b)+2(a+b)=5a+4bA + 2B = (3a + 2b) + 2(a + b) = 5a + 4b

The same answers, with the work­ing in brief:

Answers

Ques­tionAnswerQues­tionAnswer
1113x13x, since 4+9=134 + 9 = 13554a+84a + 8, since 6−2=46 - 2 = 4 and 9−1=89 - 1 = 8
228m+68m + 6, since 2+6=82 + 6 = 8 and 5+1=65 + 1 = 6667x7x, since 10−3=710 - 3 = 7 and 4−4=04 - 4 = 0
337p+8q7p + 8q, since 3+4=73 + 4 = 7 and 2+6=82 + 6 = 8776a+5b6a + 5b, since 5+1=65 + 1 = 6 and 7−2=57 - 2 = 5
447y7y, since 12−5=712 - 5 = 7885a+4b5a + 4b, since 3+2=53 + 2 = 5 and 2+2=42 + 2 = 4