this post was submitted on 12 Dec 2023
857 points (96.4% liked)

Memes

44925 readers
2285 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
857
6÷2(1+2) (programming.dev)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

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
[–] [email protected] 10 points 8 months ago* (last edited 8 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)
[–] [email protected] 10 points 8 months ago

Meanwhile, I'm over in the corner like

[–] [email protected] 10 points 8 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

[–] [email protected] 7 points 8 months ago

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

[–] [email protected] 9 points 8 months ago* (last edited 8 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)
[–] [email protected] 9 points 8 months ago (3 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?

load more comments (3 replies)
[–] [email protected] 9 points 8 months ago* (last edited 8 months ago) (3 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 (3 replies)
[–] [email protected] 8 points 8 months ago* (last edited 8 months ago) (2 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.

[–] [email protected] 10 points 8 months ago (5 children)

It's actually "both". There are two conventions. One is a bit more popular in science and engineering and the other one in the general population. It's actually even more complicated than that (thus the long blog post) but the most correct answer would be to point out that the implicit multiplication after the division is ambiguous. So it's not really "solvable" in that form without context.

load more comments (5 replies)
load more comments (1 replies)
[–] [email protected] 8 points 8 months ago* (last edited 8 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.

[–] [email protected] 8 points 8 months ago* (last edited 8 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)
[–] [email protected] 7 points 8 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 ;~;

[–] [email protected] 7 points 8 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)
[–] [email protected] 7 points 8 months ago* (last edited 8 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.

[–] [email protected] 7 points 8 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)
[–] [email protected] 6 points 8 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)
[–] [email protected] 6 points 8 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)
[–] [email protected] 6 points 8 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)
[–] [email protected] 6 points 8 months ago* (last edited 8 months ago) (2 children)

I guess if you wrote it out with a different annotation it would be

‎ ‎ 6

-‐--------‐--------------

2(1+2)

=

6

-‐--------‐--------------

2×3

=

6

--‐--------‐--------------

6

=1

I hate the stupid things though

[–] [email protected] 9 points 8 months ago (8 children)

Markdown fucked your comment. Use escape symbols.

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