What if your teacher asked you to evaluate the expression \(3+2×6÷(3−1)\)? Which should you do first, the addition, subtraction, multiplication, or division? What should you do second, third, and fourth? Also, should the parentheses affect your decisions?


PEMDAS

The Mystery of Math Verbs

Some math verbs are "stronger" than others and must be done first. This method is known as the order of operations.

A mnemonic (a saying that helps you remember something difficult) for the order of operations is PEMDAS: Please Excuse My Daring Aunt Sophie.

The order of operations:

Whatever is found inside PARENTHESES must be done first. EXPONENTS are to be simplified next. MULTIPLICATION and DIVISION are equally important and must be performed moving left to right. ADDITION and SUBTRACTION are also equally important and must be performed moving left to right.

Use the order of operations to simplify the following expressions:

  1. \((7−2)×4÷2−3\).

First, check for parentheses. Since there are parentheses, they must be done first.

\((7−2)×4÷2−3=(5)×4÷2−3\)

Next, look for exponents (little numbers written a little above the others). Since there are no exponents, skip to the next math verb.

Multiplication and division are equally important and must be done from left to right.

\(5×4÷2−3=20÷2−3\)

\(20÷2−3=10−3\)

Finally, addition and subtraction are equally important and must be done from left to right.

\(10−3=7\)

The answer is 7.

  1. \(3×5−7÷2\)

There are no parentheses and no exponents. Go directly to multiplication and division from left to right: \(3×5−7÷2=15−7÷2=15−3.5\)

Now subtract: \(15−3.5=11.5\)

  1. \(3×(5−7)÷2\)

Parentheses must be done first: \(3×(−2)÷2\)

There are no exponents, so multiplication and division come next and are done left to right: \(3×(−2)÷2=−6÷2=−3\)

  1. \((3×5)−(7÷2)\)

Parentheses must be done first: \((3×5)−(7÷2)=15−3.5\)

There are no exponents, multiplication, division, or addition, so simplify:

\(15−3.5=11.5\)


Parentheses

Parentheses are used two ways. The first is to alter the order of operations in a given expression, such as in problem 3 and 4 from above. The second way is to clarify an expression, making it easier to understand.

Some expressions contain no parentheses, while others contain several sets of parentheses. Some expressions even have parentheses inside parentheses, called nested parentheses! Always start at the innermost parentheses and work outward.

Use the order of operations to evaluate the following expression:

\((2⋅2−3)+2^2−3\)

Use the order of operations to evaluate the expression, starting inside the parentheses, then evaluating the exponent, and finally adding and subtracting left to right.

\((2⋅2−3)+2^2−3=(4−3)+2^2−3\)

\(=1+2^2−3\)

\(=1+4−3\)

\(=2\)


Examples

Example 1

Earlier, you were asked to evaluate the expression \(3+2×6÷(3−1)\)

You cannot just evaluate this expression in any order that you want. Instead, to evaluate this expression, you must use the order of operations (PEMDAS).

The first step is to simplify the expression inside the parentheses:

\(3+2×6÷(3−1)=3+2×6÷2\)

There are no exponents so the next step is multiplication and division from left to right:

\(3+2×6÷2=3+12÷2\)

\(3+12÷2=3+6\)

Finally, add the two numbers together:

\(3+6=9\)

The expression is equal to 9.


Example 2

Use the order of operations to simplify \(8−[19−(2+5)−7]\).

Begin with the innermost parentheses:

\(8−[19−(2+5)−7]=8−[19−7−7]\)

Simplify according to the order of operations:

\(8−[19−7−7]=8−[5]=3\)

Example 3

Use the order or operations to evaluate the following expression:

\(3⋅5^2−2(7−3)\)

Use the order of operations to evaluate the expression, doing parentheses and exponents first, then multiplication, and finally subtraction.

\(3⋅52−2(7−3)=3⋅5^2−2(4)\)

\(=3⋅25−2(4)\)

\(=75−8=67\)

Note that there was no division or addition, so those steps were skipped.


Review

Use the order of operations to simplify the following expressions.

  1. \(8−(19−(2+5)−7)\)

  2. \(2×7×11−12÷3\)

  3. \((3+7)÷(7−12)\)

  4. \(8⋅5+6^2\)

  5. \(9÷3×7−2^3+7\)

  6. \(8+12÷6+6\)

  7. \((7^2−3^2)÷8\)

  8. \(2⋅5^2\)

  9. \(3(5)^2+2(5)+1\)

  10. \((12−2)^2\)


Source: cK-12, https://www.ck12.org/algebra/Order-of-Operations/lesson/PEMDAS-BSC-ALG/
Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 License.