Order of Operations
Learning goals
- Explain why a written expression needs one agreed reading before it names a number
- Evaluate an expression in four tiers, from grouping down to addition and subtraction
- Say why ranking multiplication first lets a product be written without parentheses
- Work left to right within a tier, so is
- Settle grouping symbols from the innermost outward, and read a fraction bar as grouping
Why we need an agreed order at all
The symbols cannot settle it, so we agree on one order and everybody uses it. An agreement like that is called a convention. Nobody proved it, and a different choice would have worked just as well, as long as everyone made the same one. That is what it buys: a written line means the same thing to its writer and its reader.
The tiers, and why they are ranked this way
The agreed order sorts operations into tiers and works through the tiers from the top down. From first to last:
- Grouping. Anything inside parentheses , brackets , or braces is evaluated first, working from the innermost group outward.
- Exponents. Powers are evaluated next.
- Multiplication and division. These two share one tier and are evaluated together, left to right.
- Addition and subtraction. These also share one tier, evaluated together, left to right.
Why this ranking and not some other? Nothing in arithmetic forces it. But one choice saves far more writing than the rest, and you can see which by comparing the two readings of .
You met in an earlier lesson that multiplication is a short way of writing repeated addition, so is a short way of writing . Take the multiplication first, and the line counts three s with a lone beside them:
Take the addition first, as , and the line counts eight s with nothing standing beside them. The has stopped being a quantity of its own and has become part of how many copies there are. The two readings describe different collections, so the symbols alone cannot pick between them. Only the agreement can.
It picks the first one, and the reason is practical. The shape we write most often is a few products added together, the way a shopping bill is. Ranking multiplication above addition lets every one of those products be written bare. We get to write and never have to write . The other ranking would work perfectly well if everyone used it, but then almost every bill would need parentheses.
Exponents sit above multiplication for the same practical reason. A power is a short way of writing repeated multiplication. In the small raised counts how many copies of are multiplied together:
Read the same way. It is , not . Ranking powers above multiplication lets a power be written bare too, so means .
Grouping sits above all of them for a different reason. A pair of parentheses is the one instruction you write by hand. It says “treat what is inside me as one quantity,” and that overrides every ranking below it.
Why same-tier operations go left to right
Multiplication and division sit on the same tier, and so do addition and subtraction. When two operations from one tier appear together, the rule is to work strictly left to right. Without a rule of that kind, some chains of subtractions would give different values depending on how a reader grouped them.
Why a left-to-right convention is needed for #
Unlike addition, subtraction cares how you group it: the grouping changes the answer. Take and group it the two ways:
The two groupings give and , which are different numbers. So the symbols on their own do not pick a value here, and the agreed reading has to. That reading is left to right, so each operation acts on the running total built so far. Take , subtract to get the running total , then subtract from that to land on .
The same reading settles a mixed line like . Left to right, subtract first to get the running total , then add for . Reading it as adds a pair of parentheses the expression never wrote. The agreed reading exists so that nobody gets to add them.
The same reasoning settles division. The expression means , not . Read same-tier operations strictly from left to right, and you will never have to guess.
Check your understanding
Evaluate .
Multiplication is on a higher tier than addition, so it goes first.
Adding first would give the incorrect , because it would treat as one quantity that the expression never grouped.
Check your understanding
Evaluate .
Subtraction shares a tier with itself, so work left to right.
Doing first would wrongly give , which silently groups the last two numbers.
What a grouping symbol actually tells you
Grouping symbols are the one place where you, the writer, get to override the ranking of the tiers. A pair of parentheses says “treat everything inside me as one quantity, and settle it before any operation outside is allowed to use it.”
A grouping symbol does not mean “do everything inside first, then ignore the order of operations for the rest of the expression.” Once a group is settled down to a single number, the operations outside it still obey the same tiers as always. Look at . The parentheses tell you to settle first, and that group then becomes the single number . But from that moment the rest of the line is back to ordinary rules, so the multiplication still happens before the addition.
Worked example 1 Evaluate , one operation per line
Settle the group first, then return to the normal tiers for what remains. Take one step at a time:
The group is now the single number . It does not get to “go first” again; the leftover expression is just , where multiplication outranks addition:
So the value is . The mistake to avoid is finishing the parentheses and then sweeping left to right, then . The parentheses gave the subtraction an early turn; they did not switch off the tiers for everything else.
When you do want an operation like addition to happen before a multiplication, parentheses are exactly the tool. Writing forces the sum first and gives , a different number from the un-grouped . Grouping is how you bend the order on purpose.
Nested groups: innermost first
When a group sits inside another group, settle the innermost one first and work outward. Brackets and braces behave exactly like parentheses; the different shapes are only there to make each matching pair easy to spot at a glance.
Worked example 2 Evaluate , one operation per line
Start at the innermost group. Even inside parentheses the tiers still apply, so the multiplication goes before the subtraction:
Finish the inner group:
Now settle the outer bracket:
Working from the inside out keeps you from ever holding more than one small step in your head at a time.
The fraction bar is an invisible grouping symbol
A horizontal fraction bar quietly groups everything above it and everything below it, as though the numerator and the denominator each wore their own parentheses. You evaluate the entire top and the entire bottom first, then divide. This is why writing a quotient as a stacked fraction is so much safer than squeezing it onto one line.
Written on one line, that fraction is , with both pairs of parentheses put in by hand. It is not , which comes to under the tiers. Dropping the parentheses changes which numbers are divided, and that is what changes the value from to . Whenever a stacked fraction has to go onto one line, write those parentheses in.
Worked example 3 Evaluate , one operation per line
The bar groups the numerator and the denominator separately, so settle each fully before dividing. Inside the numerator the exponent goes first:
Finish the numerator:
Finish the denominator:
Both are single numbers now, so the bar can act as a division:
So the value is . The sits outside the fraction, so it is never part of the numerator.
Check your understanding
Evaluate .
Multiplication and division share one tier, so work left to right.
Doing first would wrongly give . Division does not have to wait for the multiplication.
Check your understanding
Evaluate .
Settle the group, then return to the normal tiers; the group does not cancel them.
Finishing the parentheses and then sweeping left to right, then , ignores that multiplication still outranks subtraction.
A larger expression, start to finish
The reliable habit is to scan the whole expression, find the highest tier present, do one operation from it, rewrite the line, and repeat. Writing one step at a time makes each step easier to check.
Worked example 4 Evaluate , one operation per line
The highest tier present is exponents, so square the first:
Multiplication is now the highest tier, so do it next:
Only addition and subtraction remain. They share a tier, so go left to right:
So . Notice the addition and subtraction genuinely waited their turn behind the exponent and the multiplication, then ran in reading order.
Check your understanding
A student evaluated as . What is the correct value?
Multiplication is on a higher tier than subtraction, so it goes first.
The student subtracted first and then multiplied by , sweeping left to right across two different tiers.
Common mistakes
You can now read any grouped calculation and get the one value it names. The last lesson of the chapter asks a different question about that same expression. When a number multiplies a group, the calculation can be rewritten in a second form entirely, and the value stays put.