We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > College Algebra: Co-requisite Course

Order of Operations Review

Learning Objectives

  • Recognize and combine like terms in an expression
  • Use the order of operations to simplify expressions
    • Simplify expressions with fraction bars, brackets, and parentheses
    • Use the distributive property to simplify expressions with grouping symbols

Why use the order of operations?

What is 3+5•×23+5•\times2? Is it 13 or 16? This may seem like a trick question, but there is actually only one correct answer. Many years ago, mathematicians developed a standard order of operations that tells you which calculations to make first in an expression with more than one operation. In other words, order of operations simply refers to the specific order of steps you should follow when you solve a math expression. Without a standard procedure for making calculations, two people could get two different answers to the same problem, like the one above. So which is it, 13 or 16? By the end of this module you'll know! Some important terminology before we begin:
  • operations/operators: In mathematics we call things like multiplication, division, addition, and subtraction operations.  They are the verbs of the math world, doing work on numbers and variables. The symbols used to denote operations are called operators, such as +,,×,÷+{, }-{, }\times{, }\div. As you learn more math, you will learn more operators.
  • term: Examples of terms would be 2x2x and 32-\frac{3}{2} or a3a^3. Even lone integers can be a term, like 0.
  • expression: A mathematical expression is one that connects terms with mathematical operators. For example  12+(22)9÷67\frac{1}{2}+\left(2^2\right)- 9\div\frac{6}{7} is an expression.
 

Combining Like Terms

One way we can simplify expressions is to combine like terms. Like terms are terms where the variables match exactly (exponents included). Examples of like terms would be 5xy5xy and 3xy-3xy or 8a2b8a^2b and a2ba^2b or 3-3 and 88.  If we have like terms we are allowed to add (or subtract) the numbers in front of the variables, then keep the variables the same. As we combine like terms we need to interpret subtraction signs as part of the following term. This means if we see a subtraction sign, we treat the following term like a negative term. The sign always stays with the term. This is shown in the following examples:

Example

Combine like terms:  5x2y8x7y5x-2y-8x-7y

Answer: The like terms in this expression are:

5x5x and 8x-8x

2y-2y and 7y-7y

Note how we kept the sign in front of each term.

Combine like terms:

5x8x=3x5x-8x = -3x

2y7y=9y-2y-7y = -9y

Note how signs become operations when you combine like terms.

Simplified Expression:

5x2y8x+7y=3x9y5x-2y-8x+7y=-3x-9y

In the following video you will be shown how to combine like terms using the idea of the distributive property.  Note that this is a different method than is shown in the written examples on this page, but it obtains the same result. https://youtu.be/JIleqbO8Tf0

Example

Combine like terms:  x23x+95x2+3x1x^2-3x+9-5x^2+3x-1

Answer: The like terms in this expression are:

x2x^2 and 5x2-5x^2

3x-3x and 3x3x

99 and 1-1

Combine like terms:

x25x2=4x23x+3x=0           91=8           \begin{array}{r}x^2-5x^2 = -4x^2\\-3x+3x=0\,\,\,\,\,\,\,\,\,\,\,\\9-1=8\,\,\,\,\,\,\,\,\,\,\,\end{array}

In the video that follows, you will be shown another example of combining like terms.  Pay attention to why you are not able to combine all three terms in the example. https://youtu.be/b9-7eu29pNM

Order of Operations

You may or may not recall the order of operations for applying several mathematical operations to one expression. Just as it is a social convention for us to drive on the right-hand side of the road, the order of operations is a set of conventions used to provide order when you are required to use several mathematical operations for one expression.

The Order of Operations

  • Perform all operations within grouping symbols first. Grouping symbols include parentheses ( ), brackets [ ], braces { }, and fraction bars.
  • Evaluate exponents.
  • Multiply or divide, from left to right.
  • Add or subtract, from left to right.
This order of operations is true for all real numbers.

Example

Simplify 75+387–5+3\cdot8.

Answer: According to the order of operations, multiplication comes before addition and subtraction. Multiply 383\cdot8.

75+3875+24\begin{array}{c}7–5+3\cdot8\\7–5+24\end{array}

Now, add and subtract from left to right. 757–5 comes first.

2+242+24.

Finally, add.

2+24=262+24=26

Answer

75+38=267–5+3\cdot8=26

In the following example, you will be shown how to simplify an expression that contains both multiplication and subtraction using the order of operations. https://youtu.be/yFO_0dlfy-w When you are applying the order of operations to expressions that contain fractions, decimals, and negative numbers, you will need to recall how to do these computations as well.

Example

Simplify 3138÷143\cdot\frac{1}{3}-8\div\frac{1}{4}.

Answer: According to the order of operations, multiplication and division come before addition and subtraction. Sometimes it helps to add parentheses to help you know what comes first, so let's put parentheses around the multiplication and division since it will come before the subtraction.

(313)(8÷14)\left(3\cdot\frac{1}{3}\right)-\left(8\div\frac{1}{4}\right)

Multiply 313 3\cdot \frac{1}{3} first.

(313)(8÷14)\left( 3\cdot \frac{1}{3}\right)-\left(8\div \frac{1}{4}\right)

(1)(8÷14)\left(1\right)-\left(8\div \frac{1}{4}\right)

Now, divide 8÷148\div\frac{1}{4}.

8÷14=8141=328\div\frac{1}{4}=\frac{8}{1}\cdot\frac{4}{1}=32

Subtract.

(1)(32)=31\left(1\right)–\left(32\right)=−31

Answer

3138÷14=31 3\cdot \frac{1}{3}-8\div \frac{1}{4}=-31

In the following video you are shown how to use the order of operations to simplify an expression that contains multiplication, division, and subtraction with terms that contain fractions. https://youtu.be/yqp06obmcVc

Exponents

In this section, we expand our skills with applying the order of operation rules to expressions with exponents and square roots. If the expression has exponents or square roots, they are to be performed after parentheses and other grouping symbols have been simplified and before any multiplication, division, subtraction, and addition that are outside the parentheses or other grouping symbols. Recall that an expression such as 727^{2} is exponential notation for 777\cdot7. (Exponential notation has two parts: the base and the exponent or the power. In 727^{2}, 7 is the base and 2 is the exponent; the exponent determines how many times the base is multiplied by itself.) Exponents are a way to represent repeated multiplication; the order of operations places it before any other multiplication, division, subtraction, and addition is performed.

Example

Simplify 32233^{2}\cdot2^{3}.

Answer: This problem has exponents and multiplication in it. According to the order of operations, simplifying 323^{2} and 232^{3} comes before multiplication.

32233^{2}\cdot2^{3}

32 {{3}^{2}} is 333\cdot3, which equals 9.

923 9\cdot {{2}^{3}}

23 {{2}^{3}} is 2222\cdot2\cdot2, which equals 8.

98 9\cdot 8

Multiply.

98=72 9\cdot 8=72

Answer

3223=72 {{3}^{2}}\cdot {{2}^{3}}=72

In the video that follows, an expression with exponents on its terms is simplified using the order of operations. https://youtu.be/JjBBgV7G_Qw When there are grouping symbols within grouping symbols, calculate from the inside to the outside. That is, begin simplifying within the innermost grouping symbols first. Remember that parentheses can also be used to show multiplication. In the example that follows, both uses of parentheses—as a way to represent a group, as well as a way to express multiplication—are shown.

Example

Simplify (3+4)2+(8)(4)\left(3+4\right)^{2}+\left(8\right)\left(4\right).

Answer: This problem has parentheses, exponents, multiplication, and addition in it. The first set of parentheses is a grouping symbol. The second set indicates multiplication. Grouping symbols are handled first. Add numbers in parentheses.

(3+4)2+(8)(4)(7)2+(8)(4)\begin{array}{c}(3+4)^{2}+(8)(4)\\(7)^{2}+(8)(4)\end{array}

Simplify 727^{2}.

72+(8)(4)49+(8)(4)\begin{array}{c}7^{2}+(8)(4)\\49+(8)(4)\end{array}

Multiply.

49+(8)(4)49+(32)\begin{array}{c}49+(8)(4)\\49+(32)\end{array}

Add.

49+32=8149+32=81

Answer

(3+4)2+(8)(4)=81(3+4)^{2}+(8)(4)=81

In the following video, you are shown how to use the order of operations to simplify an expression with grouping symbols, exponents, multiplication, and addition. https://youtu.be/EMch2MKCVdA In the next example we will simplify another expression.

Example

Simplify (7+2)2+22(8)(4)7\Large\frac{(7+2)^2+2^2}{(8)(4)-7}.

Answer: This problem has all the operations to consider with the order of operations. Grouping symbols are handled first, in this case the fraction bar. We will simplify the top and bottom separately. To simplify the top:

(7+2)2+22(7+2)^2+2^2

Add the numbers inside the parenthesis, simplify the result and 222^2

(7+2)2+22=(9)2+4=81+4=85\begin{array}{c}(7+2)^2+2^2\\\\=(9)^2+4\\\\=81+4=85\end{array}

To simplify the bottom:

(8)(4)7(8)(4)-7

Multiply 8 and 4 first, then subtract 11.

(8)(4)11=3211=25(8)(4)-11=32-11=25

Now put the fraction back to gether to see if any more simplifying needs to be done. 8525[/latex],thiscanbereducedto[latex]175\Large\frac{85}{25}[/latex], this can be reduced to [latex]\Large\frac{17}{5}

Answer

(7+2)2+22(8)(4)7=175\Large\frac{(7+2)^2+2^2}{(8)(4)-7}=\frac{17}{5}

Think About It

These problems are very similar to the examples given above. How are they different and what tools do you need to simplify them? a) Simplify (1.5+3.5)2(0.56)2\left(1.5+3.5\right)–2\left(0.5\cdot6\right)^{2}. This problem has parentheses, exponents, multiplication, subtraction, and addition in it, as well as decimals instead of integers. Use the box below to write down a few thoughts about how you would simplify this expression with decimals and grouping symbols. [practice-area rows="2"][/practice-area]

Answer: Grouping symbols are handled first. Add numbers in the first set of parentheses.

(1.5+3.5)2(0.56)252(0.56)2\begin{array}{c}(1.5+3.5)–2(0.5\cdot6)^{2}\\5–2(0.5\cdot6)^{2}\end{array}

Multiply numbers in the second set of parentheses.

52(0.56)252(3)2\begin{array}{c}5–2(0.5\cdot6)^{2}\\5–2(3)^{2}\end{array}

Evaluate exponents.

52(3)2529\begin{array}{c}5–2(3)^{2}\\5–2\cdot9\end{array}

Multiply.

529518\begin{array}{c}5–2\cdot9\\5–18\end{array}

Subtract.

518=135–18=−13

Answer

(1.5+3.5)2(0.56)2=13(1.5+3.5)–2(0.5\cdot6)^{2}=−13

b) Simplify (12)2+(14)332 {{\left( \frac{1}{2} \right)}^{2}}+{{\left( \frac{1}{4} \right)}^{3}}\cdot \,32.

Use the box below to write down a few thoughts about how you would simplify this expression with fractions and grouping symbols. [practice-area rows="2"][/practice-area]

Answer: This problem has exponents, multiplication, and addition in it, as well as fractions instead of integers. According to the order of operations, simplify the terms with the exponents first, then multiply, then add.

(12)2+(14)332\left(\frac{1}{2}\right)^{2}+\left(\frac{1}{4}\right)^{3}\cdot32

Evaluate: (12)2=1212=14\left(\frac{1}{2}\right)^{2}=\frac{1}{2}\cdot\frac{1}{2}=\frac{1}{4}

14+(14)332\frac{1}{4}+\left(\frac{1}{4}\right)^{3}\cdot32

Evaluate: (14)3=141414=164\left(\frac{1}{4}\right)^{3}=\frac{1}{4}\cdot\frac{1}{4}\cdot\frac{1}{4}=\frac{1}{64}

14+16432\frac{1}{4}+\frac{1}{64}\cdot32

Multiply.

14+3264 \frac{1}{4}+\frac{32}{64}

Simplify. 3264=12 \frac{32}{64}=\frac{1}{2}, so you can add 14+12 \frac{1}{4}+\frac{1}{2}.

14+12=34 \frac{1}{4}+\frac{1}{2}=\frac{3}{4}

Answer

(12)2+(14)332=34 {{\left( \frac{1}{2} \right)}^{2}}+{{\left( \frac{1}{4} \right)}^{3}}\cdot 32=\frac{3}{4}

Some people use a saying to help them remember the order of operations. This saying is called PEMDAS or “Please Excuse My Dear Aunt Sally.” The first letter of each word begins with the same letter of an arithmetic operation. Please \displaystyle \Rightarrow Parentheses (and other grouping symbols) Excuse \displaystyle \Rightarrow Exponents My Dear \displaystyle \Rightarrow Multiplication and Division (from left to right) Aunt Sally \displaystyle \Rightarrow Addition and Subtraction (from left to right) Note: Even though multiplication comes before division in the saying, division could be performed first. Which is performed first, between multiplication and division, is determined by which comes first when reading from left to right. The same is true of addition and subtraction. Don’'t let the saying confuse you about this!

Multiple Operations

Next, we will simplify mathematical expressions that contain many grouping symbols and many operations. We will also use the distributive property to break up multiplication into addition.  Additionally, you will see how to handle absolute value terms when you simplify expressions.

Example

Simplify 5[3+(2(6))]32+2\Large\frac{5-[3+(2\cdot (-6))]}{{{3}^{2}}+2}

Answer: This problem has brackets, parentheses, fractions, exponents, multiplication, subtraction, and addition in it. Grouping symbols are handled first. The parentheses around the 6-6 aren’t a grouping symbol; they are simply making it clear that the negative sign belongs to the 6. Start with the innermost set of parentheses that are a grouping symbol. In this example, the innermost set of parentheses would be in the numerator of the fraction, (2(6))(2\cdot(−6)). Begin working out from there. (The fraction line acts as a type of grouping symbol, too; you simplify the numerator and denominator independently, and then divide the numerator by the denominator at the end.)

5[3+(2(6))]32+25[3+(12)]32+2\Large\begin{array}{c}\frac{5-\left[3+\left(2\cdot\left(-6\right)\right)\right]}{3^{2}+2}\\\\\frac{5-\left[3+\left(-12\right)\right]}{3^{2}+2}\end{array}

Add 33 and 12-12, which are in brackets, to get 9-9.

5[3+(12)]32+25[9]32+2\Large\begin{array}{c}\frac{5-\left[3+\left(-12\right)\right]}{3^{2}+2}\\\\\frac{5-\left[-9\right]}{3^{2}+2}\end{array}

Subtract 5[9]=5+9=145–\left[−9\right]=5+9=14.

5[9]32+21432+2\Large\begin{array}{c}\frac{5-\left[-9\right]}{3^{2}+2}\\\\\frac{14}{3^{2}+2}\end{array}

The top of the fraction is all set, but the bottom (denominator) has remained untouched. Apply the order of operations to that as well. Begin by evaluating 32=93^{2}=9.

1432+2149+2\Large\begin{array}{c}\frac{14}{3^{2}+2}\\\\\frac{14}{9+2}\end{array}

Now add. 9+2=119+2=11.

149+21411\Large\begin{array}{c}\frac{14}{9+2}\\\\\frac{14}{11}\end{array}

Answer

5[3+(2(6))]32+2=1411\Large\frac{5-\left[3+\left(2\cdot\left(-6\right)\right)\right]}{3^{2}+2}=\frac{14}{11}

The video that follows contains an example similar to the written one above. Note how the numerator and denominator of the fraction are simplified separately. https://youtu.be/xIJLq54jM44

The Distributive Property

Parentheses are used to group, or combine expressions and terms in mathematics.  You may see them used when you are working with formulas, and when you are translating a real situation into a mathematical problem so you can find a quantitative solution.
Combo Meal Distributive Property Combo Meal Distributive Property
For example, you are on your way to hang out with your friends, and call them to ask if they want something from your favorite drive-through.  Three people want the same combo meal of 2 tacos and one drink.  You can use the distributive property to find out how many total tacos and how many total drinks you should take to them.

   3(2 tacos +1 drink)=32 tacos +3 drinks   =6 tacos +3 drinks \begin{array}{c}\,\,\,3\left(2\text{ tacos }+ 1 \text{ drink}\right)\\=3\cdot{2}\text{ tacos }+3\text{ drinks }\\\,\,=6\text{ tacos }+3\text{ drinks }\end{array}

The distributive property allows us to explicitly describe a total that is a result of a group of groups. In the case of the combo meals, we have three groups of ( two tacos plus one drink). The following definition describes how to use the distributive property in general terms.

The Distributive Property of Multiplication

For all real numbers a, b, and ca(b+c)=ab+aca(b+c)=ab+ac. What this means is that when a number multiplies an expression inside parentheses, you can distribute the multiplication to each term of the expression individually.
To simplify  3(3+y)y+93\left(3+y\right)-y+9, it may help to see the expression translated into words:

multiply three by (the sum of three and y), then subtract y, then add 9

To multiply three by the sum of three and y, you use the distributive property -

         3(3+y)y+9         =33+3yy+9=9+3yy+9\begin{array}{c}\,\,\,\,\,\,\,\,\,3\left(3+y\right)-y+9\\\,\,\,\,\,\,\,\,\,=\underbrace{3\cdot{3}}+\underbrace{3\cdot{y}}-y+9\\=9+3y-y+9\end{array}

Now you can subtract y from 3y and add 9 to 9.

9+3yy+9=18+2y\begin{array}{c}9+3y-y+9\\=18+2y\end{array}

The next example shows how to use the distributive property when one of the terms involved is negative.

Example

Simplify a+2(5b)+3(a+4)a+2\left(5-b\right)+3\left(a+4\right)

Answer: This expression has two sets of parentheses with variables locked up in them.  We will use the distributive property to remove the parentheses.

a+2(5b)+3(a+4)=a+252b+3a+34\begin{array}{c}a+2\left(5-b\right)+3\left(a+4\right)\\=a+2\cdot{5}-2\cdot{b}+3\cdot{a}+3\cdot{4}\end{array}

Note how we placed the negative sign that was on b in front of the 2 when we applied the distributive property. When you multiply a negative by a positive the result is negative, so 2b=2b2\cdot{-b}=-2b.  It is important to be careful with negative signs when you are using the distributive property.

a+252b+3a+34=a+102b+3a+12=4a+222b\begin{array}{c}a+2\cdot{5}-2\cdot{b}+3\cdot{a}+3\cdot{4}\\=a+10-2b+3a+12\\=4a+22-2b\end{array}

We combined all the terms we could to get our final result.

Answer

a+2(5b)+3(a+4)=4a+222ba+2\left(5-b\right)+3\left(a+4\right)=4a+22-2b

https://youtu.be/STfLvYhDhwk

Summary

The order of operations gives us a consistent sequence to use in computation. Without the order of operations, you could come up with different answers to the same computation problem. (Some of the early calculators, and some inexpensive ones, do NOT use the order of operations. In order to use these calculators, the user has to input the numbers in the correct order.)

Licenses & Attributions