Performing Calculations Using the Order of Operations

When we multiply a number by itself, we square it or raise it to a power of 2. For example, [latex]{4}^{2}=4\cdot 4=16[/latex]. We can raise any number to any power. In general, the exponential notation [latex]{a}^{n}[/latex] means that the number or variable [latex]a[/latex] is used as a factor [latex]n[/latex] times.

[latex]a^{n}=a\cdot a\cdot a\cdot \dots \cdot a[/latex]

In this notation, [latex]{a}^{n}[/latex] is read as the nth power of [latex]a[/latex], where [latex]a[/latex] is called the base and [latex]n[/latex] is called the exponent. A term in exponential notation may be part of a mathematical expression, which is a combination of numbers and operations. For example, [latex]24+6\cdot \frac{2}{3}-{4}^{2}[/latex] is a mathematical expression.

To evaluate a mathematical expression, we perform the various operations. However, we do not perform them in any random order. We use the order of operations. This is a sequence of rules for evaluating such expressions.

Recall that in mathematics we use parentheses ( ), brackets [ ], and braces { } to group numbers and expressions so that anything appearing within the symbols is treated as a unit. Additionally, fraction bars, radicals, and absolute value bars are treated as grouping symbols. When evaluating a mathematical expression, begin by simplifying expressions within grouping symbols.

The next step is to address any exponents or radicals. Afterward, perform multiplication and division from left to right and finally addition and subtraction from left to right.

Let’s take a look at the expression provided.

[latex]24+6\cdot \frac{2}{3}-{4}^{2}[/latex]

There are no grouping symbols, so we move on to exponents or radicals. The number 4 is raised to a power of 2, so simplify [latex]{4}^{2}[/latex] as 16.

[latex]\begin{array}24+6\cdot\frac{2}{3}-4^{2} \\ 24+6\cdot{2}{3}-16\end{array}[/latex]

Next, perform multiplication or division, left to right.

[latex]\begin{array}24+6\cdot\frac{2}{3}-16 \\ 24+4-16\end{array}[/latex]

Lastly, perform addition or subtraction, left to right.

[latex]\begin{array}24+4-16 \\ 28-16 \\ 12\end{array}[/latex]

Therefore, [latex]24+6\cdot \frac{2}{3}-{4}^{2}=12[/latex].

For some complicated expressions, several passes through the order of operations will be needed. For instance, there may be a radical expression inside parentheses that must be simplified before the parentheses are evaluated. Following the order of operations ensures that anyone simplifying the same mathematical expression will get the same result.

A General Note: Order of Operations

Operations in mathematical expressions must be evaluated in a systematic order, which can be simplified using the acronym PEMDAS:

P(arentheses)

E(xponents)

M(ultiplication) and D(ivision)

A(ddition) and S(ubtraction)

How To: Given a mathematical expression, simplify it using the order of operations.

  1. Simplify any expressions within grouping symbols.
  2. Simplify any expressions containing exponents or radicals.
  3. Perform any multiplication and division in order, from left to right.
  4. Perform any addition and subtraction in order, from left to right.

Example 6: Using the Order of Operations

Use the order of operations to evaluate each of the following expressions.

  1. [latex]{\left(3\cdot 2\right)}^{2}-4\left(6+2\right)[/latex]
  2. [latex]\frac{{5}^{2}-4}{7}-\sqrt{11 - 2}[/latex]
  3. [latex]6-|5 - 8|+3\left(4 - 1\right)[/latex]
  4. [latex]\frac{14 - 3\cdot 2}{2\cdot 5-{3}^{2}}[/latex]
  5. [latex]7\left(5\cdot 3\right)-2\left[\left(6 - 3\right)-{4}^{2}\right]+1[/latex]

Solution

  1. [latex]\begin{array}{cccc}\left(3\cdot 2\right)^{2} \hfill& =\left(6\right)^{2}-4\left(8\right) \hfill& \text{Simplify parentheses} \\ \hfill& =36-4\left(8\right) \hfill& \text{Simplify exponent} \\ \hfill& =36-32 \hfill& \text{Simplify multiplication} \\ \hfill& =4 \hfill& \text{Simplify subtraction}\end{array}[/latex]

  2. [latex]\begin{array}{cccc}\frac{5^{2}}{7}-\sqrt{11-2} \hfill& =\frac{5^{2}-4}{7}-\sqrt{9} \hfill& \text{Simplify grouping systems (radical)} \\ \hfill& =\frac{5^{2}-4}{7}-3 \hfill& \text{Simplify radical} \\ \hfill& =\frac{25-4}{7}-3 \hfill& \text{Simplify exponent} \\ \hfill& =\frac{21}{7}-3 \hfill& \text{Simplify subtraction in numerator} \\ \hfill& =3-3 \hfill& \text{Simplify division} \\ \hfill& =0 \hfill& \text{Simplify subtraction}\end{array}[/latex]

    Note that in the first step, the radical is treated as a grouping symbol, like parentheses. Also, in the third step, the fraction bar is considered a grouping symbol so the numerator is considered to be grouped.

  3. [latex]\begin{array}{cccc}6-|5-8|+3\left(4-1\right) \hfill& =6-|-3|+3\left(3\right) \hfill& \text{Simplify inside grouping system} \\ \hfill& =6-3+3\left(3\right) \hfill& \text{Simplify absolute value} \\ \hfill& =6-3+9 \hfill& \text{Simplify multiplication} \\ \hfill& =3+9 \hfill& \text{Simplify subtraction} \\ \hfill& =12 \hfill& \text{Simplify addition}\end{array}[/latex]
  4. [latex]\begin{array}{cccc}\frac{14-3\cdot2}{2\cdot5-3^{2}} \hfill& =\frac{14-3\cdot2}{2\cdot5-9} \hfill& \text{Simplify exponent} \\ \hfill& =\frac{14-6}{10-9} \hfill& \text{Simplify products} \\ \hfill& =\frac{8}{1} \hfill& \text{Simplify quotient} \\ \hfill& =8 \hfill& \text{Simplify quotient}\end{array}[/latex]
    In this example, the fraction bar separates the numerator and denominator, which we simplify separately until the last step.
  5. [latex]\begin{array}{cccc}7\left(5\cdot3\right)-2[\left(6-3\right)-4^{2}]+1 \hfill& =7\left(15\right)-2[\left(3\right)-4^{2}]+1 \hfill& \text{Simplify inside parentheses} \\ \hfill& 7\left(15\right)-2\left(3-16\right)+1 \hfill& \text{Simplify exponent} \\ \hfill& =7\left(15\right)-2\left(-13\right)+1 \hfill& \text{Subtract} \\ \hfill& =105+26+1 \hfill& \text{Multiply} \\ \hfill& =132 \hfill& \text{Add}\end{array}[/latex]

Try It 6

Use the order of operations to evaluate each of the following expressions.

a. [latex]\sqrt{{5}^{2}-{4}^{2}}+7{\left(5 - 4\right)}^{2}[/latex]
b. [latex]1+\frac{7\cdot 5 - 8\cdot 4}{9 - 6}[/latex]
c. [latex]|1.8 - 4.3|+0.4\sqrt{15+10}[/latex]
d. [latex]\frac{1}{2}\left[5\cdot {3}^{2}-{7}^{2}\right]+\frac{1}{3}\cdot {9}^{2}[/latex]
e. [latex][{\left(3 - 8\right)}^{2}-4]-\left(3 - 8\right)[/latex]

Solution