C2.2; E2.2 - Collecting like terms

C2.2; E2.2 - Collecting like terms

Some expressions look longer than the quantities they describe. You will identify terms and coefficients, combine matching terms without changing their value, and distinguish powers and products that must stay separate.

Terms and coefficients

Why can 3x+2x3x+2x become 5x5x, while 3x+23x+2 usually cannot become a single term? Think of xx as the number of counters in one packet. Three packets plus two packets make five packets. Three packets plus two loose counters still need both descriptions.

The letter represents a number of counters, rather than the packet itself. The packet picture helps you count equal quantities; the algebra also works with negative or fractional values of xx, where a literal packet picture is less useful.

Term and coefficient

A term is one part of a sum of algebraic quantities. Treat subtraction as addition of a negative term. A coefficient is the numerical multiplier of a term's letter part.

In 7x−3y+47x-3y+4, the terms are 7x7x, −3y-3y and 44. The coefficients of xx and yy are 77 and −3-3. The term 44 is a constant term: it has no variable.

Keep each sign with its term. In 5a−b+95a-b+9, the term −b-b means (−1)b(-1)b, so its coefficient is −1-1. In a+2a+2, the coefficient of aa is 11, even though the 11 is not written.

An addition or subtraction outside brackets separates terms. Multiplication does not: 4xy4xy is one term containing the factors 44, xx and yy. In 3(x+2)3(x+2), the whole expression is a product; x+2x+2 is kept together inside brackets. You will learn to remove such brackets in the next lesson.

Key idea

The coefficient tells you how many copies of a letter part you have. The power tells you what that letter part is: 6x26x^2 means six copies of x2x^2, not x6x^6.

Compare 6x26x^2 with (6x)2(6x)^2. The first has coefficient 66; squaring the whole bracket in the second gives 36x236x^2.

Collecting like terms

To simplify an expression, write it in an equivalent, simpler form. Equivalent expressions have the same value for every allowed choice of their variables. Collecting like terms counts copies of the same quantity.

Like terms

Like terms have exactly the same letter factors with exactly the same powers. Their coefficients may differ. For example, 4a4a and −9a-9a are like terms; 4a4a and 4b4b are not. All constant terms can be combined with one another.

For instance, 3x+2x=(3+2)x=5x3x+2x=(3+2)x=5x. This works because both terms contain the same multiplier xx. You add the coefficients and retain that letter part. For subtraction, add the signed coefficients: 3x−5x=(3−5)x=−2x3x-5x=(3-5)x=-2x.

Worked example 1: collecting two letter types

Question. Simplify 8a+3b−5a+4b8a+3b-5a+4b.

Plan. Group the aa-terms and the bb-terms, carrying their signs with them.

8a+3b−5a+4b=(8−5)a+(3+4)bgroup matching letter parts=3a+7badd each set of coefficients\begin{aligned} 8a+3b-5a+4b&=(8-5)a+(3+4)b && \text{group matching letter parts}\\ &=3a+7b && \text{add each set of coefficients} \end{aligned}

Answer. 3a+7b3a+7b.

Check. At a=2a=2, b=1b=1, the original gives 16+3−10+4=1316+3-10+4=13. The answer gives 6+7=136+7=13. This checks the calculation at these values; the grouping argument establishes the equivalence for all values.

Change only the final plus sign to a minus sign. The aa-terms stay the same; the bb-coefficient must change.

Worked example 2: a negative collected coefficient

Question. Simplify 8a+3b−5a−4b8a+3b-5a-4b.

Plan. Add the signed coefficients separately for each letter.

8a+3b−5a−4b=(8−5)a+(3−4)bkeep the minus with 4b=3a−bwrite (−1)b as −b\begin{aligned} 8a+3b-5a-4b&=(8-5)a+(3-4)b && \text{keep the minus with }4b\\ &=3a-b && \text{write }(-1)b\text{ as }-b \end{aligned}

Answer. 3a−b3a-b.

Check. At a=2a=2, b=1b=1, the original gives 16+3−10−4=516+3-10-4=5; the simplified expression gives 6−1=56-1=5.

An expression is fully simplified by collecting when each different letter part appears at most once. A zero coefficient removes a term: 5a−5a=0a=05a-5a=0a=0. Also combine constants; for example, 2x+7+x−4=3x+32x+7+x-4=3x+3.

Watch out

3a+7b=10ab3a+7b=10ab is wrong. Addition of unlike quantities does not turn into multiplication. At a=1a=1, b=2b=2, the left side is 1717, while 10ab=2010ab=20.

A numerical check can expose a wrong simplification. To justify a correct one generally, identify and combine the matching letter parts.

Powers and mixed-variable expressions

Matching the letters is not enough: their powers must match too. Since x2=x×xx^2=x\times x, it is a different letter part from xx. For x=3x=3, one copy of x2x^2 is 99, while one copy of xx is 33.

The order of multiplication does not matter: xy=yxxy=yx. Thus 3xy3xy and 5yx5yx are like terms and combine to 8xy8xy. But x2yx^2y and xy2xy^2 are different. One contains two factors of xx; the other contains two factors of yy.

Before collecting, write a consistent letter order and inspect the whole letter part. Changing a coefficient counts copies; it does not change a power.

Worked example 3: square terms, product terms and constants

Question. Simplify 4a2+3ab−2+2a2−5ab+74a^2+3ab-2+2a^2-5ab+7.

Plan. Make separate groups for a2a^2, abab and the constants.

4a2+3ab−2+2a2−5ab+7=(4+2)a2+(3−5)ab+(−2+7)match whole letter parts=6a2−2ab+5collect each group\begin{aligned} 4a^2+3ab-2+2a^2-5ab+7 &=(4+2)a^2+(3-5)ab+(-2+7) && \text{match whole letter parts}\\ &=6a^2-2ab+5 && \text{collect each group} \end{aligned}

Answer. 6a2−2ab+56a^2-2ab+5.

Check. With a=2a=2, b=3b=3, the original is 16+18−2+8−30+7=1716+18-2+8-30+7=17; the answer is 24−12+5=1724-12+5=17.

Now reverse the letters in one product. This changes its appearance, but does not change its value or its group.

Worked example 4: recognising a reversed product

Question. Simplify 4a2+3ab−2+2a2−5ba+74a^2+3ab-2+2a^2-5ba+7.

Plan. Rewrite baba as abab, then collect the same groups.

4a2+3ab−2+2a2−5ba+7=4a2+3ab−2+2a2−5ab+7because ba=ab=(4+2)a2+(3−5)ab+5group like terms=6a2−2ab+5simplify coefficients\begin{aligned} 4a^2+3ab-2+2a^2-5ba+7 &=4a^2+3ab-2+2a^2-5ab+7 && \text{because }ba=ab\\ &=(4+2)a^2+(3-5)ab+5 && \text{group like terms}\\ &=6a^2-2ab+5 && \text{simplify coefficients} \end{aligned}

Answer. 6a2−2ab+56a^2-2ab+5.

Check. With a=1a=1, b=−2b=-2, the original gives 4−6−2+2+10+7=154-6-2+2+10+7=15; the answer gives 6+4+5=156+4+5=15.

Write higher powers first when this makes an answer easier to read, but order alone does not change the value. For example, 3+2x2−x3+2x^2-x and 2x2−x+32x^2-x+3 are equivalent.

Watch out

x2+x=2x2x^2+x=2x^2 is false. At x=3x=3, the two sides are 1212 and 1818. The valid collection is x2+x2=2x2x^2+x^2=2x^2; multiplication instead gives x2×x=x3x^2\times x=x^3. Addition counts matching terms; multiplication combines factors.

This answers the opening question: only terms describing copies of the same letter part can be collected.

Quick Recap

  • Keep a term's sign with it; the coefficient of −x-x is −1-1.
  • Like terms have the same letters and the same powers.
  • Add their coefficients and keep their letter part unchanged.
  • Products such as abab and baba match, but a2a^2, aa and abab are different.

3x+2x=5x3x+2x=5x counts five copies of the same quantity. In 3x+23x+2, the two terms describe different quantities, so both remain.