This is “Order of Operations”, section 1.7 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.
For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.
In a computation where more than one operation is involved, grouping symbols help tell us which operations to perform first. The grouping symbolsParentheses, brackets, braces, and the fraction bar are the common symbols used to group expressions and mathematical operations within a computation. commonly used in algebra are
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: Simplify: $5-\left(4-12\right)$.
Solution: Perform the operations within the parentheses first. In this case, first subtract 12 from 4.
Answer: 13
Example 2: Simplify: $3\left\{-2\left[-\left(-3-1\right)\right]\right\}$.
Solution:
Answer: −24
Example 3: Simplify: $\frac{5-\left|4-(-3)\right|}{\left|-3\right|-\left(5-7\right)}$.
Solution: The fraction bar groups the numerator and denominator. They should be simplified separately.
Answer: $-\frac{2}{5}$
Try this! Simplify: $-\left[-3\left(2+3\right)\right]$.
Answer: 15
When several operations are to be applied within a calculation, we must follow a specific orderTo ensure a single correct result, perform mathematical operations in a specific order. to ensure a single correct result.
Caution: Note that multiplication and division operations must be worked from left to right.
Example 4: Simplify: ${5}^{2}-4\cdot 3\xf712$.
Solution: First, evaluate ${5}^{2}$ and then perform multiplication and division as they appear from left to right.
Answer: 24
Because multiplication and division operations should be worked from left to right, it is sometimes correct to perform division before multiplication.
Example 5: Simplify: ${2}^{4}-12\xf73\cdot 2+11$.
Solution: Begin by evaluating the exponent, ${2}^{4}=2\cdot 2\cdot 2\cdot 2=16$.
Multiplying first leads to an incorrect result.
Answer: 19
Example 6: Simplify: $-3-{5}^{2}+{\left(-7\right)}^{2}$.
Solution: Take care to correctly identify the base when squaring.
Answer: 21
Example 7: Simplify: $5-3\left[{2}^{3}-5+7(-3)\right]$.
Solution: It is tempting to first subtract 5 − 3, but this will lead to an incorrect result. The order of operations requires us to simplify within the brackets first.
Subtracting 5 − 3 first leads to an incorrect result.
Answer: 59
Example 8: Simplify: $-{3}^{2}-\left[5-\left({4}^{2}-10\right)\right]$.
Solution: Perform the operations within the innermost parentheses first.
Answer: −8
Example 9: Simplify: ${\left(-\frac{2}{3}\right)}^{2}\xf7\left[\frac{5}{3}-{\left(-\frac{1}{2}\right)}^{3}\right]$.
Solution:
Answer: $\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 10: Simplify: $2-4\left|-4-3\right|+{\left(-2\right)}^{4}$.
Solution: We begin by evaluating the absolute value and then the exponent ${\left(-2\right)}^{4}=\left(-2\right)\left(-2\right)\left(-2\right)\left(-2\right)=+16$.
Answer: −10
Try this! Simplify: $10\xf75\cdot 2\left|\left(-4\right)+\left|-3\right|\right|+{\left(-3\right)}^{2}$.
Answer: 13
When applying operations within a calculation, follow the order of operations to ensure a single correct result.
Part A: Order of Operations
Simplify.
1. $-7-3\cdot 5$
2. $3+2\cdot 3$
3. $-3(2)-{6}^{2}$
4. $2{(-3)}^{2}+5(-4)$
5. $6/3*2$
6. $6/(3*2)$
7. $-\frac{1}{2}-\frac{3}{5}\cdot \frac{2}{3}$
8. $\frac{5}{8}\xf7\frac{1}{2}-\frac{5}{6}$
9. ${3.2}^{2}-6.9\xf72.3$
10. $8.2-3\xf71.2\cdot 2.1$
11. $2+3(-2)-7$
12. $8\xf72-3\cdot 2$
13. $3+{6}^{2}\xf712$
14. $5-{4}^{2}\xf7(-8)$
15. $-9-3\cdot 2\xf73(-2)$
16. $-2-{3}^{2}+{(-2)}^{2}$
17. $12\xf76\cdot 2-{2}^{2}$
18. $4\cdot 3\xf712\cdot 2-{(-2)}^{2}$
19. ${(-5)}^{2}-2{(5)}^{2}\xf710$
20. $-3(4-7)+2$
21. ${\left(-2+7\right)}^{2}-{10}^{2}$
22. $10-7(3+2)+{7}^{2}$
23. $-7-3\left(4-2\cdot 8\right)$
24. $5-3\text{\hspace{0.17em}}\left[6-\left(2+7\right)\right]$
25. $1+2\text{\hspace{0.17em}}\left[{\left(-2\right)}^{3}-{\left(-3\right)}^{2}\right]$
26. $-3\text{\hspace{0.17em}}\left[2\left(7-5\right)\xf74\cdot \left(-2\right)+{\left(-3\right)}^{3}\right]$
27. $-{7}^{2}-\left[-20-{\left(-3\right)}^{2}\right]-\left(-10\right)$
28. $4.7-3.2\left(4-{1.2}^{3}\right)$
29. $-5.4\left(6.1-3.1\xf70.1\right)-{8.2}^{2}$
30. $-{7.3}^{2}+{\left(-9.3\right)}^{2}-37.8\xf71.8$
31. $2-7\left({3}^{2}-3+4\cdot 3\right)$
32. ${\left(\frac{1}{2}\right)}^{2}-{\left(-\frac{2}{3}\right)}^{2}$
33. ${\left(\frac{1}{2}\right)}^{3}+{\left(-2\right)}^{3}$
34. ${\left(-\frac{1}{3}\right)}^{2}-{\left(-\frac{2}{3}\right)}^{3}$
35. $\frac{1}{3}-\frac{1}{2}\cdot \frac{1}{5}$
36. $\frac{5}{8}\xf7\frac{3}{2}\cdot \frac{14}{15}$
37. $5\cdot \frac{2}{15}-{\left(\frac{1}{2}\right)}^{3}$
38. $\frac{5}{17}\left(\frac{3}{5}-\frac{4}{35}\right)$
39. $\frac{3}{16}\xf7\left(\frac{5}{12}-\frac{1}{2}+\frac{2}{3}\right)\cdot 4$
40. ${\left(\frac{2}{3}\right)}^{2}-{\left(\frac{1}{2}\right)}^{2}$
41. ${\scriptscriptstyle \frac{1}{2}}\text{\hspace{0.17em}}{\left[{\scriptscriptstyle \frac{3}{4}}\cdot {\left(-4\right)}^{2}-2\right]}^{2}$
42. $6\cdot \left[{\left({\scriptscriptstyle \frac{2}{3}}\right)}^{2}-{\left({\scriptscriptstyle \frac{1}{2}}\right)}^{2}\right]\xf7{\left(-2\right)}^{2}$
43. $\frac{{\left(-5\right)}^{2}+{3}^{2}}{-{4}^{2}+2\cdot 7}$
44. $\frac{\left(-3.2-3.3\right)\left(8.7-4.7\right)}{\left(-4.7+3.9+2.1\right)}$
45. $\frac{2-\left[3-{\left(5-7\right)}^{2}\right]}{3\left(6-{3}^{2}\right)}$
46. $\frac{2+3\cdot 6-4\cdot 3}{{2}^{2}-{3}^{2}}$
47. $\frac{\left(2+7\right)\cdot 2-{2}^{3}}{10+{9}^{2}+{3}^{3}}$
48. $\frac{{\left(-1-3\right)}^{2}-15}{-3\cdot \left(-7+{2}^{2}\right)-5}$
49. $(7+4*\left(-2\right))/\left(-3+\left(-2\right)^2\right)$
50. $4+3*\left(\left(-3\right)^3+5^2\right)/6-2^2$
51. Mary purchased 14 bottles of water at $0.75 per bottle, 4 pounds of assorted candy at $3.50 per pound, and 16 packages of microwave popcorn costing $0.50 each for her party. What was her total bill?
52. Joe bought four 8-foot 2-by-4 boards for $24.00. How much did he spend per linear foot?
53. Margaret bought two cases of soda at the local discount store for $23.52. If each case contained 24 bottles, how much did she spend per bottle?
54. Billy earns $12.00 per hour and “time and a half” for every hour he works over 40 hours a week. What is his pay for 47 hours of work this week?
55. Audry bought 4 bags of marbles each containing 15 assorted marbles. If she wishes to divide them up evenly between her 3 children, how many will each child receive?
56. 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 135 miles, then how many miles was the entire trip?
Part B: Order of Operations with Absolute Values
Simplify.
57. $3+2\left|-5\right|$
58. $9-4\left|-3\right|$
59. $-\left(-\left|2\right|+\left|-10\right|\right)$
60. $-\left(\left|-6\right|-\left|-8\right|\right)$
61. $\left|-\left(40-\left|-22\right|\right)\right|$
62. $\left|\left|-5\right|-\left|10\right|\right|$
63. $-{\left(\left|-8\right|-5\right)}^{2}$
64. ${\left(\left|-1\right|-\left|-2\right|\right)}^{2}$
65. $-4+2\left|{2}^{2}-{3}^{2}\right|$
66. $-10-\left|4-{5}^{2}\right|$
67. $-\left|{\left(-5\right)}^{2}+{4}^{2}\xf78\right|$
68. $-\left(-3-\left[6-\left|-7\right|\right]\right)$
69. $-2\left[7-\left(4+\left|-7\right|\right)\right]$
70. $3-7\text{\hspace{0.17em}}\left|-2-3\right|+{4}^{3}$
71. $7-5\left|{6}^{2}-{5}^{2}\right|+{\left(-7\right)}^{2}$
72. ${\left(-4\right)}^{2}-\left|-5+{\left(-2\right)}^{3}\right|-{3}^{2}$
73. $\frac{2}{3}-\left|\frac{1}{2}-{\left(-\frac{4}{3}\right)}^{2}\right|$
74. $-30\left|\frac{10}{3}-\frac{1}{2}\xf7\frac{1}{5}\right|$
75. ${\left(-4\right)}^{3}-\left(2-\left|-4\right|\right)\xf7\left|-{3}^{2}+7\right|$
76. $\left[10-3\left(6-\left|-8\right|\right)\right]\xf74-{5}^{2}$
Find the distance between the given numbers on a number line.
77. $\frac{1}{2}$ and $-\frac{1}{4}$
78. $-\frac{3}{4}$ and $-\frac{2}{3}$
79. $-\frac{5}{8}$ and $-\frac{3}{4}$
80. $-\frac{7}{5}$ and $\frac{3}{7}$
81. −0.5 and 8.3
82. 10.7 and −2.8
83. $3\frac{1}{5}$ and $-2\frac{1}{3}$
84. $5\frac{3}{4}$ and $0$
Part C: Discussion Board Topics
85. Convert various examples in this section to equivalent expressions using text-based symbols.
86. What is PEMDAS and what is it missing?
87. Discuss the importance of proper grouping and give some examples.
88. Experiment with the order of operations on a calculator and share your results.
1: −22
3: −42
5: 4
7: $-\frac{9}{10}$
9: 7.24
11: −11
13: 6
15: −5
17: 0
19: 20
21: −75
23: 29
25: −33
27: −10
29: 67.22
31: −124
33: $-\frac{63}{8}$
35: $\frac{7}{30}$
37: $\frac{13}{24}$
39: $\frac{9}{7}$
41: 50
43: −17
45: $-\frac{1}{3}$
47: $\frac{5}{59}$
49: −1
51: $32.50
53: $0.49
55: 20 marbles
57: 13
59: −8
61: 18
63: −9
65: 6
67: −27
69: 8
71: 1
73: $-\frac{11}{18}$
75: −63
77: $\frac{3}{4}$ unit
79: $\frac{1}{8}$ unit
81: 8.8 units
83: $5\frac{8}{15}$ units