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

Memes

45751 readers
1456 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
858
6÷2(1+2) (programming.dev)
submitted 11 months ago* (last edited 11 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 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

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

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

[–] [email protected] 10 points 11 months ago

Meanwhile, I'm over in the corner like

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

[–] [email protected] 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)
[–] [email protected] 7 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 ;~;

[–] [email protected] 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)
[–] [email protected] 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)
[–] [email protected] 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.

[–] [email protected] 6 points 11 months ago (5 children)

The ambiguous ones at least have some discussion around it. The ones I've seen thenxouple times I had the misfortune of seeing them on Facebook were just straight up basic order of operations questions. They weren't ambiguous, they were about a 4th grade math level, and all thenpeople from my high-school that complain that school never taught them anything were completely failing to get it.

I'm talking like 4+1x2 and a bunch of people were saying it was 10.

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

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