this post was submitted on 12 Dec 2023
827 points (96.3% liked)

Memes

45726 readers
684 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
827
6÷2(1+2) (programming.dev)
submitted 11 months ago* (last edited 11 months ago) by wischi@programming.dev to c/memes@lemmy.ml
 

https://zeta.one/viral-math/

I wrote a (very long) blog post about those viral math problems and am looking for feedback, especially from people who are not convinced that the problem is ambiguous.

It's about a 30min read so thank you in advance if you really take the time to read it, but I think it's worth it if you joined such discussions in the past, but I'm probably biased because I wrote it :)

(page 2) 50 comments
sorted by: hot top controversial new old
[–] The_Vampire@lemmy.world 10 points 11 months ago* (last edited 11 months ago) (49 children)

Having read your article, I contend it should be:
P(arentheses)
E(xponents)
M(ultiplication)D(ivision)
A(ddition)S(ubtraction)
and strong juxtaposition should be thrown out the window.

Why? Well, to be clear, I would prefer one of them die so we can get past this argument that pops up every few years so weak or strong doesn't matter much to me, and I think weak juxtaposition is more easily taught and more easily supported by PEMDAS. I'm not saying it receives direct support, but rather the lack of instruction has us fall back on what we know as an overarching rule (multiplication and division are equal). Strong juxtaposition has an additional ruling to PEMDAS that specifies this specific case, whereas weak juxtaposition doesn't need an additional ruling (and I would argue anyone who says otherwise isn't logically extrapolating from the PEMDAS ruleset). I don't think the sides are as equal as people pose.

To note, yes, PEMDAS is a teaching tool and yes there are obviously other ways of thinking of math. But do those matter? The mathematical system we currently use will work for any usecase it does currently regardless of the juxtaposition we pick, brackets/parentheses (as well as better ordering of operations when writing them down) can pick up any slack. Weak juxtaposition provides better benefits because it has less rules (and is thusly simpler).

But again, I really don't care. Just let one die. Kill it, if you have to.

load more comments (49 replies)
[–] original_reader@lemm.ee 10 points 11 months ago (4 children)

I read the whole article. I don't agree with the notation of the American Physical Society, but who am I to argue that? 😄

I started out thinking I knew how the order of operations worked and ended up with a broader view of the subject. Thank you for opening my mind a bit today. I will be more explicit in my notations from now on.

[–] wischi@programming.dev 7 points 11 months ago* (last edited 11 months ago)

Thank you so much for taking the time. I'm also not convinced that APS's notation is a very good choice but I'm neither american nor a physisist 🤣

I'd love to see how the exceptions work that the APS added, like allowing explicit multiplications on line-breaks, if they still would do the multiplication first, but I couldn't find a single instance where somebody following the APS notation had line-break inside an expression.

load more comments (3 replies)
[–] brisk@aussie.zone 9 points 11 months ago (1 children)

My only complaint is the suggestion that engineers like to be clear. My undergrad classes included far too many things like 2 cos 2 x sin y

[–] fallingcats@discuss.tchncs.de 7 points 11 months ago

I'd say engineers like to be exact, but they like being lazy even more

[–] octesian@lemm.ee 9 points 11 months ago* (last edited 11 months ago) (2 children)

I don't remember everything, but I remember the first two operations are exponents then parentheses. Edit: wait is it the other way around?

load more comments (2 replies)
[–] Littleborat@feddit.de 9 points 11 months ago (2 children)

You guys are doing it all wrong: ask chatgpt for the correct answer and paste it here. Done.

Who needs to learn or know anything really?

[–] Supervisor194@lemmy.world 5 points 11 months ago* (last edited 11 months ago) (1 children)

ChatGPT's Answer:

The expression 6/2(1+2) involves both multiplication and division. According to the order of operations (PEMDAS/BODMAS), you should perform operations inside parentheses first, then any multiplication or division from left to right.

Let's break down the expression step by step:

Inside the parentheses: 1 + 2 = 3

Now the expression becomes 6/2 * 3

Division: 6/2 = 3

Multiplication: 3 * 3 = 9

So, 6/2(1+2) is equal to 9.

load more comments (1 replies)
load more comments (1 replies)
[–] amio@kbin.social 8 points 11 months ago* (last edited 11 months ago) (1 children)

Forgot the algebra using fruit emoji or whatever the fuck.

Bonus points for the stuff where suddenly one of the symbols has changed and it's "supposedly" 1/2 or 2/3 etc. of a banana now, without that symbol having been defined.

load more comments (1 replies)
[–] MindSkipperBro12@lemmy.world 8 points 11 months ago* (last edited 11 months ago) (7 children)

Hi, I’m stupid, is it 1+2 first, then multiple it by 2, then divide 6 by 6?

Or is it 1+2, then divide 6 by 2, then multiple?

I think it’s the first one but I’ve got no idea.

load more comments (7 replies)
[–] mihnt@lemmy.world 7 points 11 months ago* (last edited 11 months ago)

When I used to play WoW years ago I'd always put -6 x 6 - 6 = -12 in trade chat and they would all lose their minds. Adding that incorrect solution usually got them more riled up than having no solution.

[–] cobra89@beehaw.org 7 points 11 months ago (2 children)

While I agree the problem as written is ambiguous and should be written with explicit operators, I have 1 argument to make. In pretty much every other field if we have a question the answer pretty much always ends up being something along the lines of "well the experts do this" or "this professor at this prestigious university says this", or "the scientific community says". The fact that this article even states that academic circles and "scientific" calculators use strong juxtaposition, while basic education and basic calculators use weak juxtaposition is interesting. Why do we treat math differently than pretty much every other field? Shouldn't strong juxtaposition be the precedent and the norm then just how the scientific community sets precedents for literally every other field? We should start saying weak juxtaposition is wrong and just settle on one.

This has been my devil's advocate argument.

load more comments (2 replies)
[–] ethd@beehaw.org 6 points 11 months ago (1 children)

I don't have much to say on this, other than that I appreciate how well-written this deep dive is and I appreciate you for writing it. People get so polarized with these viral math problems and it baffles me.

load more comments (1 replies)
[–] Perfide@reddthat.com 6 points 11 months ago* (last edited 11 months ago) (25 children)

You lost me on the section when you started going into different calculators, but I read the rest of the post. Well written even if I ultimately disagree!

The reason imo there is ambiguity with these math problems is bad/outdated teaching. The way I was taught pemdas, you always do the left-most operations first, while otherwise still following the ordering.

Doing this for 6÷2(1+2), there is no ambiguity that the answer is 9. You do your parentheses first as always, 6÷2(3), and then since division and multiplication are equal in ordering weight, you do the division first because it's the left most operation, leaving us 3(3), which is of course 9.

If someone wrote this equation with the intention that the answer is 1, they wrote the equation wrong, simple as that.

[–] abraxas@sh.itjust.works 8 points 11 months ago* (last edited 11 months ago) (3 children)

There has apparently been historical disagreement over whether 6÷2(3) is equivalent to 6÷2x3

As a logician instead of a mathemetician, the answer is "they're both wrong because they have proven themselves ambiguous". Of course, my answer would be RPN to be a jerk or just have more parens to be a programmer

load more comments (3 replies)
load more comments (24 replies)
[–] friendly_ghost@beehaw.org 6 points 11 months ago (1 children)

That blog post was awesome, thanks for doing that work and letting us know about it!

load more comments (1 replies)
[–] RickyRigatoni@lemmy.ml 6 points 11 months ago (1 children)

My years out of school has made me forget about how division notation is actually supposed to work and how genuinely useless the ÷ and / symbols are outside the most basic two-number problems. And it's entirely me being dumb because I've already written problems as 6÷(2(1+2)) to account for it before. Me brain dun work right ;~;

[–] olafurp@lemmy.world 7 points 11 months ago (2 children)

There's no forms consensus on which one is correct. To avoid misunderstanding mathematicians use a horizontal bar.

load more comments (2 replies)
[–] Yamainwitch@lemmy.world 6 points 11 months ago (2 children)

I just finished your article and wow! I'm definitely going to save it and share it the next time I come across another one of those viral problems. It was incredibly thorough and well researched, you clearly put a lot of energy and effort into it and it blew me away. It was really refreshing to see someone articulate themselves so passionately with supporting research. I look forward to reading more of your work!! 👏

load more comments (2 replies)
[–] nadiaraven@lemmy.world 6 points 11 months ago (3 children)

I found a few typos. In the 2nd paragraph under the section "strong feelings", you use "than" when it should be "then". More importantly, when talking about distributive properties, you say x(x+z)=xy+xz. I believe you meant x(y+z)=xy+xz.

Otherwise, I enjoyed that read. I'm embarrassed to say that I did think pemdas meant multiplication came before division, however I'm proud to say that I've unconsciously known that it's important to avoid the ambiguity by putting parentheses everywhere for example when I make formulas in spreadsheets. Which by the way, spreadsheets generally allow multiplication by juxtaposition.

load more comments (3 replies)
load more comments
view more: ‹ prev next ›