Molly is working on her math homework. She is puzzled about a problem. Take a look.

How would you solve this problem?

\begin{align*}14x - 2x\end{align*} when \begin{align*}x = -2\end{align*}

Do you know how to do this?

**This Concept will show you how to evaluate variable expressions involving subtraction. We'll come back to this one at the end of the Concept.**

### Guidance

Do you know what a ** variable expression** is?

A variable expression is a math phrase that has numbers, variables and operations in it. In a variable expression we can have like and unlike terms. Like terms can be combined or simplified and unlike terms can not be combined or simplified.

\begin{align*}6x+(-4x)\end{align*}

These two terms are alike because they both have \begin{align*}x\end{align*}’s with them. In the last lesson, you learned how to add like terms in a variable expression.

**The answer is \begin{align*}2x\end{align*}.**

You can use what you know about how to subtract integers to help you find the value of expressions with variables, too.

Remember, you can only subtract like terms in an expression that has variables.

Find the difference \begin{align*}-10n-(-8n)\end{align*}

**Since \begin{align*}-10n\end{align*} and \begin{align*}-8n\end{align*} both have the same variable, they are like terms. Use what you know about how to subtract integers to help you.**

The term being subtracted is \begin{align*}-8n\end{align*}. The integer -8 is part of that term. The opposite of that integer is 8, so add \begin{align*}8n\end{align*} to \begin{align*}-10n\end{align*}.

\begin{align*}-10n-(-8n)=-10n+8n\end{align*}

Both like terms have different signs. So, find the absolute values of both integers. Then subtract the term whose integer has the lesser absolute value from the other term.

\begin{align*}|-10|=10\end{align*} and \begin{align*}|8|=8\end{align*}

Now subtract \begin{align*}10n-8n=2n\end{align*}.

Since 10>8, and \begin{align*}-10n\end{align*} has a negative sign, give the answer a negative sign.

**The difference of \begin{align*}-10n-(-8n)\end{align*} is \begin{align*}-2n\end{align*}.**

*Remember you can only combine terms that are alike.*

We can also evaluate this expression when we are given a value. Let's say that \begin{align*}n = 5\end{align*} in the last problem.

First, we simplify the expression, then we evaluate it using the given value.

\begin{align*}-2n = -2(5) = -10\end{align*}

This is our answer.

Use what you have learned to simplify each expression and evaluate when necessary.

#### Example A

\begin{align*}-4y-6y\end{align*} when \begin{align*}y = 2\end{align*}

**Solution:\begin{align*}-20\end{align*}**

#### Example B

\begin{align*}18x-(-4x)\end{align*}

**Solution:\begin{align*}22x\end{align*}**

#### Example C

\begin{align*}-9a-(-3a)\end{align*} then evaluate if \begin{align*}a = 2\end{align*}

**Solution:\begin{align*}-12\end{align*}**

Here is the original problem once again.

Molly is working on her math homework. She is puzzled about a problem. Take a look.

How would you solve this problem?

\begin{align*}14x - 2x\end{align*} when \begin{align*}x = -2\end{align*}

Do you know how to do this?

First, let's combine like terms.

\begin{align*}14x - 2x = 12x\end{align*}

Now we substitute the given value for \begin{align*}x\end{align*} into the expression.

\begin{align*}12(-2) = -24\end{align*}

**This is the answer.**

### Vocabulary

- Difference
- the answer in a subtraction problem.

- Integer
- the set of whole numbers and their opposites.

- Variable Expression
- a mathematical phrase that uses numbers, variables and operations, without an equal sign.

### Guided Practice

Here is one for you to try on your own.

\begin{align*}33b-(-18b)+7\end{align*}

**Answer**

To simplify this expression, we combine the like terms.

In this case, \begin{align*}33b\end{align*} and \begin{align*}-18b\end{align*} are like terms.

\begin{align*}33b -(-18b) = 51b\end{align*}

Now we add the final term.

\begin{align*}51b+7\end{align*}

**Because the two terms left are not alike, we can't simplify these terms any further.**

### Video Review

- This is a Khan Academy video on evaluating variable expressions.

### Practice

Directions: Simplify each variable expression.

1. \begin{align*}-8m-3m\end{align*}

2. \begin{align*}(-7c)-(-c)\end{align*}

3. \begin{align*}-19a-(-4a)\end{align*}

4. \begin{align*}12a-(-4a)\end{align*}

5. \begin{align*}6a-(4a)\end{align*}

6. \begin{align*}19a-(24a)\end{align*}

7. \begin{align*}13z-(-4z)\end{align*}

8. \begin{align*}-20x-(14x)\end{align*}

9. \begin{align*}-19a-(18a)\end{align*}

10. \begin{align*}56x - 22x\end{align*}

11. \begin{align*}34y-(-6y)\end{align*}

12. \begin{align*}88z-(-44x)\end{align*}

13. \begin{align*}-19a-(-4a) - 8x\end{align*}

14. \begin{align*}-19a-(-4a)- 8x - 2\end{align*}

15. \begin{align*}-19a-(-4a) - 5y - 2y\end{align*}