Order of Operations
Why mathematics needs one fixed order of operations, and how to apply it: brackets, then exponents, then multiplication and division, then addition and subtraction.
Why mathematics needs one fixed order of operations, and how to apply it: brackets, then exponents, then multiplication and division, then addition and subtraction.
Imagine everyone worked out the same expression in a different order. The same question would produce different answers, and mathematics would stop being reliable. That is why there is a fixed order of operations — an agreed sequence that everyone follows.
Take the expression . There are two plausible readings:
Both are arithmetically sound in isolation, yet they disagree. The convention settles it: multiplication is done before addition, so the correct value is 11.
Brackets override everything else. Whatever sits inside them is settled first, and only then does the result rejoin the rest of the expression.
This is also how you force a different order deliberately: if addition really should come first, put brackets around it.
Once the brackets are cleared, evaluate any powers.
Note the second line: the bracket was resolved first, and only then was the power applied to the result.
These two share a level. Neither outranks the other, so they are carried out left to right in the order they appear.
The last level works the same way — equal rank, so left to right.
The letters in PEMDAS list M before D and A before S, but that is only for pronunciation. Within a level, position decides.
Evaluate .
Evaluate .
Each line clears exactly one level. Working this way makes an error easy to locate, because every step is small enough to check on its own.