# 1.2: Order of Operations

**At Grade**Created by: CK-12

## 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.

**Example 1:** Use the Order of Operations to simplify

**Solution:** First, we check for parentheses. Yes, there they are and must be done first.

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

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

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

**Example 2:** Use the Order of Operations to simplify the following expressions.

a)

b)

c)

**Solutions:**

a) There are no parentheses and no exponents. Go directly to multiplication and division from left to right:

Now subtract:

b) Parentheses must be done first:

There are no exponents, so multiplication and division come next and are done left to right:

c) Parentheses must be done first:

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

Parentheses are used two ways. The first is to alter the Order of Operations in a given expression, such as example (b). 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! When faced with **nested parentheses**, start at the innermost parentheses and work outward.

**Example 3:** Use the Order of Operations to simplify

**Solution:** Begin with the innermost parentheses:

Simplify according to the Order of Operations:

## Evaluating Algebraic Expressions with Fraction Bars

Fraction bars count as grouping symbols for PEMDAS, and should be treated as a set of parentheses. All numerators and all denominators can be treated as if they have invisible parentheses. When **real** parentheses are also present, remember that the innermost grouping symbols should be evaluated first. If, for example, parentheses appear on a numerator, they would take precedence over the fraction bar. If the parentheses appear outside of the fraction, then the fraction bar takes precedence.

**Example 4:** Use the Order of Operations to simplify the following expressions.

a) *when*

b) *when*

c) *when*

**Solutions:** Begin each expression by substituting the appropriate value for the variable:

a)

b)

*b,* the expression becomes

c)

Continue simplifying:

## Using a Calculator to Evaluate Algebraic Expressions

A calculator, especially a graphing calculator, is a very useful tool in evaluating algebraic expressions. The graphing calculator follows the Order of Operations, PEMDAS. In this section, we will explain two ways of evaluating expressions with the graphing calculator.

**Method #1:** This method is the direct input method. After substituting all values for the variables, you type in the expression, symbol for symbol, into your calculator.

*Evaluate* *when*

*Substitute the value* *into the expression.*

The potential error here is that you may forget a sign or a set of parentheses, especially if the expression is long or complicated. Make sure you check your input before writing your answer. An alternative is to type the expression in by appropriate chunks – do one set of parentheses, then another, and so on.

**Method #2:** This method uses the STORE function of the Texas Instrument graphing calculators, such as the TI-83, TI-84, or TI-84 Plus.

*First, store the value x=−3 in the calculator. Type* -3

**[STO]**

*The letter*x can be entered using the

**[VAR]**

*button or*

**[ALPHA] + [STO]**).

*Then type in the expression in the calculator and press*

**[ENTER]**.

*The answer is*

Note: On graphing calculators there is a difference between the minus sign and the negative sign. When we stored the value negative three, we needed to use the negative sign, which is to the left of the **[ENTER]** button on the calculator. On the other hand, to perform the subtraction operation in the expression we used the minus sign. The minus sign is right above the plus sign on the right.

You can also use a graphing calculator to evaluate expressions with more than one variable.

*Evaluate the expression:* *for*

Store the values of **[STO]** **[STO]** **[ALPHA] + [KEY]**. Input the expression in the calculator. When an expression shows the division of two expressions be sure to use parentheses: (numerator) **[ENTER]** to obtain the answer \begin{align*}-.8\bar{8}\end{align*} or \begin{align*}-\frac{8}{9}\end{align*}.

## Practice Set

Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both. CK-12 Basic Algebra: Order of Operations (14:23)

Use the Order of Operations to simplify the following expressions.

- \begin{align*}8 - (19 - (2 + 5) - 7)\end{align*}
- \begin{align*}2 + 7 \times 11 - 12 \div 3\end{align*}
- \begin{align*}(3 + 7) \div (7 - 12)\end{align*}
- \begin{align*}\frac{2 \cdot (3 + (2 - 1))}{4 - (6 + 2)} - (3 - 5)\end{align*}
- \begin{align*}8 \cdot 5 + 6^2\end{align*}
- \begin{align*}9 \div 3 \times 7 - 2^3 + 7\end{align*}
- \begin{align*}8 + 12 \div 6 + 6\end{align*}
- \begin{align*}(7^2-3^2) \div 8\end{align*}

Evaluate the following expressions involving variables.

- \begin{align*}\frac{jk}{j + k}\end{align*} when \begin{align*}j = 6\end{align*} and \begin{align*}k = 12\end{align*}.
- \begin{align*}2y^2\end{align*} when \begin{align*}x = 1\end{align*} and \begin{align*}y = 5\end{align*}
- \begin{align*}3x^2 + 2x + 1\end{align*} when \begin{align*}x = 5\end{align*}
- \begin{align*}(y^2 - x)^2\end{align*} when \begin{align*}x = 2\end{align*} and \begin{align*}y = 1\end{align*}

Evaluate the following expressions involving variables.

- \begin{align*}\frac{4x}{9x^2 - 3x + 1}\end{align*} when \begin{align*}x = 2\end{align*}
- \begin{align*}\frac{z^2}{x + y} + \frac{x^2}{x - y}\end{align*} when \begin{align*}x = 1, \ y = -2\end{align*}, and \begin{align*}z = 4\end{align*}.
- \begin{align*}\frac{4xyz}{y^2 - x^2}\end{align*} when \begin{align*}x = 3, \ y = 2\end{align*}, and \begin{align*}z = 5\end{align*}
- \begin{align*}\frac{x^2 - z^2}{xz - 2x(z - x)}\end{align*} when \begin{align*}x = -1\end{align*} and \begin{align*}z = 3\end{align*}

The formula to find the volume of a square pyramid is \begin{align*}V=\frac{s^2 (h)}{3}\end{align*}. Evaluate the volume for the given values.

- \begin{align*}s=4\ inches,h=18\ inches\end{align*}
- \begin{align*}s=10\ feet,h=50\ feet\end{align*}
- \begin{align*}h=7\ meters,s=12\ meters\end{align*}
- \begin{align*}h=27\ feet,s=13\ feet\end{align*}
- \begin{align*}s=16\ cm,h=90\ cm\end{align*}

In 22 – 25, insert parentheses in each expression to make a true equation.

- \begin{align*}5 - 2 \cdot 6 - 4 + 2 = 5\end{align*}
- \begin{align*}12 \div 4 + 10 - 3 \cdot 3 + 7 = 11\end{align*}
- \begin{align*}22 - 32 - 5 \cdot 3 - 6 = 30\end{align*}
- \begin{align*}12 - 8 - 4 \cdot 5 = -8\end{align*}

In 26 – 29, evaluate each expression using a graphing calculator.

- \begin{align*}x^2 + 2x - xy\end{align*} when \begin{align*}x = 250\end{align*} and \begin{align*}y = -120\end{align*}
- \begin{align*}(xy - y^4)^2\end{align*} when \begin{align*}x = 0.02\end{align*} and \begin{align*}y = -0.025\end{align*}
- \begin{align*}\frac{x + y - z}{xy + yz + xz}\end{align*} when \begin{align*}x = \frac{1}{2}, \ y = \frac{3}{2}\end{align*}, and \begin{align*}z = -1\end{align*}
- \begin{align*}\frac{(x + y)^2}{4x^2 - y^2}\end{align*} when \begin{align*}x = 3\end{align*} and \begin{align*}y = -5d\end{align*}
- The formula to find the volume of a spherical object (like a ball) is \begin{align*}V = \frac{4}{3}(\pi)r^3\end{align*}, where \begin{align*}r =\end{align*} the radius of the sphere. Determine the volume for a grapefruit with a radius of 9 cm.

**Mixed Review**

- Let \begin{align*}x = -1\end{align*}. Find the value of \begin{align*}-9x + 2\end{align*}.
- The area of a trapezoid is given by the equation \begin{align*}A = \frac{h}{2}(a + b)\end{align*}. Find the area of a trapezoid with bases \begin{align*}a = 10 \ cm, b = 15 \ cm\end{align*}, and height \begin{align*}h = 8 \ cm\end{align*}.
- The area of a circle is given by the formula \begin{align*}A = \pi r^2\end{align*}. Find the area of a circle with radius \begin{align*}r = 17\end{align*} inches.