School is about to start back up again and Lucy is at the store buying supplies. In her basket she has 5 notebooks for $2 each, 2 packs of pencils for $4 each, and 2 packs of pens for $5 each. She also picked out a big binder for $12. Luckily, she has a coupon for $3 off the binder. How can Lucy write and evaluate a numerical expression to calculate the total amount she will spend on her school supplies?

In this concept, you will learn how to evaluate variable expressions involving the four basic operations.

### Evaluating Expressions with Basic Operations

An **expression** is a mathematical phrase that contains numbers and operations. A **numerical expression** is an expression with only numbers and operations and no variables. A **variable expression** is an expression that contains variables.

To **evaluate** a variable expression means to find the value of the expression for given values of the variables. To evaluate, substitute the given values for the variables in the expression and simplify using the order of operations (PEMDAS).

Remember that the order of operations are:

**P**arentheses: Start by simplifying any part of the expression in parentheses using the order of operations.**E**xponents: Rewrite any terms that contain exponents without exponents.**M**ultiplication/**D**ivision: Do any multiplication and/or division in order from left to right.**A**ddition/**S**ubtraction: Do any addition and/or subtraction in order from left to right.

The acronym **PEMDAS** can help you to remember the order of operations. Just remember that multiplication and division go together and addition and subtraction go together.

Here is an example.

Evaluate the expression

if .First, substitute 6 in for the

in the expression.

Next, notice that this expression has multiplication, addition, division, and subtraction. Remember that

is multiplication. Start by doing the multiplication and division from left to right. First you will multiply .

Next, divide

.

Now, add and subtract from left to right. First, add

.

Finally, subtract.

The answer is 19.

### Examples

#### Example 1

Earlier, you were given a problem about Lucy, who is shopping for school supplies.

She has 5 notebooks for $2 each, 2 packs of pencils for $4 each, 2 packs of pens for $5 each, and a big binder for $12. She also has a coupon for $3 off the binder. Lucy wants to know how much she will be spending on supplies.

First, write an expression for each item that represents how much she is spending on that item.

- Notebooks:
- Pencils:
- Pens:
- Binder:

Now, add everything together to create one expression that represents the total amount she is spending.

Next, notice that this expression has multiplication, addition, and subtraction. Start by doing the multiplication from left to right. First you will multiply

. Then continue multiplying from left to right.

Next, add and subtract from left to right.

The answer is that Lucy is spending $37 on school supplies.

#### Example 2

Evaluate

if is 4.First, substitute 4 in for the

in the expression.

Next, notice that this expression has multiplication, addition, division, and subtraction. Start by doing the multiplication and division from left to right. First you will multiply

.

Next, divide .

Now, add and subtract from left to right. First, add

.

Then, subtract

.

Finally, add.

The answer is 38.

#### Example 3

Evaluate if

.First, substitute 5 in for the in the expression.

Next, notice that this expression has multiplication, addition, and division. Start by doing the multiplication and division from left to right. First you will multiply

. Then divide.

Next, add from left to right.

The answer is 37.

#### Example 4

Evaluate

if .First, substitute 4 in for the

in the expression.

Next, notice that this expression has multiplication, addition, division, and subtraction. Start by doing the multiplication and division from left to right. First you will multiply . Then divide.

Next, add and subtract from left to right. First you will add . Then subtract.

The answer is 27.

#### Example 5

Evaluate

if is 6 and is 9.First, substitute 6 in for the

and 9 in for the in the expression.

Next, notice that this expression has division, addition, multiplication, and subtraction. Remember that a fraction bar means division so

is the same as .Start by doing the multiplication and division from left to right. First you will divide

. Then multiply.

Next, add and subtract from left to right. First you will add

. Then subtract.

The answer is 46.

### Review

Use the order of operations to evaluate each numerical expression.

Evaluate the following expressions when

is 4.