1.2: Order of Operations
The Mystery of Math Verbs
Some math verbs are “stronger” than others and must be done first. This method is known as the Order of Operations.
A mnemonic (a saying that helps you remember something difficult) for the Order of Operations is PEMDAS  Please Excuse My Daring Aunt Sophie.
The Order of Operations:
Whatever is found inside PARENTHESES must be done first. EXPONENTS are to be simplified next. MULTIPLICATION and DIVISION are equally important and must be performed moving left to right. ADDITION and SUBTRACTION are also equally important and must be performed moving left to right.
Example 1: Use the Order of Operations to simplify
Solution: First, we check for parentheses. Yes, there they are and must be done first.
Next we look for exponents (little numbers written a little above the others). No, there are no exponents so we skip to the next math verb.
Multiplication and division are equally important and must be done from left to right.
Finally, addition and subtraction are equally important and must be done from left to right.
Example 2: Use the Order of Operations to simplify the following expressions.
a)
b)
c)
Solutions:
a) There are no parentheses and no exponents. Go directly to multiplication and division from left to right:
Now subtract:
b) Parentheses must be done first:
There are no exponents, so multiplication and division come next and are done left to right:
c) Parentheses must be done first:
There are no exponents, multiplication, division, or addition, so simplify:
Parentheses are used two ways. The first is to alter the Order of Operations in a given expression, such as example (b). The second way is to clarify an expression, making it easier to understand.
Some expressions contain no parentheses while others contain several sets of parentheses. Some expressions even have parentheses inside parentheses! When faced with nested parentheses, start at the innermost parentheses and work outward.
Example 3: Use the Order of Operations to simplify
Solution: Begin with the innermost parentheses:
Simplify according to the Order of Operations:
Evaluating Algebraic Expressions with Fraction Bars
Fraction bars count as grouping symbols for PEMDAS, and should be treated as a set of parentheses. All numerators and all denominators can be treated as if they have invisible parentheses. When real parentheses are also present, remember that the innermost grouping symbols should be evaluated first. If, for example, parentheses appear on a numerator, they would take precedence over the fraction bar. If the parentheses appear outside of the fraction, then the fraction bar takes precedence.
Example 4: Use the Order of Operations to simplify the following expressions.
a)
b)
c)
Solutions: Begin each expression by substituting the appropriate value for the variable:
a)
b)
c)
Continue simplifying:
Using a Calculator to Evaluate Algebraic Expressions
A calculator, especially a graphing calculator, is a very useful tool in evaluating algebraic expressions. The graphing calculator follows the Order of Operations, PEMDAS. In this section, we will explain two ways of evaluating expressions with the graphing calculator.
Method #1: This method is the direct input method. After substituting all values for the variables, you type in the expression, symbol for symbol, into your calculator.
Evaluate
Substitute the value
The potential error here is that you may forget a sign or a set of parentheses, especially if the expression is long or complicated. Make sure you check your input before writing your answer. An alternative is to type the expression in by appropriate chunks – do one set of parentheses, then another, and so on.
Method #2: This method uses the STORE function of the Texas Instrument graphing calculators, such as the TI83, TI84, or TI84 Plus.
First, store the value
The answer is
Note: On graphing calculators there is a difference between the minus sign and the negative sign. When we stored the value negative three, we needed to use the negative sign, which is to the left of the [ENTER] button on the calculator. On the other hand, to perform the subtraction operation in the expression we used the minus sign. The minus sign is right above the plus sign on the right.
You can also use a graphing calculator to evaluate expressions with more than one variable.
Evaluate the expression:
Store the values of
Practice Set
Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both. CK12 Basic Algebra: Order of Operations (14:23)
Use the Order of Operations to simplify the following expressions.

8−(19−(2+5)−7) 
2+7×11−12÷3 
(3+7)÷(7−12) 
2⋅(3+(2−1))4−(6+2)−(3−5) 
8⋅5+62 
9÷3×7−23+7 
8+12÷6+6 
(72−32)÷8
Evaluate the following expressions involving variables.

jkj+k whenj=6 andk=12 . 
2y2 whenx=1 andy=5 
3x2+2x+1 whenx=5 
(y2−x)2 whenx=2 andy=1
Evaluate the following expressions involving variables.

4x9x2−3x+1 whenx=2 
z2x+y+x2x−y whenx=1, y=−2 , andz=4 . 
4xyzy2−x2 whenx=3, y=2 , andz=5 
x2−z2xz−2x(z−x) whenx=−1 andz=3
The formula to find the volume of a square pyramid is

s=4 inches,h=18 inches 
s=10 feet,h=50 feet 
h=7 meters,s=12 meters 
h=27 feet,s=13 feet 
s=16 cm,h=90 cm
In 22 – 25, insert parentheses in each expression to make a true equation.

5−2⋅6−4+2=5 
12÷4+10−3⋅3+7=11 
22−32−5⋅3−6=30 
12−8−4⋅5=−8
In 26 – 29, evaluate each expression using a graphing calculator.

x2+2x−xy whenx=250 andy=−120 
(xy−y4)2 whenx=0.02 andy=−0.025 
x+y−zxy+yz+xz whenx=12, y=32 , andz=−1 
(x+y)24x2−y2 whenx=3 andy=−5d  The formula to find the volume of a spherical object (like a ball) is
V=43(π)r3 , wherer= the radius of the sphere. Determine the volume for a grapefruit with a radius of 9 cm.
Mixed Review
 Let
x=−1 . Find the value of−9x+2 .  The area of a trapezoid is given by the equation
A=h2(a+b) . Find the area of a trapezoid with basesa=10 cm,b=15 cm , and heighth=8 cm .  The area of a circle is given by the formula
A=πr2 . Find the area of a circle with radiusr=17 inches.