Order of operations
- Parentheses -- when there are multiple operations and parentheses within the parentheses, treat the section inside as a separate expression and do the order of operations within said parentheses
- Multiplication and Division -- done from left to right
- Addition and Subtraction -- done from left to right
The order of operations is usually summarized by the acronym PEMDAS. An AoPS mnemonic you can use to remember the order of operations is "Please Evaluate, My Dear AoPS Students".
Sometimes, properties like the Communicative Property, Associative Property, and Distributive Property can be applied.
Consider the expression . First, we do addition first because it is in parentheses. Next, we evaluate because exponents go next. Afterward, there are no multiplication and division, so we can move on to addition and subtraction. Therefore, .
Consider the expression . The operations in the parentheses go first, but there are subtraction and multiplication both involved. Within the parentheses, the multiplication goes first, then the subtraction. Afterward, we do multiplication, then subtraction. Therefore, .