Basic Algebra/Introduction to Basic Algebra Ideas/Order of Operations< Basic Algebra
- Order of Operations
- The order of operations is the rule at which you apply operations within a mathematical formula. There are two common mnemonics.
In mathematics, we use BODMAS:
- Orders (e.g. exponents)
In the United States, you may also see PEMDAS:
Other variations exist, but the rules for order of operations remain the same.
Evaluate the expression .
If you add first, it is and evaluates to 35.
If you multiply first, it is and evaluates to 23.
Is the first or second answer correct?
With no order of operations, both answers would be expected, but if an expression evaluates to more than one answer, math becomes ambiguous and does not work. For math to work there is only one order of operations to evaluate a mathematical expression.
The order of operations is Parenthesis, Exponents, Multiplication and Division (from left to right), Addition and Subtraction (from left to right). This can be remembered in two ways: "Please Excuse My Dear Aunt Sally" or PEMDAS.
Please note that for Multiplication and Division and Addition and Subtraction you do which ever one comes first going from left to right and that is why both PEMDAS and BODMAS work. The following list from top to bottom is the order of operations in Algebra. Operations at the top of the list are completed first, operations on the same line are completed from left to right.
- Parenthesis ( )
- Exponent ^
- Multiply , Divide
- Add , Subtract
Parenthesis is a special operation that has the most precedence. You use the ( and ) signs to make a separate expression from a group of terms. You evaluate an expression in parenthesis first. You use parenthesis if you need to do an operation with less precedence first. If the term in Parenthesis is juxtaposed to a variable with no multiplication, then the variable and Parenthesis is ONE TERM. (example: is ONE TERM so if , then is ONE TERM and takes precedence in the Order of Operations)
Let's evaluate these expressions.
Back to the first problem: Evaluate the expression .
There is only one answer, 23, because we multiply first.
If we want to add first, we can use parentheses.
If we write , then we add first, and get 35.