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

How would you solve this problem?

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.

These two terms are alike because they both have

**The answer is 2x.**

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

**Since −10n and −8n 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

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.

Now subtract

Since 10>8, and

**The difference of −10n−(−8n) is −2n.**

*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

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

This is our answer.

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

#### Example A

**Solution: −20**

#### Example B

**Solution: 22x**

#### Example C

**Solution: −12**

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?

Do you know how to do this?

First, let's combine like terms.

Now we substitute the given value for

**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.

**Answer**

To simplify this expression, we combine the like terms.

In this case,

Now we add the final term.

**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.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

12.

13.

14.

15.