The mnemonic device PEMDAS and BODMAS are used to remember the order of operations for elementary functions in mathematics.
PEMDAS stands for:
- Parenthesis
- Exponentiation
- Multiplication
- Division
- Addition
- Subtraction
BODMAS stands for:
- Brackets
- Orders (Exponents)
- Division
- Multiplication
- Addition
- Subtraction
Because [multiplication and division] and [addition and subtraction] are commutative sets (meaning they can be done in any order), some teachers encourage the acronym to be written as such:
P
E
MD
AS
Phrases
There exist some common phrases used to help remember order of operations:
- Please Excuse My Dear Aunt Sally
- Purple Elephants Might Destroy A School
Examples
Lets look at some examples of how an order of operations acronym is used with the following example:
If we were to blindly execute these operations from left to right (ignoring parenthesis), we would get the incorrect answer of 24 (or possibly ). Let us again calculate this expression by following the steps of PEMDAS.
-
Parenthesis, execute all steps inside parenthesis
-
Exponentiation, evaluate all exponents
-
Multiply & Divide
-
Add & Subtract
When solving an expression with PEMDAS it is important to recognise that the first P (or B in BODMAS) is recursive, meaning that when you solve an expression inside of brackets that you must continue to apply the PEMDAS order of operations.
Incorrect, does not follow recursive order of operations:
Correct, follows recursive order of operations: