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

Memes

45560 readers
761 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 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 :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -4 points 11 months ago (3 children)

Honestly, I do disagree that the question is ambiguous. The lack of parenthetical separation is itself a choice that informs order of operations. If the answer was meant to be 9, then the 6/2 would be isolated in parenthesis.

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

It's covered in the blog, but this is likely due to a bias towards Strong Juxtaposition rules for parentheses rather than Weak. It's common for those who learned math into advanced algebra/ beginning Calc and beyond, since that's the usual method for higher math education. But it isn't "correct", it's one of two standard ways of doing it. The ambiguity in the question is intentional and pervasive.

[–] [email protected] 0 points 11 months ago (2 children)

My argument is specifically that using no separation shows intent for which way to interpret and should not default to weak juxtaposition.

Choosing not to use (6/2)(1+2) implies to me to use the only other interpretation.

There's also the difference between 6/2(1+2) and 6/2*(1+2). I think the post has a point for the latter, but not the former.

[–] [email protected] 3 points 11 months ago* (last edited 11 months ago) (1 children)

I originally had the same reasoning but came to the opposite conclusion. Multiplication and division have the same precedence, so I read the operations from left to right unless noted otherwise with parentheses. Thus:

6/2=3

3(1+2)=9

For me to read the whole of 2(1+2) as the denominator in a fraction I would expect it to be isolated in parentheses: 6/(2(1+2)).

Reading the blog post, I understand the ambiguity now, but i’m still fascinated that we had the same criticism (no parentheses implies intent) but had opposite conclusions.

[–] [email protected] -2 points 8 months ago (1 children)

6/2=3

3(1+2)=9

You just did division before brackets, which goes against order of operations rules.

For me to read the whole of 2(1+2) as the denominator in a fraction

You just need to know The Distributive Law and Terms.

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

The linked article is wrong. Read this - has, you know, actual Maths textbook references in it, unlike the article.

[–] [email protected] 3 points 11 months ago (2 children)

I don't know what you want, man. The blog's goal is to describe the problem and why it comes about and your response is "Following my logic, there is no confusion!" when there clearly is confusion in the wider world here. The blog does a good job of narrowing down why there's confusion, you're response doesn't add anything or refute anything. It's just... you bragging? I'm not certain what your point is.

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

None of this has a point. We're talking over a shitpost rant about common use of math symbols. Even the conclusion boils down to it being a context dependent matter of preference. I'm just disagreeing that the original question as posed should be interpreted with weak juxtaposition.

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

your response is “Following my logic, there is no confusion!”

That's because the actual rules of Maths have all been followed, including The Distributive Law and Terms.

there clearly is confusion in the wider world here

Amongst people who don't remember The Distributive Law and Terms.

The blog does a good job of narrowing down why there’s confusion

The blog ignores The Distributive Law and Terms. Notice the complete lack of Maths textbook references in it?

[–] [email protected] -1 points 8 months ago

But it isn’t “correct”

It is correct - it's The Distributive Law.

it’s one of two standard ways of doing it.

There's only 1 way - the "other way" was made up by people who don't remember The Distributive Law and/or Terms (more likely both), and very much goes against the standards.

The ambiguity in the question is

...zero.

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

Did you read the blog post?

[–] [email protected] -1 points 8 months ago

Hooray! Correct! Anyone who downvoted or disagrees with this needs to read this instead. Includes actual Maths textbooks references.