6 + 4 / 2 is 8 instead of 5?
The fundamental property of Maths that you have to solve binary operators before unary operators or you end up with wrong answers.
Comment on A fake Facebook event disguised as a math problem has been one of its top posts for 6 months
AbidanYre@lemmy.world 1 month agoWhat fundamental property of the universe says that
6 + 4 / 2 is 8 instead of 5?
6 + 4 / 2 is 8 instead of 5?
The fundamental property of Maths that you have to solve binary operators before unary operators or you end up with wrong answers.
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.
But +, -, *, and / are all binary operators?
No, only multiply and divide are. 2+3 is really +2+3, but we don’t write the first plus usually.
As far as I know, the only reason multiplication and division come first is that we’ve all agreed to it.
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.
barsoap@lemm.ee 1 month ago
Nothing. And that’s why people don’t write equations like that: You either see
or
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
or6 + (4/2)
or6 + ⁴⁄₂
or even0.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 3 weeks ago
Says someone who clearly hasn’t looked in any Maths textbooks
Only if their Maths was very poor. #MathsIsNeverAmbiguous
Yes they did.
It was never ambiguous to begin with.
Says someone who has never looked in a non-U.S. Maths textbook - BIDMAS, BODMAS, BEDMAS, all textbooks have one variation or another.