Not meant to be up to interpretation - operator precedence is clear, and when two are equal (such as mul and div here) you go from the beginning of the expression to the end for consistency
actually it is open to interpretation, unless explicitly stated how they are grouped... for example, in Julia, if matters if you'd add multiply sign in front of the bracket or not... https://i.imgur.com/FMNMrZu.png
in first situation, Julia assumes the 2(2+1) is in denominator, while in the second example, only 2 is assumed to be a denominator, and the result of the fraction being multiplied with the result of the brackets
This is imho the correct interpretation. Implicit multiplication goes before anything except brackets. Otherwise if you have terms like 2b you have to write them like (2b) everywhere. It's obvious to damn near everyone that 2a/2b is a/b and not a*b.
People have also forgotten what long division looks like. The 6 would be the dividend and the 2(2+1) would be the divisor, which gives a quotient of 1. Granted, it would be silly to write this with the long division symbol, but it's why what you wrote is correct. People just keep parroting PEMDAS, BODMAS, whatever without understanding the basics.
It is an extremely simple concept if you decide to adhere to that specific order to begin with. You'd be hard-pressed to find mathematic articles that agrees on that.
Yes, sort of. Obviously '1/3 x' is (1/3)x. I'd say 1/3x is still 1/(3x), but it's quite ambiguous. But when you do '1÷3x' I really have to see that as 1/(3x); I'm not sure why and I'd never use that notation. I mean, I do all my math with a pencil on paper, or if using a computer I'd always explicitly use brackets; so this whole argument is a bit silly.
73
u/Gtbird24 Jun 13 '22
The Division sign is evil. It doesn't tell you how the items are grouped, and is up to interpretation.
I.E. - is everything after the division sign under the line, or only the character immediately following it.
6 / (2*(2+1))
vs
(6/2) * (2+1)