Lesson 6.1 · Expressions and Patterns
Order of operations
What is ? If you add first, you get 50. If you multiply first, you get 26. Both can't be right! Mathematicians agreed on one order for doing operations, so everyone gets the same answer.
The order to follow
Order of operations
- Do the work inside grouping symbols first: parentheses , brackets and braces .
- Multiply and divide, working from left to right.
- Add and subtract, working from left to right.
So means multiply first: , then .
If you really want to add first, use parentheses: . Parentheses are like a sign that says "do me first."
Left to right
Multiplication and division are partners. Neither one always goes first. You do them in the order they appear, reading left to right. Addition and subtraction work the same way.
Common mistake
Don't multiply just because "M comes before D" in a memory trick like PEMDAS. In , if you multiply first you get , which is wrong. The division is on the left, so it goes first, and the answer is 12.
Brackets and braces
Sometimes one group sits inside another. To make it easier to read, we use different symbols for each layer:
- parentheses on the inside,
- brackets around those,
- braces on the very outside.
Always start with the innermost group and work your way out, like peeling an onion from the middle.
Worked example: Multiply before you subtract
Evaluate .
There are no grouping symbols. Multiply first: .
Now add and subtract from left to right: , then .
The answer is 9.
Worked example: Parentheses inside brackets
Evaluate .
Worked example: Three layers
Evaluate .
Tip
Rewrite the whole expression after every step, doing only one step at a time. It takes a little longer, but it keeps you from skipping or mixing up operations.
Practice
Evaluate .
Type a number.
Evaluate .
Type a number.
Evaluate .
Type a number.
Evaluate .
Type a number.
Evaluate .
Type a number.
Where should the parentheses go so that equals 16?
Evaluate .
Type a number.
Evaluate .
Type a number.