Subsection 1.4.1 The Basic Order of Operations
Each of the previous sections in this chapter have focused mostly on one mathematical operation at a time. However, it is often the case that more than one operation is performed. Difficulty arises because the order in which operations occur matters; different orders yield different results. For example, let’s consider the two mathematical processes described below:
Take the number two, add three to it, then multiply the result by four.
Take the number two, multiply it by four, then add three to the result.
The two operations are adding three and multiplying by four, but performed in different orders. In the first order, two gets shifted up to five, then stretched out by a factor of four, yielding an end result of 20. In the second, two gets stretched out to eight, then that is shifted up by three, yielding an end result of 11. In order to distinguish these two orders using mathematical notation, we use parentheses to enclose those procedures that are to be performed first. Specifically, we have the following symbolic representations corresponding to the verbal descriptions given above:
\(\displaystyle 4(2+3) = 20\)
\(\displaystyle (4\cdot 2)+3 = 11\)
In a mathematical expression, any procedures that are enclosed in parentheses are meant to be performed before those procedures outside that set of parentheses. One way to think of parentheses is that whatever is inside them must be combined/simplified to a single quantity before proceeding.
What about the other operations? You probably have learned the answer earlier in your mathematical lives. Indeed, in the last section we used parentheses in expressions with exponents without really explaining their use. You may have even encountered some mnemonic device for remembering order of operations. Because being able to execute the operations is more important than just remembering, we will catalog the order of operations rules here, then use them in some problems.
Fundamental Properties 1.4.1. Order of Operations.
Procedures enclosed in parentheses should be performed before any operations outside those parentheses.
Exponents should be applied second, but only to the object that the exponent is directly above and to the right of.
Multiplication and/or division should be performed before addition and/or subtraction unless otherwise indicated by parentheses. In other words, in an expression only involving addition and multiplication, those individual multiplications are in parentheses.
Division is just multiplication by the reciprocal, so division and multiplication can be performed in either order.
Subtraction is just addition of a negative, so subtraction and addition can be performed in either order.
These aren’t actually too hard to keep track of, just as long as you remember that their purpose is to remove ambiguity from mathematical notation. For instance, without these rules \(4\cdot 2 +3\) could be interpreted either as \(11\) or \(20\text{.}\) These rules make sure that we all agree that it is \(11\text{.}\)
In addition to multiplications having understood (but not written down) parentheses around them, there are often understood parentheses in fractions. For instance, if we write
\begin{equation*}
\frac{1}{3+7},
\end{equation*}
we will understand that \(3+7\) is to be performed first. Usually this isn’t an issue when fractions are written with horizontal lines, but we would have to use parentheses to write it on a single line as \(1/(3+7)\text{.}\)
Checkpoint 1.4.2.
Question 1.4.3.
Verbally describe the sequence of operations performed on the number \(a\) in the correct order. (Part (1) has been done as an example.)
-
\(2(a+1)\)
Solution.
First, \(1\) is added to \(a\text{.}\) The result is then multiplied by \(2\text{.}\)
\(2a+1\)
\(1-3\left(\frac{a}{2}+4\right)\)
\(3-2(a+5)\)