Because people never use that after they learn fractions,
Yes they do, because not every division is a fraction
Comment on I dunno
JackbyDev@programming.dev 1 month agoThey did the joke wrong. To do it right you need to use the ÷ symbol. Because people never use that after they learn fraction, people treat things like a + b ÷ c + d as
a + b ----- c + d
Or (a + b) ÷ (c + d) when they should be treating it as a + (b ÷ c) + d.
That’s the most common one of these “troll.math” tricks. Because notating as
a + b + d - c
Is much more common and useful. Do people get used to grouping everything around the division operator as if they’re in parentheses.
Because people never use that after they learn fractions,
Yes they do, because not every division is a fraction
I already said he was wrong about that. Quoting him saying it doesn’t change that he’s wrong about it
Treat a + b/c + d as a + b/(c + d) I can almost understand, I was guilty of doing that in school with multiplication, but auto-parenthesising the first part is really crazy take, imo
Treat a + b/c + d as a + b/(c + d)
No don’t. That rule was changed more than 130 years ago. a+b/c+d=a+(b/c)+d, Division before Addition
That’s a really odd way to parse it.
a + b ----- c + b
CannonFodder@lemmy.world 1 month ago
Or
12 / 2(6) And trying to argue this is 36.
JackbyDev@programming.dev 1 month ago
Now that’s a good troll math thing because it gets really deep into the weeds of mathematical notation. There isn’t one true order of operations that is objectively correct, and in top of that, that’s hardly the way most people would write that. As in, if you wrote that by hand, you wouldn’t use the
/symbol. You’d either use ÷ or a proper fraction.It’s a good candidate for nerd sniping.
Personally, I’d call that 36 as written given the context you’re saying it in, instead of calling it 1. But I’d say it’s ambiguous and you should notate in a way to avoid ambiguities. Especially if you’re in the camp of multiplication like
a(b)being different fromaband/ora × b.SmartmanApps@programming.dev 5 weeks ago
Yes there is, as found in Maths textbooks the world over
Maths textbooks write it that way
Yes you would.
Same same
Here’s one I prepared earlier to save you the trouble
And you’d be wrong
The context is Maths, you have to obey the rules of Maths. a(b+c)=(ab+ac), 5(8-5)=(5x8-5x5).
And you’d be wrong about that too
It already is notated in a way that avoids all ambiguities!
That’s not Multiplication, it’s Distribution, a(b+c)=(ab+ac), a(b)=(axb).
Nope, that’s exactly the same, ab=(axb) by definition
(axb) is most certainly different to axb. 1/ab=1/(axb), 1/axb=b/a
JackbyDev@programming.dev 5 weeks ago
Please read this section of Wikipedia which talks about these topics better than I could. It shows that there is ambiguity in the order of operations and that for especially niche cases there is not a universally accepted order of operations when dealing with mixed division and multiplication. It addresses everything you’ve mentioned.
en.wikipedia.org/wiki/Order_of_operations#Mixed_d…
Feathercrown@lemmy.world 1 month ago
The P in PEMDAS means to solve everything within parentheses first; there is no “distribution” step or rule that says multiplying without a visible operator other than parentheses comes first. So yes, 36 is valid here. It’s mostly because PEMDAS never shows up in the same context as this sort of multiplication or large fractions
SmartmanApps@programming.dev 5 weeks ago
and without a(b+c)=(ab+ac), now solve (ab+ac)
It’s a LAW of Maths actually, The Distributive Law.
Image
It’s not “Multiplying”, it’s Distributing, a(b+c)=(ab+ac)
No it isn’t. To get 36 you have disobeyed The Distributive Law, thus it is a wrong answer
people like you try to gaslight others that there’s no such thing as The Distributive Law
Feathercrown@lemmy.world 5 weeks ago
Are you under the impression that atomizing your opponents statements and making a comment about each part individually without addressing the actual point (how those facts fit together) is a good debate tactic? Because it seems like all you’ve done is confuse yourself about what I was saying and make arguments that don’t address it.
MotoAsh@piefed.social 1 month ago
Well, now you might be running into syntax issues instead of PEMDAS issues depending on what they’re confused about. If it’s 12 over 2*6, it’s 1. If it’s 12 ÷ 2 x 6, it’s 36.
A lot of people try a bunch of funky stuff to represent fractions in text form (like mixing spaces and no spaces) when they should just be treating it like a programmer has to, and use parenthesis if it’s a complex fraction in basic text form.