Wikijunior:Introduction to Mathematics/Order of Operations
- Order of Operations
Evaluate the expression 3 + 4 × 5.
If you add first, it is 7 × 5 and evaluates to 35.
If you multiply first, it is 3 + 20 and evaluates to 23.
Is the first or second answer true?
With no order of operations all of the two answers are true. If an expression evaluates to more than one answer, math does not work. The order of operations says the order you do operations, so there is only one way to evaluate an expression.
You use precedence to make the order of operations. All operations have a precedence that is more, less, or the same as an other operation. You do operations with more precedence before you do operations with less precedence. You do operations with the same precedence from left to right.
This list says the order of precedence for operations. Operations at the top of the list have more precedence than operations at the bottom of the list. Operations on the same line have the same precedence.
- Brackets ( ) or [ ]
- Raise ^
- Multiply ×, Divide ÷
- Add +, Subtract -
Brackets is a special operation that has the most precedence. You use the ( and ) signs to make a separate expression from a group of numbers. You evaluate an expression in parenthesis first. You use parenthesis if you need to do an operation with less precedence first.