# Real Number Systems and Number Theory

## Order of Operations

After completing this module, you should be able to:
1. Simplify expressions using order of operations.
2. Simplify expressions using order of operations involving grouping symbols.
Calculates else sure someone be rules expect explicit we what that needs to need make, we to that them what be calculate to calculated first.
You probably read that sentence and couldn't make heads or tails of it. Seems like it might concern calculations, but maybe it concerns needs? You may even be attempting to unscramble the sentence as you read it, placing words in the order you might expect them to appear in. The reason that the sentence makes no sense is that the words don't follow the order you expect them to follow. Unscrambled, the sentence was intended to be “To be sure that someone else calculates when we expect them to calculate, we need rules that make explicit what needs to be calculated first.”
Similarly, when working with math expressions and equations, if we don't follow the rules for order of operations, arithmetic expressions make no sense. Just a simple expression would be problematic if we didn't have some rules to tell us what to calculate first. For instance,  can be calculated in many ways. You could get 5,184. Or, you could get 80. Or, 96. The issue is that without following a set of rules for calculation, the same expression will give various results. In case you are curious, using the appropriate order of operations, we find .

### Simplify Expressions Using Order of Operations

The order in which mathematical operations is performed is a convention that makes it easier for anyone to correctly calculate. They follow the acronym EMDAS:
So, what does EMDAS tell us to do? In an equation, moving left to right, we begin by calculating all the exponents first. Once the exponents have been calculated, we again move left to right, calculating the multiplications and divisions, one at a time. Multiplication and division hold the same position in the ordering, so when you encounter one or the other at this step, do it. Once the multiplications and divisions have been calculated, we again move left to right, calculating the additions and subtractions, one at a time. Additions and subtractions hold the same position in the ordering, so when you encounter one or the other at this step, do it. (You may have previously learned the order of operations as PEMDAS, with parentheses first; we will add that aspect later on.) We’ll explore this as we work an example.
Even if the expression being calculated gets more complicated, we perform the operations in the order: EMDAS.

###  Using the Order of Operations Involving Grouping Symbols

We have examined how to use the order of operations, denoted by EMDAS, to correctly calculate expressions. However, there may be expressions where a multiplication should happen before an exponent, or a subtraction before a division. To indicate an operation should be performed out of order, the operation is placed inside parentheses. When parentheses are present, the operations inside the parentheses are performed first. Adding the parentheses to our list, we now have PEMDAS, as shown below.
As said previously, parentheses indicate that some operation or operations will be performed outside the standard order of operation rules. For instance, perhaps you want to multiply 4 and 7 before squaring. To indicate that the multiplication happens before the exponent, the multiplication is placed inside parentheses: .
This means operations inside the parentheses take precedence, or happen before other operations. Now, the first step in calculating arithmetic expressions using the order of operations is to perform operations inside parentheses first. Inside the parentheses, you follow the order of operation rules EMDAS.
Be aware that there can be more than one set of parentheses, and parentheses within parentheses. When one set of parentheses is inside another set, do the innermost set first, and then work outward.

### Check Your Understanding


### Key Terms

1. order of operations
2. PEMDAS

### Key Concepts

1. Establishing shared rules on which arithmetic operations are calculated first is necessary. Without them, different people may find different values for the same expression.
2. The highest precedence is with expressions in parentheses. This allows parts of an expression to be calculated in an order different than the basic order of operations.
3. The lowest precedence is addition and subtraction, as they are the basis for all other calculations.
4. Multiplication and division have precedence over addition and subtraction, as they are representations of repeated addition or subtraction.
5. Exponents have precedence over multiplication and division, as they represent repeated multiplication and division.

### Videos

1. Order of Operations 1
2. Order of Operations 2
3. Order of Operations 3
4. Order of Operations 4