Skip to main content

Section 1.4 Parentheses and Order of Operations

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:
  1. Take the number two, add three to it, then multiply the result by four.
  2. 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:
  1. \(\displaystyle 4(2+3) = 20\)
  2. \(\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.
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.

Evaluate each of the following quantities without a calculator. If your answer is a fraction, give it in reduced form.
  1. \(3\cdot 3^{-2}\cdot(-1)^2 =\)
  2. \(-3^2+\frac{64}{2^3} =\)
  3. \((-5+2)^3+12 =\)
  4. \(\frac{(3+2)^2}{4} - \left(\frac{2-7}{2}\right)^2 =\)
  5. \(4+5/7 =\)
  6. \((4+5)/7 =\)

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.)
  1. \(2(a+1)\)
    Solution.
    First, \(1\) is added to \(a\text{.}\) The result is then multiplied by \(2\text{.}\)
  2. \(2a+1\)
  3. \(1-3\left(\frac{a}{2}+4\right)\)
  4. \(3-2(a+5)\)

Subsection 1.4.2 Implied (``Invisible’’) Parentheses

There are some mathematical operations that are common enough to have implied parentheses . That is, even though we don’t write down parentheses in an expression, we mean for some operation to be done before another one. The common ones are as follows:
Fraction Bars:
A fraction written with a horizontal division bar has an implied set of parentheses on the numerator and denominator. So if a fraction has \(computation\ \#1\) in the numerator and \(computation\ \#2\) in the denominator, we have
\begin{equation*} \frac{computation\ \#1}{computation\ \#2} = \frac{(computation\ \#1)}{(computation\ \#2)}. \end{equation*}
For example,
\begin{equation*} \frac{2\cdot 3+1}{5-1} = \frac{7}{4}. \end{equation*}
Radicals:
Expressions under radicals (roots) are to be done before the root is taken. For example,
\begin{equation*} \sqrt[3]{5^2-8\cdot 2} = \sqrt[3]{25-16} = \sqrt[3]{9}\approx 2.08. \end{equation*}
Exponents:
Expressions that appear in the exponent of a single number are evaluated before the power is taken. For example,
\begin{equation*} 5^{2^4-3\cdot 4} = 5^{16-12} = 5^4 = 625. \end{equation*}

Question 1.4.4.

Simplify the following expressions:
  1. \(\displaystyle \dfrac{20-4^2}{(4-6)^3}\)
  2. \(\displaystyle \dfrac{2(9-15)+1}{\sqrt{(-5)^2+12^2}}\)
  3. \(\displaystyle \dfrac{4^{\frac{3^3-4^2\cdot 5}{2}}}{3\cdot 2 - 4}\)
Now we come to the end of our chapter on arithmetic with numbers. Those of you with some exposure to algebra may now say, “This is easy, but algebra is very different and difficult.” The truth is that is we keep the representations of arithmetic operations from this chapter in mind, algebra will not be that difficult.