MATHEMATICS Distance from core: 5

Order of Operations (PEMDAS / BODMAS)

LEARNING OBJECTIVES

  • Identify and work with grouping symbols.
  • Understand the order of operations.
  • Simplify using the order of operations.

GROUPING SYMBOLS

In a computation where more than one operation is involved, grouping symbols help tell us which operations to perform first. The grouping symbols commonly used in algebra are

( )Parentheses( \ ) \quad \text{\color{cyan}Parentheses}
[ ]Brackets[ \ ] \quad \text{\color{cyan}Brackets}
{ }Braces\{ \ \} \quad \text{\color{cyan}Braces}
Fraction bar\frac{\quad}{\quad} \quad \text{\color{cyan}Fraction bar}

All of the above grouping symbols, as well as absolute value, have the same order of precedence. Perform operations inside the innermost grouping symbol or absolute value first.

EXAMPLE 1.7.1

Simplify:
5(412).5 - (4 - 12).

Solution:
Perform the operations within the parentheses first. In this case, first subtract 1212 from 44.
5(412)=5(8)5 - (4 - 12) = 5 - (-8)
=5+8\quad \quad \quad \quad \quad = 5 + 8
=13\quad \quad \quad \quad \quad = 13

Answer:
1313

EXAMPLE 1.7.2

Simplify:
3{2[(31)]}.3\{-2[-( -3 - 1 )]\}.

Solution:
3{2[(31)]}=3{2[(4)]}3\{-2[-( -3 - 1 )]\} = 3\{-2[-(-4)]\}
=3{2[4]}\quad \quad \quad \quad \quad \quad \quad = 3\{-2[4]\}
=3{8}\quad \quad \quad \quad \quad \quad \quad = 3\{-8\}
=24\quad \quad \quad \quad \quad \quad \quad = -24

Answer:
24-24

EXAMPLE 1.7.3

Simplify:
54(3)3(57).\frac{5 - |4 - (-3)|}{|-3| - (5 - 7)}.

Solution:
54(3)3(57)=54+33(2)\frac{5 - |4 - (-3)|}{|-3| - (5 - 7)} = \frac{5 - |4 + 3|}{|-3| - (-2)}
=573+2\quad \quad \quad \quad \quad \quad = \frac{5 - |7|}{|-3| + 2}
=573+2\quad \quad \quad \quad \quad \quad = \frac{5 - 7}{3 + 2}
=25\quad \quad \quad \quad \quad \quad = \frac{-2}{5}
=25\quad \quad \quad \quad \quad \quad = -\frac{2}{5}

Answer:
25-\frac{2}{5}

EXERCISE 1.7.1

Simplify:
[3(2+3)].-[-3(2 + 3)].

Answer
1515

ORDER OF OPERATIONS

When several operations are to be applied within a calculation, we must follow a specific order to ensure a single correct result.

  1. Perform all calculations within the innermost parentheses or grouping symbols.
  2. Evaluate all exponents.
  3. Perform multiplication and division operations from left to right.
  4. Finally, perform all remaining addition and subtraction operations from left to right.

NOTE
Caution: Note that multiplication and division operations must be worked from left to right.

EXAMPLE 1.7.4

Simplify:
5243÷12.5^2 - 4 \cdot 3 \div 12.

Solution:
First, evaluate 525^2 and then perform multiplication and division as they appear from left to right.
5243÷12=2543÷125^2 - 4 \cdot 3 \div 12 = 25 - \underbrace{4 \cdot 3} \div 12
=2512÷12\quad \quad \quad \quad \quad \quad = 25 - \underbrace{12 \div 12}
=251\quad \quad \quad \quad \quad \quad = \underbrace{25 - 1}
=24\quad \quad \quad \quad \quad \quad = 24

Because multiplication and division operations should be worked from left to right, it is sometimes correct to perform division before multiplication.

EXAMPLE 1.7.5

Simplify:
2412÷32+11.2^4 - 12 \div 3 \cdot 2 + 11.

Solution:
Begin by evaluating the exponent, 24=2222=162^4 = 2 \cdot 2 \cdot 2 \cdot 2 = 16.
2412÷32+11=1612÷32+112^4 - 12 \div 3 \cdot 2 + 11 = 16 - \underbrace{12 \div 3} \cdot 2 + 11
=1642+11\quad \quad \quad \quad \quad \quad \quad \quad = 16 - \underbrace{4 \cdot 2} + 11
=168+11\quad \quad \quad \quad \quad \quad \quad \quad = \underbrace{16 - 8} + 11
=8+11\quad \quad \quad \quad \quad \quad \quad \quad = \underbrace{8 + 11}
=19\quad \quad \quad \quad \quad \quad \quad \quad = 19

Multiplying first leads to an incorrect result.

2412÷32+11=1612÷32Incorrect+112^4 - 12 \div 3 \cdot 2 + 11 = 16 - 12 \div \underbrace{3 \cdot 2}_{\text{\color{red}Incorrect}} + 11
=1612÷6+11\quad \quad \quad \quad \quad \quad \quad \quad = 16 - \underbrace{12 \div 6} + 11
=162+11\quad \quad \quad \quad \quad \quad \quad \quad = \underbrace{16 - 2} + 11
=14+11\quad \quad \quad \quad \quad \quad \quad \quad = \underbrace{14 + 11}
=25\times\quad \quad \quad \quad \quad \quad \quad \quad = 25 \quad \text{\color{red}\times}

Answer:
1919

EXAMPLE 1.7.6

Simplify:
352+(7)2.-3 - 5^2 + (-7)^2.

Solution:
Take care to correctly identify the base when squaring.
352+(7)2=325+49-3 - 5^2 + (-7)^2 = -3 - 25 + 49
=28+49\quad \quad \quad \quad \quad \quad = -28 + 49
=21\quad \quad \quad \quad \quad \quad = 21

Answer:
2121

EXAMPLE 1.7.7

Simplify:
53[235+7(3)].5 - 3[2^3 - 5 + 7(-3)].

Solution:
It is tempting to first subtract 535 - 3, but this will lead to an incorrect result. The order of operations requires us to simplify within the brackets first.
53[235+7(3)]=53[8521]5 - 3[2^3 - 5 + 7(-3)] = 5 - 3[8 - 5 - 21]
=53[18]\quad \quad \quad \quad \quad \quad \quad \quad = 5 - 3[-18]
=5+54\quad \quad \quad \quad \quad \quad \quad \quad = 5 + 54
=59\quad \quad \quad \quad \quad \quad \quad \quad = 59

Subtracting 535 - 3 first leads to an incorrect result.
53[235+7(3)]=53Incorrect[8521]5 - 3[2^3 - 5 + 7(-3)] = \underbrace{5 - 3}_{\text{\color{red}Incorrect}}[8 - 5 - 21]
=2[18]\quad \quad \quad \quad \quad \quad \quad \quad = 2[-18]
=36\times\quad \quad \quad \quad \quad \quad \quad \quad = -36 \quad \text{\color{red}\times}

Answer:
5959

EXAMPLE 1.7.8

Simplify:
32[5(4210)].-3^2 - [5 - (4^2 - 10)].

Solution:
Perform the operations within the innermost parentheses first.
32[5(4210)]=32[5(1610)]-3^2 - [5 - (4^2 - 10)] = -3^2 - [5 - (16 - 10)]
=32[56]\quad \quad \quad \quad \quad \quad \quad \quad = -3^2 - [5 - 6]
=32[1]\quad \quad \quad \quad \quad \quad \quad \quad = -3^2 - [-1]
=9+1\quad \quad \quad \quad \quad \quad \quad \quad = -9 + 1
=8\quad \quad \quad \quad \quad \quad \quad \quad = -8

Answer:
8-8

EXAMPLE 1.7.9

Simplify:
(23)2÷[53(12)3].\left(-\frac{2}{3}\right)^2 \div \left[ \frac{5}{3} - \left(-\frac{1}{2}\right)^3 \right].

Solution:
(23)2÷[53(12)3]=(23)2÷[53(18)]\left(-\frac{2}{3}\right)^2 \div \left[ \frac{5}{3} - \left(-\frac{1}{2}\right)^3 \right] = \left(-\frac{2}{3}\right)^2 \div \left[ \frac{5}{3} - \left(-\frac{1}{8}\right) \right]
=(23)2÷[53+18]\quad \quad \quad \quad \quad \quad \quad \quad \quad \quad = \left(-\frac{2}{3}\right)^2 \div \left[ \frac{5}{3} + \frac{1}{8} \right]
=(23)2÷[4024+324]\quad \quad \quad \quad \quad \quad \quad \quad \quad \quad = \left(-\frac{2}{3}\right)^2 \div \left[ \frac{40}{24} + \frac{3}{24} \right]
=(23)2÷4324\quad \quad \quad \quad \quad \quad \quad \quad \quad \quad = \left(-\frac{2}{3}\right)^2 \div \frac{43}{24}
=492443\quad \quad \quad \quad \quad \quad \quad \quad \quad \quad = \frac{4}{9} \cdot \frac{24}{43}
=49324843\quad \quad \quad \quad \quad \quad \quad \quad \quad \quad = \frac{4}{\cancel{9}_3} \cdot \frac{\cancel{24}^8}{43}
=32129\quad \quad \quad \quad \quad \quad \quad \quad \quad \quad = \frac{32}{129}

Answer:
32129\frac{32}{129}

We are less likely to make a mistake if we work one operation at a time. Some problems may involve an absolute value, in which case we assign it the same order of precedence as parentheses.

EXAMPLE 1.7.10

Simplify:
2443+(2)4.2 - 4|-4 - 3| + (-2)^4.

Solution:
We begin by evaluating the absolute value and then the exponent (2)4=(2)(2)(2)(2)=+16(-2)^4 = (-2)(-2)(-2)(-2) = +16.
2443+(2)4=247+(2)42 - 4|-4 - 3| + (-2)^4 = 2 - 4|-7| + (-2)^4
=247+16\quad \quad \quad \quad \quad \quad \quad \quad = 2 - 4 \cdot 7 + 16
=228+16\quad \quad \quad \quad \quad \quad \quad \quad = 2 - 28 + 16
=26+16\quad \quad \quad \quad \quad \quad \quad \quad = -26 + 16
=10\quad \quad \quad \quad \quad \quad \quad \quad = -10

Answer:
10-10

EXERCISE 1.7.2

Simplify:
10÷52(4)+3+(3)2.10 \div 5 \cdot 2|(-4) + |-3|| + (-3)^2.

Answer
1313

KEY TAKEAWAYS

  • Grouping symbols indicate which operations to perform first. We usually group mathematical operations with parentheses, brackets, braces, and the fraction bar. We also group operations within absolute values. All groupings have the same order of precedence: the operations within the innermost grouping are performed first.
  • When applying operations within a calculation, follow the order of operations to ensure a single correct result.
    • Address innermost parentheses or groupings first.
    • Simplify all exponents.
    • Perform multiplication and division operations from left to right.
    • Finally, perform addition and subtraction operations from left to right.
  • It is important to highlight the fact that multiplication and division operations should be applied as they appear from left to right. It is a common mistake to always perform multiplication before division, which, as we have seen, in some cases produces incorrect results.

EXERCISE 1.7.3 ORDER OF OPERATIONS

Simplify.

  1. 735-7 - 3 \cdot 5
  2. 3+233 + 2 \cdot 3
  3. 3(2)62-3(2) - 6^2
  4. 2(3)2+5(4)2(-3)^2 + 5(-4)
  5. 632\frac{6}{3} * 2
  6. 6/(32)6 / (3 * 2)
  7. 123523-\frac{1}{2} - \frac{3}{5} \cdot \frac{2}{3}
  8. 58÷1256\frac{5}{8} \div \frac{1}{2} - \frac{5}{6}
  9. 3.226.9÷2.33.2^2 - 6.9 \div 2.3
  10. 8.23÷1.22.18.2 - 3 \div 1.2 \cdot 2.1
  11. 2+3(2)72 + 3(-2) - 7
  12. 8+2328 + 2 - 3 \cdot 2
  13. 3+62÷123 + 6^2 \div 12
  14. 542÷(8)5 - 4^2 \div (-8)
  15. 932+3(2)-9 - 3 \cdot 2 + 3(-2)
  16. 232+(2)2-2 - 3^2 + (-2)^2
  17. 12÷622212 \div 6 \cdot 2 - 2^2
  18. 43÷122(2)24 \cdot 3 \div 12 \cdot 2 - (-2)^2
  19. (5)22(5)2÷10(-5)^2 - 2(5)^2 \div 10
  20. 3(47)+2-3(4 - 7) + 2
  21. (2+7)2102(-2 + 7)^2 - 10^2
  22. 107(3+2)+7210 - 7(3 + 2) + 7^2
  23. 73(428)-7 - 3(4 - 2 \cdot 8)
  24. 53[6(2+7)]5 - 3[6 - (2 + 7)]
  25. 1+2[(2)3(3)2]1 + 2[(-2)^3 - (-3)^2]
  26. 3[2(75)÷4(2)+(3)3]-3[2(7 - 5) \div 4 \cdot (-2) + (-3)^3]
  27. 72[20(3)2](10)-7^2 - [-20 - (-3)^2] - (-10)
  28. 4.73.2(41.23)4.7 - 3.2(4 - 1.2^3)
  29. 5.4(6.13.1÷0.1)8.22-5.4(6.1 - 3.1 \div 0.1) - 8.2^2
  30. 7.32+(9.3)237.8÷1.8-7.3^2 + (-9.3)^2 - 37.8 \div 1.8
  31. 27(323+43)2 - 7(3^2 - 3 + 4 \cdot 3)
  32. (12)2(23)2(\frac{1}{2})^2 - (-\frac{2}{3})^2
  33. (12)3+(2)3(\frac{1}{2})^3 + (-2)^3
  34. (13)2(23)3(-\frac{1}{3})^2 - (-\frac{2}{3})^3
  35. 131215\frac{1}{3} - \frac{1}{2} \cdot \frac{1}{5}
  36. 58÷321415\frac{5}{8} \div \frac{3}{2} \cdot \frac{14}{15}
  37. 5215(12)35 \cdot \frac{2}{15} - (\frac{1}{2})^3
  38. 517(35435)\frac{5}{17}(\frac{3}{5} - \frac{4}{35})
  39. 316÷(51212+23)4\frac{3}{16} \div (\frac{5}{12} - \frac{1}{2} + \frac{2}{3}) \cdot 4
  40. (23)2(12)2(\frac{2}{3})^2 - (\frac{1}{2})^2
  41. 12[34(4)22]2\frac{1}{2}[\frac{3}{4} \cdot (-4)^2 - 2]^2
  42. 6[(23)2(12)2]÷(2)26 \cdot [(\frac{2}{3})^2 - (\frac{1}{2})^2] \div (-2)^2
  43. (5)2+3245+27(-5)^2 + \frac{3}{2} - \frac{4}{5} + 2 \cdot 7
  44. (3.23.3)(8.74.7)(4.7+3.9+2.1)(-3.2 - 3.3)(8.7 - 4.7)(-4.7 + 3.9 + 2.1)
  45. 2[3(57)2]3(632)2 - [3 - (5 - 7)^2]3(6 - 32)
  46. 2+36432232\frac{2 + 3 \cdot 6 - 4 \cdot 32}{2 - 3^2}
  47. (2+7)22310+92+33(2 + 7) \cdot 2 - \frac{2^3}{10} + \frac{9}{2} + 3^3
  48. (13)2153(7+22)5\frac{(-1 - 3)^2 - 1}{5 - 3 \cdot (-7 + 2^2) - 5}
  49. (7+4(2))/(3+(2)2)(7 + 4 * (-2)) / (-3 + (-2)^2)
  50. 4+3((3)3+52)/6224 + 3 * ((-3)^3 + 5^2) / 6 - 2^2

Answer

  1. 22-22
  2. 42-42
  3. 44
  4. 910-\frac{9}{10}
  5. 7.247.24
  6. 11-11
  7. 66
  8. 5-5
  9. 00
  10. 2020
  11. 75-75
  12. 2929
  13. 33-33
  14. 10-10
  15. 67.2267.22
  16. 124-124
  17. 638-\frac{63}{8}
  18. 730\frac{7}{30}
  19. 1324\frac{13}{24}
  20. 97\frac{9}{7}
  21. 5050
  22. 17-17
  23. 13-\frac{1}{3}
  24. 559\frac{5}{59}
  25. 1-1

EXERCISE 1.7.4 ORDER OF OPERATIONS

  1. Mary purchased 1414 bottles of water at $0.75\$0.75 per bottle, 44 pounds of assorted candy at $3.50\$3.50 per pound, and 1616 packages of microwave popcorn costing $0.50\$0.50 each for her party. What was her total bill?
  2. Joe bought four 8$-foot $2$-by-$4 boards for $24.00\$24.00. How much did he spend per linear foot?
  3. Margaret bought two cases of soda at the local discount store for $23.52\$23.52. If each case contained 2424 bottles, how much did she spend per bottle?
  4. Billy earns $12.00\$12.00 per hour and “time and a half” for every hour he works over 4040 hours a week. What is his pay for 4747 hours of work this week?
  5. Audry bought 44 bags of marbles each containing 1515 assorted marbles. If she wishes to divide them up evenly between her 33 children, how many will each child receive?
  6. Mark and Janet carpooled home from college for the Thanksgiving holiday. They shared the driving, but Mark drove twice as far as Janet. If Janet drove 135135 miles, then how many miles was the entire trip?

Answer
32. $32.50\$32.50
33. $0.49\$0.49
34. 2020 marbles

EXERCISE 1.7.5 ORDER OF OPERATIONS WITH ABSOLUTE VALUES

Simplify.

  1. 3+253 + 2|-5|
  2. 9439 - 4|-3|
  3. (2+10)-(-|2| + |-10|)
  4. (68)-(|-6| - |-8|)
  5. (4022)|-(40 - |-22|)|
  6. 510||-5| - |10||
  7. (85)2-(|-8| - 5)^2
  8. (12)2(|-1| - |-2|)^2
  9. 4+22232-4 + 2|2^2 - 3^2|
  10. 10452-10 - |4 - 5^2|
  11. (5)2+42÷8-|(-5)^2 + 4^2 \div 8|
  12. (3[67])-(-3 - [6 - |-7|])
  13. 2[7(4+7)]-2[7 - (4 + |-7|)]
  14. 3723+433 - 7|-2 - 3| + 4^3
  15. 756252+(7)27 - 5|6^2 - 5^2| + (-7)^2
  16. (4)25+(2)332(-4)^2 - |-5 + (-2)^3| - 3^2
  17. 2312(43)2\frac{2}{3} - |\frac{1}{2} - (-\frac{4}{3})^2|
  18. 3010312÷15-30|\frac{10}{3} - \frac{1}{2} \div \frac{1}{5}|
  19. (4)3(24)÷32+7(-4)^3 - (2 - |-4|) \div |-3^2 + 7|
  20. [103(68)]÷452[10 - 3(6 - |-8|)] \div 4 - 5^2

Answer
55. 1313
56. 8-8
57. 1818
58. 9-9
59. 66
60. 27-27
61. 88
62. 11
63. 1118-\frac{11}{18}
64. 63-63

EXERCISE 1.7.6 ORDER OF OPERATIONS WITH ABSOLUTE VALUES

Find the distance between the given numbers on a number line.

  1. 12\frac{1}{2} and 14-\frac{1}{4}
  2. 34-\frac{3}{4} and 23-\frac{2}{3}
  3. 58-\frac{5}{8} and 34-\frac{3}{4}
  4. 78-\frac{7}{8} and 37\frac{3}{7}
  5. 0.5-0.5 and 8.38.3
  6. 10.710.7 and 2.8-2.8
  7. 3153\frac{1}{5} and 212-2\frac{1}{2}
  8. 5385\frac{3}{8} and 00

Answer
73. 34\frac{3}{4} unit
74. 18\frac{1}{8} unit
75. 8.88.8 units
76. 57105\frac{7}{10} units

EXERCISE 1.7.7 DISCUSSION BOARD TOPICS

  1. Convert various examples in this section to equivalent expressions using text-based symbols.
  2. What is PEMDAS and what is it missing?
  3. Discuss the importance of proper grouping and give some examples.
  4. Experiment with the order of operations on a calculator and share your results.

Answer
81. Answers may vary
82. Answers may vary