<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# 1.4: Evaluate Numerical and Variable Expressions Using the Order of Operations

Difficulty Level: Basic Created by: CK-12
Estimated24 minsto complete
%
Progress
Practice Order of Operations
Progress
Estimated24 minsto complete
%

Jeb enters his name into a draw to win a handheld game system from his local electronics megastore. A week later he visits the store for the draw and his name is picked! In order to claim the prize, he must correctly answer a skill testing question.

The question is:45[30(4×23)]\begin{align*}\frac{4}{5}\left[30-\left(4\times2 -3\right)\right]\end{align*}

Jeb has to answer the skill testing question without the use of technology. How can Jeb answer this question correctly to claim the prize?

In this concept, you will learn to use the order of operations to solve numerical and variable expressions.

### Order of Operations

In mathematics, you will often hear the word evaluate. Before you begin, it is important for you to understand what the word evaluate means. When you evaluate a mathematical sentence, you figure out the value of the number sentence. Often times you think of evaluating as solving, and it can be that, but more specifically, evaluating is figuring out the value of a sentence.

In mathematics, you can evaluate different types of number sentences. Sometimes you will be working with equations and other times you will be working with expressions. First you need to know the difference between an equation and an expression.

An equation is a statement that two mathematical expressions have the same value. An equation has an equal sign such that the quantity on the left side of the equal sign is equal to the quantity on the right side of the equal sign. This means both sides of the equation stand for the same number.5x=30\begin{align*}5x=30\end{align*}is an equation. It states that 5x and 30\begin{align*}5x \ \text{and}\ 30\end{align*} have the same value.

An expression is a general term in mathematics for a group of numbers, symbols and variables representing numbers and operations. You evaluate an expression to figure out the value of the mathematical statement itself, you are not trying to make one side equal another, as with an equation.3a2b+8\begin{align*}3a-2b+8\end{align*} is an expression. There is no equal sign.

Two eighth grade math students evaluated the expression 2+3×4÷2\begin{align*}2+3\times 4\div 2\end{align*}. Macy’s answer was ten and Cole’s answer was eight. The students you are asked to write their step by step solutions on the board.

Macy‘s Solution:

=2+3×4÷2=5×4÷2=20÷2=10\begin{align*}& =2+3\times 4\div 2 \\ &= 5\times 4 \div 2 \\ &= 20\div 2\\ &= 10\end{align*}

Cole‘s Solution:

=2+3×4÷2=2+12÷2=2+6=8\begin{align*}&= 2+3\times 4\div 2\\ &= 2+ 12 \div 2\\ &= 2+ 6 \\ &= 8\end{align*}

It appears that each student performed the indicated operations in different orders. Of course, there cannot be two correct solutions for the same expression. There is actually a specific order in which operations must be performed.

The order of operations is a rule that tells you which operation you need to perform and the order in which it must be done to achieve the correct answer. The order of operations is often called PEMDAS and each of the letters represents one part of the rule. P: parenthesis and grouping symbols; E: exponents; M: multiplication; D: division; A: addition; S: subtraction. MD are performed in the order they appear in the expression from left to right. AS are performed in the order they appear in the expression from left to right.

Looking at the two solutions for evaluating the expression 2+3×4÷2\begin{align*}2+3\times 4\div 2\end{align*} , who has the correct answer?

Macy

First:2+3=5Next:5×4=20Then:20÷2=10\begin{align*}&\text{First}: 2 +3 =5\\ &\text{Next}: 5 \times 4=20\\ &\text{Then}: 20\div 2=10\end{align*}

Cole

First:3×4=12Next:12÷2=6Then:6+2=8\begin{align*}&\text{First}: 3\times 4=12 \\ &\text{Next}: 12\div 2=6 \\ &\text{Then}: 6+2=8\end{align*}

Macy evaluated the expression by performing the addition, multiplication and division. Cole performed the multiplication, division and addition. Macy simply completed the operations as they appeared from left to right. Cole completed the multiplication and division as they appeared from left to right and then performed the addition as his final step. Cole used the order of operations rule, PEMDAS, and his answer is correct.

Working in this way is called evaluating a numerical expression. A numerical expression is an expression made up only of numbers and operations.

In addition to numbers, expressions can also have letters. The letters in an expression are called variables. These variables represent an unknown quantity. When an expression is written with a variable in it, you call it a variable expression.

A variable expression is evaluated using the order of operations in the same way as a numerical expression is evaluated. In this concept there will be a value given for the variable and you will substitute it into the variable expression before evaluating the expression.

Evaluate the variable expression:

60÷22a+164 when a=5.\begin{align*}60\div 2 \cdot 2a+16-4 \ \text{when} \ a=5.\end{align*}

First, substitute the given value of ‘a’ into the expression.

60÷22(5)+164\begin{align*}60\div 2 \cdot 2\left(5\right)+16-4\end{align*}

The parenthesis mean you are multiplying 2 times (5).

Next, apply the order of operations (PEMDAS) and continue to evaluate the expression.

First, multiply: 2(5)=10\begin{align*}2\left(5\right)=10\end{align*} to clear the parenthesis and write the new expression.

60÷210+164\begin{align*}60\div 2 \cdot 10+16-4\end{align*}

Next, divide: 60÷2=30\begin{align*}60 \div 2=30\end{align*}  and write the new expression.

3010+164\begin{align*}30 \cdot 10+16-4\end{align*}

Next, multiply: 3010=300\begin{align*}30 \cdot 10=300\end{align*} and write the new expression.

300+164\begin{align*}300+16-4\end{align*}

Next, add: 300+16=316\begin{align*}300+16=316\end{align*} and write the new expression.

3164\begin{align*}316-4\end{align*}

Then, subtract: 3164=312\begin{align*}316−4=312\end{align*}

Now let’s add in the grouping symbols. The grouping symbols that you will be working with are brackets [  ] and parenthesis (  ). According to the order of operations (PEMDAS), you perform all operations inside the grouping symbols BEFORE any other operation in the list.

Evaluate the numerical expression

7+4(15÷5)6.\begin{align*} 7+4 \left(15 \div 5 \right) - 6.\end{align*}

First, perform the operation in the parenthesis:15÷5=3\begin{align*}15\div 5=3\end{align*}  and write the new expression.

7+4(3)6\begin{align*}7+4\left(3\right)-6\end{align*}

Next, multiply 4(3)=12\begin{align*}4\left(3\right)=12 \end{align*} to clear the parenthesis and write the new expression.

7+126\begin{align*}7+12-6\end{align*}Next, add:7+12=9\begin{align*}7+12=9\end{align*} and write the new expression.

196\begin{align*}19-6\end{align*}

Then, subtract: 196=13\begin{align*}19−6=13\end{align*}

Brackets can be used to group more than one operation. When you see a set of brackets, remember that brackets are a way of grouping numbers and operations.

Evaluate the numerical expression.

6+[5+(4×6)]17.\begin{align*}6+\left[5+\left( 4 \times 6 \right)\right]-17.\end{align*}

Start by performing the operations inside the brackets.

First, perform the operation inside the parenthesis.

Multiply:4×6=24\begin{align*}4\times 6=24\end{align*} and write the new expression.

6+[5+24]17.\begin{align*}6+\left[5 + 24 \right]-17.\end{align*}

Next, perform the operation inside the brackets.

Add:5+24=29\begin{align*}5+24=29\end{align*} and write the new expression.

6+2917\begin{align*}6+29-17\end{align*}

Next, add:6+29=35\begin{align*}6+29=35\end{align*} and write the new expression.

3517\begin{align*}35-17\end{align*}Then, subtract: 3517=18\begin{align*}35−17=18\end{align*}

### Examples

#### Example 1

Earlier, you were given a problem about Jeb and his (almost) prize.

Consider the short hand expression PEMDAS is given to the order of operations. When solving a problem, like the skill testing question, you need to complete the indicated operations in the order of PEMDAS.

45[30(4×23)]\begin{align*}\frac{4}{5}\left[30 - \left(4 \times 2 -3 \right)\right]\end{align*}

Notice there is parenthesis within the brackets. You need to work from the inside out. So let’s start with the parenthesis. According to PEMDAS multiplication comes before subtraction.

First, multiply: 4×2=8\begin{align*}4 \times 2 =8\end{align*} and write the new expression.

45[30(83)]\begin{align*}\frac{4}{5}\left[30 - \left( 8 - 3 \right)\right]\end{align*}Next, subtract: 83=5\begin{align*}8-3=5\end{align*}  and write the new expression.

45[305]\begin{align*}\frac{4}{5}\left[30 - 5 \right]\end{align*}

Next, subtract: 305=25\begin{align*}30-5=25\end{align*}  and write the new expression.

45(25)\begin{align*}\frac{4}{5}\left(25\right)\end{align*}

Next, multiply:45×251=1005\begin{align*}\frac{4}{5} \times \frac{25}{1}=\frac{100}{5}\end{align*} and write the new expression.

1005\begin{align*}\frac{100}{5}\end{align*}

Then, divide: 1005=20\begin{align*}\frac{100}{5}=20\end{align*}

Jeb needs to answer 20 to claim his prize.

#### Example 2

Evaluate the numerical expression.

3+92÷3+8\begin{align*}3+9 \cdot 2\div 3+8\end{align*}

First, multiply:92=18\begin{align*}9 \cdot 2=18\end{align*} and write down the new expression.

3+18÷3+8\begin{align*}3+18\div 3+8\end{align*}

Next, divide:18÷3=6\begin{align*}18\div 3=6\end{align*} and write down the new expression.

3+6+8\begin{align*}3+6+8\end{align*}

Next add:3+6=9\begin{align*}3+6=9\end{align*} and write down the new expression.

9+8\begin{align*}9+8\end{align*}Then, add 9+8=17\begin{align*}9+8=17\end{align*}

#### Example 3

Evaluate the variable expression 6y+3(2×4) when y=15.\begin{align*}6y+3-\left(2 \times 4 \right) \ \text{when} \ y=15.\end{align*}

First, substitute y=15\begin{align*}y=15\end{align*} into the expression.

6(15)+3(2×4).\begin{align*}6 \left(15\right)+3-\left(2 \times 4 \right).\end{align*}

Next, perform the operation inside the parenthesis.

Multiply:2×4=8\begin{align*}2 \times 4 =8\end{align*} and write the new expression.

6(15)+38\begin{align*}6\left(15\right)+3-8 \end{align*}

Next, multiply:6(15)=90\begin{align*}6\left(15\right)=90\end{align*} to clear the parenthesis and write the new expression.

90+38\begin{align*}90+3-8\end{align*}

Next add:90+3=93\begin{align*}90+3=93\end{align*} and write the new expression.

938\begin{align*}93-8\end{align*}Then, subtract:

938=85.\begin{align*}93-8=85.\end{align*}The answer is 85.

#### Example 4

Evaluate the numerical expression.

7+4[4+(3×2)]5\begin{align*}7+4\left[4+\left(3 \times 2\right)\right]-5\end{align*}

Start by performing the operations inside the brackets.

First, perform the operation inside the parenthesis.

Multiply: 3×2=6\begin{align*}3 \times 2=6\end{align*} and write the new expression.

7+[4+6]5\begin{align*}7+[4+6]-5\end{align*}

Next, perform the operation inside the brackets.

Add:4+6=10\begin{align*}4+6=10\end{align*}  and write the new expression.

7+105\begin{align*}7+10-5\end{align*}

Next, add:7+10=17\begin{align*}7+10=17\end{align*} and write the new expression.

175\begin{align*}17-5\end{align*}Then, subtract

175=12\begin{align*}17-5=12\end{align*}

#### Example 5

Evaluate the variable expression.

14×2÷7+3b4 when b=12.\begin{align*}14 \times 2 \div 7 + 3b -4 \ \text{when} \ b =12.\end{align*}

First substitute b=12\begin{align*}b=12\end{align*}  into the expression.

14×2÷7+3(12)4\begin{align*}14 \times 2 \div 7+ 3\left(12\right)-4\end{align*}

Next, multiply: 3(12)=36\begin{align*}3(12)=36\end{align*} to clear the parenthesis and write the new expression.

14×2÷7+364\begin{align*}14 \times 2 \div 7+ 36-4\end{align*}

Next, multiply:14×2=28\begin{align*}14 \times 2 =28\end{align*} and write the new expression.

28÷7+364\begin{align*}28 \div 7 + 36 - 4\end{align*}Next, divide:28÷7=4\begin{align*}28 \div 7 =4\end{align*} and write the new expression.

4+364\begin{align*}4+36-4\end{align*}

Next, add:4+36=40\begin{align*}4+36=40\end{align*} and write the new expression.

404\begin{align*}40-4\end{align*}

Then, subtract : 404=36\begin{align*}40-4=36\end{align*}

### Review

Evaluate each numerical expression using the order of operations.

1. 4+5×23\begin{align*}4+5\times 2-3\end{align*}

2.6+6×3÷27\begin{align*}6+6 \times 3 \div 2-7\end{align*}

3. 5+5×8÷2+6\begin{align*}5+5 \times 8\div 2+6\end{align*}

4.133×2+82\begin{align*}13-3 \times 2+8-2\end{align*}

5.175×3+8÷2\begin{align*}17-5 \times 3+8 \div 2\end{align*}

6.9+4×2+71\begin{align*}9+4 \times 2+7-1\end{align*}

7.8+5×6+2×43\begin{align*}8+5 \times 6+2 \times 4-3\end{align*}

8.19+2×432+10\begin{align*}19+2 \times 4-3·2+10\end{align*}

9. 12+4×4÷83\begin{align*}12+4 \times 4 \div 8-3\end{align*}

10. 12×2+6÷212\begin{align*}12 \times 2 + 6 \div 2 - 12 \end{align*}

Evaluate each variable expression. Remember to use PEMDAS when necessary.

11.4y+62,when y=6\begin{align*}4y+6-2, \text{when} \ y=6\end{align*}

12.9+3x5+2,when x=8\begin{align*}9+3x-5+2, \text{when} \ x=8\end{align*}

13.6y+2y5,when y=3\begin{align*}6y + 2y -5, \text{when} \ y =3\end{align*}

14.8+3y5,when y=4\begin{align*}8+3y-5, \text{when} \ y =4 \end{align*}

15.7x2×3÷3+12,when x=5\begin{align*}7x-2 \times 3 \div 3 + 12, \text{when} \ x=5\end{align*}

To see the Review answers, open this PDF file and look for section 1.4.

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

Brackets

Brackets [ ], are symbols that are used to group numbers in mathematics. Brackets are the 'second level' of grouping symbols, used to enclose items already in parentheses.

Equation

An equation is a mathematical sentence that describes two equal quantities. Equations contain equals signs.

Evaluate

To evaluate an expression or equation means to perform the included operations, commonly in order to find a specific value.

Expression

An expression is a mathematical phrase containing variables, operations and/or numbers. Expressions do not include comparative operators such as equal signs or inequality symbols.

Grouping Symbols

Grouping symbols are parentheses or brackets used to group numbers and operations.

nested parentheses

Nested parentheses describe groups of terms inside of other groups. By convention, nested parentheses may be identified with other grouping symbols, such as the braces "{}" and brackets "[]" in the expression $\{ 3 + [ 2 - ( 5 + 4 ) ] \}$. Always evaluate parentheses from the innermost set outward.

Numerical expression

A numerical expression is a group of numbers and operations used to represent a quantity.

Parentheses

Parentheses "(" and ")" are used in algebraic expressions as grouping symbols.

PEMDAS

PEMDAS (Please Excuse My Daring Aunt Sally) is a mnemonic device used to help remember the order of operations: Parentheses, Exponents, Multiplication/Division, Addition/Subtraction.

Real Number

A real number is a number that can be plotted on a number line. Real numbers include all rational and irrational numbers.

Variable

A variable is a symbol used to represent an unknown or changing quantity. The most common variables are a, b, x, y, m, and n.

Variable Expression

A variable expression is a mathematical phrase that contains at least one variable or unknown quantity.

Show Hide Details
Description
Difficulty Level:
Basic
Authors:
Tags:
Subjects: