Order of operations refers to the conventional order in which mathematical operations must be completed. In general, the rules for order of operations require that we perform operations in the following order:
1) anything in parentheses, then
2) exponents, then
3) multiplication and division, in order from left to right, and then
4) addition and subtraction, in order from left to right.
There are two common mnemonic devices for remembering the correct order of operations. However, it is important to remember when using these that the true order of operations is defined above, and, in particular, that order of operations makes no distinction between multiplication and division (or addition and subtraction) when ordering.
PEMDAS or "Please Excuse My Dear Aunt Sally":
- Orders (exponents and radicals)
Note that naively treating either of these can result in errors, as both addition/subtraction and multiplication/division should be grouped and evaluated from left to right. More accurate mnemonics might be PE(MD)(AS) and BO(DM)(AS).
One requirement is that we perform multiplication before addition. For example, in the expression , we would obtain the answer if we begin by adding 2 and 3, but we get if we multiply first. Since it is important that everyone interprets the expression in the same way, we simply define the correct order to be the one in which multiplication is performed first. Thus, .
What is ?
Following the correct order of operations, we see that we must evaluate and before we do any addition.
Thus the correct answer is .
If we were carelessly following PEMDAS, the answer would be to perform the muliplication first, giving us . However, this is incorrect.
We make no distinction between multiplication and division, and instead complete them from left-to-right. This gives
We must evaluate any exponents before we add, subtract, multiply or divide. For example, in the expression , we could obtain a variety of different answers if we changed the order of operations.
If we simply evaluated from left to right, we we obtain the following: . However, this is incorrect.
The correct ordering requires the evaluation of exponents first, which gives the following: , which is now correct.
What is ?
Following the correct order of operations, we see that we must evaluate the exponents first. This gives
In many cases, it is necessary or convenient to manually designate which operations should occur first. Although in general we evaluate 1) exponents, then 2) multiplication and division, and finally 3) addition and subtraction, we can designate groups of operations to happen before those by surrounding them with parentheses.
We would normally evaluate like this: . However, by adding parentheses, we can designate other operations to occur first:
Now, starting with the innermost set of parentheses and working out, we have
What is ?
Following the correct order of operations, we have the following:
What is ?
The parentheses tell us that we must evaluate the expression first and then square it. We must also be sure to evaluate the before adding.
Thus we have
A word problem is a mathematical exercise where significant background information on the problem is presented as text rather than in mathematical notation. Word problems can also be called story problems.