Main content

# Order of operations with rational numbers

Let's go deeper with the order of operations. How do negation, absolute value, reciprocals fit into the order of operations? How do other properties like the distributive property or commutative property of addition relate?

## Order of operations review

When there are lots of operations in an expression, we need to agree on which to evaluate first. That way, we will all agree that the expression has the same value. We could just use parentheses to always show what to do first, but we like to write things shorter when we can.

So instead, we agree to evaluate more powerful operations sooner. Multiplication is repeated addition, so we multiply before we add. Powers are repeated multiplication, so we take powers before we multiply.

**Grouping symbols**: We evaluate what is inside of grouping symbols first. There are lots of grouping symbols. Some common ones are parentheses, fraction bars, and absolute value symbols.**Exponents**: Next we evaluate powers. There are a couple of operations that undo exponents (it takes operations because powers are$2$ **not**commutative). They happen in this step, too.**Multiplication**: Then we multiply. Division undoes multiplication, so it happens in the same step.**Addition**: Last of all, we add. Subtraction undoes addition, so it happens in the same step.

Fun fact: There are operations that grow a number faster than exponents. One of them shows up a lot in probability.

Can you think of any operations that change a number more slowly than addition? Tell us about it in the comments.

## Exponents with negatives

How do negative signs fit in with order of operations? In the expression $-{4}^{2}$ , do we apply the negative sign or the exponent first? A negative sign means we take the opposite of a number. That's the same as multiplying the number by $-1$ . So we take the opposite in the multiplication and division step.

Let's evaluate $(-4{)}^{2}$ and $-{4}^{2}$ .

With $(-4{)}^{2}$ , we took the opposite of $4$ first, because the negative sign was inside the grouping symbols.

With $-{4}^{2}$ , we squared $4$ first, because exponents come earlier in the order operations than multiplying by $-1$ does.

## Exponents with fractions

Recall that fractions have three grouping symbols built in: the numerator, the denominator, and the entire fraction. If there are no parentheses or other grouping symbols visible, then the exponent is inside the numerator or denominator.

For example, in the expression ${\left({\displaystyle \frac{3}{2}}\right)}^{4}$ , the entire fraction is inside a grouping symbol, the parentheses. The exponent $4$ is outside the parentheses. So we are raising the entire fraction to the power of $4$ .

On the other hand, in the expression $\frac{{3}^{4}}{2}$ , the only grouping symbol is the fraction bar. The exponent $4$ is in the numerator. So we only raise the $3$ to the power of $4$ .

## Absolute value

Suppose we have the expression $4-12\cdot |-7\cdot -11-100|$ . We know we evaluate the multiplication before the subtraction, but when do we take the absolute value?

First of all, the absolute value symbols are a grouping symbol. So stuff inside the symbols happens at the same step as other grouping symbols. So first, we multiply $-7\cdot -11$ to get $77$ , then subtract $100$ to get $-23$ inside of the absolute value symbols.

Then we take the absolute value during the same step as we apply exponents.

Fun fact: There are other operations that go at this same step because they undo powers the way subtraction undoes addition.

## Add and subtract left to right?

Maybe you learned that you should evaluate addition and subtraction from left to right. That's because subtraction does not commute or associate. Luckily, we can rewrite subtraction as addition of the opposite.

Let's rewrite ${-4}+{6}{-3}+{1}$ .

Now that we're adding, we can change the order and groups!

Once we get used to thinking of subtracting as adding the opposite, we can take shortcuts. Often, people leave out the extra $+$ symbols.

Each time we reach a $+$ or $-$ that's not in a grouping symbol, it's the start of a new term. The $-$ stays with its term. Then we can commute and associate any terms we want.

## Multiply and divide left to right?

The $1$ . The great thing about reciprocals is that we can rewrite dividing by a number as multiplying by its reciprocal.

**reciprocal**of a number tells us how many groups of it we can make fromHere are a few examples.

That's great news, because we can commute and associate multiplication factors in any order.

Let's rewrite $3\xf78\cdot -24$ .

Like with adding and subtracting, sometimes we take shortcuts and move the division symbol with the implied factor.

We cannot start an expression with a $\xf7$ symbol. So if we move the division to the start of an expression or grouping symbol, then we must write it as a factor of the reciprocal.

Note, we $+$ or $-$ symbol that is not inside a grouping symbol, that's the start of a new term. For example, the expression $10\cdot 2-5$ has $2$ terms: $10\cdot 2$ and $-5$ .

**cannot**commute a factor into a different term. Whenever we see a## Grouping symbols or distributing first

Recall that the distributive property allows us to write equivalent expressions involving parentheses and multiplication. So we get the same value whether we distribute first or evaluate what's inside the parentheses first.

Let's try it out.

Now we'll distribute first.

We get the same value both ways.

Note, the distributive property does

**not**apply to all grouping symbols, just to parentheses.## Want to join the conversation?

- I found it helps when I read through the parts I don't understand a few times, and read them slowly. I try saying them out loud to find out how it makes sense.(26 votes)
`Fun fact: There are operations that grow a number faster than exponents`

It's a factorial, right?

But I can't figure out this:`Can you think of any operations that change a number more slowly than addition?`

I could make an addition very slow, like`f(x)=x+0.0001`

, but something slower than addition? Could someone point a direction, please?(5 votes)- If "slow" means very little difference, then yes, it just depends on how you utilize it. Multiplication can potentially be slower than addition.

-----

For example, if you multiply 5 with 1.0001, the product will be 5.0005, which is evidently less difference (with 0.0005) than if you added 5 and 1.0001, which would be 6.0001, which has a difference of 1.0001. When put on a graph, you can see that multiplication has the least difference when used this way. However, this only works when used in specific ways.(5 votes)

- i dont understand the fractions(6 votes)
- what does Pemdas mean(3 votes)
- Parentheses exponent multiply or divide and addition or subtraction(4 votes)

- If you're wondering about the order of operations, than you have to remember G.E.M/D.A/S to remember the orders. First, (G)roupings (which could be parenthesis, brackets or anything of that sort). Then, it's (E)xponents (the mini numbers on top righthand corner of the numbers, like 5³, which makes you do 5 ∘ 5 ∘ 5). Next, it's (M)ultiplication or (D)ivision (I recommend doing whichever is first). Lastly, it's (A)ddition or (S)ubtraction (I recommend doing whichever is first). Hope this helped.(5 votes)

- Regarding an operation that change a number more slowly than addition; if exponents grow a number faster than multiplication and addition, might taking roots change a number slower than addition?(4 votes)
- Why is the question so hard for me?(4 votes)
- About Exponents with fractions

The exponent 4 is outside the parentheses. So we are raising the entire fraction to the power of 3.←I think not 3 but 4.Is this right？？(3 votes)- if the exponent 4 is outside the parentheses you would do the exponent after you solve what is inside the parentheses.(2 votes)

- what is 9+6 to the power of two minas 2.8(4 votes)
- It is not spelled as "minas". The word is spelled "minus".(0 votes)

- I understand Order Of Operations, I just don't get the whole idea of undoing exponents?(2 votes)
- They use the concept of
**undoing operations**for the sake of explaining why they both happen in the same step. For example: when they say*Division undoes multiplication, so it happens in the same step*, the same principle can be applied to**Exponents vs. Roots**. So, if you have the root of a number and another number with an exponent, you solve both operations in the same step.(3 votes)