Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

1.4: Order of Operations

( \newcommand{\kernel}{\mathrm{null}\,}\)

  

The order in which we evaluate expressions matters. Take for example, the expression 4 + 3 · 2.

If we do the addition first, then

4 + 3 · 2 = 7 · 2

= 14.

On the other hand, if we do the multiplication first, then

4 + 3 · 2 = 4 + 6

= 10.

So, what are we to do? If this expression had grouping symbols, we would start there.

Grouping Symbols

Parentheses, brackets, or curly braces can be used to group parts of an expression. Each of the following are equivalent:

(4 + 3) · 2 or [4 + 3] · 2 or {4+3} · 2

In each case, the rule is “evaluate the expression inside the grouping symbols first.” If grouping symbols are nested, evaluate the expression in the innermost pair of grouping symbols first.

Thus, for example,

(4 + 3) · 2 = 7 · 2

= 14.

Note how the expression contained in the parentheses was evaluated first. Another way to avoid ambiguities in evaluating expressions is to establish an order in which operations should be performed. The following guidelines should always be strictly enforced when evaluating expressions.

Rules Guiding Order of Operations

When evaluating expressions, proceed in the following order.

  1. Evaluate expressions contained in grouping symbols first. If grouping symbols are nested, evaluate the expression in the innermost pair of grouping symbols first.
  2. Evaluate all exponents that appear in the expression.
  3. Perform all multiplications and divisions in the order that they appear in the expression, moving left to right.
  4. Perform all additions and subtractions in the order that they appear in the expression, moving left to right.

Example 1

Evaluate 4 + 3 · 2.

Solution

Because of the established Rules Guiding Order of Operations, this expression is no longer ambiguous. There are no grouping symbols or exponents, so we immediately go to rule three, evaluate all multiplications and divisions in the order that they appear, moving left to right. After that we invoke rule four, performing all additions and subtractions in the order that they appear, moving left to right.

4+3˙ 2=4+6=10

Thus, 4 + 3 · 2 = 10.

Exercise

Simplify: 8 + 2 · 5.

Answer

18

Example 2

Evaluate 18 − 2 + 3.

Solution

Follow the Rules Guiding Order of Operations. Addition has no precedence over subtraction, nor does subtraction have precedence over addition. We are to perform additions and subtractions as they occur, moving left to right.

182+3=16+3 Subtract: 18 − 2 = 16.=19 Add: 16 + 3 = 19. 

Thus, 18 − 2 + 3 = 19.

Exercise

Simplify: 17 − 8 + 2.

Answer

11

Example 3

Evaluate 54 ÷ 9 · 2.

Solution

Follow the Rules Guiding Order of Operations. Division has no precedence over multiplication, nor does multiplication have precedence over division. We are to perform divisions and multiplications as they occur, moving left to right.

54÷92=6˙ 2 Divide: 54 ÷ 9 = 6. =12 Multiply: 6  2 = 12. 

Thus, 54 ÷ 9 · 2 = 12.

Exercise

Simplify: 72 ÷ 9 · 2.

Answer

16

Example 4

Evaluate 2 · 32 − 12.

Solution

Follow the Rules Guiding Order of Operations, exponents first, then multiplication, then subtraction.

23212=2˙ 912 Evaluate the exponent: 3^2 = 9. =1812 Perform the multiplication: 29=18.=6 Perform the subtraction: 1812=6.

Thus, 2 · 32 − 12 = 6.

Exercise

Simplify: 14 + 3 · 42

Answer

62

Example 5

Evaluate 12 + 2(3 + 2 · 5)2.

Solution

Follow the Rules Guiding Order of Operations, evaluate the expression inside the parentheses first, then exponents, then multiplication, then addition.

12+2(3+55)2=12+2(3+10)2  Multiply inside parentheses: 2 5=10.=12+2(13)2  Add inside parentheses: 3+10=13.=12+2(169)  Exponents are next: (13)2=169.=12+338  Multiplication is next: 2(169)=338.=350  Time to add: 12+338=350.

Thus, 12 + 2(3 + 2 · 5) 2 = 350.

Exercise

Simplify: 3(2 + 3 · 4)2 − 11.

Answer

577

Example 6

Evaluate 2{2 + 2[2 + 2]}.

Solution

When grouping symbols are nested, evaluate the expression between the pair of innermost grouping symbols first.

2(2+2[2+2])=2(2+2[4])  Innermost grouping first: 2+2=4.=2(2+8)  Multiply next: 2[4]=8.=2(10)  Add inside braces: 2+8=10.=20  Multiply: 2(10)=20

Thus, 2(2 + 2[2 + 2]) = 20.

Exercise

Simplify: 2{3 + 2[3 + 2]}.

Answer

26

Fraction Bars

Consider the expression

62+82(2+3)2

Because a fraction bar means division, the above expression is equivalent to

(62+82)÷(2+3)2

The position of the grouping symbols signals how we should proceed. We should simplify the numerator, then the denominator, then divide.

Fractional Expressions

If a fractional expression is present, evaluate the numerator and denominator first, then divide.

Example 7

Evaluate the expression

62+82(2+3)2.

Solution

Simplify the numerator and denominator first, then divide.

62+82(2+3)2=62+82(5)2  Parentheses in denominator first: 2+3=5=36+6425 Exponents are next: 62=36, 82=64, 52=25.=10025  Add in numerator: 36+64=100=4  Divide: 100÷25=4.

Thus, 62+82(2+3)2=4.

Exercise

Simplify: 12+326

Answer

3

 

 

 

Exercises

In Exercises 1-12, simplify the given expression.

7. 6 · 5+4 · 3

12. 24 − 2 · 5

18. 27 ÷ 3 · 3

25. 22 − 10 + 7

27. 20 · 10 + 15 ÷ 5 − 7 · 6

31. 7 · [8 − 5] − 10

39. 9+6 · (12 + 3)

48. 9 − 8[6 − (2 + 3)]

53. 3{8[6 + 5] − 8[7 + 3]}

57. (5 − 2)2

65. 12 · 52 + 8 · 9+4

67. 9 − 3 · 2 + 12 · 102

73. 19 + 3[12 − (23 + 1)]

84. 19(432)639

 

 

 

Answers

7. 42

12. 14

18. 27

25. 19

27. 161

31. 11

39. 99

48. 1

53. 24

57. 9

65. 376

67. 1203

73. 28

84. 1

 


1Later, we’ll see that this property applies to all numbers, not just whole numbers


This page titled 1.4: Order of Operations is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by David Arnold.

Support Center

How can we help?