Menu
Algebraic Order of Operations Source: Beginning and Intermediate Algebra, an open source (CC-BY) textbook by Tyler Wallace

Objective: Evaluate expressions using the order of operations, including the use of absolute value.

When simplifying expressions it is important that we simplify them in the correct order. Consider the following problem done two different ways:

Example 24

2 + 5 X 3 Add
7 X 3 Multiply
Solution: 21

2 + 5 X 3 Multiply
2 + 15 Add
Solution: 17

The previous example illustrates that if the same problem is done two different ways we will arrive at two different solutions. However, only one method can be correct. It turns out the second method, 17, is the correct method.

The order of operations ends with the most basic of operations, addition (or subtraction). Before addition is completed we must do repeated addition or multiplication (or division). Before multiplication is completed we must do repeated multiplication or exponents.

When we want to do something out of order and make it come first we will put it in parenthesis (or grouping symbols). This list then is our order of operations we will use to simplify expressions.

Order of Operations:

Parenthesis (Grouping)
Exponents
Multiply and Divide (Left to Right)
Add and Subtract (Left to Right)

Multiply and Divide are on the same level because they are the same operation (division is just multiplying by the reciprocal). This means they must be done left to right, so some problems we will divide first, others we will multiply first.

The same is true for adding and subtracting (subtracting is just adding the opposite). Often students use the word PEMDAS to remember the order of operations, as the first letter of each operation creates the word PEMDAS.

Another way students remember the order of operations is to think of a phrase such as "Please Excuse My Dear Aunt Sally" where each word starts with the same letters as the order of operations start with.

Example 25

2 + 3(9 - 4)2 Parenthesis First
2 + 3(5)2 Exponents
2 + 3(25) Multiply
2 + 75 Add
Solution 77

It is very important to remember to multiply and divide from from left to right!

Example 26

30 / 3 X 2 Divide first (left to right!)
10 X 2 Multiply
Solution 20

In the previous example, if we had multiplied first, 5 would have been the answer which is incorrect.

If there are several parenthesis in a problem we will start with the inner most parenthesis and work our way out. Inside each parenthesis we simplify using the order of operations as well.

To make it easier to know which parenthesis goes with which parenthesis, different types of parenthesis will be used such as { } and [ ] and ( ), these parenthesis all mean the same thing, they are parenthesis and must be evaluated first.

Example 27

2{82 - 7[32 -4(32 +1)](-1)} Innermost parenthesis, exponents first

2{82 - 7[32 - 4(9 + 1)](-1)} Add inside those parenthesis

2{82 - 7[32 - 4(10)](-1)} Multiply inside innermost parenthesis

2{82 -7 [32 - 40](-1)} Subtract inside those parenthesis

2{82 -7[-8](-1)} Exponents next

2{64 - 7[-8](-1)} Multiply left to right, sign with the number

2{64 + 56(-1)} Finish multiplying

2{64 - 56} Subtract inside parenthesis

2{8} Multiply

Solution: 16

As the above example illustrates, it can take several steps to complete a problem. The key to successfully solve order of operations problems is to take the time to show your work and do one step at a time. This will reduce the chance of making a mistake along the way.

There are several types of grouping symbols that can be used besides parenthesis. One type is a fraction bar. If we have a fraction, the entire numerator and the entire denominator must be evaluated before we reduce the fraction. In these cases we can simplify in both the numerator and denominator at the same time.

Example 28

24 - (-8) X 3
15 / 5 - 1

Exponent in the numerator, divide in denominator.

16 - (-8) X 3
3 - 1

Multiply in the numerator, subtract in denominator.

16 - (-24)
2

Add the opposite to simplify numerator, denominator is done.

40 / 2

Reduce, divide

Solution: 20

Another type of grouping symbol that also has an operation with it, absolute value. When we have absolute value we will evaluate everything inside the absolute value, just as if it were a normal parenthesis. Then once the inside is completed we will take the absolute value, or distance from zero, to make the number positive.


Example 29

1 + 3|-42 - (-8)| + 2|3 + (-5)2|

Evaluate absolute values first, exponents

1 + 3|-16 - (-8)| + 2|3 + 25|

Add inside absolute values

1 + 3|-8| + 2|28|

Evaluate absolute values

1 + 3(8) + 2(28)

Multiply left to right

1 + 24 + 2(28)

Finish multiplying

1 + 24 + 56

Add left to right

25 + 56

Add

Solution: 81

The above example also illustrates an important point about exponents. Exponents are considered to be only on the number they are attached to. This means when we see -42, only the 4 is squared, giving us -(42) or -16.

But when the negative is in parentheses, such as (-5)2 the negative is part of the number and is also squared giving us a positive solution, 25.

Practice - Order of Operation

Solve:

1. -6 X 4(-1)

2. (-6 / 6)3

3. 3 + (8) / |4|

4. 5(-5 + 6) X 62

5. 8 / 4 X 2

6. 7 - 5 + 6

7. [-9 - (2 - 5)] / (-6)

8. (-2 X 23 X 2) / (-4)

9. -6 + (-3 - 3)2 / |3|

10. (-7 - 5) / [-2 - 2 - (-6)]

11. 4 - 2|32 - 16|

12.

-10 - 6
-5
(-2)2

13. [-1 - (-5)] |3 + 2|

14. -3 - {3 -[-3(2 + 4) - (-2)]}

15.

2 + 4|7 + 22|
4 X 2 + 5 X 3

16. -4 - [2 + 4(-6) - 4 -|22 - 5 X 2|]

17. [6 X 2 + 2 -(-6)](-5 +|-18 / 6|)

18. 2 X (-3) + 3 - 6[-2 - (-1 - 3)]

19.

-13 - 2
2 - (-1)3 + (-6) - [-1 - (-3)]

20.

-52 + (-5)2
|42 - 25| - 2 X 3

21.

        -8 - 4 + (-4) - [-4 - (-3)]
6 X

        (42 + 32) / 5

22.

-9 X 2 - ( 3 - 6)
1 - (-2 + 1) - (-3)

23.

23 + 4
-18 - 6 + (-4) - [-5(-1)(-5)]

24.

13 + (-3)2 + 4(-3) +1 - [-10 - (-6)]
{[4 + 5] / [42 - 32(4 - 3) -8]} + 12

25.

5 + 32 - 24 / 6 X 2
[5 + 3 (22 - 5)] + |22 - 5|2

Answers - Order of Operation

1. 242. -13. 54. 1805. 4
6. 87. 18. 89. 610. -6
11. -1012. -913. 2014. -2215. 2
16. 2817. -4018. -1519. 320. 0
21. -1822. -323. -424. 325. 2