Some people insist there’s no “correct” order for the basic arithmetic operations.
And those people are wrong
And worse, some people insist the correct order is parenthesis first, then left to right
As per Maths textbooks
Both of those sets of people are wrong
All Maths textbooks are wrong?? 😂
MotoAsh@piefed.social 3 weeks ago
Hopefully you can see where their confusion might come from, though. PEMDAS is more P-E-MD-AS. If you have a bunch of unparenthesized addition and subtraction, left to right is correct. A lot of like, firstgrader math problems are just basic problems that are usually left to right (but should have some extras to highlight PEMDAS somewhere I’d hope).
So they’re mostly telling you they only remember as much math as a small child that flunked.
SmartmanApps@programming.dev 5 days ago
You can do addition and subtraction in any order and it’s still correct
SpaceCadet@feddit.nl 3 weeks ago
If you have a bunch of unparenthesized addition and subtraction, left to right doesn’t matter.
1 + 2 - 3 = 1 - 3 + 2 = -3 + 2 + 1
MotoAsh@piefed.social 3 weeks ago
True, but as with many things, something has to be the rule for processing it. For many teachers as I’ve heard, order of appearance is ‘the rule’ when commutative properties apply. … at least until algebra demands simplification, but that’s a different topic.
SmartmanApps@programming.dev 5 days ago
That’s because students often make mistakes with signs when they do it in a different order, so we tell them to stick to left to right
SpaceCadet@feddit.nl 3 weeks ago
Well the rule is: any order goes. Summation is commutative.
kuberoot@discuss.tchncs.de 3 weeks ago
Right, because 1-2-3=3-2-1.
SmartmanApps@programming.dev 5 days ago
No, 1-2-3=-3-2+1. You changed the signs on the 1 and the 3.
howrar@lemmy.ca 3 weeks ago
You flipped the sign on the 3 and 1.
Feathercrown@lemmy.world 3 weeks ago
PE(MD)(AS)
Now just remember to account for those parentheses first…
SmartmanApps@programming.dev 5 days ago
Those Brackets don’t matter. I don’t know why people insist it does
Feathercrown@lemmy.world 4 days ago
They do, it’s grouping those operations to say that they have the same precedence. Without them it implies you always do addition before subtraction, for example.
orbitz@lemmy.ca 3 weeks ago
Huh I just remembered the orders of arithmetic but parentheses trump all so do them first (I use them in even the calculator app). Mean I assume that’s that that says but never learned that acronym is all. Now figuring out categories of words;really does my noodle in sometimes. Cause some words can be either depending on context. Math when it’s written out has (mostly) the same answer. I say mostly because somewhere in the back of my brain there are some scenarios where something more complicated than straight arithmetic can come out oddly but written as such should come out the same.