Maeckes logo

<    1    >


Order of operations

Mathematical operations follow rules of precedence, that is

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.

 


Example 1

The rules force a particular syntax, such as in

6 + 3 × 5  = 21

and so it is not

        

Sometimes it has advantages to use parentheses, 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 parentheses must be solved from inside to outside, so

 


History

Nothing is said about the use of parentheses, which play a special role.


Deutsch   Español   Français   Nederlands   中文   Русский