An expression can contain several operations. We need shared rules for their order so that everyone gives the same expression the same meaning. The goal is to recognize which numbers belong together before calculating.
Some operations form tighter groups
In the multiplication describes four groups of five. Find that amount first: Then add 3 to get 23. Calculating first would change the expression into seven groups of five, which is a different instruction.
Parentheses can change the grouping. In the parentheses explicitly tell you to add first, giving Square brackets can also group operations; they work like parentheses.
Use this order:
- Work inside grouping symbols, starting with the innermost group.
- Evaluate powers, such as
- Multiply and divide, moving from left to right.
- Add and subtract, moving from left to right.
An exponent counts repeated factors. Thus means not
Example: work through nested groups
Evaluate
The parentheses are inside the brackets, so start with The expression becomes Now calculate the bracketed difference, Finally, multiply:
Writing a new expression after each step helps keep the untouched parts in place. You are simplifying one group at a time, not inventing a new order for the whole expression.
Equal priority means left to right
Multiplication does not automatically come before division. They have the same priority. In divide first because that operation appears first from the left: then
If the intended instruction were to divide by the whole product it would need grouping: Those two expressions look similar but say different things.
Addition and subtraction also have equal priority. For subtract first to obtain Adding first would incorrectly change which amount is being subtracted.
Example: include a power
Evaluate First, Next, Finally,
The exponent applies only to the 3. If you wanted to square the product you would write which equals 36. Parentheses tell you exactly what belongs to a power.
Later, when you work with negative numbers, this same care matters: while The first squares the negative number; the second takes the negative of the square of 3.
Try it yourself
Evaluate Before calculating, name the operations that must happen before the subtraction. Pause before reading on.
Answer: Evaluate the power and division first: and The expression is now Work left to right: Do not add the two 4s before subtracting.
What to remember
Grouping symbols tell you what stays together. Powers come next; multiplication and division share a level; addition and subtraction share a level. At either shared level, work from left to right.