Learn · Grade 7 Mathematics

Add and subtract linear expressions

Add and subtract linear expressions such as (6x + 5) − (2x − 9) by combining like terms and distributing the negative.

Lesson 1 of 4About 25 minutesMA.7.AR.1.1

Written with AI assistance. No teacher has reviewed these lessons and questions yet.

01 · Learn the idea

Like terms go together

A linear expression is an expression such as 3x + 2 or 8 − 5x. It has a variable term and a number on its own. In 3x + 2, the 3 is the coefficient, which is the number multiplying x. The 2 is the constant, which is the number with no variable.

Like terms are terms with the same variable part. 3x and 5x are like terms. So are 2 and 4. But 3x and 4 are not like terms, and you can never combine them into one term.

Take a small case: (3x + 2) + (5x + 4). Think of x as the number of pencils in a box. Three boxes and 2 loose pencils, plus five boxes and 4 loose pencils, is eight boxes and 6 loose pencils. So the sum is 8x + 6.

Three properties of operations make this legal. The commutative property says you can change the order of an addition: 2 + 5x = 5x + 2. The associative property says you can change the grouping: (3x + 2) + 5x = 3x + (2 + 5x). The distributive property says 3x + 5x = (3 + 5)x = 8x, which is why adding like terms means adding their coefficients.

(3x + 2) + (5x + 4) = 8x + 6

02 · Build understanding

Worked example: adding two expressions

Add (4x − 7) + (2.5x + 3).

Step 1: Drop the parentheses. Nothing is being multiplied by either group, so the terms keep their signs: 4x − 7 + 2.5x + 3.

Step 2: Put like terms next to each other. Treat − 7 as adding −7, so the sign travels with its term. The commutative and associative properties let you reorder and regroup: (4x + 2.5x) + (−7 + 3).

Step 3: Combine the x terms. The distributive property gives (4 + 2.5)x = 6.5x.

Step 4: Combine the constants. −7 + 3 = −4. The sum is 6.5x − 4.

Step 5: Check with a value. Let x = 2. The original is (8 − 7) + (5 + 3) = 1 + 8 = 9. The answer gives 6.5(2) − 4 = 13 − 4 = 9. They match.

03 · Build understanding

Worked example: subtracting a whole expression

Subtract (6x + 5) − (2x − 9).

Step 1: See what is being subtracted. The minus sign sits in front of the whole group (2x − 9), so every term in that group is subtracted, not only the first.

Step 2: Distribute the negative. Subtracting a group is the same as multiplying it by −1 and adding. −1 times 2x is −2x, and −1 times −9 is +9. The expression becomes 6x + 5 − 2x + 9.

Step 3: Group like terms: (6x − 2x) + (5 + 9).

Step 4: Combine. 6x − 2x = 4x and 5 + 9 = 14. The difference is 4x + 14.

Step 5: Check with x = 1. The original is (6 + 5) − (2 − 9) = 11 − (−7) = 18. The answer gives 4 + 14 = 18. They match.

(6x + 5) − (2x − 9) = 4x + 14

04 · Build understanding

Worked example: fractions and the constant written first

Subtract (8 − (3/4)x) − ((1/2)x + 3). Here the first expression has its constant first. That changes nothing about the method.

Step 1: Distribute the negative over the second group. Both of its terms change sign: 8 − (3/4)x − (1/2)x − 3.

Step 2: Group like terms: (8 − 3) + (−(3/4)x − (1/2)x).

Step 3: Combine the constants. 8 − 3 = 5.

Step 4: Combine the x terms. Use a common denominator: 1/2 = 2/4, so −3/4 − 2/4 = −5/4. The x term is −(5/4)x.

Step 5: Write the result: 5 − (5/4)x. You could also write −(5/4)x + 5. Both are correct.

Step 6: Check with x = 4, which is easy to multiply by fourths. The original is (8 − 3) − (2 + 3) = 5 − 5 = 0. The answer gives 5 − (5/4)(4) = 5 − 5 = 0. They match.

05 · Build understanding

Worked example: money earned and money spent

Devon mows lawns. For x hours of work he earns 12x + 20 dollars: $12 for each hour plus a flat $20. His costs for those x hours are 3.5x + 6 dollars: $3.50 an hour for gas plus $6 for trimmer line. Write one expression for the money he keeps.

Step 1: Decide the operation. Money kept is money earned minus money spent: (12x + 20) − (3.5x + 6).

Step 2: Distribute the negative: 12x + 20 − 3.5x − 6.

Step 3: Combine like terms. 12x − 3.5x = 8.5x and 20 − 6 = 14. Devon keeps 8.5x + 14 dollars.

Step 4: Check with x = 2 hours. He earns 12(2) + 20 = 44 dollars and spends 3.5(2) + 6 = 13 dollars, so he keeps 44 − 13 = 31 dollars. The answer gives 8.5(2) + 14 = 17 + 14 = 31 dollars. They match.

The result makes sense in the situation too. He keeps $8.50 for each hour, and $14 of the flat amount.

06 · Build understanding

Three mistakes to watch for

Subtracting only the first term. For (5x + 8) − (3x + 2), a common wrong answer is 2x + 10. The 2 was added when it should have been subtracted. The negative reaches every term in the group, so the right answer is 5x + 8 − 3x − 2 = 2x + 6.

Combining terms that are not alike. 4x + 3 does not become 7x. If x = 2, then 4x + 3 is 11 but 7x is 14. An x term and a constant stay separate.

Leaving a sign behind when you reorder. In 7 − 2x + 5x, the minus belongs to the 2x. Moving the terms gives 7 + (−2x + 5x) = 7 + 3x. If you drop the sign and add 2x + 5x, you get 7 + 7x, which is wrong.

Apply and explain

Your turn

Jordan simplified (9x − 4) − (3x − 10) and wrote 6x − 14. Find his mistake, give the correct expression, and use x = 1 to show that your expression matches the original and his does not.

Use paper or explain your thinking aloud before opening the solution.

Check your reasoning

Jordan subtracted the 10. The minus sign in front of (3x − 10) applies to both terms, and subtracting −10 is the same as adding 10. So the expression is 9x − 4 − 3x + 10 = 6x + 6. At x = 1 the original is (9 − 4) − (3 − 10) = 5 − (−7) = 12. The correct expression gives 6 + 6 = 12, which matches. Jordan’s gives 6 − 14 = −8, which does not.

  • Says the negative must be distributed to both terms, so −10 becomes +10.
  • Gives the correct expression 6x + 6.
  • Substitutes x = 1 into the original and into both answers and compares the values.

Ready to practice?

Try the questions, get feedback, and review your reasoning.

Add and subtract linear expressions: practice →