<meta http-equiv="refresh" content="1; url=/nojavascript/">
You are reading an older version of this FlexBook® textbook: CK-12 Algebra - Basic Go to the latest version.

# 1.2: Order of Operations

Difficulty Level: 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 $(7-2) \times 4 \div 2-3$

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

$(7 - 2) \times 4 \div 2 - 3 = (5) \times 4 \div 2 - 3$

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.

$5 \times 4 \div 2 - 3 & = 20 \div 2 - 3\\20 \div 2 - 3 & = 10 - 3$

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

$10-3 = 7$ This is our answer.

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

a) $3 \times 5-7 \div 2$

b) $3 \times (5 - 7) \div 2$

c) $(3 \times 5) - (7 \div 2)$

Solutions:

a) There are no parentheses and no exponents. Go directly to multiplication and division from left to right: $3 \times 5 - 7 \div 2 = 15 - 7 \div 2 = 15 - 3.5$

Now subtract: $15 - 3.5 = 11.5$

b) Parentheses must be done first: $3 \times (-2) \div 2$

There are no exponents, so multiplication and division come next and are done left to right: $3 \times (-2) \div 2 = -6 \div 2 = -3$

c) Parentheses must be done first: $(3 \times 5) - (7 \div 2) = 15 - 3.5$

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

$15 - 3.5 = 11.5$

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 $8-[19-(2+5)-7]$

Solution: 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$

## 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) $\frac{z + 3}{4} - 1$ when $z = 2$

b) $\left (\frac{a+2}{b+4} - 1 \right ) + b$ when $a = 3$ and $b = 1$

c) $2 \times \left ( \frac{w + (x - 2z)}{(y + 2)^2} - 1 \right )$ when $w = 11, \ x = 3, \ y = 1$ and $z = -2$

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

a) $\frac{(2+3)}{4} -1 = \frac{5}{4} -1$. Rewriting 1 as a fraction, the expression becomes:

$\frac{5}{4} - \frac{4}{4} = \frac{1}{4}$

b) $\frac{(3+2)}{(1+4)} = \frac{5}{5} = 1$

$(1 - 1) + b$ Substituting 1 for b, the expression becomes $0 + 1 = 1$

c) $2 \left ( \frac{[11+(3-2(-2))]}{[(1+2)^2)]} - 1 \right ) = 2 \left ( \frac{(11+7)}{3^2} -1 \right ) = 2 \left (\frac{18}{9} - 1 \right )$

Continue simplifying: $2\left ( \frac{18}{9} - \frac{9}{9} \right ) = 2 \left ( \frac{9}{9} \right ) = 2(1)= 2$

## 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 $[3(x^2 - 1)^2 - x^4 + 12] + 5x^3 - 1$ when $x = -3$.

Substitute the value $x = -3$ into the expression.

$[3((-3)^2 -1)^2 - (-3)^4 + 12] + 5(-3)^3 - 1$

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] $x$. (The letter $x$ can be entered using the $x$-[VAR] button or [ALPHA] + [STO]). Then type in the expression in the calculator and press [ENTER].

The answer is $-13.$

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: $\frac{3x^2 - 4y^2 + x^4}{(x + y)^{\frac{1}{2}}}$ for $x = -2, y = 1$.

Store the values of $x$ and $y$. $-2$ [STO] $x$, 1 [STO] $y$. The letters $x$ and $y$ can be entered using [ALPHA] + [KEY]. Input the expression in the calculator. When an expression shows the division of two expressions be sure to use parentheses: (numerator) $\div$ (denominator). Press [ENTER] to obtain the answer $-.8\bar{8}$ or $-\frac{8}{9}$.

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

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

Evaluate the following expressions involving variables.

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

Evaluate the following expressions involving variables.

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

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

1. $s=4\ inches,h=18\ inches$
2. $s=10\ feet,h=50\ feet$
3. $h=7\ meters,s=12\ meters$
4. $h=27\ feet,s=13\ feet$
5. $s=16\ cm,h=90\ cm$

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

1. $5 - 2 \cdot 6 - 4 + 2 = 5$
2. $12 \div 4 + 10 - 3 \cdot 3 + 7 = 11$
3. $22 - 32 - 5 \cdot 3 - 6 = 30$
4. $12 - 8 - 4 \cdot 5 = -8$

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

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

Mixed Review

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

8 , 9

Feb 22, 2012

Dec 11, 2014