< 1 >
Operation sequence
Mathematical operations must be performed in a fixed order, that is
- 1. Exponentiation and taking roots
- 2. Multiply and divide
- 3. Add and subtract
A calculator also works according to these rules.
Explanation
The rules have been laid down by mathematicians to avoid confusion. They have no special meaning, but are well choosen. And you have to stick to them if you want to join the rest of the world.
HistoryNothing is said about the use of brackets, which play a special role.
|
Example 1
The rules force a particular syntax, such as in
and so it is not
Sometimes it has advantages to use brackets, if only for readability, because at
all is clear.
Example 2
In the calculation of
you must first perform the exponentiation, and only then take the square root. Thus
is completely wrong. The brackets must be solved from inside to outside, so