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 :)

  • Prunebutt ( Prunebutt@feddit.de ) 
    link
    fedilink
    arrow-up
    56
    ·
    3 years ago

    If you are so sure that you are right and already “know it all”, why bother and even read this? There is no comment section to argue.

    I beg to differ. You utter fool! You created a comment section yourself on lemmy and you are clearly wrong about everything!

    You take the mean of 1 and 9 which is 4.5!

    /j

  • Th4tGuyII ( Th4tGuyII@kbin.social ) 
    link
    fedilink
    arrow-up
    36
    ·
    3 years ago

    The answer realistically is determined by where you place implicit multiplication (or “multiplication by juxtaposition”) in the order of operations.

    Some place it above explicit multiplication and division, meaning it gets done before the division giving you an answer of 1

    But if you place it as equal to it’s explicit counterparts, then you’d sweep left to right giving you an answer of 9

    Since those are both valid interpretations of the order of operations dependent on what field you’re in, you’re always going to end up with disagreements on questions like these…

    But in reality nobody would write an equation like this, and even if they did, there would usually be some kind of context (I.e. units) to guide you as to what the answer should be.

    Edit: Just skimmed that article, and it looks like I did remember the last explanation I heard about these correctly. Yay me!

    • wischi ( wischi@programming.dev ) OP
      link
      fedilink
      arrow-up
      19
      ·
      3 years ago

      Exactly. With the blog post I try to reach people who already heared that some people say it’s ambiguous but either down understand how, or don’t believe it. I’m not sure if that will work out because people who “already know the only correct answer” probably won’t read a 30min blog post.

      • Th4tGuyII ( Th4tGuyII@kbin.social ) 
        link
        fedilink
        arrow-up
        10
        ·
        3 years ago

        Unfortunately these types of viral problems are designed the attract people who think they “know it all”, so convincing them that their chosen answer isn’t as right as they think it is will always be an uphill challenge

    • BCsven ( BCsven@lemmy.ca ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      yeah, our math profs taught if the 2( is to be separated from that bracket for the implied multiplication then you do that math first, because the 2(1+2) is the same as (1+2)+(1+2) and not related to the first 6.

        • BCsven ( BCsven@lemmy.ca ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          if it was 6÷2x(2+1) they suggested do division and mult from left to right, but 6÷2(2+1) implied a relationship between the number outside the parenthesis and inside them, and as soon as you broke those () you had to do the multiplication immediately that is connected to them. Like some models of calculatora do. wasn’t till a few yeara ago that I heard people were doing it differently.

          • if it was 6÷2x(2+1) they suggested do division and mult from left to right, but 6÷2(2+1)

            Correct! Terms are separated by operators and joined by grouping symbols, so 6÷2x(2+1) is 3 terms - 6, 2, and (2+1) - whereas 6÷2(2+1) is 2 terms - 6 and 2(2+1), and the latter term has a precedence of “brackets”, NOT “multiplication”. Multiplication refers literally to multiplication signs, which are only present in your first example (hence evaluated with a different order than your second example).

            Also noted that the OP has ignored your comment, seeing as how you pointed out the unambiguous way to do it.

    • implicit multiplication

      There’s no such thing as “implicit multiplication”

      Some place it above explicit multiplication and division,

      Which is correct, seeing as how we’re solving brackets, and brackets always come first.

      But if you place it as equal to it’s explicit counterparts, then you’d sweep left to right giving you an answer of 9

      Which is wrong.

      Since those are both valid interpretations of the order of operations

      No, they’re not. Treating brackets as, you know, brackets, is the only valid interpretation. “Multiplication” refers literally to multiplication signs, of which there are none in this problem.

      But in reality nobody would write an equation like this

      Yes they would. a(b+c) is the standard way to write a factorised term.

  • youngalfred ( youngalfred@lemm.ee ) 
    link
    fedilink
    arrow-up
    29
    ·
    3 years ago

    Typo in article:

    If you are however willing to except the possibility that you are wrong.

    Except should be ‘accept’.

    Not trying to be annoying, but I know people will often find that as a reason to disregard academic arguments.

  • vithigar ( vithigar@lemmy.ca ) 
    link
    fedilink
    arrow-up
    20
    ·
    3 years ago

    What’s especially wild to me is that even the position of “it’s ambiguous” gets almost as much pushback as trying to argue that one of them is universally correct.

    Last time this came up it was my position that it was ambiguous and needed clarification and had someone accuse me of taking a prescriptive stance and imposing rules contrary to how things were actually being done. How asking a person what they mean or seeking clarification could possibly be prescriptive is beyond me.

    Bonus points, the guy telling me I was being prescriptive was arguing vehemently that implicit multiplication having precedence was correct and to do otherwise was wrong, full stop.

    • wischi ( wischi@programming.dev ) OP
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      3 years ago

      👍 That was actually one of the reasons why I wrote this blog post. I wanted to compile a list of points that show as clear as humanity possible that there is no consensus here, even amongst experts.

      That probably won’t convince everybody but if that won’t probably nothing will.

    • What’s especially wild to me is that even the position of “it’s ambiguous” gets almost as much pushback as trying to argue that one of them is universally correct.

      That’s because following the rules of Maths is universally correct.

      arguing vehemently that implicit multiplication having precedence was correct and to do otherwise was wrong, full stop

      He was using the wrong words, but he was correct - the actual rules are The Distributive Law and Terms (“implicit multiplication” is a rule made up by those who have forgotten these 2 rules).

  • jdaxe ( jdaxe@infosec.pub ) 
    link
    fedilink
    arrow-up
    15
    ·
    3 years ago

    It’s hilarious seeing all the genius commenters who didn’t read the linked article and are repeating all the exact answers and arguments that the article rebuts :)

    • wischi ( wischi@programming.dev ) OP
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      ❤️ True, but I think one of the biggest problems is that it’s pretty long and because you can’t really sense how good/bad/convining the text is it’s always a gamble for everybody if it’s worth reading something for 30min just to find out that the content is garbage.

      I hope I did a decent job in explaining the issue(s) but I’m definitely not mad if someone decides that they are not going to read the post and still comment about it.

  • Pulptastic ( Pulptastic@midwest.social ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 years ago

    I disagree. Without explicit direction on OOO we have to follow the operators in order.

    The parentheses go first. 1+2=3

    Then we have 6 ÷2 ×3

    Without parentheses around (2×3) we can’t do that first. So OOO would be left to right. 9.

    In other words, as an engineer with half a PhD, I don’t buy strong juxtaposition. That sounds more like laziness than math.

  • Perfide ( Perfide@reddthat.com ) 
    link
    fedilink
    arrow-up
    9
    ·
    3 years ago

    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.

    • wischi ( wischi@programming.dev ) OP
      link
      fedilink
      arrow-up
      18
      ·
      3 years ago

      The calculator section is actually pretty important, because it shows how there is no consensus. Sharp is especially interesting with respect to your comment because all scientific Sharp calculators say it’s 1. For all the other brands for hardware calculators there are roughly 50:50 with saying 1 and 9.

      So I’m not sure if you are suggesting that thousands of experts and hundreds of engineers at Casio, Texas Instruments, HP and Sharp got it wrong and you got it right?

      There really is no agreed upon standard even amongst experts.

      • Kogasa ( kogasa@programming.dev ) 
        link
        fedilink
        arrow-up
        7
        ·
        3 years ago

        Hi, expert here, calculators have nothing to do with it. There’s an agreed upon “Order of Operations” that we teach to kids, and there’s a mutual agreement that it’s only approximately correct. Calculators have to pick an explicit parsing algorithm, humans don’t have to and so they don’t. I don’t look to a dictionary to tell me what I mean when I speak to another human.

              • Kogasa ( kogasa@programming.dev ) 
                link
                fedilink
                arrow-up
                2
                ·
                3 years ago

                The distributive law has nothing to do with brackets.

                The distributive law can be written in PEMDAS as a(b+c) = ab + ac, or PEASMD as ab+c = (ab)+(ac). It has no relation to the notation in which it is expressed, and brackets are purely notational.

                • The distributive law has nothing to do with brackets

                  BWAHAHAHA! Ok then, what EXACTLY does it relate to, if not brackets? Note that I’m talking about The Distributive LAW - which is about expanding brackets - not the Distributive PROPERTY.

                  a(b+c) = ab + ac

                  a(b+c)=(ab+ac) actually - that’s one of the common mistakes that people are making. You can’t remove brackets unless there’s only 1 term left inside, and ab+ac is 2 terms.

                  ab+c = (ab)+(ac)

                  No, never. ab+c is 2 terms with no further simplification possible. From there all that’s left is addition (once you know what ab and c are equal to).

                  brackets are purely notational

                  Yep, they’re a grouping symbol. Terms are separated by operators and joined by grouping symbols.

        • Thanks for putting my thoughts into words, that’s exactly why I hate math. It was supposed to be the logical one, but since it only needs to be parsed by humans it failed at even that. It’s just conventions upon conventions to the point where it’s notably different from one teacher/professor to the next.

          I guess you can tell why I went into comp-sci (and also why I’m struggling there too)

      • Perfide ( Perfide@reddthat.com ) 
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        No, those companies aren’t wrong, but they’re not entirely right either. The answer to “6 ÷ 2(1+2)” is 1 on those calculators because that is a badly written equation and you(not literally you, to be clear) should feel bad for writing it, and the calculators can’t handle it with their rigid hardcoded logic. The ones that do give the correct answer of 9 on that equation will get other equations wrong that it shouldn’t be, again because the logic is hardcoded.

        That doesn’t change the fact that that equation worked out on paper is absolutely 9 based on modern rules of math. Calculate the parentheses first, you then have 6 ÷ 2(3). We could solve from here, but to make the point extra clear I’m going to actually expand this out to explicit multiplication. “2(3)” is the same as “2 x 3”, so we can rewrite the equation as “6 ÷ 2 x 3”. All operators now inarguably have equal precedence, which means the only factor left in which order to do the operations is left to right, and thus division first. The answer can only be 9.

        • MeetInPotatoes ( MeetInPotatoes@lemmy.ml ) 
          link
          fedilink
          English
          arrow-up
          12
          ·
          3 years ago

          If you’d ever taken any advanced math, you’d see that the answer is 1 all day. The implicit multiplication is done before the division because anyone taking advanced math would see 2(1+2) as a term that must be resolved first. The answer still lies in the ambiguity of the way the problem is written though. If the author used fractions instead of that stupid division symbol, there would be no ambiguity. It’s either 6/2 x 3 = 9 or [6/(2x3)] = 1. Comment formatting aside, if someone put 6 in the numerator, and then did or did NOT put all the rest in the denominator underneath a horizontal bar, it would be obvious.

          TL;DR It’s still a formatting issue, but 9 is definitely not the clear and only answer.

        • those calculators because that is a badly written equation

          It’s not badly written, and the reason Texas Instruments gets it wrong is right there in their manual (disobeys The Distributive Law).

          modern rules of math

          The order of operations rules haven’t changed in at least 100 years, and more likely at least 400 years. Don’t listen to Youtubers who can’t cite a single Maths textbook.

          “2(3)” is the same as “2 x 3”

          No, it’s the same as (2x3), as per The Distributive Law and Terms.

      • it shows how there is no consensus

        Used to not be. Except for Texas Instruments all the others reverted to doing it correctly now - I have no idea why Texas Instruments persists with doing it wrong. As you noted, Sharp has always done it correctly.

        There really is no agreed upon standard even amongst experts

        Yes there is. It’s taught in literally every Year 7-8 Maths textbook (but apparently Texas Instruments don’t care about that).

  • Samsy ( Samsy@lemmy.ml ) 
    link
    fedilink
    arrow-up
    8
    ·
    3 years ago

    I really hate the social media discussion about this. And the comments in the past teached me, there are two different ways of learning math in the world.

  • 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.