Alge­bra lets you work with num­bers you do not know yet. Before you can add or take away such num­bers, you must know which ones belong together. This les­son teaches that sort­ing: which terms are like terms, which are unlike, and how to tell at a glance. You will use it in every alge­bra les­son that fol­lows.

Pic­ture a small box with sweets inside. The lid is shut. You can­not see in. You do not know how many sweets are there.

You can still talk about that num­ber. Give it a short name. Call it xx. Now xx stands for the num­ber of sweets in the box.

Tomor­row the box may hold a dif­fer­ent num­ber. The name still works. xx means what­ever is in the box that day.

A let­ter used this way has a name. It is called a vari­able. A vari­able is a sym­bol that can stand for many dif­fer­ent num­bers.

A plain num­ber is not like that. 55 is always 55. A fixed value like that is called a con­stant.

The two parts of a term

A term is one small piece of maths. It can be a num­ber on its own, like 66. It can be a let­ter on its own, like xx. It can be num­bers and let­ters mul­ti­plied together, like 6x6x. It can be them divided too, like x2\displaystyle \frac{x}{2}.

Most terms have two parts. One part is a num­ber. One part is a let­ter. In 2a2a the num­ber part is 22 and the let­ter part is aa.

The num­ber part has a name. It is called the co-effi­cient. In 2a2a the co-effi­cient is 22.

The let­ter part has a name too. It is called the lit­eral part. Watch that part closely. It tells you what the term is count­ing. That is what decides whether two terms will join.

Like terms

Two terms are like terms when their lit­eral parts are the same. The num­bers in front can be dif­fer­ent. That does not mat­ter.

Think about fruit for a moment. 22 apples and 33 apples are the same kind of thing. You can push them into one pile. The pile holds 55 apples.

Now look at 2a2a and 3a3a. 2a2a means two lots of aa. 3a3a means three lots of aa. Both are count­ing aas. So they are like terms.

aa is still a num­ber. Two lots of aa and three lots of aa are lots of the same num­ber. So they pile up the way apples do. bb is a dif­fer­ent num­ber. Lots of bb will not join lots of aa.

aa and 2a2a are like terms as well. aa means one lot of aa. You could write 1a1a, but nobody does. The 11 is left out because one lot is the ordi­nary case. So aa is count­ing aas too.

Remem­ber. Like terms have another name. Some books call them sim­i­lar terms. The two names mean the same thing.

Unlike terms

Two terms are unlike terms when their lit­eral parts are not the same.

Go back to the fruit. 22 apples and 33 bananas are not the same kind of thing. You can put them in one bowl. You still can­not call the bowl five apples. You can­not call it five bananas either.

2a2a and 3b3b are the same story. One term counts aas. The other counts bbs. They are unlike terms.

22 and aa are unlike terms too. The 22 is just two. Two of what? It does not say. But aa counts aas. Two on its own and two aas are not the same kind of thing. So they can­not join.

Terms with two let­ters

Some terms have two let­ters. In xyxy the lit­eral part is xyxy. That is not the same as xx on its own. xx counts xxs. xyxy counts xyxys. So 5x5x and 5xy5xy are unlike terms.

The order of the let­ters does not mat­ter. abab means a×ba \times b, and baba means b×ab \times a. Those are the same num­ber. So 3ab3ab and 7ba7ba are like terms. Many teach­ers ask you to write the let­ters in alpha­bet­i­cal order, so that a match is easy to see.

Pow­ers count as part of the lit­eral part too. x2x^{2} means x×xx \times x. That is not the same as xx. So 4x4x and 4x24x^{2} are unlike terms.

Four sorting boxes labelled literal part a, literal part b, literal part xy and no literal part, holding a, 2a, 3a; 3b, b; 5xy, xy; and 2, 9
Sort terms by what they count. Terms in the same box are like terms.

The four exam­ples side by side

Pair of termsLike or unlikeWhy
aa and 2a2aLikeBoth lit­eral parts are aa
2a2a and 3a3aLikeBoth lit­eral parts are aa
2a2a and 3b3bUnlikeOne lit­eral part is aa, the other is bb
22 and aaUnlikeOne of them has no lit­eral part

Remem­ber. The lit­eral part decides, because it says what is being counted. The num­ber in front only says how many. So the num­ber in front never decides.

Check­ing a pair of terms

Are 4x4x and 9x9x like terms? Cover the num­bers with your fin­ger. Then look at what is left.

Two terms, one test

The literal part of 4x is xThe literal part of 9x is xThe literal parts match, so the terms are like terms\begin{aligned}&\text{The literal part of } 4x \text{ is } x \\ &\text{The literal part of } 9x \text{ is } x \\ &\text{The literal parts match, so the terms are like terms}\end{aligned}

More worked exam­ples

Exam­ple 1. Are 7p7p and pp like terms?

Step 1: Cover the num­bers. 7p7p leaves pp. The term pp has no num­ber shown, which means 1p1p, so it also leaves pp. Step 2: Both lit­eral parts are pp. So they are like terms.

Exam­ple 2. Are 6mn6mn and 6m6m like terms?

Step 1: The lit­eral part of 6mn6mn is mnmn. The lit­eral part of 6m6m is mm. Step 2: mnmn and mm are dif­fer­ent. So they are unlike terms, even though both start with 66.

Exam­ple 3. Sort the terms of 3x+5y+2x+4+y+13x + 5y + 2x + 4 + y + 1.

Step 1: List each term with its lit­eral part: 3x3x has xx, 5y5y has yy, 2x2x has xx, 44 has none, yy has yy, 11 has none.

Step 2: Group the matches. The xx group is 3x3x and 2x2x. The yy group is 5y5y and yy. The plain num­bers are 44 and 11. That gives three groups of like terms.

Why this mat­ters

Like terms can be joined into one term. 2a2a and 3a3a both count aas. Put them together and you get 5a5a.

Unlike terms can­not be joined. 2a2a and 3b3b count dif­fer­ent things. The pile has no sin­gle name. So 2a+3b2a + 3b has to stay as it is.

That is why you sort the terms first. You find the ones that match. You join those, and you leave the rest alone. The next les­son does that work.

Prac­tice

Say whether each pair is like or unlike. Look at the lit­eral parts only.

1) 3x and 7x3x \text{ and } 7x5) 2b and 11b2b \text{ and } 11b
2) 4y and 4z4y \text{ and } 4z6) 8t and 88t \text{ and } 8
3) m and 6mm \text{ and } 6m7) 10k and k10k \text{ and } k
4) 9 and 9p9 \text{ and } 9p8) 5x and 5xy5x \text{ and } 5xy
Ques­tionAnswerQues­tionAnswer
3x and 7x3x \text{ and } 7xlike, both literal parts are x\text{like, both literal parts are } x2b and 11b2b \text{ and } 11blike, both literal parts are b\text{like, both literal parts are } b
4y and 4z4y \text{ and } 4zunlike, one literal part is y, the other is z\text{unlike, one literal part is } y \text{, the other is } z8t and 88t \text{ and } 8unlike, 8 has no literal part\text{unlike, } 8 \text{ has no literal part}
m and 6mm \text{ and } 6mlike, both literal parts are m\text{like, both literal parts are } m10k and k10k \text{ and } klike, both literal parts are k\text{like, both literal parts are } k
9 and 9p9 \text{ and } 9punlike, 9 has no literal part\text{unlike, } 9 \text{ has no literal part}5x and 5xy5x \text{ and } 5xyunlike, one literal part is x, the other is xy\text{unlike, one literal part is } x \text{, the other is } xy

Com­mon mis­takes

  • Look­ing at the num­bers in front. 4y4y and 4z4z share a 44 but are unlike; 2b2b and 11b11b have dif­fer­ent num­bers but are like.
  • Think­ing a let­ter on its own has no num­ber. kk means 1k1k, so 10k10k and kk are like terms.
  • Treat­ing xx and xyxy as a match because both con­tain xx. The whole lit­eral part must be the same.
  • Treat­ing xx and x2x^{2} as like terms. The pow­ers are part of the lit­eral part.
  • Pair­ing a plain num­ber with a let­ter term, such as 88 with 8t8t.

Key terms

Vari­able
A let­ter or sym­bol that can stand for many dif­fer­ent num­bers.
Con­stant
A fixed value, such as 55, that never changes.
Term
One piece of an expres­sion: a num­ber, a let­ter, or num­bers and let­ters mul­ti­plied or divided.
Co-effi­cient
The num­ber part of a term; in 2a2a it is 22.
Lit­eral part
The let­ter part of a term; it says what is being counted.
Like terms
Terms with the same lit­eral part, also called sim­i­lar terms.
Unlike terms
Terms whose lit­eral parts are not the same.

Answers

  1. 3x3x and 7x7x: like, both lit­eral parts are xx.
  2. 4y4y and 4z4z: unlike, one lit­eral part is yy, the other is zz.
  3. mm and 6m6m: like, both lit­eral parts are mm.
  4. 99 and 9p9p: unlike, 99 has no lit­eral part.
  5. 2b2b and 11b11b: like, both lit­eral parts are bb.
  6. 8t8t and 88: unlike, 88 has no lit­eral part.
  7. 10k10k and kk: like, both lit­eral parts are kk.
  8. 5x5x and 5xy5xy: unlike, one lit­eral part is xx, the other is xyxy.