Order of operations: Difference between revisions
From Why start at x, y, z
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
\( 8 \div 2(1+3) = 16 \) or \( 1 \) | \( 8 \div 2(1+3) = 16 \) or \( 1 \) | ||
[[Category:Ambiguities]] |
Revision as of 10:06, 30 June 2021
There are quite a few mnemonics for the order of operations. A common one in the UK is BODMAS:
- Brackets
- Orders
- Division
- Multiplication
- Addition
- Subtraction
Elsewhere, PEMDAS is popular.
But division and multiplication have equal precedence, and so do addition and subtraction. A common convention is that operations with equal precedence are evaluated from left to right.
This leads to all sorts of misunderstandings.
\( 8 \div 2(1+3) = 16 \) or \( 1 \)