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. You can also take one away from the other.

This les­son shows you both jobs. It also shows the one step that catches most peo­ple out. That step is a minus sign 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. Read that course again if they feel shaky.

Look at 3a3a and 2a2a. Both of them 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 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.

That is the whole method. You gather the like terms, then you 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}

There were two piles this time. The xx terms made 7x7x and the yy terms made 8y8y.

Those two can­not join, so the answer is 7x+8y7x + 8y.

A longer exam­ple with a minus sign inside

Add 5x3y+25x - 3y + 2 and 2x+y72x + 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.

5x3y+2+2x+y7=5x+2x3y+y+27=(5+2)x+(3+1)y+(27)=7x2y5\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. That is why 3y-3y stays neg­a­tive in the sec­ond line.

A printed line worth check­ing

The chap­ter works one more sum along a line. This is how the book prints it.

Add 3a+23a + 2 and 5a+75a + 7, printed as the chap­ter has it

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

That printed answer does not check out. Gather the aa terms first. Here 3+5=83 + 5 = 8, so they give 8a8a, not 7a7a.

The plain num­bers are fine, because 2+7=92 + 7 = 9.

Work the sum your­self and you get 8a+98a + 9. The acad­emy is being asked which line is right.

Check­ing a printed answer is a good habit. Do the same with 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 it is done that way here.

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. Each col­umn was then added on its own.

The answer is 7a+7b7a + 7b. The two parts can­not join, so both stay.

Every aa term is in the aa col­umn and every bb term is in the bb col­umn. A term can­not drift into the wrong pile.

Which method to use

Both meth­ods give the same answer. You pick the one that 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. Columns keep 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

7a2a=(72)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.

The expres­sion you are tak­ing away is writ­ten sec­ond. Swap­ping them gives 2a7a2a - 7a, which is 5a-5a, not 5a5a.

Order mat­ters in sub­trac­tion in a way it does not 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.

p4p=(14)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. 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 the thing out­side a bracket mul­ti­plies every term inside it. Not just the first term. Every one.

This rule has a name: the dis­trib­u­tive rule.

A minus sign in front of a bracket is 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 bc-b - c. Every sign inside flips over.

This is the hard­est step in the les­son. The safe habit is to write the brack­ets in first.

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

(9a+8)(2a+3)=9a+82a3=9a2a+83=(92)a+(83)=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 add the 33 instead. Then 8+3=118 + 3 = 11, and you get 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 4p2q4p - 2q from p+5qp + 5q. This time the bracket holds a minus sign, and it flips to a plus.

(p+5q)(4p2q)=p+5q4p+2q=(14)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.

The chap­ter asks you to find 2A3B2A - 3B and (A+B)(AB)(A + B) - (A - B).

Its own AA and BB were drawn on the page and are lost. Take these two instead.

Take 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 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 2A3B2A - 3B

2A3B=2(3a+2b)3(a+b)=6a+4b3a3b=6a3a+4b3b=(63)a+(43)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 hit both terms inside. 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 ABA - B they give 31=23 - 1 = 2 lots of aa and 21=12 - 1 = 1 lot of bb.

Find (A+B)(AB)(A + B) - (A - B)

(A+B)(AB)=(3a+2b+a+b)(3a+2bab)=(4a+3b)(2a+b)=4a+3b2ab=(42)a+(31)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}

The answer 2a+2b2a + 2b is just BB dou­bled.

That is 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. Two lots of BB make 2B2B.

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.

Sub­tract­ing in columns

The chap­ter now takes 3x+4y3x + 4y away from another expres­sion. That expres­sion was drawn and is lost, so take 9x+7y9x + 7y.

The bot­tom row is the whole expres­sion you are tak­ing away. It is the same as a bracket with a minus sign in front.

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 changed3x-3x4y-4y
Add each col­umn6x6x+3y+3y

In the xx col­umn, 93=69 - 3 = 6. In the yy col­umn, 74=37 - 4 = 3.

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

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

Prac­tice

Try these. 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 5a2b5a - 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 2a3-2a - 3, not 2a+3-2a + 3.
  • Read­ing "sub­tract AA from BB" as ABA - 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. 12y5y=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. (5a2b)+(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 62=46 - 2 = 4 and 91=89 - 1 = 8
228m+68m + 6, since 2+6=82 + 6 = 8 and 5+1=65 + 1 = 6667x7x, since 103=710 - 3 = 7 and 44=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 72=57 - 2 = 5
447y7y, since 125=712 - 5 = 7885a+4b5a + 4b, since 3+2=53 + 2 = 5 and 2+2=42 + 2 = 4