Careful, you’ll summon Smartman Apps (with emojis) to insist mathematics has exactly one perfect unambiguous syntax, where 2*(1+3) is somehow different from 2(1+3), and also reverse Polish notation does-too have parentheses.
I dunno
Submitted 10 months ago by LadyButterfly@piefed.blahaj.zone to science_memes@mander.xyz
https://piefed.cdn.blahaj.zone/posts/Ao/vN/AovNhRmmeHwHDFK.jpg
Comments
mindbleach@sh.itjust.works 10 months ago
SmartmanApps@programming.dev 10 months ago
insist mathematics has exactly one perfect unambiguous syntax,
It sure does! 😂
2*(1+3) is somehow different from 2(1+3)
Yep, one is Multiplication - 2x3 - the other is The Distributive Law - (2x1+2x3) - both easily found in Maths textbooks
Daft_ish@lemmy.dbzer0.com 10 months ago
You have to subtract the numbers with the most flat sides first and divide by the number of pennies in your sock drawer.
Saapas@piefed.zip 10 months ago
Something funny about everyone being so eager to show how they can solve this
pewgar_seemsimandroid@lemmy.blahaj.zone 10 months ago
the answer is [Answer]
Kolanaki@pawb.social 10 months ago
2+5 is 8, 8-5 is 3. 8×3 is 24.
poke@sh.itjust.works 10 months ago
2+5=8 quick maths (please don’t fix it, thanks. Hope you’re having a good one)
PhAzE@lemmy.ca 10 months ago
[deleted]Kolanaki@pawb.social 10 months ago
So, brackets: (8-3) is 5, Multiplication: 5×5 is 25, addition: 25+2 is 27? 🤔
SmartmanApps@programming.dev 10 months ago
2+5 is 8
In which you just did Addition before Brackets, and is thus wrong
8-5 is 3
5(8-5) is 15
8×3
There is no 8x3. 2+5(8-5)=2+15=17
x4740N@lemmy.world 10 months ago
Its because its
2+5×(8−5)
My calculator app automatically added it when typing in what was I’m the image and “2+5×(8−5)” does equal 17
It’s absolutely the fault of the person making the social media media post for not writing it properly and confusing people
odelik@lemmy.today 10 months ago
The multiplication is implied and has been part of the standard mathematical notation for far longer than any of us have been alive.
SmartmanApps@programming.dev 10 months ago
BattleGrown@lemmy.world 10 months ago
5(8-5) is perfectly fine, it’s like saying 5 apples
SmartmanApps@programming.dev 10 months ago
it’s like saying 5 apples
5 baskets each with 3 apples actually
axx@slrpnk.net 10 months ago
What du you mean, not writing it properly?
SmartmanApps@programming.dev 10 months ago
What du you mean, not writing it properly?
They mean they don’t remember being taught that is the correct way to write it
AwesomeLowlander@sh.itjust.works 10 months ago
I have some bad news for you about your education system
SmartmanApps@programming.dev 10 months ago
I have some bad news for you about your education system
It’s not the Education system, it’s people not remembering what they were taught
SmartmanApps@programming.dev 10 months ago
Its because its: 2+5×(8−5)
No it isn’t. It’s 2+5(8−5). Different expression, but in this case co-incidentally the same answer. Preface the first 5 with a Division and you get different answers.
My calculator app
Was written by a programmer who didn’t check the rules of Maths first. The only e-calc I’ve ever seen give the correct answer is MathGPT
not writing it properly
Except it is written properly, as per Maths textbooks
nomorebillboards@lemmy.world 10 months ago
But 2 + 5 + 8 - 5 is 16 - 5 which is 11
buddascrayon@lemmy.world 10 months ago
Parentheses first then Division or Multiplication then add or subtract. PEDMAS
8-5= 3 3*5=15 15+2=17
SmartmanApps@programming.dev 10 months ago
then Division or Multiplication
There’s neither, only Addition and Brackets (and Subtraction inside Brackets).
8-5= 3 3*5=15
Nope. 2+5(8-5)=2+(40-25), The Distributive Law, a(b+c)=(ab+ac)
untorquer@lemmy.world 10 months ago
Gotta distribute:
2+(8+5)-(5+5)
2+13-0
15
RedAggroBest@lemmy.world 10 months ago
Still not how distribution works. That would be:
2+((85)-(55))
2+(40-25)
2+(15)
17
Anything other than 17 is wrong. No matter how you go about your multiplication step.
axx@slrpnk.net 10 months ago
Wtf, no, if you distribute you get the same result:
2 + 5(8 - 5) =
2 + (5 × 8) + (5 × -5) =
2 + (40) + (-25) =
2 + 40 - 25 = 2 + 15 = 17
SmartmanApps@programming.dev 10 months ago
Gotta distribute:
Yes, but…
2+(8+5)-(5+5)
You didn’t. 2+5(8-5)=2+(5x8-5x5)
elevenbones@piefed.social 9 months ago
Damn, its always the simple math problem post with like, almost 700 comments lmao
mindbleach@sh.itjust.works 9 months ago
Because of one troll harassing people to insist 2(8)^2^ is 256 and RPN has invisible brackets.
ilinamorato@lemmy.world 10 months ago
it’s
a badly
written
math
problem
Seriously, every time this comes up and everyone makes a huge deal out of it, I keep thinking, “none of the people writing these better be teachers.” You have to be more clear than this.
BetterDev@programming.dev 10 months ago
no
it’s
fucking
not
This is just basic algebra, this is actually how the problems in algebra I are written. What the fuck?
ilinamorato@lemmy.world 10 months ago
Whoa, you went from 0 to 100 on rage super quick. You ok buddy?
BehindTheBarrier@programming.dev 10 months ago
Not this one, there is no ambiguity here. Order of operations are all good.
ilinamorato@lemmy.world 10 months ago
You’re right. I honestly just assumed it was one of those intentionally engagement-baiting posts when I saw it and didn’t even process the problem itself.
Quatlicopatlix@feddit.org 10 months ago
Yea that is true but a lot of these questions use the division sign when they should just use a fraction and everything would have been easy to understand. If i see the devision sign and there are more than 2 elements like x=a÷b+5 i cry because if they just used x=a/(b+5) or x=a/b +5 it is just visible no ambiguity. (a/b as in a over b, idk how to do fractions on the phone if you know tell me!)
lime@feddit.nu 10 months ago
how should it have been written?
ilinamorato@lemmy.world 10 months ago
Nope, you’re right. I just read the words and assumed it was one of the terrible ones.
This one is just…math.
VoterFrog@lemmy.world 10 months ago
I think it’s reasonable if you consider the kind of physical situation it might represent.
You visit a farm and there are 2 unpackaged apples. There are also 5 packages that hold 8 apples but 5 have been removed from each. How many apples are there?
ilinamorato@lemmy.world 10 months ago
In fairness, this one isn’t nearly as bad as most of the ambiguous problems that get passed around on Facebook with multiple parentheticals and such.
Your word problem is excellent.
SmartmanApps@programming.dev 10 months ago
No it isn’t.
I am, and it’s written correctly
It’s already 100% clear to everyone who remembers the rules of Maths
NONE of them are ambiguous
ilinamorato@lemmy.world 10 months ago
Just patently untrue, but I’m no longer interested in this.