The Standard Order of Operations
The order of operations, or precedence, used throughout mathematics, science, technology and many computer programming languages is expressed here:
- terms inside parentheses or brackets
- exponents and roots
- multiplication and division
- addition and subtraction
This means that if a mathematical expression is preceded by one operator and followed by another, the operator higher on the list should be applied first. The commutative and associative laws of addition and multiplication allow terms to be added in any order and factors to be multiplied in any order, but mixed operations must obey the standard order of operations.
It is helpful to treat division as multiplication by the reciprocal (multiplicative inverse) and subtraction as addition of the opposite (additive inverse). Thus 3/4 = 3 ÷ 4 = 3 • ¼; in other words the quotient of 3 and 4 equals the product of 3 and ¼. Also 3 − 4 = 3 + (−4); in other words the difference of 3 and 4 equals the sum of positive three and negative four. With this understanding, we can think of 1 − 3 + 7 as the sum of 1, negative 3, and 7, and add in any order: (1 − 3) + 7 = −2 + 7 = 5 and in reverse order (7 − 3) + 1 = 4 + 1 = 5. The important thing is to keep the negative sign with the 3.
The root symbol, √, requires a symbol of grouping around the radicand. The usual symbol of grouping is a bar (called vinculum) over the radicand. Other functions use parentheses around the input to avoid ambiguity. The parentheses are sometimes omitted if the input is a monomial. Thus, sin x = sin(x), but sin x + y = sin(x) + y, because x + y is not a monomial. Calculators usually require parentheses around all function inputs.
Stacked exponents are applied from the top down.
Symbols of grouping can be used to override the usual order of operations. Grouped symbols can be treated as a single expression. Symbols of grouping can be removed using the associative and distributive laws.
Read more about this topic: Order Of Operations
Famous quotes containing the words standard, order and/or operations:
“A disposition to preserve, and an ability to improve, taken together, would be my standard of a statesman.”
—Edmund Burke (17291797)
“Perchance not he but Nature ailed,
The world and not the infant failed.
It was not ripe yet to sustain
A genius of so fine a strain,
Who gazed upon the sun and moon
As if he came unto his own,
And, pregnant with his grander thought,
Brought the old order into doubt.”
—Ralph Waldo Emerson (18031882)
“There is a patent office at the seat of government of the universe, whose managers are as much interested in the dispersion of seeds as anybody at Washington can be, and their operations are infinitely more extensive and regular.”
—Henry David Thoreau (18171862)