An expression is a set of instructions with a definite structure. Order-of-operations errors usually come from misreading that structure: squaring the wrong quantity, dividing by only part of a denominator, or subtracting only one term of a group.
Identify the outer operation
Before evaluating, ask what operation joins the largest pieces. In the outer operation is subtraction: subtract a product from 7. Inside the product is a square; inside the square is a sum.
Work outward from the smallest group: then This way of reading an expression also prepares you for algebra, where you may need to rearrange it without assigning numerical values.
The standard hierarchy is grouping, exponents, multiplication and division, then addition and subtraction. Multiplication and division share a level, as do addition and subtraction. At a shared level, evaluate from left to right unless you deliberately rewrite the expression using a valid property.
Example: preserve the numerator and denominator
Evaluate
The numerator and denominator are separate groups. In the numerator, then so In the denominator, so The value of the fraction is therefore
A calculator entry needs the same grouping: the full numerator divided by the full denominator. Omitting parentheses around the denominator can make a device divide by 4 and then add 8, which is a different computation.
A denominator must also be nonzero. The expression has no real value; it is not zero. Correct operation order can expose an undefined expression, and an undefined intermediate quantity cannot be repaired by a later multiplication by zero.
A negative sign has a scope
In the power applies to 5 and the leading minus negates the result: In the base includes the negative sign, giving 25. In the odd number of negative factors gives
Substitution makes this distinction especially important. If then becomes Writing would change the first term.
Likewise, a minus in front of a group negates every term: Think of multiplying the entire group by This prevents the common error of changing the sign of a but leaving the second subtraction unchanged.
Example: simplify strategically without changing meaning
Evaluate
The division and multiplication are at the same level, so Inside the parentheses, and The final expression is
Notice that would be a different first term. The expression did not group the divisor that way. Avoid compressed slash notation when a denominator contains multiple factors; a fraction bar or explicit parentheses makes the intended grouping clear.
You can also distribute in the second term: Adding that to 16 again gives 25. A second valid representation can check your calculation.
Roots and absolute values group their contents
In the square-root bar includes the sum, so the value is 5. In calculate the difference first and then take its distance from zero, giving 5.
These are not invitations to apply the outer operation separately to each term. In general, does not equal and does not equal Use small numerical examples to check a proposed shortcut before trusting it.
Try it yourself
For evaluate Explain why the expression is defined.
Answer: The numerator is and the denominator is which is nonzero. The fraction equals 2. Also, so the result is
What to remember
Read grouping before calculating. Preserve the complete base of a power, numerator, denominator, and absolute-value input. Use equivalent rewritings only when a valid arithmetic property justifies them.