Nothing. And that’s why people don’t write equations like that: You either see
4 6 + --- 2
or
6 + 4 ------- 2
If you wrote 6 + 4 / 2 in a paper you’d get reviewers complaining that it’s ambiguous, if you want it to be on one line write (6+4) / 2 or 6 + (4/2) or 6 + ⁴⁄₂ or even 0.5 (6 + 2) Working mathematicians never came up with PEMDAS, which disambiguates it without parenthesis, US teachers did. Noone else does it that way because it does not, in the slightest, aid readability.
SmartmanApps@programming.dev 9 months ago
The fundamental property of Maths that you have to solve binary operators before unary operators or you end up with wrong answers.
AbidanYre@lemmy.world 9 months ago
But +, -, *, and / are all binary operators?
As far as I know, the only reason multiplication and division come first is that we’ve all agreed to it. But it can’t be derived in a vacuum as he contends it should be.
SmartmanApps@programming.dev 9 months ago
No, only multiply and divide are. 2+3 is really +2+3, but we don’t write the first plus usually.
No, they come first because you get wrong answers if you don’t do them first. e.g. 2+3x4=14, not 20. All the rules of Maths exist to make sure you get correct answers. Multiplication is defined as repeated addition - 3x4=3+3+3+3 - hence wrong answers if you do the addition first (just changed the multiplicand, and hence the answer). Ditto for exponents, which are defined as repeated multiplication, a^2=(axa). Order of operations is the process of reducing everything down to adds and subtracts on a number line.
AbidanYre@lemmy.world 9 months ago
Typical examples of binary operations are the addition ( + {\displaystyle +}) and multiplication ( × {\displaystyle \times }) of numbers and matrices