The Lesson
Terms can be subtracted. Imagine we wanted to subtract the term 2b from 3a.
Subtracting Like Terms in Algebra
Like terms have the same variables (letters), each with the same exponents by them. The only difference is their coefficient (the number, or sometimes the letter, in front of them). 2a and 3a are like terms. They have the same letters (a), with the same exponents. The only difference is 2a has a coefficient of 2 while 3a has a coefficient of 3.

Subtracting Unlike Terms in Algebra
Unlike terms have different variables (letters) or different exponents. 3a and 2b are unlike terms. They have different variables (a in one, b in the other).

Real Examples of How to Subtract Terms in Algebra
The following real examples show how to subtract terms in algebra. The method is slightly different depending on whether the terms are unlike or like, so the first step is always to identify whether terms are like or unlike.A Real Example of How to Subtract Like Terms in Algebra
Question
Subtract the two terms below.
Step-by-Step:
1
Check whether the terms are unlike or like.
In our example, the terms are like. They have the same variables (x and y), with the same exponents. The only difference is 3xy has a coefficient of 3 while 2xy has a coefficient of 2.

2
Identify the coefficients of the terms.

3
Subtract the coefficients from each other.

4
Make the number found in Step 3 (1) the coefficient of the term (xy).

Answer:
We have subtracted the like terms together:
3xy − 2xy = xy
A Real Example of How to Subtract Unlike Terms in Algebra
Question
Subtract the two terms below.
Step-by-Step:
1
Check whether the terms are unlike or like.
In our example, the terms are unlike. They have different variables (x and y in one, a and b in the other).

2
Leave the terms subtracted with the − operator. The subtractition cannot be simplified any further.
Answer:
We have subtracted the like terms from each other:
3xy − 2ab = 3xy − 2ab